Cryptanalysis of RC4(n, m) stream cipher


Autoria(s): Orumiehchiha, Mohammad Ali; Pieprzyk, Josef; Shakour, Elham; Steinfeld, Ron
Contribuinte(s)

Elçi, Atilla

Chefranov, Alexander

Gaur, Manoj Singh

Orgun, Mehmet A.

Makarevich, Oleg B.

Çelik, Yasin

Data(s)

2013

Resumo

RC4(n, m) is a stream cipher based on RC4 and is designed by G. Gong et al. It can be seen as a generalization of the famous RC4 stream cipher designed by Ron Rivest. The authors of RC4(n, m) claim that the cipher resists all the attacks that are successful against the original RC4. The paper reveals cryptographic weaknesses of the RC4(n, m) stream cipher. We develop two attacks. The first one is based on non-randomness of internal state and allows to distinguish it from a truly random cipher by an algorithm that has access to 24·n bits of the keystream. The second attack exploits low diffusion of bits in the KSA and PRGA algorithms and recovers all bytes of the secret key. This attack works only if the initial value of the cipher can be manipulated. Apart from the secret key, the cipher uses two other inputs, namely, initial value and initial vector. Although these inputs are fixed in the cipher specification, some applications may allow the inputs to be under the attacker control. Assuming that the attacker can control the initial value, we show a distinguisher for the cipher and a secret key recovery attack that for the L-bit secret key, is able to recover it with about (L/n) · 2n steps. The attack has been implemented on a standard PC and can reconstruct the secret key of RC(8, 32) in less than a second.

Formato

application/pdf

Identificador

http://eprints.qut.edu.au/69677/

Publicador

ACM

Relação

http://eprints.qut.edu.au/69677/6/Authors_draft_Pieprzyk.pdf

DOI:10.1145/2523514.2523615

Orumiehchiha, Mohammad Ali, Pieprzyk, Josef, Shakour, Elham, & Steinfeld, Ron (2013) Cryptanalysis of RC4(n, m) stream cipher. In Elçi, Atilla, Chefranov, Alexander, Gaur, Manoj Singh, Orgun, Mehmet A., Makarevich, Oleg B., & Çelik, Yasin (Eds.) SIN '13 Proceedings of the 6th International Conference on Security of Information and Networks, ACM, Aksaray, Turkey, pp. 165-172.

Direitos

Copyright 2013 ACM

Fonte

School of Electrical Engineering & Computer Science; Science & Engineering Faculty

Palavras-Chave #RC4(n;m) Stream cipher #Cryptanalysis #Key Recovery Attack #Distinguishing Attack #RC4-like cipher #Weak Keys #Weak States
Tipo

Conference Paper