Abstract
MAG is a synchronous stream cipher submitted to the E-CRYPT eSTREAM project. The design criterion for the cipher is cellular automata, although it can be modelled as a word-based shift-register with a single word of memory. Cryptanalysis of MAG reveals serious structural weaknesses within the cipher. This paper presents simple distinguishing attacks against MAG with an 80-bit or 128-bit key that can, under certain circumstances, be carried out by hand. The approach is extended to a partial-key recovery attack. For the 80-bit and 128-bit keys, we recover 40 key bits and 32 key bits respectively from about 32 bytes keystream. A proposed modification to MAG, intended to prevent an earlier distinguishing attack, has no effect upon our distinguisher but instead allows a full key recovery attack for both 80-bit and 128-bit keys using around thirty-two bytes of keystream and a practical pre-computation. Therefore the modification actually weakens an already insecure cipher.
This research was supported by Australian Research Council Discovery Project Grant DP0450920.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Künzli, S., Meier, W.: Distinguishing Attack on MAG, eSTREAM, ECRYPT Stream Cipher Project, Report 2005/053 (2005), http://www.ecrypt.eu.org/stream/mag.html
Millan, W.: Which software ciphers will survive? eSTREAM, ECRYPT Stream Cipher Project, Phorum thread (November 22, 2005), http://www.ecrypt.eu.org/stream/phorum/read.php?1,313
Vuckovac, R.: MAG: My Array Generator (a new strategy for random number generation), eSTREAM, ECRYPT Stream Cipher Project, Report 2005/014 (2005), http://www.ecrypt.eu.org/stream/mag.html
Vuckovac, R.: MAG alternating methods notes, eSTREAM, ECRYPT Stream Cipher Project, Report 2005/068 (2005), http://www.ecrypt.eu.org/stream/mag.html
Vuckovac, R.: MAG Cipher Design Notes, eSTREAM, ECRYPT Stream Cipher Project, Report 2006/001 (2006), http://www.ecrypt.eu.org/stream/mag.html
Wolfram, S.: Cryptography with Cellular Automata. In: Williams, H.C. (ed.) CRYPTO 1985. LNCS, vol. 218, pp. 429–432. Springer, Heidelberg (1986)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Simpson, L., Henricksen, M. (2006). Improved Cryptanalysis of MAG. In: Batten, L.M., Safavi-Naini, R. (eds) Information Security and Privacy. ACISP 2006. Lecture Notes in Computer Science, vol 4058. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11780656_6
Download citation
DOI: https://doi.org/10.1007/11780656_6
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-35458-1
Online ISBN: 978-3-540-35459-8
eBook Packages: Computer ScienceComputer Science (R0)