HAWC-Leak: Heterogeneous Architecture Workload Classification utilizing Side-Channel Leakage

arXiv:2610.30400 · cs.CR · Submitted 2026-10-21 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.

Nadia: We're looking at the paper: "HAWC-Leak: Heterogeneous Architecture Workload Classification utilizing Side-Channel Leakage".

Elias: Here's the gist of the paper. The gist: HAWC-Leak presents a dynamic workload classification framework that identifies specific hardware accelerator tasks in real time using non-invasive power analysis and achieves 100% classification accuracy across all evaluated scenarios.

Nadia: Modern computing systems are increasingly heterogeneous, integrating general-purpose CPUs with GPUs, FPGAs, and domain-specific AI accelerators to meet the escalating performance and energy-efficiency demands of emerging workloads.

Elias: These platforms introduce critical security vulnerabilities where power consumption patterns can leak sensitive runtime information.

Nadia: Existing methods struggle to profile complex, dynamic systems where diverse workloads coexist on shared hardware resources.

Title and authors: Nadia: Now that we know what the paper is about, let's look at how they actually set up this experiment in "HAWC-Leak: Heterogeneous Architecture Workload Classification utilizing Side-Channel Leakage". They built a complete measurement pipeline using the ChipWhisperer platform and a Xilinx Artix-seven FPGA <ref:2610.30400#pg2,platform and a Xilinx Artix-7 FPGA>.

Elias: They weren't just testing one thing; they emulated a realistic edge computing scenario by deploying several different IP cores on that FPGA, including AES-one hundred twenty-eight ECC P-two hundred fifty-six SHA-two hundred fifty-six and even a Convolutional Neural Network or CNN fourteen–sixteen <ref:2610.30400#pg2,including AES-128, ECC P-256, SHA-256, and>.

Priya: So they’re not just looking at a clean operation; they are generating controlled mixed activity power traces where multiple accelerators are on the same fabric but only one runs at a time.

Nadia: That's the key difficulty they address, because those conditions reflect real deployment environments where static and dynamic power components overlap and obscure individual signatures.

Elias: They used synchronous sampling with the ChipWhisperer to reduce timing jitter, which lets them capture high-frequency transient signals precisely without needing massive trace averaging <ref:2610.30400#pg3>.

Priya: And they measured the power on a specific rail, VCCINT, using a shunt resistor setup so they could get a direct look at the instantaneous current draw from the programmable logic fabric.

The paper's summary: Nadia: The paper summarizes their approach as creating this dynamic workload classification framework designed to identify specific hardware accelerator tasks in real time using non-invasive power analysis. It moves beyond traditional methods that rely on simple thresholding because they acknowledge the complex noise in mixed systems.

Elias: They specifically targeted the runtime behavior of these heterogeneous systems by leveraging machine learning to predict the active workload from features extracted from those power traces <ref:2610.30400#pg1>.

Priya: So, what does this actually mean for us? It’s that instead of just saying "there's activity," they are trying to pinpoint exactly *what* is causing that activity in a noisy setup.

Nadia: Right. They achieved this by using a two-stage Random Forest classifier to distinguish between short operations and longer workloads, which helps separate the signal from the noise.

Elias: The first stage is a binary AES detector that uses a sliding window approach—a window size of one hundred twenty-nine samples with a stride of thirty-two—to detect if anything looks like an AES operation versus just being idle <ref:2610.30400#pg2>.

Priya: And if the first stage comes back negative, meaning it’s not AES, the second stage takes over to discriminate between ECC, SHA-two hundred fifty-six Idle, and CNN using features from the whole trace duration <ref:2610.30400#pg2>.

The paper's improvements: Nadia: One major improvement they suggest is this hierarchical model structure. It tackles the ambiguity that arises when different workloads have overlapping power envelopes, which traditional classifiers struggle with.

Elias: They found that for Stage one spectral rolloff and spectral centroid were the most important features for distinguishing AES from other things because those features capture the high-frequency switching characteristics <ref:2610.30400#pg2>.

Priya: For Stage two they shifted to time-domain metrics like peak-to-peak ratio and crest factor to discriminate between ECC, SHA-two hundred fifty-six and CNN based on the amplitude profile of those traces <ref:2610.30400#pg2>.

Nadia: They also used Principal Component Analysis or PCA on twenty-one extracted feature vectors to map the power signatures into a two-dimensional latent space. This mapping shows that AES and ECC clusters are physically closer together in this space, which justifies why they needed that hierarchical setup <ref:2610.30400#pg2>.

