Record · 2015

Juniper ScreenOS Dual EC and backdoor

In 2008 Juniper added Dual EC with its own point to ScreenOS, and in 2012 unknown parties changed that point in Juniper's source code; a separate administrative-access backdoor appeared in a late 2013 releaseACM CCS 2016 (author's v… 2016Rapid7 2015. Juniper found the code in an internal review and disclosed it with patched releases on 17 December 2015Juniper Networks J-Net C… 2015Juniper Networks (OCR co… 2015.

  1. EventJuniper acquires NetScreen, maker of the firewalls that run ScreenOS. Bloomberg (full text as… 2021
  2. IntroducedScreenOS 6.2.0 adds Dual EC with a Juniper-chosen point, cascaded into ANSI X9.31. ACM CCS 2016 (author's v… 2016
  3. EventAlleged: the Department of Defense insisted on Dual EC's inclusion (Bloomberg, anonymous sources; DoD declined comment). Bloomberg (full text as… 2021 Disputed or alleged.
  4. IntroducedUnauthorized parties alter ScreenOS source code, replacing the Dual EC point; first affected release (6.2.0r15) ships in 2012. ACM CCS 2016 (author's v… 2016Rapid7 2015
  5. EventJuniper investigates a 2012 intrusion and finds ScreenOS source code stolen, but does not detect the code change (per Bloomberg). Bloomberg (full text as… 2021 Disputed or alleged.
  6. EventAlleged: Bloomberg attributes the 2012 change to APT 5, a group linked to the Chinese government; China rejects the claim. Bloomberg (full text as… 2021 Disputed or alleged.
  7. IntroducedAn administrative-access backdoor appears in a late 2013 ScreenOS release (Rapid7); Bloomberg dates the intrusion that added it to 2014. Rapid7 2015 Disputed or alleged.
  8. ReportedCERT/CC contacts Juniper about Dual_EC_DRBG; Juniper is listed as not affected, describing ScreenOS countermeasures. CERT/CC, Carnegie Mellon… 2013ACM CCS 2016 (author's v… 2016
  9. DisclosedJuniper discloses unauthorized code found in an internal code review (CVE-2015-7755, CVE-2015-7756). Juniper Networks J-Net C… 2015Juniper Networks (OCR co… 2015
  10. PatchedPatched ScreenOS releases are issued the same day. Juniper Networks J-Net C… 2015
  11. RediscoveredA Fox-IT employee reports finding the backdoor password within six hours of the advisory. Rapid7 2015
  12. DisclosedRapid7 (HD Moore) publishes analysis including the backdoor password. Rapid7 2015
  13. ExploitedSANS honeypots record the first login attempts using the backdoor password. SANS Internet Storm Center 2015
  14. DisclosedCERT/CC publishes VU#640184. CERT/CC, Carnegie Mellon… 2015
  15. AnnouncedJuniper commits to replacing Dual EC and ANSI X9.31 in ScreenOS 6.3 in the first half of 2016. Juniper Networks J-Net C… 2016
  16. DeprecatedScreenOS FIPS certificates are delisted. ACM CCS 2016 (author's v… 2016
  17. AcknowledgedDNI James Clapper cites the incident in his worldwide threat assessment to the Senate Armed Services Committee. ACM CCS 2016 (author's v… 2016
  18. PatchedScreenOS update removes the Dual EC weakness. ACM CCS 2016 (author's v… 2016
  19. DisclosedCheckoway et al. publish a systematic analysis at ACM CCS 2016 showing ScreenOS was exposed since 2008 to whoever chose the Dual EC point. ACM CCS 2016 (author's v… 2016
  20. EventNSA tells Senator Wyden's staff a 'lessons learned' report on the incident exists; it later says it cannot locate it. Reuters (as republished… 2020
  21. AcknowledgedJuniper tells members of Congress an unnamed national government converted the mechanism first created by NSA. Reuters (as republished… 2020
  22. DisclosedBloomberg reports APT 5 attribution, the 2014 return, Mandiant's role and the alleged DoD requirement. Bloomberg (full text as… 2021

What it did

Whoever chose the altered point could passively decrypt VPN traffic on affected devices, and Juniper said there was no way to detect whether that had happenedACM CCS 2016 (author's v… 2016Juniper Networks (OCR co… 2015. Rapid7 counted about 26,000 internet-facing NetScreen devices with SSH open, and honeypots saw login attempts with the published backdoor password 3 days after disclosureRapid7 2015SANS Internet Storm Center 2015. No victim beyond Juniper has been publicly identifiedBloomberg (full text as… 2021.

What it teaches

A back door built for one party can be taken over by another: Juniper told members of Congress that an unnamed national government had converted a mechanism first created by NSAReuters (as republished… 2020. In 2013 CERT/CC had listed Juniper as not affected by Dual EC, so a vendor's assurance did not rule out exposureCERT/CC, Carnegie Mellon… 2013ACM CCS 2016 (author's v… 2016. Attribution remains unofficial: Bloomberg's account naming APT 5 rests on anonymous sources, and China rejected itBloomberg (full text as… 2021.