Abstract
In this paper we provide several theoretical evidences that the pseudo-random index j of RC4 is indeed not pseudo-random. First we show that in long term \(\Pr (j = i+1) = \frac{1}{N} - \frac{1}{N^2}\), instead of the random association \(\frac{1}{N}\) and this happens for the non-existence of the condition \(S[i] = 1 \text{ and } j = i+1\) that is mandatory for the non-existence of the Finney cycle. Further we also identify several results on non-existence of certain sequences of j. We further discuss the cycle structure in RC4 and provide several theoretical results. The results are supported by experimental observations with reduced versions of RC4. In this direction we point out that certain non-randomness in j is closely related to the short cycles in RC4.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
AlFardan, N.J., Bernstein, D.J., Paterson, K.G., Poettering, B., Schuldt, J.C.N.: On the security of RC4 in TLS and WPA. In: 22nd USENIX Security Symposium (2013). http://www.isg.rhul.ac.uk/tls/RC4biases.pdf. Accessed 1 Oct 2019
Finney, H.: An RC4 cycle that can’t happen. Sci. Crypt, September 1994
Jenkins, R.J.: ISAAC and RC4 (1996). http://burtleburtle.net/bob/rand/isaac.html. Accessed 1 Oct 2019
Maitra, S.: The index \(j\) in RC4 is not pseudo-random due to non-existence of Finney Cycle. https://eprint.iacr.org/2015/1043. Accessed 1 Oct 2019
Mantin, I., Shamir, A.: A practical attack on broadcast RC4. In: Matsui, M. (ed.) FSE 2001. LNCS, vol. 2355, pp. 152–164. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-45473-X_13
Mister, S., Tavares, S.E.: Cryptanalysis of RC4-like ciphers. In: Tavares, S., Meijer, H. (eds.) SAC 1998. LNCS, vol. 1556, pp. 131–143. Springer, Heidelberg (1999). https://doi.org/10.1007/3-540-48892-8_11
Paterson, K.G., Poettering, B., Schuldt, J.C.N.: Big bias hunting in amazonia: large-scale computation and exploitation of RC4 biases (Invited Paper). In: Sarkar, P., Iwata, T. (eds.) ASIACRYPT 2014. LNCS, vol. 8873, pp. 398–419. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-662-45611-8_21
SenGupta, S., Maitra, S., Paul, G., Sarkar, S.: (Non-)random sequences from (non-)random permutations - analysis of RC4 stream cipher. J. Cryptol. 27(1), 67–108 (2014). https://doi.org/10.1007/s00145-012-9138-1
Sepehrdad, P., Vaudenay, S., Vuagnoux, M.: Statistical attack on RC4. In: Paterson, K.G. (ed.) EUROCRYPT 2011. LNCS, vol. 6632, pp. 343–363. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-20465-4_20
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Chakraborty, C., Chakraborty, P., Maitra, S. (2019). RC4: Non-randomness in the Index j and Some Results on Its Cycles. In: Hao, F., Ruj, S., Sen Gupta, S. (eds) Progress in Cryptology – INDOCRYPT 2019. INDOCRYPT 2019. Lecture Notes in Computer Science(), vol 11898. Springer, Cham. https://doi.org/10.1007/978-3-030-35423-7_5
Download citation
DOI: https://doi.org/10.1007/978-3-030-35423-7_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-35422-0
Online ISBN: 978-3-030-35423-7
eBook Packages: Computer ScienceComputer Science (R0)