(c) Arnim Eijkhoudt <arnime squiggly kpn-cert.nl>, 2017-2019, KPN-CERT, GPLv3 license
VTcheck lets you run an online-check of md5/sha1/sha256 hashes against VirusTotal. This tool is particularly useful for automatically checking leaked/dumped hashes in structured or unstructured files for potential maliciousness.
VTcheck will automatically parse the entirety of any text file (unstructured or not) for anything resembling an md5, sha1 or sha256 hash and tell you:
- which hashes are potentially malicious or unknown
- the amount of unique and total hashes found
- Python 3.x
- git clone https://github.com/KPN-CISO/VTcheck/
- Log in to your VirusTotal account and grab your API key
1) ./vtcheck.py -f <file containing hashes> -k <VT_API_key>
or
2) ./vtcheck.py -k <VT_API_key> <hash1> <hash2> ... <hashN>
Usage notes:
- Unless you have a paid VirusTotal subscription, do not decrease the time interval to lower than 15 seconds!
- You can specify a file containing hashes, and at the same time specify additional hashes on the command line.
- Add features to parse the VirusTotal JSON response and give more information about the maliciousness of a file.