Side Channel Analysis of SPECK Based on Transfer Learning
Open Access
Abstract
Although side-channel attacks based on deep learning are widely used in AES encryption algorithms, there is little research on lightweight algorithms. Lightweight algorithms have fewer nonlinear operations, so it is more difficult to attack successfully. Taking SPECK, a typical lightweight encryption algorithm, as an example, directly selecting the initial key as the label can only crack the first 16-bit key. In this regard, we evaluate the leakage of SPECK’s operations (modular addition, XOR, shift), and finally select the result of XOR operation as the label, and successfully recover the last 48-bit key. Usually, the divide and conquer method often used in side-channel attacks not only needs to train multiple models, but also the different bytes of the key are regarded as unrelated individuals. Through the visualization method, we found that different key bytes overlap in the position of the complete electromagnetic leakage signal. That is, when SPECK generates a round key, there is a connection between different bytes of the key. In this regard, we propose a transfer learning method for different byte keys. This method can take advantage of the similarity of key bytes, improve the performance starting-point of the model, and reduce the convergence time of the model by 50%.Keywords
Funding Information
- National Natural Science Foundation of China (62071057, 2019XD17, 2019ZG073001)
- Fundamental Research Funds for the Central Universities (62071057, 2019XD17, 2019ZG073001)
- Aeronautical Science Foundation of China (62071057, 2019XD17, 2019ZG073001)
This publication has 17 references indexed in Scilit:
- Power Analysis and Protection on SPECK and Its Application in IoT2019
- Research on AES Cryptographic Chip Electromagnetic Attack Based on Deep Transfer Learning2019
- Improving Attacks on Round-Reduced Speck32/64 Using Deep Learning2019
- Gradient Visualization for General Characterization in Profiling Attacks2019
- Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization2017
- Convolutional Neural Networks with Data Augmentation Against Jitter-Based Countermeasures2017
- SpecTre: A Tiny Side-Channel Resistant Speck Core for FPGAs2017
- MILP-Based Automatic Search Algorithms for Differential and Linear Trails for Speck2016
- Automatic Differential Analysis of ARX Block Ciphers with Application to SPECK and LEA2016
- Improved Differential Cryptanalysis of Round-Reduced Speck2014