Abstract
At the Annual International Cryptology Conference in 2019, Gohr introduced a deep learning based cryptanalysis technique applicable to the reduced-round lightweight block ciphers with a short block of SPECK32/64. One significant challenge left unstudied by Gohr’s work is the implementation of key recovery attacks on large-state block ciphers based on deep learning. The purpose of this paper is to present an improved deep learning based framework for recovering keys for large-state block ciphers. First, we propose a key bit sensitivity test (KBST) based on deep learning to divide the key space objectively. Second, we propose a new method for constructing neural distinguisher combinations to improve a deep learning based key recovery framework for large-state block ciphers and demonstrate its rationality and effectiveness from the perspective of cryptanalysis. Under the improved key recovery framework, we train an efficient neural distinguisher combination for each large-state member of SIMON and SPECK and finally carry out a practical key recovery attack on the large-state members of SIMON and SPECK. Furthermore, we propose that the 13-round SIMON64 attack is the most effective approach for practical key recovery to date. Noteworthly, this is the first attempt to propose deep learning based practical key recovery attacks on 18-round SIMON128, 19-round SIMON128, 14-round SIMON96, and 14-round SIMON64. Additionally, we enhance the outcomes of the practical key recovery attack on SPECK large-state members, which amplifies the success rate of the key recovery attack in comparison to existing results.
摘要
在2019年的年度国际密码学会议上, Gohr提出一种基于深度学习的密码分析技术,适用于分组较短的减轮轻量级分组密码SPECK32/64。Gohr遗留了一个关键问题,即如何实现基于深度学习的大状态分组密码密钥恢复攻击。本文设计了一种基于深度学习的大状态分组密码的密钥恢复框架。首先,提出基于深度学习的密钥比特敏感性测试(KBST)客观划分密钥空间。其次,提出一种新的构造神经区分器组合方法,以改进用于大状态分组密码深度学习辅助密钥恢复框架,并从密码分析角度证明其合理性和有效性。在改进的密钥恢复框架下,本文为SIMON和SPECK各大状态训练了一个有效的神经区分器组合,并执行了对SIMON和SPECK大状态成员的实际密钥恢复攻击。本文提出的13轮SIMON64攻击是迄今为止最有效的实际密钥恢复攻击方法。这是首次尝试在18轮SIMON128、19轮SIMON128、14轮SIMON96和14轮SIMON64上进行基于深度学习的实用密钥恢复攻击。此外,本文改进了针对SPECK大状态成员的实际密钥恢复攻击结果,提高了密钥恢复攻击的成功率。
Data availability
The data that support the findings of this study are available from the corresponding author upon reasonable request.
References
Baksi A, 2022. Machine learning-assisted differential distinguishes for lightweight ciphers. In: Baksi A (Ed.), Classical and Physical Security of Symmetric Key Cryptographic Algorithms. Springer, Singapore, p.141–162. https://doi.org/10.1007/978-981-16-6522-6_6
Bao ZZ, Guo J, Liu MC, et al., 2022. Enhancing differentialneural cryptanalysis. 28th Int Conf on the Theory and Application of Cryptology and Information Security, p.318–347. https://doi.org/10.1007/978-3-031-22963-3_11
Beaulieu R, Shors D, Smith J, et al., 2015. The SIMON and SPECK lightweight block ciphers. Proc 52nd Annual Design Automation Conf, Article 175. https://doi.org/10.1145/2744769.2747946
Bellini E, Rossi M, 2021. Performance comparison between deep learning-based and conventional cryptographic distinguishers. Proc Computing Conf on Intelligent Computing, p.681–701. https://doi.org/10.1007/978-3-030-80129-8_48
Biham E, 1994. New types of cryptanalytic attacks using related keys. J Cryptol, 7(4):229–246. https://doi.org/10.1007/BF00203965
Biham E, Shamir A, 1993. Differential cryptanalysis of the full 16-round DES. 12th Annual Int Cryptology Conf on Advances in Cryptology, p.487–496. https://doi.org/10.1007/3-540-48071-4_34
Chen Y, Yu HB, 2021. A new neural distinguisher model considering derived features from multiple ciphertext pairs. Comput J, Article 310. https://doi.org/10.1093/comjnl/bxac019
Chen Y, Bao ZZ, Shen YT, et al., 2022. A deep learning aided key recovery framework for large-state block ciphers. Sci China Inform, 53(7):1348–1367 (in Chinese). https://doi.org/10.1360/SSI-2022-0298
Chen Y, Shen YT, Yu HB, 2023. Neural-aided statistical attack for cryptanalysis. Comput J, 66(10):2480–2498. https://doi.org/10.1093/comjnl/bxac099
Gohr A, 2019. Improving attacks on round-reduced Speck32/64 using deep learning. 39th Annual Int Cryptology Conf on Advances in Cryptology, p.150–179. https://doi.org/10.1007/978-3-030-26951-7_6
Hou ZZ, Ren JJ, Chen SZ, 2023. Practical attacks of round-reduced SIMON based on deep learning. Comput J, 66(10):2517–2534. https://doi.org/10.1093/comjnl/bxac102
Jain A, Kohli V, Mishra G, 2020. Deep learning based differential distinguisher for lightweight cipher PRESENT. https://eprint.iacr.org/2020/846
Kingma DP, Ba J, 2017. Adam: a method for stochastic optimization. https://doi.org/10.48550/arXiv.1412.6980
Knudsen LR, 1991. Cryptanalysis of LOKI. Int Conf on the Theory and Application of Cryptology, p.22–35. https://doi.org/10.1007/3-540-57332-1_2
Zhang L, Wang ZL, Wang BY, 2022. Improving differentialneural cryptanalysis with inception blocks. https://dblp.org/rec/journals/iacr/zhangWW22.html
Author information
Authors and Affiliations
Contributions
Xiaowei LI designed the research, processed the data, and drafted the paper. Jiongjiong REN and Shaozhen CHEN helped organize the paper. Xiaowei LI, Jiongjiong REN, and Shaozhen CHEN revised and finalized the paper.
Corresponding author
Ethics declarations
All the authors declare that they have no conflict of interest.
Additional information
Project supported by the National Natural Science Foundation of China (No. 62206312)
List of supplementary materials
Algorithm S1 The multi-stage deep learning aided key recovery framework
Algorithm S2 Key bit sensitivity test
Table S1 The algorithm of Gohr’s key recovery attack
Table S2 The parameters of the SIMON family
Table S3 The parameters of the SPECK family
Table S4 9-round neural distinguisher combination for SPECK128
Table S5 7-round neural distinguisher combination for SPECK96
Table S6 6-round neural distinguisher combination for SPECK64
Fig. S1 The round transformation of SIMON
Fig. S2 The round transformation of SPECK
Fig. S3 The outcomes of KBST on the neural distinguisher for 15-round SIMON128
Fig. S4 The schematic of the improved multi-stage key recovery framework for large-state block ciphers
Rights and permissions
About this article
Cite this article
Li, X., Ren, J. & Chen, S. Improved deep learning aided key recovery framework: applications to large-state block ciphers. Front Inform Technol Electron Eng 25, 1406–1420 (2024). https://doi.org/10.1631/FITEE.2300848
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1631/FITEE.2300848