DAPA: Differential Analysis aided Power Attack on (Non-) Linear Feedback Shift Registers

  • Siang Meng Sim DSO National Laboratories, Singapore
  • Dirmanto Jap DSO National Laboratories, Singapore
  • Shivam Bhasin Temasek Laboratories, NTU Singapore
Keywords: SCA, Power analysis, LFSR, NLFSR, Fresh re-keying scheme, Keymill, LR-Keymill, Stream cipher, Trivium

Abstract

Differential power analysis (DPA) is a form of side-channel analysis (SCA) that performs statistical analysis on the power traces of cryptographic computations. DPA is applicable to many cryptographic primitives, including block ciphers, stream ciphers and even hash-based message authentication code (HMAC). At COSADE 2017, Dobraunig et al. presented a DPA on the fresh re-keying scheme Keymill to extract the bit relations of neighbouring bits in its shift registers, reducing the internal state guessing space from 128 to 4 bits. In this work, we generalise their methodology and combine with differential analysis, we called it differential analysis aided power attack (DAPA), to uncover more bit relations and take into account the linear or non-linear functions that feedback to the shift registers (i.e. LFSRs or NLFSRs). Next, we apply our DAPA on LR-Keymill, the improved version of Keymill designed to resist the aforementioned DPA, and breaks its 67.9-bit security claim with a 4-bit internal state guessing. We experimentally verified our analysis. In addition, we improve the previous DPA on Keymill by halving the amount of data resources needed for the attack. We also applied our DAPA to Trivium, a hardware-oriented stream cipher from the eSTREAM portfolio and reduces the key guessing space from 80 to 14 bits.

Published
2020-12-03
How to Cite
Sim, S. M., Jap, D., & Bhasin, S. (2020). DAPA: Differential Analysis aided Power Attack on (Non-) Linear Feedback Shift Registers. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2021(1), 169-191. https://doi.org/10.46586/tches.v2021.i1.169-191
Section
Articles