journal article·2023-11-03Open access

A Secret Key Classification Framework of Symmetric Encryption Algorithm Based on Deep Transfer Learning

Xiaotong Cui, Hongxin Zhang, Xing Fang, Yuanzhen Wang, Danzhi Wang, Fan Fan, Lei Shu

Applied Sciences· Volume 13· Issue 21

Abstract

The leakage signals, including electromagnetic, energy, time, and temperature, generated during the operation of password devices contain highly correlated key information, which leads to security vulnerabilities. In traditional encryption algorithms, the length of the key greatly affects the upper limit of its security against cracking. Regarding side-channel attacks on long-key algorithms, traditional template attack methods characterize the energy traces using multivariate Gaussian distribution during the template construction phase. The exhaustive key-guessing process is expected to consume a significant amount of time and computational resources. Therefore, to analyze the effectiveness of obtaining key values from the side information of password devices, we propose an innovative attack method based on a divide-and-conquer logical structure, targeting semi-bytes. We construct a collection of key classification submodules with symmetric correlations. By integrating a differential network model for byte-block sets and an end-to-end direct attack method, we form a holistic symmetric decision framework and propose a key classification structure based on deep transfer learning. This structure consists of three main parts: side information data acquisition, analysis of key-value effectiveness, and determination of attack positions. It employs multiple parallel symmetric subnetworks, effectively improving attack efficiency and reducing the key enumeration range. Experimental results show that the optimal attack accuracy of the network model can reach 91%, with an average attack accuracy of 78%. It overcomes overfitting issues under small sample dataset conditions.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Cryptographic Implementations and Security · Physical Unclonable Functions (PUFs) and Hardware Security · Advanced Malware Detection Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China

Beijing Key Laboratory of Work Safety Intelligent Monitoring, Beijing University of Posts and Telecommunications, Beijing 100876, China

School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China

Beijing Microelectronics Technology Institute, Beijing 100076, China

Funding

National Natural Science Foundation of China · Aeronautical Science Foundation of China · BUPT innovation and entrepreneurship support program

References (42)

