Still Making Noise: Improving Deep- Learning-Based Side- Channel Analysis

Jaehun Kim, Stjepan Picek, Annelie Heuser, Shivam Bhasin, Alan HanjalicIEEE Des. Test 2025

Abstract

Deep learning has significantly advanced side-channel analysis (SCA), yet models often suffer from overfitting to training-specific noise. This research demonstrates that the counterintuitive addition of artificial noise during training acts as a powerful regularizer. By forcing neural networks to generalize, this approach enables the breaking of cryptographic implementations—including those with advanced countermeasures—using as few as three traces.

Introduction

Side-channel analysis (SCA) extracts secret cryptographic keys by observing physical leakages such as power consumption, electromagnetic emissions, or timing. Traditional statistical methods, like Template Attacks, require significant expert-level feature engineering to identify leakage points. Deep Learning-based SCA (DLSCA) promises to learn directly from raw data, but it faces two primary challenges: overfitting to device-specific noise and the "black box" nature of neural networks, which complicates security assessments when an attack fails.

Methodology

The research outlines a structured five-step DLSCA process flow designed to improve model robustness and effectiveness, moving from raw data to validated results.

The five-step structured DLSCA process flow, from raw data acquisition to model validation.

The core methodology involves several key design principles:

  • CNN Architecture: Utilizing "VGG-like" architectures for 1D convolutional neural networks (CNNs), characterized by small filter sizes (typically 3) and increasing channel depth as the network layers stack.
  • Noise as Regularization: The most significant technique is the injection of Gaussian noise into training traces. Mathematically equivalent to Tikhonov regularization, this forces the network to ignore transient "jitter" and focus on the underlying physical signal.
  • Standard DL Tools: Implementing batch normalization and dropout to prevent the model from becoming overly reliant on specific neurons or data scales.

Experimental Evaluation

The proposed methods were evaluated on two industry-standard benchmarks:

  1. AES RD: A software implementation of AES protected by random delay countermeasures, containing 50,000 traces with 3,500 features each.
  2. ASCAD (Fixed Key): A masked AES implementation where secret values are split into "shares" to hide them, consisting of 60,000 traces focusing on the third S-Box output.

Key Insights

The study reveals that noise is a deliberate mathematical tool rather than just a simulation of environmental interference. By making the training task more difficult, the model becomes capable of defeating countermeasures like masking and hiding that were previously considered highly resistant to profiling attacks.

Furthermore, the research suggests that there is no "one size fits all" architecture; the community is moving toward flexible designs that can cover various targets without total redesigns. Interestingly, protected implementations may sometimes be easier to break if the countermeasures themselves introduce learnable patterns that a properly regularized model can exploit.

Results

The application of artificial noise yielded landmark results. On the AES RD dataset, the regularized model successfully extracted the key using only three attack traces, approaching the theoretical limit of an optimal attack. On the ASCAD dataset, the models demonstrated clear convergence in "guessing entropy," proving that regularization allows networks to identify masked secrets even in high-noise environments.

Conclusion and Future Work

While noise-based regularization significantly improves DLSCA performance, challenges remain. The "black box" nature of these models limits their utility in providing actionable feedback for hardware security improvements. Future research must address model portability—ensuring a model trained on one device can successfully attack another—and the high computational cost of hyperparameter optimization.

Summary updated

BibTeX
@article{kim2025still,
  author = {Jaehun Kim and Stjepan Picek and Annelie Heuser and Shivam Bhasin and Alan Hanjalic},
  title = {{Still Making Noise: Improving Deep- Learning-Based Side- Channel Analysis}},
  journal = {IEEE Des. Test},
  year = {2025},
  doi = {10.1109/mdat.2024.3510421},
}
Figure