Multi-Modal Side-Channel Analysis Based on Isometric Compression and Combined Clustering

Xiaoyong Kou, Wei Yang, Lunbo Li, Gongxuan ZhangSymmetry 2025

TL;DR

This paper introduces a novel, unsupervised framework for recovering cryptographic keys by analyzing both power and electromagnetic (EM) signals simultaneously. By cleverly segmenting, compressing, and fusing these signals, the method achieves highly accurate key recovery with very few traces, even in noisy conditions, offering a more practical and efficient approach to side-channel attacks.

What Problem Does This Paper Address?

Modern cryptographic hardware, especially in embedded systems like IoT devices, is vulnerable to side-channel analysis (SCA). Traditional SCA methods often require a high signal-to-noise ratio (SNR), a large number of traces, precise alignment, and prior knowledge of the target device. Furthermore, countermeasures like masking and shuffling make these attacks increasingly difficult. While multi-modal SCA (combining power and EM signals) shows promise, existing methods often struggle with temporal misalignment, operation boundaries, and effectively fusing information from different sources. This paper tackles these limitations by proposing a unified framework that can extract key information from synchronized, multi-modal side-channel traces without requiring profiling or labeled data, even under challenging conditions.

Methods

The proposed framework integrates several key techniques into a unified pipeline:

  • Preprocessing and Alignment: Standard denoising and normalization techniques are applied to raw traces, followed by temporal alignment to ensure synchronization between power and EM signals.
  • Joint Peak-Based Segmentation: This novel approach identifies cryptographic operation boundaries (like AES SBox operations) by detecting peaks in both power and EM signals simultaneously. This cross-modal detection makes it more robust to noise and modality-specific distortions compared to single-channel methods.
  • Isometric Compression: Segments identified by the segmentation step often have variable lengths due to timing variations. This technique resamples these segments to a fixed length and then projects them into a lower-dimensional space using methods like DCT or PCA. This preserves key leakage characteristics while ensuring uniform dimensionality for downstream processing.
  • Multi-Modal Feature Fusion: Compressed features from power and EM signals are concatenated to create a unified representation. This fusion leverages the complementary information from both modalities—power signals capturing global switching activity and EM signals capturing more localized variations.
  • Unsupervised Clustering: K-means clustering is applied to the fused features to group traces with similar leakage behavior. Each cluster is expected to correspond to a specific intermediate value (e.g., a particular Hamming weight of an SBox output).
  • Clustering-Based Key Recovery: The cluster assignments are used as proxies for true leakage classes. By correlating these assignments with predicted leakage models (based on known plaintexts and candidate key hypotheses), the correct key byte can be identified without any profiling.

Datasets

The experiments were conducted using a custom hardware platform with an AES-128 encryption core implemented on a Xilinx Artix-7 FPGA. A dataset of 30,000 power traces and 30,000 EM traces was collected, each corresponding to a unique random plaintext. This dataset was used for evaluation. No new benchmark dataset was introduced.

Key Insights and Ideas

  • Joint Peak Detection for Robust Segmentation: Detecting signal peaks in both power and EM traces simultaneously is significantly more robust than relying on a single channel. This is because different modalities are sensitive to different physical phenomena, and their combined detection can overcome noise or distortions affecting one modality.
  • Isometric Compression for Uniformity: Variable-length segments are a major hurdle in SCA. Isometric compression effectively standardizes these segments into a fixed-dimensional representation while preserving crucial leakage patterns, making them amenable to machine learning and statistical analysis.
  • Fusion Amplifies Weak Signals: While individual modalities might have strengths and weaknesses (e.g., power having higher peak SNR, EM having more consistent leakage), fusing them doesn't just average them out. It actively amplifies complementary information and suppresses noise, leading to a more discriminative and robust signal for analysis.
  • Unsupervised Key Recovery is Feasible and Efficient: The framework demonstrates that accurate key recovery can be achieved without the need for profiling or labeled data, significantly reducing the practical barriers to performing SCA.

Key Results

  • High Clustering Accuracy: The proposed method achieved a clustering accuracy of up to 99.2%.
  • Trace-Efficient Key Recovery: Full AES key recovery was successfully demonstrated using as few as 1-3 traces.
  • 100% Key Recovery Accuracy: Experiments showed a 100% overall key recovery accuracy across all 16 AES key bytes.
  • Robustness to Noise: The method maintains resilience in low signal-to-noise conditions.
  • Performance Gains from Fusion: Ablation studies showed that single-modality approaches (power-only or EM-only) required significantly more traces (40-35) and achieved lower accuracy (81.2%-84.5%) compared to the fused approach.

Limitations and Future Work

  • Limitations: The paper acknowledges that while their fusion strategy is effective, more sophisticated fusion techniques like attention-based weighting or joint embedding learning could potentially further improve performance.
  • Future Work: The authors suggest extending the framework to handle countermeasure-protected implementations, exploring scalable clustering algorithms, and improving synchronization robustness. They also envision integrating this methodology into automated key extraction pipelines for more practical and autonomous SCA.

Summary updated

BibTeX
@article{kou2025multi,
  author = {Xiaoyong Kou and Wei Yang and Lunbo Li and Gongxuan Zhang},
  title = {{Multi-Modal Side-Channel Analysis Based on Isometric Compression and Combined Clustering}},
  journal = {Symmetry},
  year = {2025},
  doi = {10.3390/sym17091483},
}

Loading related content...

Figure