信息网络安全 ›› 2026, Vol. 26 ›› Issue (7): 1115-1127.doi: 10.3969/j.issn.1671-1122.2026.07.009

• AI安全防御 • 上一篇    下一篇

多路径特征增强的深度学习矩形攻击防御方法

孙浩然1, 陈杰1,2(), 刘君3   

  1. 1 西安电子科技大学通信工程学院西安 710071
    2 西安电子科技大学密码学院西安 710126
    3 陕西师范大学人工智能与计算机学院西安 710119
  • 收稿日期:2026-05-20 出版日期:2026-07-10 发布日期:2026-09-03
  • 通讯作者: 陈杰 E-mail:jchen@mail.xidian.edu.cn
  • 作者简介:孙浩然(2000—),男,辽宁,硕士研究生,主要研究方向为基于深度学习的分组密码分析|陈杰(1979—),女,陕西,副教授,博士,主要研究方向为密码算法的设计与安全性分析|刘君(1993—),女,陕西,讲师,博士,主要研究方向为分组密码、白盒密码的设计与安全性分析
  • 基金资助:
    国家自然科学基金(62302285);陕西省科学技术协会青年人才托举计划(20240124)

Multi-path feature enhanced deep learning method for rectangule attack and defense

Sun Haoran1, Chen Jie1,2(), Liu Jun3   

  1. 1 School of Telecommunications Engineering, Xidian University, Xi’an 710071, China
    2 School of Cryptology, Xidian University, Xi’an 710126, China
    3 School of Artificial Intelligence and Computer Science, Shaanxi Normal University, Xi’an 710119, China
  • Received:2026-05-20 Online:2026-07-10 Published:2026-09-03
  • Contact: Chen Jie E-mail:jchen@mail.xidian.edu.cn

摘要:

针对传统矩形攻击与深度学习结合时存在的输入特征单一、密码特征识别能力受限的问题,文章以SPECK32/64算法及其变体SPECKEY算法为研究对象,提出一种扩展矩形神经网络差分区分器模型。该模型通过构造包含三重约束的密文数据组,将单向差分传播路径扩展为多路径特征输入,从而增强神经网络对高轮数密码算法非随机统计特征的捕捉能力。实验结果表明,基于该模型构建的5~8轮SPECK32/64区分器及6~8轮SPECKEY区分器,在分类准确率方面优于传统矩形神经网络区分器。此外,利用训练获得的8轮扩展矩形神经网络差分区分器,对10轮SPECK32/64算法进行子密钥恢复攻击。攻击结果显示,虽然完整16比特子密钥的完全恢复率为12%,但在剔除两个非敏感比特子密钥的影响后,模型对剩余14比特子密钥的预测准确率达100%,证明了增加多路径特征输入的有效性,为深度学习在密码分析领域的应用提供更具有效性的分析模型。

关键词: 深度学习, 矩形攻击, 神经网络, 密钥恢复攻击

Abstract:

To address the issues of single input features and limited capability in identifying cryptographic characteristics when combining traditional rectangle attacks with deep learning, this paper proposed an extended rectangle neural differential distinguisher model, taking the SPECK32/64 algorithm and its variant SPECKEY as the research objects. By constructing ciphertext data groups with triple constraints, the model expanded the unidirectional differential propagation path into multi-path feature inputs, thereby enhancing the neural network’s ability to capture non-random statistical characteristics of high-round ciphers. Experimental results show that the distinguishers for 5 to 8-round SPECK32/64 and 6 to 8-round SPECKEY construct based on this model all outperform the traditional rectangle neural distinguisher in classification accuracy. Furthermore, using the trained 8-round extended rectangle neural differential distinguisher, a subkey recovery attack is performed on the 10-round SPECK32/64 algorithm. The attack results show that while the complete recovery rate for the full 16-bit subkey is 12%, the model achieves a 100% prediction accuracy on the remaining 14 bits after eliminating the influence of two insensitive bits. This study demonstrates the effectiveness of incorporating multi-path feature inputs, providing a more effective analytical model for the application of deep learning in the field of cryptanalysis.

Key words: deep learning, rectangle attack, neural network, key recovery attack

中图分类号: