imphash
An MD5 hash of a program's imported DLL and function names in order, used to group builds of the same malware.
In more detail
A rebuilt sample with a new file hash often keeps the same imphash, because its code calls the same functions. Sysmon can log it alongside MD5 and SHA-256, so sweeps can match families rather than single files. Common imports make generic imphashes that match unrelated programs.
Related terms
- import table — The part of a PE file that lists the DLLs and functions the program calls from Windows, such as VirtualAllocEx from kernel32.dll.
- hash — A short fixed-length fingerprint calculated from data, which changes completely if even one byte of the data changes.
- MD5 — An old 128-bit hash function that is completely broken for security and should only be used where no attacker is involved.
- sweep — Searching all available logs and hosts, including old data, for a set of indicators to find every place they appear.
Taught in
- Malware Triage: Hashes, Strings & Sandboxing — Security Operations & Threat Hunting (SOC)