hash collision
Two different inputs that produce the same hash; a birthday attack finds such pairs far faster than guessing one at a time.
In more detail
Collisions have been demonstrated for MD5 and SHA-1, so those hashes cannot prove a file was not swapped by a determined attacker. SHA-256 has no known collisions and is the standard for evidence integrity.
Related terms
- MD5 — An old 128-bit hash function that is completely broken for security and should only be used where no attacker is involved.
- SHA-256 — A widely used hash function that turns any data into a 256-bit fingerprint, shown as 64 hexadecimal characters.
- hash — A short fixed-length fingerprint calculated from data, which changes completely if even one byte of the data changes.
Taught in
- Adversary Tactics, Techniques & Procedures (TTP) Mapping — Security Operations & Threat Hunting (SOC)
- Forensics Principles, Custody & Imaging — Security Operations & Threat Hunting (SOC)