Side Channel Attack On Stream Ciphers: A Three-Step Approach To State/Key Recovery

Authors

  • Satyam Kumar Department of Mathematics, Indian Institute of Technology Madras, Chennai, India
  • Vishnu Asutosh Dasu TCS Research and Innovation, Bangalore, India
  • Anubhab Baksi Nanyang Technological University, Singapore
  • Santanu Sarkar Department of Mathematics, Indian Institute of Technology Madras, Chennai, India
  • Dirmanto Jap Nanyang Technological University, Singapore
  • Jakub Breier Silicon Austria Labs, TU-Graz SAL DES Lab, Graz, Austria; Graz University of Technology, Graz, Austria
  • Shivam Bhasin Nanyang Technological University, Singapore

DOI:

https://doi.org/10.46586/tches.v2022.i2.166-191

Keywords:

Stream Cipher, Side Channel Attack, Machine Learning, Mixed Integer Linear Programming, Satisfiability Modulo Theory, Feedback Shift Register

Abstract

Side Channel Attack (SCA) exploits the physical information leakage (such as electromagnetic emanation) from a device that performs some cryptographic operation and poses a serious threat in the present IoT era. In the last couple of decades, there have been a large body of research works dedicated to streamlining/improving the attacks or suggesting novel countermeasures to thwart those attacks. However, a closer inspection reveals that a vast majority of published works in the context of symmetric key cryptography is dedicated to block ciphers (or similar designs). This leaves the problem for the stream ciphers wide open. There are few works here and there, but a generic and systematic framework appears to be missing from the literature. Motivating by this observation, we explore the problem of SCA on stream ciphers with extensive details. Loosely speaking, our work picks up from the recent TCHES’21 paper by Sim, Bhasin and Jap. We present a framework by extending the efficiency of their analysis, bringing it into more practical terms.
In a nutshell, we develop an automated framework that works as a generic tool to perform SCA on any stream cipher or a similar structure. It combines multiple automated tools (such as, machine learning, mixed integer linear programming, satisfiability modulo theory) under one umbrella, and acts as an end-to-end solution (taking side channel traces and returning the secret key). Our framework efficiently handles noisy data and works even after the cipher reaches its pseudo-random state. We demonstrate its efficacy by taking electromagnetic traces from a 32-bit software platform and performing SCA on a high-profile stream cipher, TRIVIUM, which is also an ISO standard. We show pragmatic key recovery on TRIVIUM during its initialization and also after the cipher reaches its pseudo-random state (i.e., producing key-stream).

Published

2022-02-15

Issue

Section

Articles

How to Cite

Side Channel Attack On Stream Ciphers: A Three-Step Approach To State/Key Recovery. (2022). IACR Transactions on Cryptographic Hardware and Embedded Systems, 2022(2), 166-191. https://doi.org/10.46586/tches.v2022.i2.166-191