Random number generator
Dual_EC_DRBG
Its constants allowed a trapdoor; withdrawn by NIST in 2014 and exploited at Juniper.
Broken
Deployment assessment
Do not select for new protection
Do not select the broken construction or parameters described here for new protection.
- Intended use
- Random number generator
- Conditions
- Its constants allowed a trapdoor; withdrawn by NIST in 2014 and exploited at Juniper.
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 math-level trapdoor in the parameters. Shumow and Ferguson showed in 2007 that whoever chose the curve points could predict the output; the 2013 Snowden documents indicated NSA had done so. Juniper's ScreenOS used it and in 2015 was found with the constant swapped by an unknown party.
- Quantum
- Not applicable. Already broken classically.
- Names and historical labels
- Dual EC, Dual Elliptic Curve DRBG
Evidence for the verdict
- Math(the math)Shumow and Ferguson expose a possible back door in Dual_EC_DRBGAt the CRYPTO 2007 rump session, Microsoft's Dan Shumow and Niels Ferguson showed that NIST SP 800-90's Dual_EC_DRBG has a built-in trapdoor. The two fixed curve points P and Q came with no explanation, and whoever knows e with eQ = P can recover the generator's internal state from about 30-32 bytes of output and predict everything after.
- Math(the math)Snowden documents: NSA engineered Dual_EC_DRBG; RSA BSAFE made it defaultThe New York Times, ProPublica and The Guardian reported, based on Snowden documents describing the NSA's Bullrun program, that the NSA had steered a standard with a deliberate weakness into NIST SP 800-90, matching the Dual_EC_DRBG back-door scenario. NIST told users to stop using it within a week. RSA Security advised BSAFE customers to switch, and in December 2013 Reuters reported RSA had been paid US$10 million to make Dual_EC its default.
- MilestoneNIST removes Dual_EC_DRBG from SP 800-90ANIST formally dropped Dual_EC_DRBG from its revised random-bit-generator guidance and told users to move to one of the three remaining DRBGs (Hash_DRBG, HMAC_DRBG, CTR_DRBG) 'as quickly as possible'. SP 800-90A Rev. 1 (June 2015) made the removal final.
- Implementation(not the math)Juniper ScreenOS: someone swapped the Dual_EC Q point, enabling passive VPN decryptionJuniper disclosed 'unauthorized code' in ScreenOS (NetScreen firewalls/VPN). One change, introduced at some point in 2012, replaced the Dual_EC_DRBG Q constant in the firmware. Because of a reseeding bug, ScreenOS skipped its ANSI X9.31 post-processing stage and put raw Dual_EC output into IKE handshakes, so whoever chose the new Q could passively decrypt VPN traffic.
Case file
Every event on file that names Dual_EC_DRBG.
4 case files, newest first.
2010s
- ImplementationPracticalJuniper ScreenOS: someone swapped the Dual_EC Q point, enabling passive VPN decryption
Dual_EC_DRBG / IKE/IPsec