How to Protect Yourself from NSA Attacks on 1024-bit DH
11–20 of 140 posts
Re: How to Protect Yourself from NSA Attacks on 1024-bit DH
#12Does anyone have links to bugs for the affected programs to make 2048 the minimum by default? It seems like we shouldn't have to continue to manually configure secure settings. OpenVPN? SSH? Nginx? Apache? Where are the bugs to make these not use insecure dhparams by default?
Here is a comment written in the vars configuration file for easy-rsa 2.2.2:
# Increase this to 2048 if you
# are paranoid. This will slow
# down TLS negotiation performance
# as well as the one-time DH parms
# generation process.
export KEY_SIZE=1024
So if you used easy-rsa version 2.2.2 or previous to generate your diffie hellman key for the server, and didn't increase the default size in the vars file before doing so, your server uses a 1024 bit diffie hellman key.Re: How to Protect Yourself from NSA Attacks on 1024-bit DH
#13The client on mine is very easy to use, but has no debug output/log or console that I can find so I don't know what it is doing.
Re: How to Protect Yourself from NSA Attacks on 1024-bit DH
#14Re: How to Protect Yourself from NSA Attacks on 1024-bit DH
#15Is TLS w/3DES still considered safe (TLS_RSA_WITH_3DES_EDE_CBC_SHA)? My guess is that it's the next to "go", but is it a risk currently?
Edit: I should mention though that 3DES as used in TLS is vulnerable to BEAST if not mitigated client-side and possibly Lucky 13 too, so the ciphersuite ought to be the next to "go" along with the other CBC ciphersuites. Still better than RC4 though.
Re: How to Protect Yourself from NSA Attacks on 1024-bit DH
#16Is TLS w/3DES still considered safe (TLS_RSA_WITH_3DES_EDE_CBC_SHA)? My guess is that it's the next to "go", but is it a risk currently?
3DES (the cipher) is secure but incredibly slow. It's often included in server ciphersuites to support old clients (the alternative for old clients is RC4, which is not secure). Edit: I should mention though that 3DES as used in TLS is vulnerable to BEAST if not mitigated client-side and possibly Lucky 13 too, so the ciphersuite ought to be the next to "go" along with the other CBC ciphersuites. Still better than RC4…
Edit: Thanks for the edit! What I was looking for.
Re: How to Protect Yourself from NSA Attacks on 1024-bit DH
#17Does anyone have links to bugs for the affected programs to make 2048 the minimum by default? It seems like we shouldn't have to continue to manually configure secure settings. OpenVPN? SSH? Nginx? Apache? Where are the bugs to make these not use insecure dhparams by default?
OpenVPN makes you provide your own parameters; there is no default. As of Apache 2.4.7, the default DH parameters have the same number of bits as your RSA key, and since CAs have required at least 2048 bit RSA for a few years now, you'll be fine. OpenSSH does ship parameters that are larger than 1024 bits (in addition to 1024 bit parameters), and with the "group-exchange" kex, sufficiently-secure parameters should be…
agwa wrote:
> Last I looked nginx used fixed 1024 bit parameters, which is very bad.
> I don't know if this has changed or if there's a bug report.
NGINX has had the ssl_dhparam directive (allowing dhparam of arbitrary size) since version 0.7.2, released in 2008.Re: How to Protect Yourself from NSA Attacks on 1024-bit DH
#18How can you tell if the commercial VPN service you are using is vulnerable? The client on mine is very easy to use, but has no debug output/log or console that I can find so I don't know what it is doing.
Re: How to Protect Yourself from NSA Attacks on 1024-bit DH
#19chromium --cipher-suite-blacklist=0x0033,0x0039,0x009E,0xcc15
Also if you use Nginx web browser; (read this article)
https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx....
Re: How to Protect Yourself from NSA Attacks on 1024-bit DH
#20How can you tell if the commercial VPN service you are using is vulnerable? The client on mine is very easy to use, but has no debug output/log or console that I can find so I don't know what it is doing.
As an alternative, VPSs are cheap nowadays and you can easily spin up a VPN server automatically with something like Streisand