Elias: They also added a robustness improvement by planning to incorporate unsupervised learning methods like Invariant Information Clustering or IIC-SCA to make the system less dependent on perfectly labeled training sets.

Conclusion: Nadia: So, to wrap up this paper on "HAWC-Leak: Heterogeneous Architecture Workload Classification utilizing Side-Channel Leakage", the main point is that distinct accelerator workloads do have identifiable power signatures even when there's background leakage from idle modules.

Elias: They’ve established a strong baseline for scalable workload fingerprinting using non-invasive power side-channel analysis, confirming that power consumption acts like a highfidelity barcode for hardware execution <ref:2610.30400#pg2>.

Priya: It confirms that this method works even when multiple accelerators are running on the same fabric, as long as only one executes at a time, which is a critical real-world condition.

Nadia: The framework supports identifying workloads at least for single active workloads in this test, and it sets up a solid foundation for future work in profiling complex systems.

Elias: We should keep an eye on how they incorporate those unsupervised learning methods they mentioned to see if it makes the system more adaptable to different operational profiles.

Priya: It shows that even with noise, you can build a way to reliably profile what's happening at the hardware level without needing perfect knowledge of every possible scenario.

Washington University in St. Louis · University of Utah

cs.CR

Submitted: 2026-10-21

Updated: 2026-10-21

Code: https://github.com/AniketBadhan/Convolutional-Neural-Network

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 87/100

The gist: The gist: HAWC-Leak presents a dynamic workload classification framework that identifies specific hardware accelerator tasks in real time using non-invasive power analysis and achieves 100%

Key concepts

Non-invasive Power Analysis
This technique measures the instantaneous electrical power consumption of a chip without physically altering its operation or requiring invasive probes. It captures the subtle fluctuations in current draw caused by different computational tasks running concurrently on the hardware, allowing researchers to infer which specific function is active.
Hierarchical Classification Architecture
The system uses a two-stage machine learning approach. The first stage specifically targets short operations like AES using a sliding window. If that fails, the second stage takes over with a multi-class classifier to distinguish between other tasks like ECC or CNN based on the full power trace characteristics.
Feature Extraction (Time and Frequency Domain)
The framework extracts 21 features from raw power traces. Time-domain metrics capture signal shape changes, while frequency-domain features, derived via FFT, highlight specific periodic switching patterns. These combined metrics are crucial for distinguishing the unique spectral signatures of different hardware accelerators.
Principal Component Analysis (PCA) Projection
PCA is used to reduce the complexity of 21 extracted features into a 2D space. This projection reveals how different workloads cluster together in terms of their power signature. It helps resolve ambiguities, such as separating AES from ECC, by showing their relative proximity in this lower-dimensional feature map.

Summary

The gist: HAWC-Leak presents a dynamic workload classification framework that identifies specific hardware accelerator tasks in real time using non-invasive power analysis and achieves 100% classification accuracy across all evaluated scenarios.

Motivation and Problem Statement

Modern computing systems are increasingly heterogeneous, integrating general-purpose CPUs with GPUs, FPGAs, and domain-specific AI accelerators to meet the escalating performance and energy-efficiency demands of emerging workloads. These platforms introduce critical security vulnerabilities where power consumption patterns can leak sensitive runtime information. Existing methods struggle to profile complex, dynamic systems where diverse workloads coexist on shared hardware resources. If an attacker can identify exactly when and how different computational workloads execute, they can infer proprietary algorithms or monitor user activity. A key challenge is the presence of heterogeneous execution noise arising from concurrent accelerator activity and system-level background processes. Existing detection methods often fail in these scenarios because they rely on simple thresholding or non-hierarchical classification that cannot distinguish between the sharp spectral signature of a cipher and the broad power envelope of an AI accelerator.

Experimental Setup and Data Collection

The research constructed a complete end-to-end measurement pipeline using the ChipWhisperer (CW) platform and a Xilinx Artix-7 FPGA platform. The setup emulated a realistic edge-computing scenario by deploying diverse IP cores, including AES-128, ECC P-256, SHA-256, and a Convolutional Neural Network (CNN). To test mixed conditions, the researchers generated controlled mixed-activity power traces where multiple accelerators are instantiated on the same fabric while only one executes at a time. The ChipWhisperer provides synchronous sampling, which significantly reduces timing jitter and enables precise capture of high-frequency transient signals. Power measurement was performed on the VCCINT rail using a shunt-resistor-based path to ensure direct observation of instantaneous current draw from the programmable logic fabric.

