Download PDF

USENIX Security Symposium, Date: 2015/08/12 - 2015/08/14, Location: Washington, D.C.

Publication date: 2015-08-12
Pages: 97 - 112
Publisher: USENIX Association

Proceedings of the 24th USENIX Security Symposium

Author:

Vanhoef, Mathy
Piessens, Frank ; Jung, Jaeyeon ; Holz, Thorsten

Keywords:

Science & Technology, Technology, Computer Science, Information Systems, Computer Science, ATTACKS

Abstract:

We present new biases in RC4, break the Wi-Fi Protected Access Temporal Key Integrity Protocol (WPA-TKIP), and design a practical plaintext recovery attack against the Transport Layer Security (TLS) protocol. To empirically find new biases in the RC4 keystream we use statistical hypothesis tests. This reveals many new biases in the initial keystream bytes, as well as several new longterm biases. Our fixed-plaintext recovery algorithms are capable of using multiple types of biases, and return a list of plaintext candidates in decreasing likelihood. To break WPA-TKIP we introduce a method to generate a large number of identical packets. This packet is decrypted by generating its plaintext candidate list, and using redundant packet structure to prune bad candidates. From the decrypted packet we derive the TKIP MIC key, which can be used to inject and decrypt packets. In practice the attack can be executed within an hour. We also attack TLS as used by HTTPS, where we show how to decrypt a secure cookie with a success rate of 94% using 9*2^27 ciphertexts. This is done by injecting known data around the cookie, abusing this using Mantin’s ABSAB bias, and brute-forcing the cookie by traversing the plaintext candidates. Using our traffic generation technique, we are able to execute the attack in merely 75 hours.