Machine Learning-Based AES Key Recovery via Side-Channel Analysis on the ASCAD Dataset
Mukesh Poudel, Nick Rahimi

TL;DR
This paper demonstrates that machine learning models, especially CNNs and RF with feature selection, can effectively exploit electromagnetic side-channel leaks to recover AES keys, highlighting practical vulnerabilities in cryptographic implementations.
Contribution
It introduces a machine learning framework using RF, SVM, CNN, and ResNet models with feature importance analysis for side-channel key recovery on the ASCAD dataset.
Findings
RF with feature selection achieves Rank 0 with fewer traces
CNN reaches Rank 0 efficiently with about 65 traces
ResNets perform best on complex datasets but less so on simple fixed key data
Abstract
Cryptographic algorithms like AES and RSA are widely used and they are mathematically robust and almost unbreakable but its implementation on physical devices often leak information through side channels, such as electromagnetic (EM) emissions, potentially compromising said theoretically secure algorithms. This paper investigates the application of machine learning (ML) techniques and Deep Learning models to exploit such leakage for partial key recovery. We use the public ASCAD `fixed' and `variable' key dataset, containing 700 and 1400 EM traces respectively from an AES-128 implementation on an 8-bit microcontroller. The problem is framed as a 256-class classification task where we target the output of the first-round S-box operation, which is dependent on a single key byte. We evaluate standard classifiers (Random Forest (RF), Support Vector Machine (SVM)), a Convolutional Neural…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDigital Media Forensic Detection · Smart Grid Security and Resilience · Integrated Circuits and Semiconductor Failure Analysis