Show source-provided references
1. Ouladj, M., and Guilley, S. (2021). Side-Channel Analysis of Embedded Systems: An Efficient Algorithmic Approach, Springer.10.1007/978-3-030-77222-2 ↗
2. Jiang, M. (2023). Analysis and Mitigation of EM Side-Channel Attacks on Chip-to-Chip Interconnects. [Ph.D. Thesis, University of Manchester].
3. Kocher, P.C. (1996, January 18–22). Timing attacks on implementations of Diffie-Hellman, RSA, DSS, and other systems. Proceedings of the Advances in Cryptology—CRYPTO’96: 16th Annual International Cryptology Conference, Santa Barbara, CA, USA.10.1007/3-540-68697-5_9 ↗
4. Design of Convolutional Neural Networks Architecture for Non-Profiled Side-Channel Attack Detection10.5755/j02.eie.33995 ↗
5. Pincering SKINNY by Exploiting Slow Diffusion: Enhancing Differential Power Analysis with Cluster Graph Inference10.46586/tches.v2023.i4.460-492 ↗
6. Template attacks versus machine learning revisited and the curse of dimensionality in side-channel analysis: Extended version10.1007/s13389-017-0162-9 ↗
7. Loiseau, A., Lecomte, M., and Fournier, J.J. (2020, January 7–11). Template Attacks against ECC: Practical implementation against Curve25519. Proceedings of the 2020 IEEE International Symposium on Hardware Oriented Security and Trust (HOST), San Jose, CA, USA.10.1109/HOST45689.2020.9300261 ↗
8. Randolph, M., and Diehl, W. (2020). Power side-channel attack analysis: A review of 20 years of study for the layman. Cryptography, 4.10.3390/cryptography4020015 ↗
9. Support Vector Machine10.1007/978-1-4899-7641-3_9 ↗
10. Transfer learning using vgg-16 with deep convolutional neural network for classifying images
11. Efficient inception V2 based deep convolutional neural network for real-time hand action recognition10.1049/iet-ipr.2019.0985 ↗
12. Timon, B. (2019). Non-profiled deep learning-based side-channel attacks with sensitivity analysis. IACR Trans. Cryptogr. Hardw. Embed. Syst., 107–131.10.46586/tches.v2019.i2.107-131 ↗
13. Deep learning for biological image classification10.1016/j.eswa.2017.05.039 ↗
14. Deep learning for hyperspectral image classification: An overview10.1109/TGRS.2019.2907932 ↗
15. Çayır, A.N., and Navruz, T.S. (2021, January 11–13). Effect of dataset size on deep learning in voice recognition. Proceedings of the 2021 3rd International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA), Ankara, Turkey.10.1109/HORA52670.2021.9461395 ↗
16. Bae, H.S., Lee, H.J., and Lee, S.G. (2016, January 5–7). Voice recognition based on adaptive MFCC and deep learning. Proceedings of the 2016 IEEE 11th Conference on Industrial Electronics and Applications (ICIEA), Hefei, China.10.1109/ICIEA.2016.7603830 ↗
17. Quy, T.N., and Van Quyen, P. (2023). Experimental results of electromagnetic analysis on smartcard. J. Sci. Technol. Inf. Secur., 5–14.10.54654/isj.v9i01.974 ↗
18. Zhang, H.X., Liu, J., Xu, J., Zhang, F., Cui, X.T., and Sun, S.F. (2020). Electromagnetic radiation-based IC device identification and verification using deep learning. EURASIP J. Wirel. Commun. Netw., 2020.10.1186/s13638-020-01808-z ↗
19. Hong, S., Davinroy, M., Kaya, Y., Locke, S.N., Rackow, I., Kulda, K., Dachman-Soled, D., and Dumitraş, T. (2020). Security Analysis of Deep Neural Networks Operating in the Presence of Cache Side-Channel Attacks. arXiv.
20. Das, D., Golder, A., Danial, J., Ghosh, S., Raychowdhury, A., and Sen, S. (2019, January 2–6). X-DeepSCA: Cross-Device Deep Learning Side Channel Attack. Proceedings of the 56th Annual Design Automation Conference 2019, Las Vegas, NV, USA.10.1145/3316781.3317934 ↗
21. Li, L., and Ou, Y. (2023). A deep learning-based side channel attack model for different block ciphers. J. Comput. Sci., 72.10.1016/j.jocs.2023.102078 ↗
22. Wang, R., Wang, H., and Dubrova, E. (2020, January 13). Far Field EM Side-Channel Attack on AES Using Deep Learning. Proceedings of the 4th ACM Workshop on Attacks and Solutions in Hardware Security, Virtual Event.10.1145/3411504.3421214 ↗
23. Side channel attacks for architecture extraction of neural networks10.1049/cit2.12026 ↗
24. Applications of machine learning techniques in side-channel attacks: A survey10.1007/s13389-019-00212-8 ↗
25. Hospodar, G., Gierlichs, B., De Mulder, E., Verbauwhede, I., and Vandewalle, J. (2011). Machine learning in side-channel analysis: A first study. J. Cryptogr. Eng., 1.10.1007/s13389-011-0023-x ↗
26. One Trace Is All It Takes: Machine Learning-Based Side-Channel Attack on EdDSA10.1007/978-3-030-35869-3_8 ↗
27. Picek, S., Heuser, A., Jovic, A., Ludwig, S.A., Guilley, S., Jakobovic, D., and Mentens, N. (2017, January 14–19). Side-channel analysis and machine learning: A practical perspective. Proceedings of the 2017 International Joint Conference on Neural Networks (IJCNN), Anchorage, AK, USA.10.1109/IJCNN.2017.7966373 ↗
28. Electromagnetic side-channel hardware trojan detection based on transfer learning
29. Precise Extraction of Deep Learning Models via Side-Channel Attacks on Edge/Endpoint Devices10.1007/978-3-031-17143-7_18 ↗
30. Carlet, C., Hasan, M.A., and Saraswat, V. (2016, January 14–18). Breaking Cryptographic Implementations Using Deep Learning Techniques. Proceedings of the Security, Privacy, and Applied Cryptography Engineering, Lecture Notes in Computer Science, Hyderabad, India.
31. Maghrebi, H. (2019). Deep learning based side channel attacks in practice. Cryptol. ePrint Arch., preprint.
32. Wei, L., Luo, B., Li, Y., Liu, Y., and Xu, Q. (2018, January 3–7). I Know What You See: Power Side-Channel Attack on Convolutional Neural Network Accelerators. Proceedings of the 34th Annual Computer Security Applications Conference, San Juan, PR, USA.10.1145/3274694.3274696 ↗
33. Wang, H., Brisfors, M., Forsmark, S., and Dubrova, E. (2019, January 29–30). How diversity affects deep-learning side-channel attacks. Proceedings of the 2019 IEEE Nordic Circuits and Systems Conference (NORCAS): NORCHIP and International Symposium of System-on-Chip (SoC), Helsinki, Finland.10.1109/NORCHIP.2019.8906945 ↗
34. Sok: Deep learning-based physical side-channel analysis10.1145/3569577 ↗
35. Pay attention to raw traces: A deep learning architecture for end-to-end profiling attacks10.46586/tches.v2021.i3.235-274 ↗
36. Deep learning mitigates but does not annihilate the need of aligned traces and a generalized ResNet model for side-channel attacks10.1007/s13389-019-00209-3 ↗
37. Ahmed, A.A., and Hasan, M.K. (2023, January 6–8). Design and Implementation of Side Channel Attack Based on Deep Learning LSTM. Proceedings of the 2023 IEEE Region 10 Symposium (TENSYMP), Canberra, Australia.10.1109/TENSYMP55890.2023.10223652 ↗
38. Multilabel deep learning-based side-channel attack10.1109/TCAD.2020.3033495 ↗
39. He, K., Zhang, X., Ren, S., and Sun, J. (2016). Identity Mappings in Deep Residual Networks. arXiv.10.1007/978-3-319-46493-0_38 ↗
40. He, K., Zhang, X., Ren, S., and Sun, J. (2015). Deep Residual Learning for Image Recognition. arXiv.10.1109/CVPR.2016.90 ↗
41. Tan, C., Sun, F., Kong, T., Zhang, W., Yang, C., and Liu, C. (2018, January 4–7). A survey on deep transfer learning. Proceedings of the Artificial Neural Networks and Machine Learning—ICANN 2018: 27th International Conference on Artificial Neural Networks, Rhodes, Greece. Part III 27.10.1007/978-3-030-01424-7_27 ↗
42. An inside job: Remote power analysis attacks on FPGAs10.1109/MDAT.2021.3063306 ↗