journal article·2025-12-08Open access

Detection and Classification of Block Cipher EM Emissions Using Autoencoder–CNN Framework

Konrad Szczepankiewicz, Marian Wnuk

Applied Sciences· Volume 15· Issue 24

Abstract

This paper presents an automated two-stage framework for detecting and classifying electromagnetic emissions produced during the execution of block ciphers on microcontrollers. The proposed method integrates a one-dimensional convolutional autoencoder for unsupervised anomaly detection with a one-dimensional convolutional neural network classifier for algorithm identification. Real EM traces were collected from STM32L476RG and RP2040 microcontrollers executing AES, DES, 3DES, SM4, IDEA, and Blowfish in ECB mode. The autoencoder achieves reliable segmentation of cryptographic activity without external triggers, while the CNN classifies extracted windows with an average accuracy of 93% across seven classes. The method demonstrates strong robustness to noise, generalizes across devices, and enables non-invasive monitoring of cryptographic activity.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Cryptographic Implementations and Security · Chaos-based Image/Signal Encryption · Physical Unclonable Functions (PUFs) and Hardware Security

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Faculty Electronics, Military University of Technology, 00-908 Warsaw, Poland

References (22)

Show source-provided references
1. Introduction to Differential Power Analysis10.1007/s13389-011-0006-y ↗
2. Differential Power Analysis10.1007/3-540-48405-1_25 ↗
3. Efficient Cache Attacks on AES, and Countermeasures10.1007/s00145-009-9049-y ↗
4. The EM Side—Channel(s)10.1007/3-540-36400-5_4 ↗
5. Probing Attacks on Tamper-Resistant Devices10.1007/3-540-48059-5_26 ↗
6. TreasureCache: Hiding Cache Evictions Against Side-Channel Attacks10.1109/TDSC.2024.3354991 ↗
7. Liu, W., Li, W., Cao, X., Fu, Y., Li, X., Liu, J., Chen, A., Zhang, Y., Wang, S., and Zhou, J. (2025). Side-Channel Profiling Attack Based on CNNs’ Backbone Structure Variant. Electronics, 14.10.3390/electronics14102006 ↗
8. Side-Channel Attacks on Convolutional Neural Networks Based on the Hybrid Attention Mechanism10.1007/s42452-025-06854-0 ↗
9. CNN and Convolutional Autoencoder (CAE) Based Real-Time Sensor Fault Detection, Localization, and Correction10.1016/j.ymssp.2021.108723 ↗
10. Improving Deep Learning Based Second-Order Side-Channel Analysis with Bilinear CNN10.1109/TIFS.2022.3216959 ↗
11. Garg, A., and Karimian, N. (2021). Leveraging Deep CNN and Transfer Learning for Side-Channel Attack. Proceedings of the 2021 22nd International Symposium on Quality Electronic Design (ISQED), Santa Clara, CA, USA, 7–9 April 2021, IEEE.10.1109/ISQED51717.2021.9424305 ↗
12. Non-Profiled Deep Learning-Based Side-Channel Attacks with Sensitivity Analysis10.46586/tches.v2019.i2.107-131 ↗
13. Revealing CNN Architectures via Side-Channel Analysis in Dataflow-Based Inference Accelerators10.1145/3688001 ↗
14. Profiling Side-Channel Attacks Based on CNN Model Fusion10.1016/j.mejo.2023.105901 ↗
15. Mangard, S., Oswald, E., and Popp, T. (2007). Power Analysis Attacks, Springer.
16. Bucci, M., Luzzi, R., Guglielmo, M., and Trifiletti, A. (2005). A Countermeasure against Differential Power Analysis Based on Random Delay Insertion. Proceedings of the 2005 IEEE International Symposium on Circuits and Systems, Kobe, Japan, 23–26 May 2005, IEEE.10.1109/ISCAS.2005.1465395 ↗
17. Improving Attacks on Round-Reduced Speck32/64 Using Deep Learning10.1007/978-3-030-26951-7_6 ↗
18. Huang, H., Wu, J., Tang, X., Zhao, S., Liu, Z., and Yu, B. (2025). Deep Learning-Based Improved Side-Channel Attacks Using Data Denoising and Feature Fusion. PLoS ONE, 20.10.1371/journal.pone.0315340 ↗
19. van Woudenberg, J., and O’Flynn, C. (2022). The Hardware Hacking Handbook: Breaking Embedded Security with Hardware Attacks, No Starch Press.
20. Randolph, M., and Diehl, W. (2020). Power Side-Channel Attack Analysis: A Review of 20 Years of Study for the Layman. Cryptography, 4.10.3390/cryptography4020015 ↗
21. Efficient, Portable Template Attacks10.1109/TIFS.2017.2757440 ↗
22. Simple Power Analysis on AES Key Expansion Revisited10.1007/978-3-662-44709-3_16 ↗