Malware Hash Lookup

Paste an MD5, SHA-1 or SHA-256 hash to check it against the iMalware database of 1,181,199 known malware samples. Checking a list? Paste up to 500 hashes, one per line. Don't have the hash? Just drop the file on the scanner and it will be computed for you.

Database last updated from MalwareBazaar. Tip: link straight to a result with imalware.com/pages/hash-lookup#<hash>; the part after # is never sent to our server.

How the lookup works

For each algorithm the database is split into 4,096 buckets by the first three hexadecimal characters of each hash. When you check a hash, your browser downloads only the matching bucket (for example /md5/44d or /sha256/275) and searches it locally. The server never sees the full hash you are checking. You can paste hashes mixed into other text, such as a log line or an email; every MD5, SHA-1 and SHA-256 in it is picked out and checked.

How to get a file's hash

  • Windows: certutil -hashfile "C:\path\file.exe" SHA256 (or MD5), or in PowerShell Get-FileHash "C:\path\file.exe"
  • macOS: shasum -a 256 /path/to/file or md5 /path/to/file
  • Linux: sha256sum /path/to/file or md5sum /path/to/file

MD5, SHA-1 and SHA-256

All three are cryptographic hash functions that produce a fixed-length fingerprint of a file: MD5 is 32 hex characters, SHA-1 is 40 and SHA-256 is 64. MD5 and SHA-1 are no longer considered secure for signatures because collisions can be engineered, but all three remain widely used to identify known files in malware databases. iMalware accepts any of them and detects the type from the length.

Understanding the result

  • Malware: the exact file is a known malicious sample. Don't open it; delete or quarantine it.
  • Not found: the file isn't in our list of known samples. That's a good sign but not a guarantee; new or modified malware has a different hash. Use the VirusTotal button to see what dozens of antivirus engines say about the same hash, or see how to investigate an unknown file.

Frequently Asked Questions

What is a malware hash lookup?

It compares a file's fingerprint (its MD5, SHA-1 or SHA-256 hash) with a list of fingerprints of known malware. If the hash matches, the file is identical to a known malicious sample.

Can I look up a SHA-256 hash here?

Yes. MD5, SHA-1 and SHA-256 hashes are all supported. The type is detected from the length of the hash: 32, 40 or 64 hexadecimal characters.

Is the hash I enter stored?

The full hash never leaves your browser. Only its first three characters are used to request the matching part of the database.

Can I check many hashes at once?

Yes. Paste up to 500 hashes, one per line or mixed into other text such as a log or an email. Every MD5, SHA-1 and SHA-256 found is checked and known malware is listed first.