Paper 2025/698

Mind the Grammar: Side-Channel Analysis driven by Grammatical Evolution

Mattia Napoli, University of Twente
Alberto Leporati, University of Milano-Bicocca
Stjepan Picek, Radboud University Nijmegen
Luca Mariot, University of Twente
Abstract

Deep learning-based side-channel analysis is an extremely powerful option for profiling side-channel attacks. However, to perform well, one needs to select the neural network model and training time hyperparameters carefully. While many works investigated these aspects, random search could still be considered the current state-of-the-art. Unfortunately, random search has drawbacks, since the chances of finding a good architecture significantly drop when considering more complex targets. In this paper, we propose a novel neural architecture search approach for SCA based on grammatical evolution - SCAGE. We define a custom SCA grammar that allows us to find well-performing and potentially unconventional architectures. We conduct experiments on four datasets, considering both synchronized and desynchronized versions, as well as using feature intervals or raw traces. Our results show SCAGE to perform extremely well in all settings, outperforming random search and related works in most of the considered scenarios.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
side-channel analysisdeep learningevolutionary algorithmsneuroevolutiongrammatical evolution
Contact author(s)
m napoli @ utwente nl
alberto leporati @ unimib it
stjepan picek @ ru nl
l mariot @ utwente nl
History
2025-04-17: approved
2025-04-17: received
See all versions
Short URL
https://ia.cr/2025/698
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/698,
      author = {Mattia Napoli and Alberto Leporati and Stjepan Picek and Luca Mariot},
      title = {Mind the Grammar: Side-Channel Analysis driven by Grammatical Evolution},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/698},
      year = {2025},
      url = {https://eprint.iacr.org/2025/698}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.