Paper 2024/049 Original: eprint.iacr.org/2024/049 ↗

CL-SCA: A Contrastive Learning Approach for Profiled Side-Channel Analysis

Annv Liu
An Wang
Shaofei Sun
Congming Wei
Yaoling Ding
Yongjuan Wang
Liehuang Zhu
Abstract

Side-channel analysis (SCA) based on machine learning, particularly neural networks, has gained considerable attention in recent years. However, previous works predominantly focus on establishing connections between labels and related profiled traces. These approaches primarily capture label-related features and often overlook the connections between traces of the same label, resulting in the loss of some valuable information. Besides, the attack traces also contain valuable information that can be used in the training process to assist model learning. In this paper, we propose a profiled SCA approach based on contrastive learning named CL-SCA to address these issues. This approach extracts features by emphasizing the similarities among traces, thereby improving the effectiveness of key recovery while maintaining the advantages of the original SCA approach. Through experiments of different datasets from different platforms, we demonstrate that CL-SCA significantly outperforms other approaches. Moreover, by incorporating attack traces into the training process using our approach, we can further enhance its performance. This extension can 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.
History
2025-05-23: last updated
2024-01-12: published
Short URL
https://ia.cr/2024/049
License
https://creativecommons.org/licenses/by-nc-sa/4.0/

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: A Contrastive Learning Approach 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, this archive does not use cookies or embedded third party content.