Paper 2024/049

CL-SCA: Leveraging Contrastive Learning for Profiled Side-Channel Analysis

Annv Liu, Beijing Institute of Technology
An Wang, Beijing Institute of Technology
Shaofei Sun, Beijing Institute of Technology
Congming Wei, Beijing Institute of Technology
Yaoling Ding, Beijing Institute of Technology
Yongjuan Wang
Liehuang Zhu, Beijing Institute of Technology
Abstract

Side-channel analysis based on machine learning, especially neural networks, has gained significant attention in recent years. However, many existing methods still suffer from certain limitations. Despite the inherent capability of neural networks to extract features, there remains a risk of extracting irrelevant information. The heavy reliance on profiled traces makes it challenging to adapt to remote attack scenarios with limited profiled traces. Besides, attack traces also contain critical information that can be used in the training process to assist model learning. In this paper, we propose a side-channel analysis approach based on contrastive learning named CL-SCA to address these issues. We also leverage a stochastic data augmentation technique to assist model to effectively filter out irrelevant information from the profiled traces. Through experiments of different datasets from different platforms, we demonstrate that CL-SCA significantly outperforms various conventional machine learning side-channel analysis techniques. Moreover, by incorporating attack traces into the training process using our approach, known as CL-SCA+, it becomes possible to achieve even greater enhancements. This extension can further improve the effectiveness of key recovery, which is fully verified through experiments on different datasets.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
Side-channel analysisContrastive learningNeural networksData augmentation
Contact author(s)
annvliu @ 163 com
wanganl @ bit edu cn
sfsun @ bit edu cn
weicm @ bit edu cn
dyl19 @ bit edu cn
liehuangz @ bit edu cn
History
2024-01-15: revised
2024-01-12: received
See all versions
Short URL
https://ia.cr/2024/049
License
Creative Commons Attribution-NonCommercial-ShareAlike
CC BY-NC-SA

BibTeX

@misc{cryptoeprint:2024/049,
      author = {Annv Liu and An Wang and Shaofei Sun and Congming Wei and Yaoling Ding and Yongjuan Wang and Liehuang Zhu},
      title = {{CL}-{SCA}: Leveraging Contrastive Learning for Profiled Side-Channel Analysis},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/049},
      year = {2024},
      url = {https://eprint.iacr.org/2024/049}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.