Has it been Pwned
ProtocolPractical impact

Flame malware forges a Microsoft code-signing certificate with a secret MD5 collision attack

The Flame espionage malware, discovered in May 2012, spread by impersonating Windows Update with a validly signed patch. Microsoft revoked three intermediate CAs on June 3, 2012; Marc Stevens then showed the forged certificate came from a previously unknown variant of an MD5 chosen-prefix collision attack, the first known use of novel hash cryptanalysis in the wild.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

The attackers abused Microsoft's Terminal Server Licensing Service, which still issued MD5-signed certificates chaining to the Microsoft Root Authority with code-signing capability. They obtained a signature on an innocuous certificate and transplanted it onto a colliding one, then used WPAD spoofing to man-in-the-middle Windows Update. Stevens used 'counter-cryptanalysis' to reconstruct the missing colliding sibling from the single certificate that was found, and its differential paths matched no published attack. Fillinger and Stevens (ASIACRYPT 2015) estimated the closest-fit attack at about 2^49.3 MD5 compressions (roughly 40,000 CPU-core hours) with a proven lower bound of 2^46.6, notably suboptimal versus public techniques. The malware was reported by the Washington Post as a joint US-Israeli operation. Classification: the root weakness is MD5's math; the exploit depended on a forgotten legacy PKI path still signing with MD5.

Sources

  1. announcementMicrosoft Security Advisory 2718704: Unauthorized Digital Certificates Could Allow SpoofingMicrosoft, learn.microsoft.com
  2. announcementCWI cryptanalyst discovers new cryptographic attack variant in Flame spy malwareCWI, cwi.nl
  3. paperReverse-Engineering of the Cryptanalytic Attack Used in the Flame Super-Malware (ASIACRYPT 2015)IACR ePrint, eprint.iacr.org
  4. paperCounter-cryptanalysis (Stevens, CRYPTO 2013)CWI / CRYPTO 2013, marc-stevens.nl