Skip to main content

Table Of Contents

  • FILE HASH ANALYSIS
    • HASH QUERY

FILE HASH ANALYSIS

HASH QUERY

VirusTotal online API query:

Send a suspicious hash to VirusTotal using cURL:

curl -v --request POST --url 'https://www.virustotal.com/vtapi/v2/file/report' -d apikey=<VT API KEY> -d 'resource=<SUSPICIOUS FILE HASH>'

Send a suspicious file to VirusTotal using cURL:

curl -v -F 'file=/<PATH TO FILE>/<SUSPICIOUS FILE NAME>' -F apikey=<VT API KEY> https://www.virustotal.com/vtapi/v2/file/scan

Team Cymru API:

Team Cymru malware hash lookup using whois:

  • Note: Output is timestamp of last seen and detection rate
whois -h hash.cymru.com <SUSPICIOUS FILE HASH>