arXiv:2410.22425cs.LGcs.CR2024-10

用对抗训练定位加密功耗泄漏点,提升防御精准度。

Power side-channel leakage localization through adversarial training of deep neural networks

  • 构建攻击者与噪声生成器的对抗机制,自动识别泄漏时间步。
  • 合成数据上优于传统方法,对掩码和错位等防护有效。
  • 适合研究侧信道攻击防御的学者,尤其关注泄漏定位问题。

监督深度学习已成为针对密码实现功耗侧信道攻击的有效工具。尽管基于深度学习的攻击日益强大,但相应的防御研究仍较少。本文提出一种通过深度神经网络对抗训练来定位功耗痕迹中泄漏密钥的时间步的方法:一方是试图从加密过程中的功耗痕迹中分类敏感变量的攻击者,另一方是通过引入最小噪声干扰攻击的可训练噪声生成器。在合成数据集上,该方法在面对布尔掩码和迹同步错位等常见防护措施时表现优于现有技术。真实数据上的结果较弱,因模型对超参数和早停点敏感,且缺乏带真实泄漏点标注的验证数据集用于模型选择。尽管如此,我们认为本工作为无需强假设的深度侧信道泄漏定位提供了重要起点。实验代码已开源,基于PyTorch。

原文摘要 · Abstract (English)

Supervised deep learning has emerged as an effective tool for carrying out power side-channel attacks on cryptographic implementations. While increasingly-powerful deep learning-based attacks are regularly published, comparatively-little work has gone into using deep learning to defend against these attacks. In this work we propose a technique for identifying which timesteps in a power trace are responsible for leaking a cryptographic key, through an adversarial game between a deep learning-based side-channel attacker which seeks to classify a sensitive variable from the power traces recorded during encryption, and a trainable noise generator which seeks to thwart this attack by introducing a minimal amount of noise into the power traces. We demonstrate on synthetic datasets that our method can outperform existing techniques in the presence of common countermeasures such as Boolean masking and trace desynchronization. Results on real datasets are weak because the technique is highly sensitive to hyperparameters and early-stop point, and we lack a holdout dataset with ground truth knowledge of leaking points for model selection. Nonetheless, we believe our work represents an important first step towards deep side-channel leakage localization without relying on strong assumptions about the implementation or the nature of its leakage. An open-source PyTorch implementation of our experiments is provided.

侧信道攻击对抗训练泄漏定位深度学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。