Has it been Pwned
MathPractical impact

'SHA-1 is a Shambles': first chosen-prefix collision for SHA-1, PGP key impersonation

Leurent and Peyrin computed the first chosen-prefix collision for SHA-1, using 900 rented Nvidia GTX 1060 GPUs for about two months at a cost of US$75.6k (they estimated US$45k at the then-current prices, and US$11k for a plain collision). They used it to build two PGP keys with different identities whose SHA-1 certifications collide, so a Web-of-Trust signature on the attacker's key also validates on a key bearing the victim's name.

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

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

They lowered SHA-1 identical-prefix complexity from 2^64.7 to 2^61.2 and chosen-prefix from 2^67.1 to 2^63.4 (GTX 970 SHA-1 equivalents). The demo used an RSA-8192 key and an RSA-6144 key; tricks with OpenPGP packet and JPEG structure hid the collision blocks in an attached photo. GnuPG's legacy 1.4 branch still certified with SHA-1 by default, and the modern 2.2 branch accepted such signatures; GnuPG 2.2.18 (November 25, 2019) now ignores SHA-1 identity signatures created after 2019-01-19 (CVE-2019-14855). Other consequences: OpenSSL stopped accepting SHA-1 certificate signatures at security level 1 (shipped in OpenSSL 3.0), OpenSSH 8.2 announced and 8.8 executed the removal of ssh-rsa, and the authors flagged DNSSEC (18% of TLDs then used SHA-1) and CAs with predictable serials. Unlike SHAttered, chosen-prefix collisions let an attacker choose two completely different 'meaningful' prefixes, which is what breaks certificates and signed identities. The authors projected a cost below US$10k by 2025. Published at USENIX Security 2020.

Sources

  1. paperSHA-1 is a Shambles - First Chosen-Prefix Collision on SHA-1 and Application to the PGP Web of TrustIACR ePrint / USENIX Security 2020, eprint.iacr.org
  2. announcementSHA-1 is a Shambles (project site)Leurent & Peyrin, sha-mbles.github.io
  3. announcementGnuPG 2.2.18 releasedGnuPG, lists.gnupg.org
  4. cveCVE-2019-14855NIST NVD, nvd.nist.gov