International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

Methodology for Efficient CNN Architectures in Profiling Attacks

Authors:
Gabriel Zaid , Univ Lyon, UJM-Saint-Etienne, CNRS Laboratoire Hubert Curien UMR 5516 F-42023, Saint-Etienne; Thales ITSEF, Toulouse
Lilian Bossuet , Univ Lyon, UJM-Saint-Etienne, CNRS Laboratoire Hubert Curien UMR 5516 F-42023, Saint-Etienne
Amaury Habrard , Univ Lyon, UJM-Saint-Etienne, CNRS Laboratoire Hubert Curien UMR 5516 F-42023, Saint-Etienne
Alexandre Venelli , Thales ITSEF, Toulouse
Download:
DOI: 10.13154/tches.v2020.i1.1-36
URL: https://tches.iacr.org/index.php/TCHES/article/view/8391
Search ePrint
Search Google
Presentation: Slides
Abstract: The side-channel community recently investigated a new approach, based on deep learning, to significantly improve profiled attacks against embedded systems. Previous works have shown the benefit of using convolutional neural networks (CNN) to limit the effect of some countermeasures such as desynchronization. Compared with template attacks, deep learning techniques can deal with trace misalignment and the high dimensionality of the data. Pre-processing is no longer mandatory. However, the performance of attacks depends to a great extent on the choice of each hyperparameter used to configure a CNN architecture. Hence, we cannot perfectly harness the potential of deep neural networks without a clear understanding of the network’s inner-workings. To reduce this gap, we propose to clearly explain the role of each hyperparameters during the feature selection phase using some specific visualization techniques including Weight Visualization, Gradient Visualization and Heatmaps. By highlighting which features are retained by filters, heatmaps come in handy when a security evaluator tries to interpret and understand the efficiency of CNN. We propose a methodology for building efficient CNN architectures in terms of attack efficiency and network complexity, even in the presence of desynchronization. We evaluate our methodology using public datasets with and without desynchronization. In each case, our methodology outperforms the previous state-of-the-art CNN models while significantly reducing network complexity. Our networks are up to 25 times more efficient than previous state-of-the-art while their complexity is up to 31810 times smaller. Our results show that CNN networks do not need to be very complex to perform well in the side-channel context.
Video from TCHES 2019
BibTeX
@article{tches-2019-29953,
  title={Methodology for Efficient CNN Architectures in Profiling Attacks},
  journal={IACR Transactions on Cryptographic Hardware and Embedded Systems},
  publisher={Ruhr-Universität Bochum},
  volume={2020, Issue 1},
  pages={1-36},
  url={https://tches.iacr.org/index.php/TCHES/article/view/8391},
  doi={10.13154/tches.v2020.i1.1-36},
  author={Gabriel Zaid and Lilian Bossuet and Amaury Habrard and Alexandre Venelli},
  year=2019
}