Data Composition and Preprocessing

The dataset construction involved preparing FPGA bit streams targeting the Xilinx Artix7 A100T device on the CW305 evaluation platform. These bitstreams included single-accelerator configurations (AES, ECC, SHA-256) and an idle configuration to capture baseline leakage. To simulate realistic deployment environments, a combined AES and ECC bitstream was used with a mode-selection register to control runtime switching between the two accelerators. For the CNN workload, 16 × 16 pixel inputs were processed through a custom Verilog core to generate traces driven by data-dependent switching activity. Raw power traces were subjected to zero-mean normalization to remove DC offset variations. A set of 21 statistical and spectral features was extracted, including Time-Domain Features like Mean, Standard Deviation, and Entropy, and Frequency-Domain Features such as the Power Spectrum Peak.

Hierarchical Classification Architecture

The framework employs a two-stage Random Forest classifier to effectively distinguish between shortduration operations and longer workloads.

  1. Stage 1 is a Binary AES Detector utilizing a sliding window approach (window size = 129 samples, stride = 32) to detect AES vs. Rest. If any window yields an AES probability exceeding a threshold (τ > 0.45), the entire trace is classified as AES.

  2. Stage 2 is a Multi-Class Classifier that receives traces where Stage 1 was negative, discriminating between ECC, Idle, SHA-256, and CNN using features extracted from the full trace duration.

Key Findings and Analysis

The proposed hybrid hierarchical model achieved a global accuracy of 100% across all test scenarios. The feature importance analysis revealed distinct hierarchies for the two stages. For Stage 1, Spectral Rolloff and Spectral Centroid were the most dominant features, suggesting high-frequency switching characteristics are key to distinguishing AES from other workloads. For Stage 2, time-domain metrics like Peak-to-Peak Ratio and Crest Factor gained significance for discriminating between ECC, SHA-256, and CNN based on amplitude profile. Principal Component Analysis (PCA) projection confirmed that the AES (blue) and ECC (red) clusters exhibit closer proximity in the feature space, physically justifying the need for a hierarchical architecture to resolve this ambiguity. The model maintained 100% accuracy on AES Mixed and ECC Mixed datasets, validating the efficacy of the sliding window approach in isolating AES signatures even when interleaved with other system activities. Future work plans include exploring unsupervised clustering methods like IIC-SCA to enhance robustness against overfitting to static training sets.

Conclusion

HAWC-Leak successfully demonstrated that distinct accelerator workloads exhibit identifiable power signatures even in the presence of background leakage from idle modules. The framework establishes a strong baseline for scalable workload fingerprinting using non-invasive power side-channel analysis. It confirms that power consumption acts as a highfidelity barcode for hardware execution, remaining readable even in the noisy environment of a modern heterogeneous architecture. The current framework supports only a single active workload at a time, but the results establish a strong baseline for scalable workload fingerprinting.

REFERENCES

[1] B. Peccerillo, M. Mannino, A. Mondelli, and S. Bartolini, “A Survey on Hardware Accelerators: Taxonomy, Trends, Challenges, and Perspectives,” Journal of Systems Architecture, vol. 129, p. 102561

[2] A. A. Goksoy, A. Krishnakumar, M. S. Hassan, A. J. Farcas, A. Akoglu, R. Marculescu, and U.-Y.-Ogras, “DAS: Dynamic Adaptive Scheduling for Energy-Efficient Heterogeneous SoCs,” IEEE Embedded Systems Letters

[3] D. Shin and H.-J. Yoo, “The Heterogeneous Deep Neural Network Processor With a Non-von Neumann Architecture,” Proceedings of the IEEE

[4] M. Ghanim, S. Gener, H.-U. Suluhan, P. Dattilo, and A. Akoglu, “HOPPERFISH: Holistic Profiling with Portable Extensible and Robust Framework Intended for Systems with Heterogeneity,” ACM Trans. Archit. Code Optim., 2025

[5] P. Kocher, J. Horn, A. Fogh, D. Genkin, D. Gruss, W.-Haas, M.-Hamburg, M.-Lipp, S.-Mangard, T.-Prescher, M.-Schwarz, and Y. Yarom “Spectre Attacks: Exploiting Speculative Execution,” in 2019 IEEE Symposium on Security and Privacy (SP), 2019

