Side Channel Analysis of SPECK Based on Transfer Learning
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 encryptio...
| Published in: | Sensors |
|---|---|
| Main Authors: | , , , , |
| Format: | Article |
| Language: | English |
| Published: |
MDPI AG
2022-06-01
|
| Subjects: | |
| Online Access: | https://www.mdpi.com/1424-8220/22/13/4671 |
| _version_ | 1851938512233824256 |
|---|---|
| author | Qingqing Zhang Hongxing Zhang Xiaotong Cui Xing Fang Xingyang Wang |
| author_facet | Qingqing Zhang Hongxing Zhang Xiaotong Cui Xing Fang Xingyang Wang |
| author_sort | Qingqing Zhang |
| collection | DOAJ |
| container_title | Sensors |
| description | 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%. |
| format | Article |
| id | doaj-art-c1da5da413e744a4a8f04c2ff686bb1e |
| institution | Directory of Open Access Journals |
| issn | 1424-8220 |
| language | English |
| publishDate | 2022-06-01 |
| publisher | MDPI AG |
| record_format | Article |
| spelling | doaj-art-c1da5da413e744a4a8f04c2ff686bb1e2025-08-19T21:51:17ZengMDPI AGSensors1424-82202022-06-012213467110.3390/s22134671Side Channel Analysis of SPECK Based on Transfer LearningQingqing Zhang0Hongxing Zhang1Xiaotong Cui2Xing Fang3Xingyang Wang4School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, ChinaSchool of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, ChinaSchool of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, ChinaSchool of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, ChinaSchool of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, ChinaAlthough 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%.https://www.mdpi.com/1424-8220/22/13/4671side channel analysisSPECKdeep learningintermediate operationtransfer learning |
| spellingShingle | Qingqing Zhang Hongxing Zhang Xiaotong Cui Xing Fang Xingyang Wang Side Channel Analysis of SPECK Based on Transfer Learning side channel analysis SPECK deep learning intermediate operation transfer learning |
| title | Side Channel Analysis of SPECK Based on Transfer Learning |
| title_full | Side Channel Analysis of SPECK Based on Transfer Learning |
| title_fullStr | Side Channel Analysis of SPECK Based on Transfer Learning |
| title_full_unstemmed | Side Channel Analysis of SPECK Based on Transfer Learning |
| title_short | Side Channel Analysis of SPECK Based on Transfer Learning |
| title_sort | side channel analysis of speck based on transfer learning |
| topic | side channel analysis SPECK deep learning intermediate operation transfer learning |
| url | https://www.mdpi.com/1424-8220/22/13/4671 |
| work_keys_str_mv | AT qingqingzhang sidechannelanalysisofspeckbasedontransferlearning AT hongxingzhang sidechannelanalysisofspeckbasedontransferlearning AT xiaotongcui sidechannelanalysisofspeckbasedontransferlearning AT xingfang sidechannelanalysisofspeckbasedontransferlearning AT xingyangwang sidechannelanalysisofspeckbasedontransferlearning |
