Slashdot Mirror


Flaw Crippling Millions of Crypto Keys Is Worse Than First Disclosed (arstechnica.com)

An anonymous reader quotes a report from Ars Technica: A crippling flaw affecting millions -- and possibly hundreds of millions -- of encryption keys used in some of the highest-stakes security settings is considerably easier to exploit than originally reported, cryptographers declared over the weekend. The assessment came as Estonia abruptly suspended 760,000 national ID cards used for voting, filing taxes, and encrypting sensitive documents. The critical weakness allows attackers to calculate the private portion of any vulnerable key using nothing more than the corresponding public portion. Hackers can then use the private key to impersonate key owners, decrypt sensitive data, sneak malicious code into digitally signed software, and bypass protections that prevent accessing or tampering with stolen PCs. When researchers first disclosed the flaw three weeks ago, they estimated it would cost an attacker renting time on a commercial cloud service an average of $38 and 25 minutes to break a vulnerable 1024-bit key and $20,000 and nine days for a 2048-bit key. Organizations known to use keys vulnerable to ROCA—named for the Return of the Coppersmith Attack the factorization method is based on—have largely downplayed the severity of the weakness.

On Sunday, researchers Daniel J. Bernstein and Tanja Lange reported they developed an attack that was 25 percent more efficient than the one created by original ROCA researchers. The new attack was solely the result of Bernstein and Lange based only on the public disclosure information from October 16, which at the time omitted specifics of the factorization attack in an attempt to increase the time hackers would need to carry out real-world attacks. After creating their more efficient attack, they submitted it to the original researchers. The release last week of the original attack may help to improve attacks further and to stoke additional improvements from other researchers as well.

