Cryptology ePrint Archive: Report 2004/357

MD5 To Be Considered Harmful Someday

Dan Kaminsky

Abstract: Joux and Wang's multicollision attack has yielded collisions for several one-way hash algorithms. Of these, MD5 is the most problematic due to its heavy deployment, but there exists a perception that the flaws identified have no applied implications. We show that the appendability of Merkle-Damgard allows us to add any payload to the proof-of-concept hashes released by Wang et al. We then demonstrate a tool, Stripwire, that uses this capability to create two files -- one which executes an arbitrary sequence of commands, the other which hides those commands with the strength of AES -- both with the same MD5 hash. We show how this affects file-oriented system auditors such as Tripwire, but point out that the failure is nowhere near as catastrophic as it appears at first glance. We examine how this failure affects HMAC and Digital Signatures within Digital Rights Management (DRM) systems, and how the full attack expands into an unusual pseudo-steganographic strikeback methodology against peer to peer networks.

Category / Keywords: foundations / MD5 Collision Tripwire Forensics "Peer to Peer" HMAC

Date: received 6 Dec 2004

Contact author: dan at doxpara com

Available format(s): PDF | BibTeX Citation

Version: 20041214:080739 (All versions of this report)

Short URL:

[ Cryptology ePrint archive ]