Has it been Pwned
MathLimited impact

RC4 keystream biases enable plaintext recovery in TLS

AlFardan, Bernstein, Paterson, Poettering and Schuldt showed that statistical biases throughout RC4's keystream allow ciphertext-only recovery of plaintext repeatedly encrypted in TLS. Using single-byte biases in the first 256 bytes, some bytes can be recovered after 2^24 sessions and most reliably after about 2^30; a double-byte-bias attack recovers 16 bytes at any position after roughly 10·2^30 encryptions.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken math. This entry concerns mathematics, algorithm design or parameter justification. Its stated scope distinguishes an attack from a defect in a security argument; a proof or accounting error alone does not establish practical key recovery.

Background

At the time roughly half of TLS traffic used RC4, partly because it had been recommended as a workaround for CBC-mode attacks such as BEAST and Lucky 13. The attack needs the same secret (for example a cookie) to be encrypted under many different keys or at many positions, which browser JavaScript can arrange, but the 2013 numbers were still too large for comfortable real-world use.

The weakness is in RC4's output distribution, so it applies to every RC4 implementation: hence class math. Impact is marked limited for this paper because of the data volume; the 2015 RC4 NOMORE work made it practical. The same biases apply to WPA-TKIP.

Sources

  1. paperOn the Security of RC4 in TLS (USENIX Security 2013)USENIX, usenix.org
  2. blogOn the Security of RC4 in TLS and WPA (project page)Royal Holloway ISG, isg.rhul.ac.uk