ACM Home Page
Please provide us with feedback. Feedback
Cryptanalysis of the "Grain" family of stream ciphers
Full text PdfPdf (234 KB)
Source ASIAN ACM Symposium on Information, Computer and Communications Security archive
Proceedings of the 2006 ACM Symposium on Information, computer and communications security table of contents
Taipei, Taiwan
SESSION: Cryptosystem and analysis table of contents
Pages: 283 - 288  
Year of Publication: 2006
ISBN:1-59593-272-0
Author
Alexander Maximov  Lund University, Lund, Sweden
Sponsor
SIGSAC: ACM Special Interest Group on Security, Audit, and Control
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 21,   Downloads (12 Months): 106,   Citation Count: 3
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1128817.1128859
What is a DOI?

ABSTRACT

Let us have an NLFSR with the feedback function g(x) and an LFSR with the generating polynomial f(x). The function g(x) is a Boolean function on the state of the NLFSR and the LFSR, at any time instance t. Whenever the LFSR has good statistical properties, it is used for controlling the randomness of the NLFSR's state machine. In this paper we define and study the general class of "Grain" family of stream ciphers, where the keystream bits are generated by another Boolean function h(y) on the states of the NLFSR and the LFSR. We show that the cryptographic strength of this family is related to the general decoding problem, when a key-recovering attack is considered. A proper choice of the functions f(·), g(·) and h(·) could, potentially, give us a strong instance of a stream cipher. One of such stream ciphers Grain was recently proposed as a candidate for the European project ECRYPT in May, 2005. Grain uses the secret key of length 80 bits and its internal state is of size 160 bits. It was suggested as a fast and small primitive for efficient hardware implementation. In our work we propose the analysis of such structures in general, and, in particular, we give a linear distinguishing attack on Grain with time complexity O(254), when O(251) bits of the keystream is available. This is the first paper presenting an attack on Grain, and it reveals a leakage in the choice of the functions in this particular design instance.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
N. Smart. Cryptography: An Introduction, 2003.
 
3
J.D. Golić. Linear statistical weakness of alleged RC4 keystream generator. In W. Fumy, editor, Advances in Cryptology---EUROCRYPT'97, volume 1233 of Lecture Notes in Computer Science, pages 226--238. Springer--Verlag, 1997.
 
4
 
5
 
6
S. Paul and B. Preneel. A new weekness in the RC4 keystream generator. In B. Roy and W. Meier, editors, Fast Software Encryption 2004, volume 3017 of Lecture Notes in Computer Science, pages 245--259. Springer--Verlag, 2004.
 
7
M. Briceno, I. Goldberg, and D. Wagner. A pedagogical implementation of A5/1. Available at http://jya.com/a51-pi.htm, Accessed August 18, 2003, 1999.
 
8
 
9
A. Maximov, T. Johansson, and S. Babbage. An improved correlation attack on A5/1. In Selected Areas in Cryptography---SAC 2004, Lecture Notes in Computer Science. Springer--Verlag, 2004.
 
10
S. Vaudenay Y. Lu, W. Meier. The Conditional Correlation Attack: A Practical Attack on Bluetooth Encryption. In Advances in Cryptology---CRYPTO 2005, volume 3621 of Lecture Notes in Computer Science, pages 97--117. Springer--Verlag, 2005.
 
11
NESSIE. New European Schemes for Signatures, Integrity, and Encryption. Available at http://www.cryptonessie.org, Accessed August 18, 2003, 1999.
 
12
ECRYPT. eSTREAM: ECRYPT Stream Cipher Project, IST-2002-507932. Available at http://www.ecrypt. eu.org/stream/, Accessed September 29, 2005, 2005.
 
13
M. Hell, T. Johansson, and W. Meier. Grain - A Stream Cipher for Constrained Environments. ECRYPT/eSTREAM Archive, Report 2005/010, 2005. http://www.ecrypt.eu.org/stream/ciphers/grain/grain.pdf.
 
14
Thomas Johansson and Fredrik Jönsson. On the complexity of some cryptographic problems based on the general decoding problem. IEEE Transactions on Information Theory, 48(10):2669--2678, 2002.
 
15
 
16
T. Siegenthaler. Correlation-immunity of non-linear combining functions for cryptographic applications. IEEE Transactions on Information Theory, 30:776--780, 1984.
 
17
C.E. Shannon. Communication theory of secrecy systems. Bell System Technical Journal, 27:656--715, 1949.
 
18
 
19
 
20
 
21
 
22
 
23
Håkan Englund and Thomas Johansson. A new simple technique to attack filter generators and related ciphers. In Selected Areas in Cryptography, pages 39--53, 2004.
 
24
 
25
T. Siegenthaler. Decrypting a class of stream ciphers using ciphertext only. IEEE Transactions on Computers, 34:81--85, 1985.
 
26
 
27
 
28
 
29
V. Chepyzhov and B. Smeets. On a fast correlation attack on certain stream ciphers. In D. W. Davies, editor, Advances in Cryptology---EUROCRYPT'91, volume 547 of Lecture Notes in Computer Science, pages 176--185. Springer--Verlag, 1991.
 
30
F. Jönsson. Some Results on Fast Correlation Attacks. PhD thesis, Lund University, Department of Information Technology, P.O. Box 118, SE--221 00, Lund, Sweden, 2002.