Paper 2024/966

Diffuse Some Noise: Diffusion Models for Measurement Noise Removal in Side-channel Analysis

Sengim Karayalcin, Leiden University
Guilherme Perin, Leiden University
Stjepan Picek, Radboud University Nijmegen
Abstract

Resilience against side-channel attacks is an important consideration for cryptographic implementations deployed in devices with physical access to the device. However, noise in side-channel measurements has a significant impact on the complexity of these attacks, especially when an implementation is protected with masking. Therefore, it is important to assess the ability of an attacker to deal with noise. While some previous works have considered approaches to remove (some) noise from measurements, these approaches generally require considerable expertise to be effectively employed or necessitate the ability of the attacker to capture a 'clean' set of traces without the noise. In this paper, we introduce a method for utilizing diffusion models to remove measurement noise from side-channel traces in a fully non-profiled setting. Denoising traces using our method considerably lowers the complexity of mounting attacks in both profiled and non-profiled settings. For instance, for a collision attack against the ASCADv2 dataset, we reduced the number of traces required to retrieve the key by 40%, and we showed similar improvements for ESHARD using a state-of-the-art MORE attack. Furthermore, we provide analyses into the scenarios where our method is useful and generate insights into how the diffusion networks denoise traces.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
Side-Channel AnalysisDeep LearningDiffusion Models
Contact author(s)
s karayalcin @ liacs leidenuniv nl
guilhermeperin7 @ gmail com
stjepan picek @ ru nl
History
2024-06-17: approved
2024-06-15: received
See all versions
Short URL
https://ia.cr/2024/966
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/966,
      author = {Sengim Karayalcin and Guilherme Perin and Stjepan Picek},
      title = {Diffuse Some Noise: Diffusion Models for Measurement Noise Removal in Side-channel Analysis},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/966},
      year = {2024},
      url = {https://eprint.iacr.org/2024/966}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.