The Best of Two Worlds: Deep Learning-assisted Template Attack

Authors

  • Lichao Wu Delft University of Technology, The Netherlands
  • Guilherme Perin Delft University of Technology, The Netherlands
  • Stjepan Picek Radboud University, The Netherlands; Delft University of Technology, The Netherlands

DOI:

https://doi.org/10.46586/tches.v2022.i3.413-437

Keywords:

Side-channel Analysis, Similarity learning, Triplet network, Deep learning, Template attack

Abstract

In the last decade, machine learning-based side-channel attacks have become a standard option when investigating profiling side-channel attacks. At the same time, the previous state-of-the-art technique, template attack, started losing its importance and was more considered a baseline to compare against. As such, most of the results reported that machine learning (and especially deep learning) could significantly outperform the template attack. Nevertheless, the template attack still has certain advantages even compared to deep learning. The most significant one is that it has only a few hyperparameters to tune, making it easier to use.
We take another look at the template attack, and we devise a feature engineering phase allowing the template attack to compete or even outperform state-of-the-art deep learning-based side-channel attacks. More precisely, with a novel distance metric customized for side-channel analysis, we show how a deep learning technique called similarity learning can be used to find highly efficient embeddings of input data with one-epoch training, which can then be fed into the template attack resulting in powerful attacks

Downloads

Published

2022-06-08

How to Cite

Wu, L., Perin, G., & Picek, S. (2022). The Best of Two Worlds: Deep Learning-assisted Template Attack. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2022(3), 413–437. https://doi.org/10.46586/tches.v2022.i3.413-437

Issue

Section

Articles