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.
If Libreswan, Freeswan and Openswan*, had 50% of the VPN market, it would still be 33% success rate at passive decryption.
So VPNs are a joke at this point, the encryption is flawed.
* i.e. it would double the number of tested servers and half the success. Assuming his claim is correct. I think their market share is lower than this, I'm shooting for an upper guestimate.
Symantec issued 2600 fake certificates:
http://www.engadget.com/2015/10/29/google-warns-symantec-over-certificates/
"For its part, Symantec claims that it issued a "small number" of test certificates by mistake, and revoked them before notifying those affected. It also fired a handful of staff who reportedly weren't following guidelines. There's a good chance this won't happen again. However, the antivirus maker also appears to be downplaying the scope of the problem. Google notes that it found dodgy certificates after the first time Symantec examined its behavior, and Symantec's second audit caught over 2,600 of them"
Please note, that these certificates were spotted because THEY WERE SERVED UP AS SITE CERTIFICATES BY A MAN IN THE MIDDLE ATTACK.
They are not 'test' certificates, they were attacks. Likely NSA's 'Flying Pig' HTTPS attack.
Do you trust their anti-virus software?
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'm particularly interested in the ramifications for IPSEC VPN's, hence I've checked out Cisco's response.
Seems like cisco were recommending DH with 2048bits since at least April 2012.
https://web.archive.org/web/20130503031549/http://www.cisco.com/web/about/security/intelligence/nextgen_crypto.html
So although I'm grateful for this paper pointing it out to me, as I was unaware, this particular recommendation does not appear to be new. Cisco now in fact recommend 3072 bit.
http://www.cisco.com/web/about/security/intelligence/nextgen_crypto.html
Regards,
We (Eyal Ronen and Adi Shamir) have been running multiple tests over the last few weeks in order to check the claims made in the Adrian et al paper[1], titled "Imperfect Forward Secrecy: How Diffie-Hellman Fails in Practice", and are in the final stages of writing a comprehensive report about our findings. In the specific case of IPSEC, we have independently reached essentially the same conclusions as in Wouters’ blog post (which had just been published at https://nohats.ca/wordpress/blog/2015/10/17/66-of-vpns-are-not-in-fact-broken/ , and reported in https://threatpost.com/fewer-ipsec-vpn-connections-at-risk-from-weak-diffie-hellman/115189/ , and in http://it.slashdot.org/story/15/10/29/2230233/fewer-ipsec-connections-at-risk-from-weak-diffie-hellman ), namely, that the success rate of a hypothetical NSA attack on this protocol would be much lower than the original estimate which appeared in [1]. More interestingly, we also checked the claimed statistics in [1] related to HTTPS connections (which was not checked by Wouters). These connections use the TLS protocol (or its predecessor SSL) to securely access http servers on the internet, and is of great interest to intelligence services since it protects access to search engines (such as GOOGLE), to email (such as GMAIL), to social networks (such as FACEBOOK), to financial information (such as CITIBANK and VISA) and to various services (such as ordering books on AMAZON or reserving airline tickets on EXPEDIA). In particular, we tested the percentage of all DH-based connections (which use all key sizes, including the safer groups with 1536 bit primes which presumably cannot be attacked by the NSA with a feasible preprocessing). Our methodology was to use OpenSSL version 1.0.1e-fips from 11 Feb 2013 in its standard configuration (the version installed on our cluster computer at the Weizmann Institute) in order to open a secure connection to every single site in the Alexa list of the top one million web sites, and to check if the server chose ECC, DH, RSA, or completely declined opening a secure connection. Since many sites declined an SSL connection attempt, we also tried to add either the "www." or "login." prefix to all the sites on the list. This slightly increased the number of successful connections, since some sites only encrypt the communication after you log in.
Our full scan of all the top one million websites showed that DH-based connections were established to around 18.7% of the sites that accepted HTTPS. This is a slightly smaller percentage than the 23.9% described in [1], which refers to the fraction of HTTPS connections that use the ten most popular 1024-bit DH groups (note that this discrepancy could be due to natural trends in the use of cryptography on the internet, due to the time difference between the two scans). However, our main claim is that most of these 1000000 web sites have a relatively small amount of traffic and are of little interest to intelligence services, and thus this statistics is not the right one to use when trying to estimate the possible success rate of a hypothetical NSA attack. We thus compiled the fraction of DH-based connections among the attempted connections to the top k web sites for all values of k smaller than one million. For example, when we restrict our attention to the top 1000 web sites, the percentage of sites whose connection used a DH handshake drops to 4.5%, and if we consider only the top 100 web sites (which include most of the interesting sites mentioned above), the percentage drops to just 2%. In other words, the most popular web sites are the least likely to negotiate a DH handshake when the client is not actively modified or influenced by the NSA.
It is interesting to note that some of the leaked Snowden documents support the conclusion that DH-handshakes are rarely seen by intelligence services. For example, consider the document at http://www.spiegel.de/media/media-35512.pdf made public in December 2014 whose title is "TLS trends at GHCQ”. It probably dates from the end of 2012,