Wang, Feng, Lai and Yu publish real MD5 collisions
Xiaoyun Wang's team presented explicit collisions for full MD5 (plus MD4, HAVAL-128 and RIPEMD) at the CRYPTO 2004 rump session. Finding the first 512-bit block took about an hour on an IBM P690; the second block then took 15 seconds to 5 minutes.
Broken math. This entry concerns mathematics, algorithm design or parameter justification. Its stated scope distinguishes an attack from a defect in a security argument; a proof or accounting error alone does not establish practical key recovery.
Background
The attack used hand-crafted differential paths and 'message modification', fixing many path conditions directly instead of searching for them. Estimated cost was around 2^40 MD5 compressions, versus 2^64 for a generic birthday attack. Because MD5 is Merkle-Damgard, any common prefix and suffix can be wrapped around the colliding blocks, so identical-prefix collisions soon became seconds of laptop time. The same techniques, adapted, produced the 2005 SHA-1 attack.
Sources
- paperCollisions for Hash Functions MD4, MD5, HAVAL-128 and RIPEMDIACR ePrint, eprint.iacr.org
- paperChosen-prefix collisions for MD5 and applications (Stevens, Lenstra, de Weger) - Table 1-1 historical complexitiesInt. J. Applied Cryptography 2012, marc-stevens.nl