RC4 in TLS is broken: now what?
community.qualys.com
community.qualys.com
RC4 has long been considered problematic, but until very recently there was no known way to exploit the weaknesses.
... is especially amusing once you learn how to exploit the flaw in RC4 he's talking about. It's among the simplest, most blatant crypto algorithm flaws ever published. It's also very old; it was known at approximately the same time as RC4's first publication on the Internet.
Quick version: RC4 has biases in the key stream it generates. This means that for a given offset, certain bytes are more likely to appear than others. How do you exploit this? Collect a large sample of the same plaintext encrypted under different key streams. Examine the biases apparent in your samples and compare them to the actual key stream biases. You should be able to infer the actual plaintext byte.
Does it need to be a single browser? If you have recorded a substantial portion of internet traffic (as the NSA has), and thus you have connections from a bunch of different browsers to a popular SSL/https web page, and the server (during a given time period) returns the exact same response (it's static web page) to all of them (or a portion of them and you can figure out which portion)....
?
I can think of a bunch of different reasons this would NOT work, but (or 'and') I'm also not neccesarily an expert and don't entirely understand this stuff, so I'm not sure either way, just wondering.
The key stream is generated independently of the plaintext, so the attacker really only cares that the bytes he's interested in (i.e. session cookies) stay at the same offset in the stream.
If the traffic is common to everyone, the NSA could just browse to the site.
OK I guessed right...
ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!aNULL:!ADH:!EDH:!MD5:!3DES