Journal on Communications ›› 2023, Vol. 44 ›› Issue (7): 171-184.doi: 10.11959/j.issn.1000-436x.2023141

• Papers • Previous Articles    

Novel distinguisher for SM4 cipher algorithm based on deep learning

Huijiao WANG, Xin ZHANG, Yongzhuang WEI, Lingchen LI   

  1. School of Computer Science and Information Security, Guilin University of Electronic Technology, Guilin 541004, China
  • Revised:2023-07-13 Online:2023-07-01 Published:2023-07-01
  • Supported by:
    The National Natural Science Foundation of China(62162016);The Natural Science Foundation of Guangxi(2019GXNSFGA245004);The Science and Technology Major Project of Guangxi(AA22068072);Innovation Project of GUET Graduate Education(2022YCXS088)

Abstract:

A method was proposed to construct a deep learning distinguisher model for large state block ciphers with large-block and long-key in view of the problem of high data complexity, time complexity and storage complexity of large state block cipher distinguishers, and the neural distinguishers were constructed for SM4 algorithm.Drawing inspiration from the idea that ciphertext difference could improve the performance of distinguishers, a new input data format for neural distinguisher was designed by using partial difference information between ciphertext pairs as part of the training data.The residual neural network model was used to construct the neural distinguisher.The training dataset for large blocks was preprocessed.Additionally, an improved strategy for model relearning was proposed to address the high specificity and low sensitivity of the constructed distinguisher.Experimental results show that the proposed deep learning model for SM4 can achieve 9 rounds neural distinguisher.The accuracy of 4~9 rounds distinguishers can reach up to 100%, 76.14%, 65.20%, 59.28%, 55.89% and 53.73% respectively.The complexity and accuracy of the constructed differential neural distinguisher are significantly better than those of traditional differential distinguishers, and it is currently the best neural distinguisher for the block cipher SM4 to our knowledge.It also proves that the deep learning method is effective and feasible in the security analysis of block cipher of large block.

Key words: block cipher, deep learning, neural distinguisher, SM4 algorithm, complexity

CLC Number: 

No Suggested Reading articles found!