Factorable Keys: Twice As Many, But Half As Bad
J. Alex Halderman and Nadia Heninger write in with an update to yesterday's story on RSA key security: "Yesterday Slashdot posted that RSA keys are 99.8%
secure in the real world. We've been working on this
concurrently, and as it turns out, the story is a bit more
complicated. Those factorable keys are generated by your router and
VPN, not bankofamerica.com. The geeky details are pretty nifty: we
downloaded every SSL and SSH keys on the internet in a few days, did
some math on 100 million digit numbers, and ended up with 27,000
private keys. (That's 0.4% of SSL keys in current use.) We posted a
long
blog post summarizing our findings over at Freedom to Tinker."
I guess we could say yesterday's report was off by 100%, but let's not go crazy. 0.4% is still too many, but it's still not as bad as it could be with all the cert vendor break-ins that have gone on recently.
Wow! Didn't know this still happened!
So how do you go about matching one of the keys that you guessed and a specific users session? What's more, how do you do that before the key changes? I can guess a password is "fishmonkeywrinkles", but without a matching account that wont do much good.
"Have you ever thought about just turning off the TV, sitting down with your kids, and hitting them?"
Pretty sure these guys care more about scaring people and publicizing it than having a practical use to the attack.
100-million-digit numbers? That's about what, about a 330-million-bit number? I haven't seen too many 40 MiB public keys. Even the product of two 4096-bit numbers is only three thousand digits.
Site seems slashdotted, down or whatever.
Was there anything new over articele from arstechnica?
http://arstechnica.com/business/news/2012/02/crypto-shocker-four-of-every-1000-public-keys-provide-no-security.ars
What I would like to know is: Why does this happen? How do these bad keys get generated? Why so many of them?
Please correct me if I got my facts wrong.
This was posted just 19 hours ago... it's still visible on my version of Slashdot's front page.
Or you could read the article, where they say that there's no need to panic, and criticize the New York Times for freaking out about it.
I can guess a password is "fishmonkeywrinkles"
Sonovabitch.
Now I have to change my password.
FTA:
For the system to provide security, however, it is essential that the secret prime numbers be generated randomly. The researchers discovered that in a small but significant number of cases, the random number generation system failed to work correctly.
So it's the faulty implementations that we need to worry about. The foundation itself is still strong.
Quick! Everybody log in as "Anonymous Coward" before he changes it!
Are the bad Debian ssh keys taken into account?
http://digitaloffense.net/tools/debian-openssl/
So how do you go about matching one of the keys that you guessed and a specific users session? What's more, how do you do that before the key changes? I can guess a password is "fishmonkeywrinkles", but without a matching account that wont do much good.
The keys in question are the 'permanent' ones that are used to establish the (supposedly) secure user sessions. The authors are saying that it is possible to factor the RSA public key and arrive at the private key. Once you have the private key you can do do a man-in-the-middle attack and pretend to be the server.
Furthermore, all user sessions can be recorded and decrypted after-the-fact since each session is encrypted with the (now compromised) private/public key pair. (Except if you're using SSL/TLS in ephemeral mode to provide perfect forward security--which hardly anyone does.)
So two possible attacks are: (1) do a MITM for specific connections, and (2) record everything you can and decrypt later at your leisure.
How many of the keys are still the old insecure Debian OpenSSL disaster keys?
I think few people use the SSL keys on the home router/firewall for anything other than local administration of their firewall so it doesn't really matter if the SSL can be broken, no one is watching and no one cares.
Even if the few people that actually used their home router/firewall to encrypt data sent over the public internet have hackable encrypted sessions, it's pretty unlikely that an attacker is watching their packets on the off chance that they have a hackable key when there are far easier and more common vulnerabilities to exploit when the attacker has access to your network packets (like firesheep style session stealing).
Both research teams claim 27000 factored keys. The difference seems to be in how they count the number of active certificates.
I wonder if these keys came as the result of the massive debian packaging screwup of openssh?
http://lists.debian.org/debian-security-announce/2008/msg00152.html
An official "Woot!" to Alex, Nadia and Michigan. Sorry you were scooped, but it sounds like you've actually identified the underlying problem.
As Nietsche famously said, "If you stare too long into the Abyss, 1d4 Tanar'ri of random type will attack you."
99.8%
Isn't this the same as saying 1 of every 500 keys is not secure? Doesn't sound secure to me.