Twelex: a Tweaked Version of the LEX Stream Cipher

Twelex: a Tweaked Version of the LEX Stream Cipher

Max Planck Institute for Software Systems TweLEX: A tweaked version of the LEX stream cipher Mainack Mondal, Avik Chakraborti, Nilanjan Datta and Debdeep Mukhopadhyay MPI-SWS, Germany ISI, Kolkata , India IIT Kharagpur, India WISSec 2010, Nijmegen S 29th November, 2010 Outline S Leak Extraction and LEX S Related key cryptanalysis of LEX. S TweLEX: Modification of LEX. S Future work TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 1 LEX stream cipher Outline S Leak Extraction and LEX S Related key cryptanalysis of LEX. S TweLEX: Modification of LEX. S Future work TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 1 LEX stream cipher Leak Extraction and LEX S Block ciphers and Stream ciphers are conceptually different. S But they serve the same purpose. S Can we combine them to get some new ciphers? TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 2 LEX stream cipher Leak Extraction and LEX S Alex Biryukov : A new method called ‘Leak EXtraction’ S Run a Block Cipher in Output Feed Back (OFB) mode. S Take some bits from internal states of block cipher and output as key stream. S Used it on AES and called the resulting stream cipher LEX. TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 3 LEX stream cipher Leak Extraction and LEX TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 4 LEX stream cipher Leak Extraction and LEX TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 5 LEX stream cipher Leak Extraction and LEX S Advantages: S Speed-up using existing hardware/software. S Reuse existing implementations. S Reuse countermeasures. TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 6 LEX stream cipher Leak Extraction and LEX S Several cryptanalytic efforts on LEX. S Best known attack on LEX S Orr Dunkelman et al [ASIACRYPT, 2008]: S Differential cryptanalysis of LEX. TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 7 LEX stream cipher Outline S Leak Extraction and LEX S Related key cryptanalysis of LEX. S TweLEX: Modification of LEX. S Future work TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 8 LEX stream cipher Related key cryptanalysis of LEX S LEX use the same key schedule as AES - 128. T S Given, a b c d , SubByte( 8) We observe the following differential trail in AES - 128 key schedule: , ,0,0 ,,, ,0, ,0 , ,0,0 ,0,0,0 ,,, TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 9 LEX stream cipher Related key cryptanalysis of LEX S Consider two key streams of LEX under related keys K and K* S we search for a special difference pattern in LEX state matrices. TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 10 LEX stream cipher Related key cryptanalysis of LEX S Consider two key streams of LEX under related keys K and K* S we search for a special difference pattern in LEX state matrices. TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 10 LEX stream cipher Related key cryptanalysis of LEX S We use S Differential trail in key schedule. S Difference pattern in state matrices. S We retrieve, S 24 hidden state bytes. S Time complexity 296. TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 11 LEX stream cipher Outline S Leak Extraction and LEX S Related key cryptanalysis of LEX. S TweLEX: Modification of LEX. S Future work TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 12 LEX stream cipher TweLEX: Modification of LEX S We Tweaked LEX a little: TweLEX S LEX: TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 13 LEX stream cipher TweLEX: Modification of LEX S TweLEX: TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 14 LEX stream cipher TweLEX: Modification of LEX S Advantages S Prevent Dunkelman’s attack. S Prevent related key attack presented in this paper. S Almost no modification of original LEX implementation. TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 15 LEX stream cipher TweLEX: Modification of LEX S Disadvantage S Slow compared to LEX. S LEX – 320 bits / AES Encryption S TweLEX – 160 bits / AES Encryption S AES – 128 bits / AES Encryption TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 16 LEX stream cipher Outline S Leak Extraction and LEX S Related key cryptanalysis of LEX. S TweLEX: Modification of LEX. S Future work. TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 17 LEX stream cipher Future work S Explore Leak Extraction further. S Explore the security of TweLEX in depth. TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 18 LEX stream cipher Questions? Contact: [email protected] [email protected] Detailed Report: http://www.mpi-sws.org/~mainack/MtechThesis.pdf TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 19 LEX stream cipher Thank You ! TweLEX: A tweaked version of the Mainack Mondal, MPI-SWS 20 LEX stream cipher.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    23 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us