Adversarial Attack Based Countermeasures against Deep Learning Side-Channel Attacks
Ruizhe Gu, Ping Wang, Mengce Zheng, Honggang Hu, Nenghai Yu
TL;DR
The paper addresses the threat of deep learning–based side-channel attacks on cryptographic devices and the inadequacy of classical protections. It introduces a compilation-time defense that inserts universal perturbations via carefully chosen noise instructions at strategic locations, creating adversarial side-channel traces that mislead DL classifiers while preserving correctness. The method demonstrates strong resistance to DL-based SCA and to template attacks, albeit at the cost of noticeable execution-time overhead due to recompilation. The work shows practical, targeted defense for embedded devices, with potential for further refinement via adversarial learning techniques while outlining future directions and tradeoffs for deployment.
Abstract
Numerous previous works have studied deep learning algorithms applied in the context of side-channel attacks, which demonstrated the ability to perform successful key recoveries. These studies show that modern cryptographic devices are increasingly threatened by side-channel attacks with the help of deep learning. However, the existing countermeasures are designed to resist classical side-channel attacks, and cannot protect cryptographic devices from deep learning based side-channel attacks. Thus, there arises a strong need for countermeasures against deep learning based side-channel attacks. Although deep learning has the high potential in solving complex problems, it is vulnerable to adversarial attacks in the form of subtle perturbations to inputs that lead a model to predict incorrectly. In this paper, we propose a kind of novel countermeasures based on adversarial attacks that is specifically designed against deep learning based side-channel attacks. We estimate several models commonly used in deep learning based side-channel attacks to evaluate the proposed countermeasures. It shows that our approach can effectively protect cryptographic devices from deep learning based side-channel attacks in practice. In addition, our experiments show that the new countermeasures can also resist classical side-channel attacks.