15 of 76 comments (clear)

  1. Effected Vendors? by Chrontius · · Score: 3, Interesting

    Anyone want to give me a list of whose smartcards to avoid?

    I know Yubikeys were recalled for this; if you have an effected key they'll ship you a new one for free. The old ones are fine, just so long as you don't use the internal key generator hardware EVER AGAIN. I plan on putting a red dot on mine with nail polish, and retiring them to emitting static passwords for my online games.

    1. Re:Effected Vendors? by Anonymous Coward · · Score: 3, Interesting

      "The issue weakens the strength of on-chip RSA key generation and affects some use cases for the Personal Identity Verification (PIV) smart card and OpenPGP functionality of the YubiKey 4 platform. Other functions of the YubiKey 4, including PIV Smart Cards with ECC keys, FIDO U2F, Yubico OTP, and OATH functions, are not affected. YubiKey NEO and FIDO U2F Security Key are not impacted."

      Quoted from Yubico's security advisory. I think you're over reacting if you're thinking of, "retiring them to emitting static passwords..."

  2. Re:Organizations known to use keys vulnerable to R by thomst · · Score: 5, Informative

    List please? Or is this going to be another one of those things?

    Well, according to the authors' preprint version of the actual paper, there's quite a few software implementations of RSA-based encryption that are vulnerable - PGP among them.

    If you'd prefer the authors' summary version, you'll find it here.

    --
    Check out my novel.
  3. Online voting in Estonia by Anonymous Coward · · Score: 4, Informative

    Estonia has online voting using these ids. It's also been heavily cyber and social attacked by neighboring Russia. So the democracy is at risk as long as they continue to allow online voting using ids with unknown flaws:

    https://estoniaevoting.org/press-release/

    "Estonia is the only country in the world that relies on Internet voting in a significant way for national elections. The system is currently used for Estonia’s national parliamentary elections, municipal elections and is planned to be used for the May 2014 European Parliamentary elections. In recent polls, 20-25% of voters cast their ballots online."

    "In one [simulated by security experts critical of the system] attack, malware on the voter’s computer silently steals votes, despite the systems’ use of secure national ID cards and smartphone verification. A second kind of attack smuggles vote-stealing software into the tabulation server that produces the final official count. The team produced videos in which they carry out exactly the same configuration steps as election officials — but with the system under attack by a simulated state-level adversary. Everything appears normal, but the final count produces a dishonest result."

    The big wake up call for them was a cyber attack by Russia in 2007:
    https://en.wikipedia.org/wiki/2007_cyberattacks_on_Estonia

    BTW, Trump has ignored the deadline to impose sanctions against Russia for its cyber attack, and simply hasn't implemented them.

    1. Re:Online voting in Estonia by Anonymous Coward · · Score: 5, Funny

      And all USA military attacks are launched from Russian soil, that's how USA invaded Ukraine and Georgia secretly without anyone noticing! All they had to do was sneak onto Russian soil first!

      And NSA wanted Trump in power, which is why they cyber attacked their own election to selectively release emails on his competitors. The devils!

      NSA is soooo cunning, they even hired dodgy Russian businessmen to buy up Trump condos shortly after the property crash, using Russian cash laundered through Cyprus, giving his buildings a fake inflated value that he could over-leverage against and keep his ponzi property empire afloat. Just so two election cycles later it could pretend he was heavily indebted to his Russian friends!

      Damn cunning NSA, always blaming sweet sweet innocent Putin for everything.

    2. Re:Online voting in Estonia by Anonymous Coward · · Score: 2, Insightful

      Count yourself lucky. The Chinese would have eaten it!

  4. Re:Organizations known to use keys vulnerable to R by plover · · Score: 5, Informative

    What you can do is submit your public key to an online checker, like https://keytester.cryptosense.... and see if it's vulnerable.

    --
    John
  5. Re:Organizations known to use keys vulnerable to R by Anonymous Coward · · Score: 2, Interesting

    Estonia has online voting using these ids. It's also been heavily cyber and social attacked by neighboring Russia. So the democracy is at risk as long as they continue to allow online voting using ids with unknown flaws:

    estoniavoting link

    "Estonia is the only country in the world that relies on Internet voting in a significant way for national elections. The system is currently used for Estonia’s national parliamentary elections, municipal elections and is planned to be used for the May 2014 European Parliamentary elections. In recent polls, 20-25% of voters cast their ballots online."

    "In one [simulated by security experts critical of the system] attack, malware on the voter’s computer silently steals votes, despite the systems’ use of secure national ID cards and smartphone verification. A second kind of attack smuggles vote-stealing software into the tabulation server that produces the final official count. The team produced videos in which they carry out exactly the same configuration steps as election officials — but with the system under attack by a simulated state-level adversary. Everything appears normal, but the final count produces a dishonest result."

    The big wake up call for them was a cyber attack by Russia in 2007:

    (wiki link)

    BTW, Trump has ignored the deadline to impose sanctions against Russia for its cyber attack, and simply hasn't implemented them.
     
    Post corected by:
    -=Beau=-

  6. Software designed for this specific hardware by raymorris · · Score: 3, Interesting

    From my understanding, the error was made by a hardware vendor who makes an encryption chip, and is present in the specialized library used with their chip. It can be loaded from software, but it's not what I'd call a "software implementation", the software is just an interface to this one vendor's hardware chip.

    The list of products using this hardware chip is quite long, and I haven't seen a comprehensive list published. We can say that it's hardware-based systems, smartcards and the like, that are affected.

    Of course it's also possible that developers of some pure software systems independently made the same error, separately from the reported flaw.

  7. Re:National ID cards used for voting? by Anonymous Coward · · Score: 2, Insightful

    4M+ illegal voters on 11/8/16.

    (In a very tired voice)

    Evidence, please?

  8. Re:Organizations known to use keys vulnerable to R by paavo512 · · Score: 3, Informative

    All PCs are insecure, whether used with card readers or not.

    That's why in Estonia you can double-check via a physically independent channel (smartphone app) that your vote reached the server correctly. Worked fine for me at the recent elections.

  9. Dan Bernstein... that guy again... by Anonymous Coward · · Score: 5, Interesting

    Full disclosure: I am in the academic crypto community, I have met Dan Bernstein and Tanja Lange countless times at seminars, conferences, etc. Posting as AC for obvious reasons.

    Just to put it into perspective for the readers who don't know: Dan and Tanja are longtime partners, they have most of their work done together. Tanja is cool. Dan Bernstein, however, is totally not. He is smart, but not *that* smart, not as much as he wants people to believe anyway. And that's totally fine, at the end you have to do your best to advertise yourself and sell your expertise, everybody does it, and Dan is not one of the worst ones in this respect.

    What I can't stand about this guy though is the aggressive, obsessive, and self-glorifying way he uses when discussing any possible little thing. Like, he needs to show you that he's ALWAYS right, that he's THE BEST on every possible discussion topics. You can clearly see that this poor guy was bullied hardcore as a child, and now he feels like he has to compensate his insecurities through this aggressive behavior.

    Typical thing he does, as this slashdot story shows, is taking credit for any big crypto-related breakthrough, even if it does not originally come from himself. Some researcher with less PR skills than Dan come up with a clever attack that makes it into the news? Dan comes up with a *minor* improvement on that work, downplaying the importance of the first attack, and hitting all the tech news websites with glorifying headlines. Like in the case of this slashdot story. Or like when, after Marc Steven's collision attack on SHA-1, he made some minor improvements and changed his twitter handle to @hashbreaker (that was ridiculous, and I really liked Marc's response of changing his handle to @realhashbreaker lol! Dan is indeed, in a certain sense, the academic equivalent of The Donald).

    There are many other examples of Dan's claiming expertise he dose not have and bashing other researchers on topic he's not an expert of. Just have a look at the IACR (almost unused) forum, or GoogleGroups related to lattice-based crypto, or Twitter, and much more. In any case, he'd NEVER admit he was wrong.

    I do not comment on his involvement in the Jacob Applebaum case, because I'm not really informed, and I'm not a vigilante.

    Seriously Dan, if you're reading this: take a hint! You're fine, really, you don't have to behave like this. This is not just my opinion, mind you, I have talked with many and many crypto people who think the same, and they just don't tell you because they do not want to be involved in pointless discussions with you. Can you please be nicer to people? I'm sure your career would also benefit from it.

    1. Re:Dan Bernstein... that guy again... by mesterha · · Score: 2

      When I read the summary, I didn't understand the importance of a 25% improvement. It seemed trivial. Going from impossible to 25 minutes is big. Going from 25 minutes to 18 minutes is minor. (A student in the area could probably optimize the original code to get this kind of improvement.) Maybe I'm missing something, but perhaps the GP has the right explanation...

      --

      Chris Mesterharm
    2. Re:Dan Bernstein... that guy again... by Ungrounded+Lightning · · Score: 2

      When I read the summary, I didn't understand the importance of a 25% improvement. It seemed trivial. Going from impossible to 25 minutes is big. Going from 25 minutes to 18 minutes is minor.

      If I'm (speed) reading the postings correctly, (BIG caveat) ...

      what he did was:
        * Look at the open postings, which didn't reveal the details of the attack or publish its code.
        * Figure out (from this and his crypto-related math knowledge) enough to, independently, come up with both a variant attack (that ran faster) and an explanation that's accessible to people with just some background and access to wikipedia to fill in the blanks.
        * and publish "here's what I did and here's how it works".

      So the big deal is not the speed improvement, but (being able and choosing to) bringing the guts of the crack out to where it's accessible to people without connections to the crypto-community's internal deliberations.

      Also: He may have found additional, or different, attacks (or pieces of them) than the original authors - and he fed that back to them and received acknowledgement that his input improved their code as well.

      --
      Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  10. Re:Organizations known to use keys vulnerable to R by paavo512 · · Score: 2

    If the servers get compromised then it's game over. That's the same with paper ballots, if the central office is corrupt then there is no trust in the results. It is true that there needs to be some trust in the state officials; electronic voting would probably not work in some other countries where 146% voter turnout or 99% single party wins are common. But that's not the problem with paper or technology, it's the problem with the state.

    For detecting that there is something fishy happening you don't need 80% coverage. Even a handful of mismatches would create a huge media storm (assuming free press) and a detailed investigation would be started. The same would happen if the election results would not resemble any pre-election predictions or polls.

    Paper ballots regularly get miscounted, intentionally or unintentionally. In totalitarian countries it's also easy to fake the paper ballots, any reports would be just ignored or silenced (see e.g. http://www.nytimes.com/2012/03... ). But this would require silenced press.

    Estonia is currently at the 12-th place in the press freedom index (out of 180), which is a very different situation from e.g. Russia (place 148) or even US (place 46). What works in one country may not work in another.