News for hackers. Stuff that matters.
Re:SSL Report: duckduckgo.com by hiroprot on Wednesday June 26, 2013 @10:38PM (#5950440)
"So, the way to go with BEAST is to force RC4 with TLS 1.0 and earlier, some CBC suite with TLS 1.1, and GCM suites with TLS 1.2."

Is it possible to configure nginx like this? From what I can tell, there is no way to select a cipher based on the protocol.

Re:SSL Report: duckduckgo.com by ivanr on Thursday June 27, 2013 @04:06AM (#5951153)
Yes, it's possible. OpenSSL does not allow for per-protocol tuning, but there are some tricks you can use to achieve the same effect. In particular, GCM suites and SHA256/SHA384 suites work only in TLS 1.2, so if you put those first you are effectively prioritizing them on per protocol-basis.

Try this:

AESGCM:SHA384:SHA256:RC4:AES !aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!kEDH:!PSK:!SRP:!kECDH

This is from an example that's not related to PFS, so some tuning may be needed. The example is from my (free) OpenSSL Cookbook, which you can get from here:

https://www.feistyduck.com/books/bulletproof-ssl-tls-and-pki...

You are required to register in order to get the book (because the book is not just the PDF). If you don't want to receive any email from me, after you log in, go to the Settings section and unsubscribe from the marketing list.

Re:SSL Report: duckduckgo.com by hiroprot on Thursday June 27, 2013 @07:51PM (#5955434)
Thanks, this is helpful. Which CBC suites work in TLS 1.1, but not 1.0?

These are my test results: https://www.ssllabs.com/ssltest/analyze.html?d=forkly.com

Re:SSL Report: duckduckgo.com by ivanr on Friday June 28, 2013 @03:45AM (#5956782)
In general, I don't think the protocol specifications call for some suites to be allowed with certain protocol and some not to. (There are some exceptions, when weak suites need to be deprecated.) In practice, it comes down to how library developers have implemented them. For example, in OpenSSL, you have SSL v2 suites, TLS 1.2 suites, and >= SSL v3 suites. I don't think there are any TLS 1.1-only suites.
Re:SSL Report: duckduckgo.com by hiroprot on Friday June 28, 2013 @01:02PM (#5959043)
Okay, then my current config is probably as good as it gets for now.

Thanks for the help :)