SCAFormer: Side-Channel Analysis Based on a Transformer with Focal Modulation
Open Access
- 4 April 2026
- journal article
- research article
- Published by MDPI AG in Mathematical and Computational Applications
- Vol. 31 (2) , 55
Abstract
With the rapid development of Internet technology, information security has become increasingly important. Cryptographic analysis techniques, especially side-channel analysis (SCA), pose a significant threat to security systems. The latest SCA technology mainly utilizes the physical leakage signals generated during the operation of encryption devices, such as power consumption, temperature and electromagnetic radiation. These signals themselves carry the physical characteristics of the device, which are related to the encryption algorithm. Among them, the power consumption trace remains the main target of modern SCA research. However, such trajectories often bring about some analytical difficulties, such as the data sequence being too long, the feature points being distributed sparsely, and the internal relationships of the data being complex. These challenges hinder effective analysis. While Transformer architectures are good at capturing long-range dependencies in sequential data, their high computational complexity limits practical deployment. To address this, we propose replacing the self-attention (SA) module in Transformers with a focal modulation module. This modification significantly reduces computational complexity and reduces computational operations during feature extraction, enabling efficient and accurate side-channel attacks. Experimental results on benchmark datasets (ASCAD, AES_RD, AES_HD, DPAv4) demonstrate the superiority of our approach. The proposed method achieves a reduction in training time compared to standard Transformer models, and achieves superior key recovery performance, outperforming existing state-of-the-art models.Keywords
This publication has 21 references indexed in Scilit:
- A Hybrid CNN-RNN Model Changes the Game for Side-Channel Attack PredictionResearch Square, 2024
- Layer Sequence Extraction of Optimized DNNs Using Side-Channel Information LeaksIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2024
- A novel non-profiled side channel attack based on multi-output regression neural networkJournal of Cryptographic Engineering, 2023
- Side-Channel Attack Analysis on In-Memory Computing ArchitecturesIEEE Transactions on Emerging Topics in Computing, 2023
- SoK: Deep Learning-based Physical Side-channel AnalysisACM Computing Surveys, 2023
- TransNet: Shift Invariant Transformer Network for Side Channel Analysis2022
- Exploring Feature Selection Scenarios for Deep Learning-based Side-channel AnalysisIACR Transactions on Cryptographic Hardware and Embedded Systems, 2022
- Deep learning for side-channel analysis and introduction to ASCAD databaseJournal of Cryptographic Engineering, 2019
- Template Attacks2003
- Differential Power Analysis1999