Finite-field Diffie-Hellman
DH-512 (export)
Logjam (2015) broke connections in about 70 seconds after a week of precomputation.
Broken
Deployment assessment
Do not select for new protection
Do not select the broken construction or parameters described here for new protection.
- Intended use
- Finite-field Diffie-Hellman
- Conditions
- Logjam (2015) broke connections in about 70 seconds after a week of precomputation.
This caution summarizes the existing catalog evidence. A separate deployment-source review has not yet been recorded. How to read this assessment.
Cryptanalytic assessment
A protocol downgrade plus a computational record. Export-grade 512-bit groups were shared by millions of servers, so one number field sieve precomputation per prime unlocked every connection using it.
- Best known attack
- NFS discrete log with per-prime precomputation
- Quantum
- Not applicable. Already broken classically.
- Names and historical labels
- DHE_EXPORT, export Diffie-Hellman, 512-bit DH
Evidence for the verdict
- Record(compute)Kleinjung computes a discrete log modulo a 160-digit (530-bit) safe primeThorsten Kleinjung announced on the NMBRTHRY list a discrete logarithm modulo the safe prime p = floor(10^159 * pi) + 119849 (160 digits, about 530 bits), using the general number field sieve in the Joux-Lercier variant. It beat the 2005 Joux-Lercier 130-digit (431-bit) record.
- Protocol(not the math)Logjam: TLS downgrade to export-grade 512-bit DH, plus the 1024-bit precomputation warningAdrian et al. ("Imperfect Forward Secrecy: How Diffie-Hellman Fails in Practice", ACM CCS 2015, best paper) showed that a man-in-the-middle could rewrite a TLS ClientHello to request DHE_EXPORT and trick the client into accepting 512-bit DH parameters as if they were normal DHE. After a week-long number field sieve precomputation per prime, individual 512-bit logs took a median of about 70 seconds, fast enough to break handshakes live. Two 512-bit primes covered 92% of export-supporting servers, exposing about 7-8% of Alexa Top 1M HTTPS sites.
Case file
Every event on file that names DH-512 (export).
3 case files, newest first.
2010s
- ProtocolPracticalLogjam: TLS downgrade to export-grade 512-bit DH, plus the 1024-bit precomputation warning
DHE_EXPORT-512 / DH-768 / DH-1024 / Oakley Group 2
2000s
- RecordLimitedKleinjung computes a discrete log modulo a 160-digit (530-bit) safe prime
DH-512 / DSA-512