Side-Channel Expectation-Maximization Attacks

Authors

  • Julien Béguinot LTCI, Télécom Paris, Institut Polytechnique de Paris, Palaiseau, France
  • Wei Cheng LTCI, Télécom Paris, Institut Polytechnique de Paris, Palaiseau, France; Secure-IC S.A.S., Paris, France
  • Sylvain Guilley Secure-IC S.A.S., Paris, France; LTCI, Télécom Paris, Institut Polytechnique de Paris, Palaiseau, France
  • Olivier Rioul LTCI, Télécom Paris, Institut Polytechnique de Paris, Palaiseau, France

DOI:

https://doi.org/10.46586/tches.v2022.i4.774-799

Keywords:

Side-Channel Analysis, Masked Cryptography, Maximum Likelihood Distinguisher, Leakage Model Regression, Expectation Maximization (EM), Unprofiled EM (U-EM) Attack, Epistemic Noise

Abstract

Block ciphers are protected against side-channel attacks by masking. On one hand, when the leakage model is unknown, second-order correlation attacks are typically used. On the other hand, when the leakage model can be profiled, template attacks are prescribed. But what if the profiled model does not exactly match that of the attacked device?
One solution consists in regressing on-the-fly the scaling parameters from the model. In this paper, we leverage an Expectation-Maximization (EM) algorithm to implement such an attack. The resulting unprofiled EM attack, termed U-EM, is shown to be both efficient (in terms of number of traces) and effective (computationally speaking). Based on synthetic and real traces, we introduce variants of our U-EM attack to optimize its performance, depending on trade-offs between model complexity and epistemic noise. We show that the approach is flexible, in that it can easily be adapted to refinements such as different points of interest and number of parameters in the leakage model.

Downloads

Published

2022-08-31

How to Cite

Béguinot, J., Cheng, W., Guilley, S., & Rioul, O. (2022). Side-Channel Expectation-Maximization Attacks. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2022(4), 774–799. https://doi.org/10.46586/tches.v2022.i4.774-799

Issue

Section

Articles