{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,11,8]],"date-time":"2025-11-08T12:18:39Z","timestamp":1762604319594,"version":"build-2065373602"},"reference-count":21,"publisher":"MDPI AG","issue":"13","license":[{"start":{"date-parts":[[2022,6,21]],"date-time":"2022-06-21T00:00:00Z","timestamp":1655769600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"National Natural Science Foundation of China","award":["62071057","2019XD17","2019ZG073001"],"award-info":[{"award-number":["62071057","2019XD17","2019ZG073001"]}]},{"name":"Fundamental Research Funds for the Central Universities","award":["62071057","2019XD17","2019ZG073001"],"award-info":[{"award-number":["62071057","2019XD17","2019ZG073001"]}]},{"name":"Aeronautical Science Foundation of China","award":["62071057","2019XD17","2019ZG073001"],"award-info":[{"award-number":["62071057","2019XD17","2019ZG073001"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>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\u2019s 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%.<\/jats:p>","DOI":"10.3390\/s22134671","type":"journal-article","created":{"date-parts":[[2022,6,22]],"date-time":"2022-06-22T04:12:01Z","timestamp":1655871121000},"page":"4671","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":7,"title":["Side Channel Analysis of SPECK Based on Transfer Learning"],"prefix":"10.3390","volume":"22","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-6851-2833","authenticated-orcid":false,"given":"Qingqing","family":"Zhang","sequence":"first","affiliation":[{"name":"School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China"}]},{"given":"Hongxing","family":"Zhang","sequence":"additional","affiliation":[{"name":"School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China"}]},{"given":"Xiaotong","family":"Cui","sequence":"additional","affiliation":[{"name":"School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1801-6831","authenticated-orcid":false,"given":"Xing","family":"Fang","sequence":"additional","affiliation":[{"name":"School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China"}]},{"given":"Xingyang","family":"Wang","sequence":"additional","affiliation":[{"name":"School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China"}]}],"member":"1968","published-online":{"date-parts":[[2022,6,21]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Dinur, I. (2014, January 14\u201315). Improved differential cryptanalysis of round-reduced SPECK. Proceedings of the International Conference on Selected Areas in Cryptography, Montreal, QC, Canada.","DOI":"10.1007\/978-3-319-13051-4_9"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Song, L., Huang, Z., and Yang, Q. (2016, January 4\u20136). Automatic differential analysis of ARX block ciphers with application to SPECK and LEA. Proceedings of the Australasian Conference on Information Security and Privacy, Melbourne, Australia.","DOI":"10.1007\/978-3-319-40367-0_24"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Fu, K., Wang, M., Guo, Y., Sun, S., and Hu, L. (2016, January 20\u201323). MILP-based automatic search algorithms for differential and linear trails for SPECK. Proceedings of the International Conference on Fast Software Encryption, Bochum, Germany.","DOI":"10.1007\/978-3-662-52993-5_14"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Gohr, A. (2019, January 18\u201322). Improving attacks on round-reduced SPECK32\/64 using deep learning. Proceedings of the Annual International Cryptology Conference, Santa Barbara, CA, USA.","DOI":"10.1007\/978-3-030-26951-7_6"},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Chen, C., Inci, M.S., Taha, M., and Eisenbarth, T. (2016, January 7\u20139). SpecTre: A tiny side-channel resistant SPECK core for FPGAs. Proceedings of the International Conference on Smart Card Research and Advanced Applications, Cannes, France.","DOI":"10.1007\/978-3-319-54669-8_5"},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Ge, J., Wang, A., Zhu, L., Liu, X., Shang, N., and Zhang, G. (2019, January 21\u201323). Power Analysis and Protection on SPECK and Its Application in IoT. Proceedings of the International Conference on Security and Privacy in Communication Systems, Washington, WA, USA.","DOI":"10.1007\/978-3-030-37231-6_20"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"389","DOI":"10.46586\/tches.v2020.i4.389-415","article-title":"Remove some noise: On pre-processing of side-channel measurements with autoencoders","volume":"2020","author":"Wu","year":"2020","journal-title":"IACR Trans. Cryptogr. Hardw. Embed. Syst."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Cagli, E., Dumas, C., and Prouff, E. (2017, January 25\u201328). Convolutional neural networks with data augmentation against jitter-based countermeasures. Proceedings of the International Conference on Cryptographic Hardware and Embedded Systems, Taipei, Taiwan.","DOI":"10.1007\/978-3-319-66787-4_3"},{"key":"ref_9","first-page":"209","article-title":"The curse of class imbalance and conflicting metrics with machine learning for side-channel evaluations","volume":"2019","author":"Picek","year":"2019","journal-title":"IACR Trans. Cryptogr. Hardw. Embed. Syst."},{"key":"ref_10","first-page":"436","article-title":"Deep Learning based Side-Channel Attack: A New Profiling Methodology based on Multi-Label Classification","volume":"2020","author":"Maghrebi","year":"2020","journal-title":"Cryptology. ePrint Arch."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"337","DOI":"10.46586\/tches.v2020.i4.337-364","article-title":"Strength in numbers: Improving generalization with ensembles in machine learning-based profiled side-channel analysis","volume":"2020","author":"Perin","year":"2020","journal-title":"IACR Trans. Cryptogr. Hardw. Embed. Syst."},{"key":"ref_12","unstructured":"Masure, L., and Strullu, R. (2021). Side Channel Analysis against the ANSSI\u2019s protected AES implementation on ARM. Cryptol. ePrint Arch., 592. Available online: https:\/\/eprint.iacr.org\/2021\/592."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"73","DOI":"10.46586\/tches.v2020.i3.73-96","article-title":"A novel evaluation metric for deep learning-based side channel analysis and its extended application to imbalanced data","volume":"2020","author":"Zhang","year":"2020","journal-title":"IACR Trans. Cryptogr. Hardw. Embed. Syst."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"235","DOI":"10.46586\/tches.v2021.i3.235-274","article-title":"Pay attention to raw traces: A deep learning architecture for end-to-end profiling attacks","volume":"2021","author":"Lu","year":"2021","journal-title":"IACR Trans. Cryptogr. Hardw. Embed. Syst."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Masure, L., Dumas, C., and Prouff, E. (2019, January 3\u20135). Gradient visualization for general characterization in profiling attacks. Proceedings of the International Workshop on Constructive Side-Channel Analysis and Secure Design, Darmstadt, Germany.","DOI":"10.1007\/978-3-030-16350-1_9"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"147","DOI":"10.46586\/tches.v2020.i3.147-168","article-title":"Revisiting a Methodology for Efficient CNN Architectures in Profiling Attacks","volume":"2020","author":"Wouters","year":"2020","journal-title":"IACR Trans. Cryptogr. Hardw. Embed. Syst."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Brier, E., Clavier, C., and Olivier, F. (2004, January 11\u201313). Correlation power analysis with a leakage model. Proceedings of the International Workshop on Cryptographic Hardware and Embedded Systems, Cambridge, MA, USA.","DOI":"10.1007\/978-3-540-28632-5_2"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Selvaraju, R.R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., and Batra, D. (2017, January 22\u201329). Grad-cam: Visual explanations from deep networks via gradient-based localization. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.","DOI":"10.1109\/ICCV.2017.74"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Cui, X., Zhang, H., and Wang, L. (2019, January 1\u20134). Research on AES Cryptographic Chip Electromagnetic Attack Based on Deep Transfer Learning. Proceedings of the 2019 IEEE 6th International Symposium on Electromagnetic Compatibility (ISEMC), Nanjing, China.","DOI":"10.1109\/ISEMC48616.2019.8986117"},{"key":"ref_20","unstructured":"Wu, C. (2021). Research on Side-Channel Attack of Embedded Devices Based on Machine Learning Method, Beijing University of Posts and Telecommunications."},{"key":"ref_21","first-page":"403","article-title":"Research on Electromagnetic Attack of AES Cryptographic Chip Based on Deep Residual Neural Network","volume":"34","author":"Luo","year":"2019","journal-title":"J. Radio Wave Sci."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/13\/4671\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T23:36:29Z","timestamp":1760139389000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/13\/4671"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,6,21]]},"references-count":21,"journal-issue":{"issue":"13","published-online":{"date-parts":[[2022,7]]}},"alternative-id":["s22134671"],"URL":"https:\/\/doi.org\/10.3390\/s22134671","relation":{},"ISSN":["1424-8220"],"issn-type":[{"type":"electronic","value":"1424-8220"}],"subject":[],"published":{"date-parts":[[2022,6,21]]}}}