Skip to main content

Improved Cryptanalysis of MAG

  • Conference paper
Book cover Information Security and Privacy (ACISP 2006)

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

Included in the following conference series:

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.

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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

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

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

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

  4. Vuckovac, R.: MAG alternating methods notes, eSTREAM, ECRYPT Stream Cipher Project, Report 2005/068 (2005), http://www.ecrypt.eu.org/stream/mag.html

  5. Vuckovac, R.: MAG Cipher Design Notes, eSTREAM, ECRYPT Stream Cipher Project, Report 2006/001 (2006), http://www.ecrypt.eu.org/stream/mag.html

  6. Wolfram, S.: Cryptography with Cellular Automata. In: Williams, H.C. (ed.) CRYPTO 1985. LNCS, vol. 218, pp. 429–432. Springer, Heidelberg (1986)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics