Title page for ETD etd-01242006-090544


Document Type Master's Dissertation
Author Bruwer, Christian S
URN etd-01242006-090544
Document Title Correlation attacks on stream ciphers using convolutional codes
Degree MEng (Electronic Engineering)
Department Electrical, Electronic and Computer Engineering
Supervisor
Advisor Name Title
Prof W T Penzhorn Committee Chair
Keywords
  • linear feedback shift register
  • Viterbi algorithm
  • cryptanalysis
  • stream cipher non-linear combining function
  • correlation attack
  • Lempel-Ziv complexity
  • binary discriminator
  • binary derivative
Date 2005-06-14
Availability unrestricted
Abstract
This dissertation investigates four methods for attacking stream ciphers that are based on nonlinear combining generators:

-- Two exhaustive-search correlation attacks, based on the binary derivative and the Lempel-Ziv complexity measure.

-- A fast-correlation attack utilizing the Viterbi algorithm

-- A decimation attack, that can be combined with any of the above three attacks.

These are ciphertext-only attacks that exploit the correlation that occurs between the ciphertext and an internal linear feedback shift-register (LFSR) of a stream cipher. This leads to a so-called divide and conquer attack that is able to reconstruct the secret initial states of all the internal LFSRs within the stream cipher.

The binary derivative attack and the Lempel-Ziv attack apply an exhaustive search to find the secret key that is used to initialize the LFSRs. The binary derivative and the Lempel-Ziv complexity measures are used to discriminate between correct and incorrect solutions, in order to identify the secret key. Both attacks are ideal for implementation on parallel processors. Experimental results show that the Lempel-Ziv correlation attack gives successful results for correlation levels of p = 0.482, requiring approximately 62000 ciphertext bits. And the binary derivative attack is successful for correlation levels of p = 0.47, using approximately 24500 ciphertext bits.

The fast-correlation attack, utilizing the Viterbi algorithm, applies principles from convolutional coding theory, to identify an embedded low-rate convolutional code in the pn-sequence that is generated by an internal LFSR. The embedded convolutional code can then be decoded with a low complexity Viterbi algorithm. The algorithm operates in two phases: In the first phase a set of suitable parity check equations is found, based on the feedback taps of the LFSR, which has to be done once only once for a targeted system. In the second phase these parity check equations are utilized in a Viterbi decoding algorithm to recover the transmitted pn-sequence, thereby obtaining the secret initial state of the LFSR. Simulation results for a 19-bit LFSR show that this attack can recover the secret key for correlation levels of p = 0.485, requiring an average of only 153,448 ciphertext bits.

All three attacks investigated in this dissertation are capable of attacking LFSRs with a length of approximately 40 bits. However, these attacks can be extended to attack much longer LFSRs by making use of a decimation attack. The decimation attack is able to reduce (decimate) the size of a targeted LFSR, and can be combined with any of the three above correlation attacks, to attack LFSRs with a length much longer than 40 bits.

Files
  Filename       Size       Approximate Download Time (Hours:Minutes:Seconds) 
 
 28.8 Modem   56K Modem   ISDN (64 Kb)   ISDN (128 Kb)   Higher-speed Access 
  00dissertation.pdf 1.01 Mb 00:04:39 00:02:23 00:02:05 00:01:02 00:00:05

Browse All Available ETDs by ( Author | Department )

If you have more questions or technical problems, please Contact UPeTD.