[6] P. Kocher, J. Jaffe, and B.-Jun “Differential Power Analysis,” in Advances in Cryptology — CRYPTO’ 99, M. Wiener, Ed. Berlin, Heidelberg: Springer Berlin Heidelberg, 1999

[7] S. B. Dutta, H.-Naghibijouybari, N. Abu-Ghazaleh, A Marquez, and K Barker “Leaky Buddies: Cross-Component Covert Channels on Integrated CPU-GPU Systems,” in 2021 ACM/IEEE 48th Annual International Symposium on Computer Architecture (ISCA), 2021 <ref:2610.

Improvements for AI systems

  1. A dynamic workload classification system can be developed to identify specific hardware accelerator tasks in real time using non-invasive power analysis, as HAWC-Leak does by targeting the runtime behavior of heterogeneous systems, leveraging machine learning to predict the active workload from feature extracted power traces captured during execution.

  2. The improved AI system can perform real-time inference on heterogeneous computing platforms by accurately identifying which specific accelerator is executing at any given moment in a mixed-activity scenario where multiple accelerators are instantiated.

  3. The system will be capable of distinguishing between diverse workloads, including Advanced Encryption Standard (AES-128), Elliptic Curve Cryptography (ECC P-256), Secure Hash Algorithm (SHA-256), Convolutional Neural Network (CNN), and a system idle state, with 100% classification accuracy across all evaluated scenarios.

  4. The framework can operate in complex, realistic deployment environments where overlapping static and dynamic power components obscure individual workload signatures, allowing for reliable profiling even when multiple accelerators are instantiated on the same fabric, while only one executes at a time.

  5. The system will utilize a hierarchical Random Forest classifier with two stages: a binary AES detector using a sliding window to pinpoint short operations, followed by a multi-class classifier to discriminate between remaining classes like ECC, Idle, SHA-256, and CNN.

  6. The feature extraction process will incorporate both time-domain metrics (Mean, Standard Deviation, Root Mean Square Error (RMSE), Energy) and frequency-domain features (Fast Fourier Transform (FFT) applied to extract the Power Spectrum Peak) to capture distinct switching characteristics for different hardware cores.

  7. By leveraging Principal Component Analysis (PCA) on 21 extracted feature vectors, the system can map power signatures into a 2-dimensional latent space that reveals well-defined, compact clusters for classes like CNN and Idle, while resolving the ambiguity between AES and ECC which are physically closer in this projection.

  8. The system's robustness will be enhanced by incorporating unsupervised learning methods like Invariant Information Clustering (IIC-SCA) to ensure adaptation to diverse operational profiles without relying on labeled ground truth, addressing the concern of potential overfitting to the specific noise profiles and experimental conditions.

Abstract

Modern heterogeneous computing platforms, which integrate general-purpose processors with specialized accelerators such as FPGAs, have become the standard for high-performance and embedded applications. However, the shared physical resources of these systems introduce critical security vulnerabilities, where power consumption patterns can leak sensitive runtime information. While side-channel analysis is well established for extracting cryptographic keys from isolated algorithms, existing methods struggle to profile complex, dynamic systems where diverse workloads coexist on shared hardware resources. This paper presents HAWC-Leak, a dynamic workload classification framework designed to identify specific hardware accelerator tasks in real time using non-invasive power analysis. Unlike prior studies focused on extracting cryptographic secrets from isolated implementations, our approach profiles heterogeneous runtime behavior using machine learning to predict active workloads from features extracted from power traces. We implement a complete hardware-in-the-loop measurement testbed using the ChipWhisperer CW305 Artix-7 FPGA platform to capture high-resolution power signatures of diverse workloads including Advanced Encryption Standard (AES-128), Elliptic Curve Cryptography (ECC P-256), Secure Hash Algorithm (SHA-256), Convolutional Neural Network (CNN), and a system idle state. We develop a Hierarchical Random Forest classifier that processes real-time power data to identify the executing application in controlled mixed-activity scenarios where multiple accelerators are instantiated but only one executes at a time. Experimental results demonstrate that this framework achieves 100% classification accuracy across all evaluated scenarios, confirming that power consumption patterns serve as a reliable and distinctive fingerprint for profiling heterogeneous runtime behavior.

Related papers