Juniper ScreenOS: someone swapped the Dual_EC Q point, enabling passive VPN decryption
Juniper 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.
Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.
Background
Checkoway et al. (CCS 2016) reverse-engineered the firmware history. Dual_EC, with a Juniper-chosen Q, plus the changes that made it passively exploitable all arrived together in a single 2008 release, contrary to Juniper's public statements. The 2012 tampering just changed whose trapdoor it was. This turns the Dual_EC design weakness into a real-world supply-chain compromise. We classify the incident as IMPLEMENTATION (tampered product code and unsafe RNG plumbing), distinct from the underlying parameters issue.
Sources
- paperA Systematic Analysis of the Juniper Dual EC Incident (CCS 2016; ePrint 2016/376)IACR ePrint, eprint.iacr.org
- paperJuniper Dual EC paper pageCheckoway et al., checkoway.net
- wikiDual_EC_DRBGWikipedia, en.wikipedia.org