Abstract
RC4 suffered from a range of plaintext-recovery attacks using statistical biases, which use substantial, albeit close-to-practical, amounts of known keystream in applications such as TLS or WEP/WPA. Spritz was recently proposed at the rump session of CRYPTO 2014 as a slower redesign of RC4 by Rivest and Schuldt, aiming at reducing the statistical biases that lead to these attacks on RC4.
Even more devastating than those plaintext-recovery attacks from large amounts of keystream would be state- or key-recovery attacks from small amounts of known keystream. For RC4, there is unsubstantiated evidence that they may exist, the situation for Spritz is however not clear, as resistance against such attacks was not a design goal.
In this paper, we provide the first cryptanalytic results on Spritz and introduce three different state recovery algorithms. Our first algorithm recovers an internal state, requiring only a short segment of keystream, with an approximated complexity of 21400, which is much faster than exhaustive search through all possible states, but is still far away from a practical attack. Furthermore, we introduce a second algorithm that uses a pattern in the keystream to reduce the number of guessed values in our state recovery algorithm. Our third algorithm uses a probabilistic approach by considering the permutation table as probability distribution.
All in all, rather than showing a weakness, our analysis supports the conjecture that compared to RC4, Spritz may also provide higher resistance against potentially devastating state-recovery attacks.
Even more devastating than those plaintext-recovery attacks from large amounts of keystream would be state- or key-recovery attacks from small amounts of known keystream. For RC4, there is unsubstantiated evidence that they may exist, the situation for Spritz is however not clear, as resistance against such attacks was not a design goal.
In this paper, we provide the first cryptanalytic results on Spritz and introduce three different state recovery algorithms. Our first algorithm recovers an internal state, requiring only a short segment of keystream, with an approximated complexity of 21400, which is much faster than exhaustive search through all possible states, but is still far away from a practical attack. Furthermore, we introduce a second algorithm that uses a pattern in the keystream to reduce the number of guessed values in our state recovery algorithm. Our third algorithm uses a probabilistic approach by considering the permutation table as probability distribution.
All in all, rather than showing a weakness, our analysis supports the conjecture that compared to RC4, Spritz may also provide higher resistance against potentially devastating state-recovery attacks.
Original language | English |
---|---|
Title of host publication | Progress in Cryptology – LATINCRYPT 2015 : Proceedings of the 4th International Conference on Cryptology and Information Security in Latin America |
Editors | Kristin Lauter, Francisco Rodríguez-Henríquez |
Publisher | Springer |
Publication date | 2015 |
Pages | 204-221 |
ISBN (Print) | 978-3-319-22173-1 |
ISBN (Electronic) | 978-3-319-22174-8 |
DOIs | |
Publication status | Published - 2015 |
Event | 4th International Conference on Cryptology and Information Security in Latin America (LATINCRYPT 2015) - Guadalajara, Mexico Duration: 23 Aug 2015 → 26 Aug 2015 Conference number: 4 http://latincrypt2015.cs.cinvestav.mx/ |
Conference
Conference | 4th International Conference on Cryptology and Information Security in Latin America (LATINCRYPT 2015) |
---|---|
Number | 4 |
Country/Territory | Mexico |
City | Guadalajara |
Period | 23/08/2015 → 26/08/2015 |
Internet address |
Series | Lecture Notes in Computer Science |
---|---|
Volume | 9230 |
ISSN | 0302-9743 |
Keywords
- Spritz
- RC4
- Stream cipher
- State recovery
- Cryptanalysis