Skip to main content

RC4: Non-randomness in the Index j and Some Results on Its Cycles

  • Conference paper
  • First Online:
Progress in Cryptology – INDOCRYPT 2019 (INDOCRYPT 2019)

Part of the book series: Lecture Notes in Computer Science ((LNSC,volume 11898))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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

  2. Finney, H.: An RC4 cycle that can’t happen. Sci. Crypt, September 1994

    Google Scholar 

  3. Jenkins, R.J.: ISAAC and RC4 (1996). http://burtleburtle.net/bob/rand/isaac.html. Accessed 1 Oct 2019

  4. 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

  5. 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

    Chapter  Google Scholar 

  6. 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

    Chapter  Google Scholar 

  7. 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

    Chapter  MATH  Google Scholar 

  8. 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

    Article  MATH  Google Scholar 

  9. 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

    Chapter  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Subhamoy Maitra .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics