Generalization of Roos bias in RC4 and some results on key-keystream relations
Open Access
- 31 January 2018
- journal article
- research article
- Published by Walter de Gruyter GmbH in Journal of Mathematical Cryptology
- Vol. 12 (1) , 43-56
Abstract
RC4 has attracted many cryptologists due to its simple structure. In [9], Paterson, Poettering and Schuldt reported the results of a large scale computation of RC4 biases. Among the biases reported by them, we try to theoretically analyze a few which show very interesting visual patterns. We first study the bias which relates the key stream byte z i {z_{i}} with i - k [ 0 ] {i-k[0]} , where k [ 0 ] {k[0]} is the first byte of the secret key. We then present a generalization of the Roos bias. In 1995, Roos observed the bias of initial bytes S [ i ] {S[i]} of the permutation after KSA towards f i = ∑ r = 1 i r + ∑ r = 0 i K [ r ] {f_{i}=\sum_{r=1}^{i}r+\sum_{r=0}^{i}K[r]} . Here we study the probability of S [ i ] {S[i]} equaling f y = ∑ r = 1 y r + ∑ r = 0 y K [ r ] {f_{y}=\sum_{r=1}^{y}r+\sum_{r=0}^{y}K[r]} for i ≠ y {i\neq y} . Our generalization provides a complete correlation between z i {z_{i}} and i - f y {i-f_{y}} . We also analyze the key-keystream relation z i = f i - 1 {z_{i}=f_{i-1}} which was studied by Maitra and Paul [6] in FSE 2008. We provide more accurate formulas for the probability of both z i = i - f i {z_{i}=i-f_{i}} and z i = f i - 1 {z_{i}=f_{i-1}} for different i ’s than the existing works.Keywords
This publication has 12 references indexed in Scilit:
- Some Proofs of Joint Distributions of Keystream Biases in RC42016
- Revisiting (nested) Roos bias in RC4 key scheduling algorithmDesigns, Codes and Cryptography, 2016
- Big Bias Hunting in Amazonia: Large-Scale Computation and Exploitation of RC4 Biases (Invited Paper)2014
- Statistical Attack on RC4Lecture Notes in Computer Science, 2011
- Discovery and Exploitation of New Biases in RC4Lecture Notes in Computer Science, 2011
- New Form of Permutation Bias and Secret Key Leakage in Keystream Bytes of RC4Lecture Notes in Computer Science, 2008
- Attacks on the RC4 stream cipherDesigns, Codes and Cryptography, 2008
- Permutation After RC4 Key Scheduling Reveals the Secret Key2007
- A Practical Attack on Broadcast RC42002
- Weaknesses in the Key Scheduling Algorithm of RC42001