Slashdot Mirror


Questions Linger As Juniper Removes Suspicious Dual_EC Algorithm (threatpost.com)

msm1267 writes: Juniper Networks has removed the backdoored Dual_EC DRBG algorithm from its ScreenOS operating system, but new developments show Juniper deployed Dual_EC long after it was known to be backdoored. Stephen Checkoway, assistant professor of computer science at the University of Illinois at Chicago, said that he and a number of crypto experts looked at dozens of versions of Juniper's NetScreen firewalls and learned that ANSI X9.31 was used exclusively until ScreenOS 6.2 when Juniper added Dual_EC. It also changed the size of the nonce used with ANSI X9.31 from 20 bytes to 32 bytes for Dual_EC, giving an attacker the necessary output to predict the PRNG output. 'And at the same time, Juniper introduced what was just a bizarre bug that caused the ANSI generator to never be used and instead just use the output of Dual_EC. They made all of these changes in the same version update.'

78 comments

  1. A 1950s idea, repurposed for today by 93+Escort+Wagon · · Score: 4, Interesting

    We really need to resurrect the House Un-American Activities panel. It sure seems to me that the NSA is hellbent on destroying American networking and computing companies - and that's about as Un-American as it gets.

    --
    #DeleteChrome
    1. Re:A 1950s idea, repurposed for today by Anonymous Coward · · Score: 0

      Hyperbole helps no one. We should stick to the facts--they're sufficiently damning.
      The discovered weaknesses in Dual_EC mean no one should trust it, but It is not true that it is "known to be backdoored".

    2. Re:A 1950s idea, repurposed for today by Pseudonym · · Score: 4, Interesting

      I'm not American, and even I know that's not what you want. What you want is a new round of Church and Pike committee hearings.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    3. Re: A 1950s idea, repurposed for today by Anonymous Coward · · Score: 4, Informative

      The NSA was involved in its development. It's known to be backdoored.

    4. Re:A 1950s idea, repurposed for today by Anonymous Coward · · Score: 4, Interesting

      Hyperbole helps no one. We should stick to the facts--they're sufficiently damning.
      The discovered weaknesses in Dual_EC mean no one should trust it, but It is not true that it is "known to be backdoored".

      Maybe let's put that differently. There is a known backdoor in Dual_EC. If the curve used in encryption isn't generated in a very special and safe way then it's possible to generate a curve which can be reversed by the person who generates it. Nobody knows who controls the backdoor, it's even theoretically possible that nobody does since the person generating the curve was so incompetent didn't save the key. Given that the NSA was involved in creating it and they aren't widely known to be deeply incompetent it would only be fair to assume that the NSA controls the back door.

      In other words, the design of Dual_EC is backdoored. Whether the specific implementation with a specific curve is backdoored is almost (but not quite) irrelevant.

      The Juniper case is particularly interesting because it shows a situation where a different curve was used, likely giving a different person control of the backdoor.

    5. Re:A 1950s idea, repurposed for today by sociocapitalist · · Score: 2

      We really need to resurrect the House Un-American Activities panel. It sure seems to me that the NSA is hellbent on destroying American networking and computing companies - and that's about as Un-American as it gets.

      Maybe we could get Trump to run it...

      (joking)

      --
      blindly antisocialist = antisocial
    6. Re:A 1950s idea, repurposed for today by 93+Escort+Wagon · · Score: 1

      It was intended as word play. I was not advocating for a new set of McCarthy hearings. :-)

      --
      #DeleteChrome
    7. Re:A 1950s idea, repurposed for today by Anonymous Coward · · Score: 0

      Nobody knows who controls the backdoor

      I think we can safely guess given involvement in development.

  2. No questions linger by Anonymous Coward · · Score: 1

    They were a backdoored company with backdoored code running a backdoored algorithm. What's the question? Never buy anything they ever touch again. They are just poison.

    If there's a question in your mind, you aren't thinking clearly.

    1. Re:No questions linger by Hizonner · · Score: 0

      That's dumb.

      There are going to be spooks out there trying to subvert any major company. Probably spooks from more than one place. They will pressure the bosses. They will pressure peons without telling the bosses. They will penetrate. They will infiltrate. They will do it to everybody. That is what spooks do.

      And they'll get success more or less at random. And that's on top of all the "organic" bugs they will find and exploit.

      And people move between these companies all the time.

      The strangest thing about this Juniper back door is how obvious it was. Maybe it was a rookie agent.

      The lesson you need to take from this is that you can't really trust anything against certain adversaries unless you built it yourself. And then you can't trust the parts. So if the spooks are your worry, you'd better defend in depth and keep off the radar.

    2. Re:No questions linger by myowntrueself · · Score: 1

      That's dumb.

      There are going to be spooks out there trying to subvert any major company. Probably spooks from more than one place. They will pressure the bosses. They will pressure peons without telling the bosses. They will penetrate. They will infiltrate. They will do it to everybody. That is what spooks do.

      And they'll get success more or less at random. And that's on top of all the "organic" bugs they will find and exploit.

      And people move between these companies all the time.

      The strangest thing about this Juniper back door is how obvious it was. Maybe it was a rookie agent.

      The lesson you need to take from this is that you can't really trust anything against certain adversaries unless you built it yourself. And then you can't trust the parts. So if the spooks are your worry, you'd better defend in depth and keep off the radar.

      I don't understand why their share value hasn't dropped like a stone

      --
      In the free world the media isn't government run; the government is media run.
    3. Re:No questions linger by Anonymous Coward · · Score: 0

      Not trusting anything is part of it. However that's not useful for most of what most people do. What we want is something sufficiently secure that we can do reasonable corporate IT where we think of security and breaches in terms of cost and risk. For this, the question is not whether there are vulnerabilities, the question is how easy they were to find and whether Juniper should have spotted them before. These particular vulnerabilities, especially the default password one and the manipulation of the Dual_EC curves are terrible.

      What this breach shows is that, in contrast to what we seem to see for Cisco, Juniper isn't even trying. Cisco has reacted more to the NetScreen breaches than Juniper. This doesn't mean that Cisco can be trusted, just that Juniper is clearly far below what should be used even day to day.

    4. Re:No questions linger by Anonymous Coward · · Score: 0

      Their big pension fund shareholder managers do not understand what Juniper is doing.

      I hope that the pointy haired IT tech managers do understand and will stop buying Juniper kit, but I don't have much hope of that either.

    5. Re:No questions linger by scsirob · · Score: 3, Interesting

      Intel has just acknowledged a bug in their Skylake CPU's that surfaces when calculating prime numbers. Prime numbers happen to be heavily used in crypto. Is this a genuine bug, or a microcode backdoor-gone-rogue that can be exploited by some agencies?
      https://communities.intel.com/...

      So are you never going to buy an Intel product again?

      --
      To Terminate, or not to Terminate, that's the question - SCSIROB
    6. Re:No questions linger by Anonymous Coward · · Score: 0

      the reason _i'm_ never buing anything intel is their M anagement E ngine and their doublespeak-named Anti-Theft which is... just horrifying.

      and think of all the features the spooks made them implement that are still secret... *shudder*

      amd is the same, i presume.

      i dont wanna learn verilog, but it might be necessary soon ;_;

    7. Re:No questions linger by 110010001000 · · Score: 1

      Because what is the alternative to Juniper? Cisco? Alcatel? Huawei? Most likely they have the same issues.

    8. Re:No questions linger by Anonymous Coward · · Score: 0

      We just rolled out 15 L3 Juniper switches 3 months before this was announced. It'll take 12months + to see the real ramifications

    9. Re:No questions linger by Lab+Rat+Jason · · Score: 2

      Have you ever considered that they did all of these things in the same release because they WANTED to tell the world but couldn't? Think about it.

      --
      Which has more power: the hammer, or the anvil?
    10. Re: No questions linger by Anonymous Coward · · Score: 0

      It would explain why they're referring to it as 'unauthorized'.

    11. Re:No questions linger by interval1066 · · Score: 1

      https://www.blackhat.com/us-14...
      I like verilog, but like all languages its flawed.

      --
      Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
    12. Re: No questions linger by Anonymous Coward · · Score: 0

      Openbsd. It's the only safe OS left for securing devices.

  3. It's not just Juniper by Anonymous Coward · · Score: 0

    "They made all of these changes in the same version update."

    Immediately following a visit from the mob, no doubt.
    It's hard to say 'NO' when you have a gun at your head.

  4. The damning quote tells you alot. by Anonymous Coward · · Score: 0

    "'It also changed the size of the nonce used with ANSI X9.31 from 20 bytes to 32 bytes for Dual_EC, giving an attacker the necessary output to predict the PRNG output. And at the same time, Juniper introduced what was just a bizarre bug that caused the ANSI generator to never be used and instead just use the output of Dual_EC. They made all of these changes in the same version update."

    Bizarre bug and coincidental, I'm sure... No Such Accident has ever been noticed at Juniper, hmm?

  5. What does this mean? by fustakrakich · · Score: 1

    Should we go back to telnet?

    --
    “He’s not deformed, he’s just drunk!”
    1. Re:What does this mean? by Anonymous Coward · · Score: 0

      If you use firewalls for telnet?

    2. Re:What does this mean? by Zero__Kelvin · · Score: 1

      No, but its replacement SSH is fine. Just encrypt your data prior to the SSL send and decrypt it on the other end of the SSL link. They might get your SSL encrypted data, but that is where the real work begins.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    3. Re:What does this mean? by DickBreath · · Score: 1

      What do you mean GO BACK to telnet? Juniper still uses telnet. TFA (the friendly article) says . . .

      "The announcement comes just shy of a month after Juniper said it had found unauthorized code in ScreenOS that allowed for the decryption of NetScreen firewall traffic and a second issue that allowed for remote unauthorized access to NetScreen appliances via SSH or telnet."

      --

      I'll see your senator, and I'll raise you two judges.
  6. NSA has ruined the American tech sector by Anonymous Coward · · Score: 0

    Considering we don't manufacture much of anything anymore, and Silicon Valley was one of our few shining beacons of prosperity, I wonder how the traitorous assholes at NSA sleep at night. Was it worth it?

    1. Re:NSA has ruined the American tech sector by hawguy · · Score: 0, Troll

      Considering we don't manufacture much of anything anymore, and Silicon Valley was one of our few shining beacons of prosperity, I wonder how the traitorous assholes at NSA sleep at night. Was it worth it?

      Why assume it came from the NSA? Since, as you say, we don't manufacture much of anything anymore (including software which is increasing outsourced), and Juniper has development offices around the world, then the backdoor could have come from any number of foreign governments.

    2. Re: NSA has ruined the American tech sector by bill_mcgonigle · · Score: 2

      Why assume it came from the NSA?

      One should not assume that, if Juniper fully discloses the who, what, and when of the compromises, including naming names.

      Now if we only get silence, stonewalling, and "temporary contractors"s then we can assume either external control or a suicidal lack of business acumen.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    3. Re:NSA has ruined the American tech sector by AHuxley · · Score: 2

      Re 'Was it worth it?"
      It seems a hold over from the cold war. US friendly theocracies, monarchies, juntas ie freedom loving emerging democratic leaders got cheap US deals.
      Cheap to import, US friendly interconnects, cheap international peering with domestic prices, keeps the Soviet Union out.
      The hardware exported was police tap ready, NSA ready, GCHQ ready. No person in the importing country was really expected to understand or inspect the inner workings, just upgrade or keep networks working. Request help to fly in as needed.
      The next step was the NDA and contracts to keep next generation well educated staff from looking at the digital inner workings and never to mention in public any expert findings.

      --
      Domestic spying is now "Benign Information Gathering"
    4. Re:NSA has ruined the American tech sector by complete+loony · · Score: 3, Informative

      Cracking Dual_EC requires knowledge of a secret that was used to generate the elliptic curve parameters it uses. The NSA published a set of parameters as part of the proposed standard. If these are the parameters that Juniper used, then only the NSA can deduce the internal state of the random number generator.

      There's no point to anyone else adding this backdoor, unless they are friends with the NSA.

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    5. Re:NSA has ruined the American tech sector by sshir · · Score: 1

      Could it be a false flag operation? Like, for example, Chinese backdored the system and then messed with RNG just for shits and giggles?

    6. Re: NSA has ruined the American tech sector by Tokolosh · · Score: 2

      Contrast with VW, where the culprits behind the emissions fiasco will be named and shamed. Congressional committees will investigate, class-action suits will be filed, company finances will take an enormous hit and heads will roll.

      For Juniper it will all blow over, leaving a faint stench.

      --
      Prove anything by multiplying Huge Number times Tiny Number
    7. Re:NSA has ruined the American tech sector by Aighearach · · Score: 0

      If by ruined we mean, made an anonymous coward mad at.

      This is bad for Juniper, which presumably had customers who are now unhappy, but you calling people names doesn't cause money to wander off and sneak out of Silicon Valley. Who are people going to trust if not Juniper? Cisco? Still think this hurts the American tech sector?

    8. Re:NSA has ruined the American tech sector by Aighearach · · Score: 3, Insightful

      The part I find really funny is the claim that they don't even know where the updates came from.

      Yeah, haha, we don't use version control either! Oh, wait, yes we do. It is free and saves time and money.

      You push out firmware updates without version control?! I guess George just makes a zip file, and emails it to Frank who burns a CD and mails it to the company flashing the EEPROMs... oh wait.

      And if you read about how deeply the Russians infiltrated the US nuclear program, then you'll realize that there is no need for outsourcing to enable foreign governments to be responsible for some fraction of the discovered exploits, back doors, side doors, trap doors, and dishonest press releases.

      If they don't even have their software under version control, how can we trust them to know what press releases they actually made? Maybe it was planted in their files after they didn't give it, and they never gave it! They can't even trust themselves, if they're paying attention. But I suspect they're paying enough attention to not to be paying attention.

    9. Re:NSA has ruined the American tech sector by Aighearach · · Score: 2

      Not knowable. The NSA doesn't want the world to know the details of successful foreign operations, for obvious operational reasons. They're not going to create risks to the nation in the area of their work, just to keep themselves from looking bad. That should be obvious by now by how bad they look, and that it doesn't seem to influence their work.

    10. Re:NSA has ruined the American tech sector by Anonymous Coward · · Score: 0

      Ericsson, Nokia or Huawei. The U.S. has clearly shown that American brands can no longer be trusted for critical network infrastructure.

    11. Re:NSA has ruined the American tech sector by Anonymous Coward · · Score: 0

      You push out firmware updates without version control?! I guess George just makes a zip file, and emails it to Frank who burns a CD and mails it to the company flashing the EEPROMs... oh wait.

      Companies used to have version control, then they used git and decided that binaries never needed versioning.

    12. Re:NSA has ruined the American tech sector by hawguy · · Score: 2

      The part I find really funny is the claim that they don't even know where the updates came from.

      Yeah, haha, we don't use version control either! Oh, wait, yes we do. It is free and saves time and money.

      You push out firmware updates without version control?! I guess George just makes a zip file, and emails it to Frank who burns a CD and mails it to the company flashing the EEPROMs... oh wait.

      And if you read about how deeply the Russians infiltrated the US nuclear program, then you'll realize that there is no need for outsourcing to enable foreign governments to be responsible for some fraction of the discovered exploits, back doors, side doors, trap doors, and dishonest press releases.

      If they don't even have their software under version control, how can we trust them to know what press releases they actually made? Maybe it was planted in their files after they didn't give it, and they never gave it! They can't even trust themselves, if they're paying attention. But I suspect they're paying enough attention to not to be paying attention.

      Without code signing (and few companies do it), Version control only tells you who the VCS system thinks made the update, which may have a very loose correlation to who actually made the update. If a hacker gained access to their VCS server, he could have inserted the changes into the VCS database with no identifying information at all.

  7. As one door closes. by Anonymous Coward · · Score: 0

    Keep in mind that the only reason to close one backdoor is because another has already been opened - likely one much harder to find.

  8. Anonymity and privacy by AHuxley · · Score: 1

    Meet face to face, use a one time pad, number stations. Type on paper in a secure vault.
    At a national level stop importing and using export grade junk standard crypto and create your own trusted networking systems.
    It will be expensive, slow, hard to cool, power demanding work but it will be your own system that is fully tested and understood from the domestic fab up.
    Local staff and experts loyalties are a lot more easy to ensure long term than allowing fully imported hardware on secure gov networks.
    It was telling during the US and UK gov/mil crypto comments over the years that the UK and US did not seem interested in denouncing VPN use or onion routing.
    The worlds standards and interconnects belong to the five eye nations https://en.wikipedia.org/wiki/.... Trap doors, back doors and tame standards are just all part of getting plain text or the origin ip every decade.
    The other aspect is who has the keys. Five Eyes nation staff, ex staff, former staff, trusted third party nation invited in, all their ex staff, former staff.

    --
    Domestic spying is now "Benign Information Gathering"
  9. Feel the power of the NSA... by surfdaddy · · Score: 0

    The NSA is strong in this one. Feel the NSA Luke! Feel its power! Be drawn in to the power of the ??? side...

    1. Re:Feel the power of the NSA... by surfdaddy · · Score: 1

      Don't know why this is modded offtopic. Most people feel that the NSA is probably behind this.

  10. No private company should stick their neck out by Foxhoundz · · Score: 3, Interesting

    I think the NSA is doing what NSA needs to do. That being said, if they forcefully compel a company to allow backdoor into products, the government should be prepared accept all subsequent financial liability (that is, bail out the company) that would likely arise as a result of the would-be PR disaster. No private company should stick their neck out for the government.

    1. Re:No private company should stick their neck out by A10Mechanic · · Score: 2

      To accept any level of liability is tantamount to an admission of guilt. Don't hold your breath.

    2. Re:No private company should stick their neck out by Anonymous Coward · · Score: 0

      NSA weakening security for US citizens is not its duty.

    3. Re:No private company should stick their neck out by plazman30 · · Score: 1

      The NSA is actually going against their mission statement. Their job is to collect data from outside the country and make sure the networks inside this country are secure. With them inserting backdoors into routers, and having supposedly broken SSL/TLS and not revealing to anyone what the security holes are, or how they're able to decrypt traffic, they moved way past their directive and are going to destroy silicone valley at some point.

    4. Re:No private company should stick their neck out by bigfinger76 · · Score: 1

      Silicone Valley is San Fernando Valley. You mean Silicon Valley.

    5. Re:No private company should stick their neck out by sociocapitalist · · Score: 2

      I think the NSA is doing what NSA needs to do. That being said, if they forcefully compel a company to allow backdoor into products, the government should be prepared accept all subsequent financial liability (that is, bail out the company) that would likely arise as a result of the would-be PR disaster. No private company should stick their neck out for the government.

      And what about the trickle down damage to end customers or anyone in the compromised chain? Maybe said victims have gone out of business or committed suicide as a result of the compromise of private information that wouldn't have otherwise been compromised - how do you give that back to them with money?

      No. The government should not require companies to put back doors in security products as all it does is increase insecurity for the sake of security theater.

      --
      blindly antisocialist = antisocial
  11. Voting Machines? by Anonymous Coward · · Score: 0

    Look at the complexity of that hack, someone has gone to such lengths to ensure access to communications from a company that is supposed to be a cryptographic expert.

    It's worth looking again at the voting machines. How is their software verified clean from similar hacks?
    How do they communicate with the central counter? Is it hacked? Do they connect through Juniper or Cisco routers? i.e. is the basic voting system compromised by a backdoor?

    Note: Cisco has found backdoors too:

    http://www.computerworld.com/article/2487598/security0/cisco-says-it-will-fix-backdoor-found-in-routers.html

    > "Cisco Systems promised to issue firmware updates removing a backdoor from a wireless access point and two of its routers later this month. The undocumented feature could allow unauthenticated remote attackers to gain administrative access to the devices."

    1. Re: Voting Machines? by Anonymous Coward · · Score: 0

      The article you link to is dated 2014.

    2. Re:Voting Machines? by Bert64 · · Score: 2

      That was basically a shell on a port, extremely obvious and useless as a malicious backdoor because anyone with a portscanner can find and use it.
      More likely that was used by the developers to debug the device and never removed before production builds were made. I have seen many embedded devices like this where a backdoor is present in the firmware image but comes commented out by default on released versions.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    3. Re: Voting Machines? by Anonymous Coward · · Score: 1

      Does that make it ok?
      If Cisco and Juniper (and quite a few others) had backdoors installed, then why wouldn't voting machines?

      Also "SYNful Knock" attack seems to be from 2015:
      https://www.fireeye.com/blog/threat-research/2015/09/synful_knock_-_acis.html

      > "SYNful Knock is a stealthy modification of the router's firmware image that can be used to maintain persistence within a victim's network. It is customizable and modular in nature and thus can be updated once implanted. Even the presence of the backdoor can be difficult to detect as it uses non-standard packets as a form of pseudo-authentication."

      > "The initial infection vector does not appear to leverage a zero-day vulnerability. It is believed that the credentials are either default or discovered by the attacker in order to install the backdoor."

  12. A bit off topic, but ... by Anonymous Coward · · Score: 1

    Firefox turned off SHA-1 signed certificates as of Jan 1, 2016. Good riddance. SHA-1 was weak. And all was well until last week.

    It seems someone went and filed a bug report about being stuck behind an old security filter that still uses SHA-1 and now they can't do https. Sorry about that. Maybe we could offer an optional patch to get you folks back on line until your crappy IT department gets its act together and fixes your firewall. And the rest of the world could go on about their business, knowing that a crappy algorithm has been put to death.

    But Noooo! I've got to put up with hourly nag popups, asking me to upgrade to 43.0.4 which re-enables SHA-1 certificates? Why? Because a couple of people are stuck behind crappy hardware? Doubtful, because the logical solution would be an optional patch for the few who need it. Is it possible that there is still a lot of NSA MITM gear out there, based on SHA-1 that suddenly 'went dark'? That's my guess. And I think someone leaned on the Mozilla Foundation to get their crappy digest algorithm back.

  13. It works the opposite way by phorm · · Score: 1

    They work in the opposite way. If you don't do what they want, then they blackball you and f*** you over as much as possible, even going so far as to trump up some charges for your CEO after they do everything they can to bankrupt you.

  14. Are you insane? by Okian+Warrior · · Score: 4, Insightful

    I think the NSA is doing what NSA needs to do. That being said, if they forcefully compel a company to allow backdoor into products, the government should be prepared accept all subsequent financial liability (that is, bail out the company) that would likely arise as a result of the would-be PR disaster. No private company should stick their neck out for the government.

    Are you nuts?

    An entrepreneur with an idea starts a business, builds it over the course of many years, has a sizeable value and clientelle and personal integrity and a duty to stockholders.

    The NSA compels him to put a backdoor in his product, so that if it's found out he loses credibility, his business loses value, clients (especially international ones) flee to other products, stockholders lose value, and in all probability workers lose jobs...

    And you think this is OK because the government will bail him out?

    Bail out what?

    The company might very well be irrecoverable, and in any event the owner might want the company more than its monetary book value (because he likes running the business, or because he wants to leave something to his kids), and the government isn't known for paying book value on eminent domain seisures.

    In addition, knowing that the NSA does this to one company, customers abroad assume that they have done this to many others, and avoid American products in general. Our economy takes a big hit, people are unemployed and miserable, the government has less tax money to do things, and we're less safe because of it.

    Your position has no rational logic. Are you insane?

    1. Re: Are you insane? by Anonymous Coward · · Score: 0

      What do they care? The American people are under employed, under educated and over valued. Welcome to the global economy, you're in for a shock: we pulled out long ago.

  15. Why Dual EC? by TechyImmigrant · · Score: 5, Interesting

    I'm an implementor of non backdoored RNGs that are very widely deployed. However to be able to do that well you need to understand the many ways how to backdoor RNGs, so you can take preventative measures to prevent other people backdooring your design.

    So I know many ways to backdoor an RNG. If I was trying to do that, why would I choose an RNG that was already widely known to be backdoored?

    So either they are back at backdooring, or not good at not backdooring.

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    1. Re:Why Dual EC? by ioErr · · Score: 3, Informative

      ScreenOS uses Dual EC in a strange, non-standard way. Rather than generating all of their random numbers with Dual EC (which would be slow), they only use Dual EC to generate a seed for a fast 3DES-based generator called ANSI X9.17. Since that generator is actually FIPS-140 approved and generally believed to be sufficient to the purpose, it's not clear what value Dual EC is really adding to the system in the first place -- except, of course, its usefulness as a potential backdoor.

      The good news here is that the post-processing by ANSI X9.17 should kill the Dual EC backdoor, since the attack relies on the attacker seeing raw output from Dual EC. The ANSI generator appears to completely obfuscate this output, thus rendering Dual EC "safe". This is indeed the argument Juniper made in 2013 when it decided to leave the Dual EC code in ScreenOS.

      http://blog.cryptographyengine...

    2. Re:Why Dual EC? by Anonymous Coward · · Score: 0

      The interesting bit is in the next paragraph in the quoted article:

      "The problem with this argument is that it assumes that no other code could ever "accidentally" exfiltrate a few bytes bit of raw Dual EC output...."

      Then the next paragraph:

      "And unbelievably, amazingly, who coulda thunk it, it appears that such a bug does exist in many versions of ScreenOS, dating to both before and after the 'unauthorized code' noted by Juniper."

      To summarize: There's no cryptographic reason to use Dual EC. A buggy implementation would provide a backdoor to decrypt VPN connections through the device. Such bug exists. The implication is that the entire exercise existed only to introduce the backdoor.

      Note also that the 'bug' was found only when Juniper released a patch changing the Q value for the curve back to its original setting. The implication here is that an unauthorized person who knew about the bug decided to change the lock on the backdoor about 3 years ago and has been happily decrypting VPN traffic without anyone noticing.

    3. Re:Why Dual EC? by TechyImmigrant · · Score: 1

      >3DES-based generator called ANSI X9.17. Since that generator is actually FIPS-140 approved

      Not any more it isn't. X9.82/SP800-90 replaced it and X9.17 has now been deprecated for FIPS 140 module certification.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  16. Nuernburg Trials by Anonymous Coward · · Score: 0

    Is what is needed.

  17. A few of the many articles: by Futurepower(R) · · Score: 5, Informative

    NSA Helped British Spies Find Security Holes In Juniper Firewalls Quote: "... British spy agency GCHQ, with the knowledge and apparent cooperation of the NSA, acquired the capability to covertly exploit security vulnerabilities in 13 different models of firewalls made by Juniper Networks..."

    Secret Code Found in Juniper's Firewalls Shows Risk of Government Backdoors Quote: "This is a very good showcase for why backdoors are really something governments should not have in these types of devices because at some point it will backfire."

    New Discovery Around Juniper Backdoor Raises More Questions About the Company Quote: "Juniper added the insecure algorithm to its software long after the more secure one was already in it, raising questions about why the company would have knowingly undermined an already secure system."

    Juniper 'fesses up to TWO attacks from 'unauthorised code'

    'Unauthorized code' that decrypts VPNs found in Juniper's ScreenOS Quote: "And it may have been there since 2008, making this a late contender for FAIL of the year."

    How to log into any backdoored Juniper firewall -- hard-coded password published

    Juniper promises to fix ScreenOS cryptography ... eventually

    Listen up, FBI: Juniper code shows the problem with backdoors Quote: "FBI director James Comey should be taking notes: The Juniper debacle shows why security experts are up in arms over government-ordered backdoors."

    Another quote from that article:

    "Cryptographic backdoors are one of the best ways for attackers to break into systems. '[The backdoors] take care of the hard work, the laying of plumbing and electrical wiring, so attackers can simply walk in and change the drapes,' Green said.

  18. Treason is the reason by WaffleMonster · · Score: 1

    I think the NSA is doing what NSA needs to do.

    Based on what evidence? What do you know about how any of this was leveraged or why it was done?

    That being said, if they forcefully compel a company to allow backdoor into products,

    What do you mean by force? Withholding contracts? Bribes? Vindictive leverage of regulatory sticks?

    the government should be prepared accept all subsequent financial liability (that is, bail out the company) that would likely arise as a result of the would-be PR disaster.

    LOL

    No private company should stick their neck out for the government.

    Have no fear CISA is here.

    1. Re:Treason is the reason by Anonymous Coward · · Score: 0

      Your comment seems to have lost it's parent. Could you please provide a link. Thanks

  19. More detail about Juniper below. by Anonymous Coward · · Score: 1
  20. Who's On Our Side? by mentil · · Score: 3, Interesting

    Step 1: Privately encourage companies to utilize 'govt. compliant' encryption routines 'for security purposes', implied to be tied to govt. contracts.
    Step 2: Hire everyone you can who has the education needed to understand said cryptographic schemes. No amount of money is too high.
    Step 3: Enjoy the brain drain. Every person who works for you is a person who doesn't work for those you want to surveil (i.e. everyone else).
    Step 4: Watch public and private sector security researchers be overwhelmed by the sheer number of ways and places to be compromised, and realize you don't have to backdoor everything your targets use, merely ONE of the things they use. Of course, very few researchers who can understand the cryptography involved, aren't on your payroll.

    TL;DR: the attackers outnumber the defenders so overwhelmingly that the latter can't keep up with the former.

    --
    Corruption is convincing someone that the selfless ideal is the same as their selfish ideal.
  21. Weird: No articles about NSA management by Futurepower(R) · · Score: 5, Interesting

    NSA = No Sales for America

    I find it shocking that articles about the NSA seem to start from the assumption that, except for the theft of a huge amount of data by an employee of a sub-contractor, Edward Snowden, the NSA is well managed. To me, it is utterly obvious that the NSA is not well managed.

    If NSA employees can listen to all telephone calls, do you think that none of them notice an increase of traffic at a company and listen to the recordings to find stock tips?

    My perception is that governments don't manage technology companies well. (NASA and the U.S. Department of Energy, for example.) Part of the reason is that the best technology people want to work for organizations that are known for their good work. A government, especially a secret government agency, cannot hire the kind of people who are creative with technology. What technology genius wants to go to prison if he talks about his work?

    I posted links to 8 more articles about Juniper Networks below. A quote from one of them:

    "Cryptographic backdoors are one of the best ways for attackers to break into systems. '[The backdoors] take care of the hard work, the laying of plumbing and electrical wiring, so attackers can simply walk in and change the drapes,' Green said."

    It is definitely not reasonable to think that the NSA can hire people who are smarter than all those who want to break into computer systems. Cryptographic backdoors are a bad idea, and not only because they kill the sales of any nation that sponsors them.

    When a government agency can break into any company's affairs, do you think the managers never take advantage of that information to make money?

    Who chooses the sub-contractors, and decides how much they are paid? Suppose a relative of an NSA manager owns a contracting company?

    Secrecy causes huge problems. It is difficult or impossible to review the quality of management. Bad managers can hide their mistakes. That effectively assures that the management will be poor.

    Also, democracy works only if citizens can know what the government is doing.

    The NSA is based on an idea that just does not function correctly, and cannot be made to function correctly.

    1. Re:Weird: No articles about NSA management by swb · · Score: 2

      But technology people go to work for all kinds of companies who do boring work nobody wants to hear about. Or they go to work for a company which maybe a lot of people DO want to hear about, like Apple, but they sign all kinds of secret contracts the swear them to secrecy and ruinous poverty if they reveal them.

      And I think many people in technology work because the technology itself is interesting to work with, the purpose for which it is being used for, whether selling rutabagas or insurance, they really don't care about.

      And the NSA's specific appeal is "so you're interested in X? How would you like to work with a football field's worth of the newest X. We have a nearly unlimited amount of money to spend on it and some problems more interesting than cutting a cube dweller's transaction time on some database screens."

      This gets compared to the pitch from private industry who says "we're looking to upgrade from Windows 2008r2 to 2016 because it fits our 7 year budget cycle for server replacement, and we only do TPS reports on days ending in Y".

    2. Re:Weird: No articles about NSA management by Anonymous Coward · · Score: 0

      Having turned down an offer to work as a subcontractor for the government, that's not how the offers work. It was more like "you get to sit in this windowless cinder block building, have to be in the office every day (no work from home), need this security clearance that means we're going to pester everyone you've known for the last 10 years, and here's a raise that would be great if it wasn't for having to relocate"

  22. It's about patent trolls by Dahamma · · Score: 1

    Leave it up to /. to assume it's about some giant conspiracy. In reality it's almost definitely about an elliptical curve patent troll. Aka most companies don't care about politics, they care about money.

    http://www.theregister.co.uk/2...

    Tons of companies have been sued over this in the last few months. Given the perfectly good alternatives, why would any company not remove EC from their products?

    1. Re:It's about patent trolls by Anonymous Coward · · Score: 0

      Leave it up to /. to assume it's about some giant conspiracy. In reality it's almost definitely about an elliptical curve patent troll. Aka most companies don't care about politics, they care about money.

      http://www.theregister.co.uk/2...

      Tons of companies have been sued over this in the last few months. Given the perfectly good alternatives, why would any company not remove EC from their products?

      Hello Agent.

  23. Juniper is screwed by Anonymous Coward · · Score: 0

    These events sound dodgy as hell with sticky NSA fingers all over it. I would be pissed off if I was a Juniper shareholder. Who the hell is going to trust/buy Juniper kit now? They just handed their foreign competitors a huge bone - if not them then Cisco is looking pretty.

  24. Spot on by ThatsNotPudding · · Score: 1

    If NSA employees can listen to all telephone calls, do you think that none of them notice an increase of traffic at a company and listen to the recordings to find stock tips?

    Bingo. Through this abuse, the NRA is now self-funding (at least for off-shore executive 'bonuses').

    1. Re: Spot on by Anonymous Coward · · Score: 0

      NRA?