Skip to content

The power shell script takes multiple MD5, SHA1 or SHA256 hash values and checks for it's corresponding hash values with the help of VirusTotal Database.

Notifications You must be signed in to change notification settings

MohammedUzair/IOC_Hash_Finder_VT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IOC_Hash_Finder_VT

The power shell script reads multiple MD5, SHA1 or SHA256 hash values line by line from a file and search for it's corresponding hash values with the help of VirusTotal Database. Before you run the script, please:

  1. Create the following folder: "C:\VT_IOC_Hash_Matcher"

  2. SignUp in VirusTotal.com to get the API_KEY, which is mandatory to send any requests to VirusTotal. Copy the API_Key in the downloaded file "VT_API_KEY.conf" and copy the file to "C:\VT_IOC_Hash_Matcher".

  3. Rename your input file (with hash values) to "Input.txt". Hash values must be given in the file in line by line basis.

  4. Copy the input file to the folder: "C:\VT_IOC_Hash_Matcher"

  5. Make sure you have write permissions for the folder "C:\VT_IOC_Hash_Matcher", before you run the Sctipt.

  6. Run the script. Once the script is finished, you may find two output files inside the folder "C:\VT_IOC_Hash_Matcher" with names:

    a. Output_Matched_Hashes.csv (Contains all matched hash values and their corresponding hashes")

    b. Output_No_Match_Hashes.txt (Contains all hash values which were not a match in VirusTotal)

Note: The VirusTotal limits the request to the website using an API Key as 4 requests per minute. Hence, to have 12 number of hashes searched, the script requires (12/4)=3 minutes to complete. In case you have a Premium API Key bought from VirusTotal, which comes with no restrictions on the number of requests to VirusTotal.com, feel free to get rid of the code which makes the script wait for 16 seconds after every request.

Queries: https://www.linkedin.com/in/iamshahrukh/

About

The power shell script takes multiple MD5, SHA1 or SHA256 hash values and checks for it's corresponding hash values with the help of VirusTotal Database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%