Fewer IPsec Connections At Risk From Weak Diffie-Hellman (threatpost.com)
msm1267 writes: A challenge has been made against one of the conclusions in an academic paper on cryptographic weaknesses that may be the open door through which intelligence agencies are breaking encrypted connections. The paper, 'Imperfect Forward Secrecy: How Diffie-Hellman Fails in Practice,' claims that a massively resourced agency such as the NSA could build enough custom hardware that would crack the prime number used to derive an encryption key. Once enough information is known about the prime, breaking Diffie-Hellman connections that use that same prime is relatively trivial. In the paper, the team of 14 cryptographers and academics who wrote it claim that upwards of 66 percent of IPsec VPN connections can be passively decrypted in this manner. Paul Wouters, a founding member and core developer of the Libreswan Project, as well as a Red Hat associate, said that researchers are jumping to a conclusion because of the way they scanned and tested VPN servers, and that the number is likely too high.
All key exchange algorithms are vulnerable.
You can't negotiate a key without secrecy in the first place. Certs don't cover that because the CA model is inherently broken.
While their vulnerability numbers are probably off by a magnitude or two, that doesn't negate the idea behind the paper - just the importance.
I'm not afraid of hackers or the NSA or anything else. I'm afraid of Bruce Schneier. Rumor has it he even can intercept information flow between quantumly entangled particles. Until we deal with the real threat, all your data are belong to us.
I thought Diffie Hellman relied on elliptic curves rather than huge prime numbers. Please correct me if I'm wrong
Build a Man a Fire, and He'll Be Warm for a Day. Set a Man on Fire, and He'll Be Warm for the Rest of His Life.
I love that page. A good coverage of what is considered secure. In SmallWall, http://www.smallwall.org/ the continuation of m0n0wall, the IPsec configuration page actually has a link to that Cisco page, along with warnings about what is no longer secure.
Note, however, that they also consider DH-2048 acceptable. I believe the general consensus is that it will be secure until about 2020.
The encryption is fine. The original key generation process is flawed. Regenerate keys correctly, and the traffic is secure(*) again.
(*) At least to the point that (according to TFA) it should take the various TLA’s about a year per key of Very Expensive computer time to break.