A Systematic Analysis of the Juniper Dual EC Incident
Authors:
Open Access
- 24 October 2016
- conference paper
- Published by Association for Computing Machinery (ACM)
- Vol. 2016, 468-479
Abstract
In December 2015, Juniper Networks announced multiple security vulnerabilities stemming from unauthorized code in ScreenOS, the operating system for their NetScreen VPN routers. The more sophisticated of these vulnerabilities was a passive VPN decryption capability, enabled by a change to one of the elliptic curve points used by the Dual EC pseudorandom number generator. In this paper, we describe the results of a full independent analysis of the ScreenOS randomness and VPN key establishment protocol subsystems, which we carried out in response to this incident. While Dual EC is known to be insecure against an attacker who can choose the elliptic curve parameters, Juniper had claimed in 2013 that ScreenOS included countermeasures against this type of attack. We find that, contrary to Juniper's public statements, the ScreenOS VPN implementation has been vulnerable since 2008 to passive exploitation by an attacker who selects the Dual EC curve point. This vulnerability arises due to apparent flaws in Juniper's countermeasures as well as a cluster of changes that were all introduced concurrently with the inclusion of Dual EC in a single 2008 release. We demonstrate the vulnerability on a real NetScreen device by modifying the firmware to install our own parameters, and we show that it is possible to passively decrypt an individual VPN session in isolation without observing any other network traffic. We investigate the possibility of passively fingerprinting ScreenOS implementations in the wild. This incident is an important example of how guidelines for random number generation, engineering, and validation can fail in practice.Keywords
Funding Information
- National Science Foundation (EFRI-1441209, CNS-1505799, CNS-1408734, CNS-1410031)
- Office of Naval Research (N00014-14-1-0333)
This publication has 22 references indexed in Scilit:
- Imperfect Forward Secrecy2015
- Recommendation for Random Number Generation Using Deterministic Random Bit Generators2015
- A Formal Treatment of Backdoored Pseudorandom Generators2015
- How to Eat Your Entropy and Have It Too – Optimal Recovery Strategies for Compromised RNGs2014
- Security of Symmetric Encryption against Mass Surveillance2014
- Security analysis of pseudo-random number generators with input2013
- Factoring RSA Keys from Certified Smart Cards: Coppersmith in the Wild2013
- Cryptanalysis of the random number generator of the Windows operating systemACM Transactions on Information and System Security, 2009
- Hedged Public-Key Encryption: How to Protect against Bad Randomness2009
- Recommendation for random number generation using deterministic random bit generators (revised)2007