Abstract
This paper presents a modular framework for Side-Channel Analysis (SCA) that integrates classical signal pre-processing techniques directly into Deep Neural Network (DNN) architectures. By utilizing Multi-scale Convolutional Neural Networks (MCNN) with parallel branches for raw and transformed data, the proposed approach overcomes the limitations of manual hyperparameter tuning and the potential information loss associated with standalone pre-processing. Evaluations across diverse datasets, including masked and desynchronized implementations, demonstrate that this integrated approach achieves superior generalization and faster convergence compared to standard base networks.
Introduction
Side-Channel Analysis (SCA) leverages physical leakages such as power consumption or electromagnetic emissions to extract secret keys from cryptographic hardware. While Deep Learning (DL) has proven effective in bypassing countermeasures like jitter and masking, a gap remains between modern neural architectures and decades of established classical signal processing. Current research often focuses on optimizing specific architectures for individual datasets, potentially ignoring the benefits of signal alignment or dimensionality reduction. This work addresses the challenge of seamlessly combining classical pre-processing with the feature extraction capabilities of deep learning.
Methodology
The proposed framework employs a Multi-scale Convolutional Neural Network (MCNN) architecture featuring Plug-in Branch Components (PBCs). This modular design allows for the parallel processing of data through three distinct branches:
- Identity Branch: Processes the raw side-channel traces.
- Moving Average Branch: Functions as a low-pass filter to mitigate high-frequency noise and temporal jitter.
- Transformation Branch: A flexible slot for integrating classical techniques such as Principal Component Analysis (PCA), Phase-Only Correlation (POC), or Elastic Alignment (EA).
Each branch undergoes a "local convolution stage" to extract domain-specific features. These features are then concatenated and passed through a "full convolution stage" followed by a multi-layer perceptron (MLP) for final classification. This structure enables the network to "co-learn" complementary features across different scales and transformations simultaneously.
Experimental Setup
The framework was validated on several benchmark datasets, covering both software and hardware implementations:
- ASCAD (desync=50, 100): Masked AES on an 8-bit AVR microcontroller with artificial timing jitter.
- AES_RD: Software AES implementation protected by random delay interrupts.
- AES_HD: An unprotected hardware AES implementation on an FPGA.
- AES_HD_MM: A challenging hardware implementation featuring multiplicative masking on an FPGA.
Results and Discussion
The MCNN framework demonstrated significant advantages over traditional single-input architectures:
- Dataset Agnosticism: Unlike base networks optimized for specific datasets, the MCNN performed consistently well across all benchmarks without extensive re-tuning.
- Synergistic Learning: Results indicated that training on both raw and pre-processed data simultaneously outperformed models trained on either alone. The parallel branches provide complementary information that enhances the model's robustness.
- Enhanced Convergence: On the challenging AES_HD_MM dataset, the MCNN achieved a Guessing Entropy of zero significantly faster than standard models. It also showed superior performance in high-jitter scenarios (ASCAD desync=100).
Conclusion
Integrating classical pre-processing as modular components within a deep learning framework reduces the burden of manual architectural design and improves attack efficiency. While the choice of PBC still benefits from domain expertise, the MCNN provides a robust, flexible platform for side-channel analysis. Future work will explore the integration of recurrent layers, unsupervised autoencoders for denoising, and automated neural architecture search to further optimize PBC selection.
Summary updated