At CRYPTO 2019, Gohr pioneered neural cryptanalysis by introducing differential-based neural distinguishers to attack Speck32/64, establishing a novel paradigm combining deep learning with differential cryptanalysis.Since then, constructing neural distinguishers has become a significant approach to achieving the deep learning-based cryptanalysis for block ciphers.This paper advances rotational-XOR (RX) attacks through neural networks, focusing on optimizing distinguishers and presenting key-recovery attacks for the lightweight block ciphers Simon32/64 and Simeck32/64.In particular, we first construct the fundamental data formats specially designed for training RX-neural distinguishers by refining the existing data formats for differential-neural distinguishers. Based on these data formats, we systematically identify optimal RX-differences with Hamming weights 1 and 2 that develop high-accuracy RX-neural distinguishers. Then, through innovative application of the bit sensitivity test, we achieve significant compression of data format without sacrificing the distinguisher accuracy. This optimization enables us to add more multi-ciphertext pairs into the data formats, further strengthening the performance of RX-neural distinguishers. As an application, we obtain 14- and 17-round RX-neural distinguishers for Simon32/64 and Simeck32/64, which improves the previous ones by 3 and 2 rounds, respectively.In addition, we propose two novel techniques, key bit sensitivity test and the joint wrong key response, to tackle the challenge of applying Bayesian's key-recovery strategy to the target cipher that adopts nonlinear key schedule in the related-key setting without considering of weak-key space. By this, we can straightforwardly mount a 17-round key-recovery attack on Simeck32/64 based on the improved 16-round RX-nerual distinguisher. To the best of our knowledge, the presented RX-neural......
Quantum Meet-in-the-Middle Attacks on Key-Length Extension Constructions
Data Communication Science and Technology Research Institute(数据通信科学与技术研究院);Graduate School of China Academy of Telecommunication Technology(中国通信技术研究院研究生院)
School of Cyber Science and Technology, Hubei University(湖北大学网络空间安全学院);Key Laboratory of Intelligent Sensing System and Security, Ministry of Education, Hubei University(教育部智能感知系统与安全技术重点实验室(湖北大学));Key Laboratory of Mathematics Mechanization, Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院数学机械化重点实验室);Faculty of Mathematics and Statistics, Hubei Key Laboratory of Applied Mathematics, Hubei University(湖北大学数学与统计学院(湖北省应用数学重点实验室));Department of Fundamental Courses, Shandong University of Science and Technology(山东科技大学基础课部)