RC4 NOMORE: cookie decryption in 52 hours
Mathy Vanhoef and Frank Piessens (KU Leuven) combined new and known RC4 biases to decrypt a 16-character HTTPS cookie with 94% success from about 9·2^27 encryptions, estimating 75 hours and achieving it in 52 hours in practice. Against WPA-TKIP they recovered enough to inject and decrypt packets in about an hour.
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
The attack relies on the Fluhrer-McGrew long-term biases and new multi-byte biases, plus a malicious script generating about 4,450 requests per second to the target site. It was the first demonstration of RC4 bias attacks against real devices within days rather than weeks, and it received the USENIX Security 2015 best student paper award.
Coupled with RFC 7465 and browser removals in early 2016, it effectively ended RC4 in TLS. The weakness is intrinsic to RC4's keystream, so this is class math; the only fix was to stop using RC4.
Sources
- paperAll Your Biases Belong To Us: Breaking RC4 in WPA-TKIP and TLS (USENIX Security 2015)USENIX, usenix.org
- blogRC4 NOMOREKU Leuven, rc4nomore.com