Taking AI-Based Side-Channel Attacks to a New Dimension

Abstract

This paper revisits the Hamming Weight (HW) labelling function for machine learning assisted side channel attacks. Contrary to what has been suggested by previous works, our investigation shows that, when paired with modern deep learning architectures, appropriate pre-processing and normalization techniques; it can perform as well as the popular identity labelling functions and sometimes even beat it. In fact, we hereby introduce a new machine learning method, dubbed dimension 0, that helps solve the class imbalance problem associated to HW, while significantly improving the performance of unprofiled attacks. We additionally release our new, easy to use python package that we used in our experiments, implementing a broad variety of machine learning driven side channel attacks as open source, along with a new dataset AES_nRF, acquired on the nRF52840 SoC. The extended version of this publication is available under the following link: https://eprint.iacr.org/2025/655.pdf.

Publication Reference

Meier, Lucas David; Valencia, Felipe; Botocan, Cristian-Alexandru; Vizár, Damian. Taking AI-Based Side-Channel Attacks to a New Dimension. In: Rivain, Matthieu; Sasdrich, Pascal (eds.) Constructive Approaches for Security Analysis and Design of Embedded Systems (CASCADE 2025), Proceedings of the CASCADE Conference, Saint-Étienne, France. Springer Nature Switzerland, Cham, pp. 505–531, 2026.

Sponsors

This research was co-funded by the European Union’s Chips Joint Undertaking (JU) under grant agreement No. 10111228 RESILIENT TRUST.