Practical operation extraction from electromagnetic leakage for side-channel analysis and reverse engineering
Authors:
Open Access
- 8 July 2020
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 161-172
Abstract
Determining which operations are being executed by a black-box device is an important challenge to tackle in reverse engineering. Furthermore, in order to perform a successful side-channel analysis (SCA) of said operations, their precise timing must be determined. In this paper, we tackle these two challenges in context of an electromagnetic (EM) analysis of a NodeMCU Amica IoT device. More specifically, we propose a convolutional neural network (CNN) architecture that is designed to classify operations performed by the NodeMCU out of a set of 8 possible operations, namely OpenSSL AES, native AES, TinyAES, OpenSSL DES, SHA1-PRF, HMAC-SHA1, SHA1, and SHA1Transform. In addition, we use the same architecture to predict the start and end times of the operation, thereby removing the need for firmware modifications or manual triggers in SCA. Our approach is evaluated using a 66 GB dataset containing 69,632 complex traces of EM leakage, captured with a USRP B210 software defined radio. The best variant of our methodology achieves a classification accuracy of 96.47%, and is able to predict the start and end times of the operation within 34 |is of the ground truth on average. We compare our methodology to classical template matching, and provide our open-source implementation and datasets to the community so that the achieved results can be reproduced.Keywords
Funding Information
- Fonds Wetenschappelijk Onderzoek (1S14916N)
- Bijzonder Onderzoeksfonds
This publication has 13 references indexed in Scilit:
- Deep Learning Convolutional Neural Networks for Radio IdentificationIEEE Communications Magazine, 2018
- Deep Learning for RF Device Fingerprinting in Cognitive Communication NetworksIEEE Journal of Selected Topics in Signal Processing, 2018
- You Only Look Once: Unified, Real-Time Object Detection2016
- Deep learningNature, 2015
- Get your hands off my laptop: physical side-channel key-extraction attacks on PCsJournal of Cryptographic Engineering, 2015
- Side channel power analysis of an AES-256 bootloader2015
- Differential Electromagnetic Attacks on a 32-bit Microprocessor Using Software Defined RadiosIEEE Transactions on Information Forensics and Security, 2013
- Temperature AttacksIEEE Security & Privacy, 2009
- On the Power of Power Analysis in the Real World: A Complete Break of the KeeLoq Code Hopping Scheme2008
- ElectroMagnetic Analysis (EMA): Measures and Counter-measures for Smart Cards2001