Investigating and Enhancing the Neural Distinguisher for Differential Cryptanalysis

  • Gao Wang
  • , Gaoli Wang*
  • , Siwei Sun
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

2 Scopus citations

Abstract

At Crypto 2019, Gohr first adopted the neural distinguisher for differential cryptanalysis, and since then, this work received increasing attention. However, most of the existing work focuses on improving and applying the neural distinguisher, the studies delving into the intrinsic prin- ciples of neural distinguishers are finite. At Eurocrypt 2021, Benamira et al. conducted a study on Gohr's neural distinguisher. But for the neural dis- tinguishers proposed later, such as the r-round neural distinguishers trained with k ciphertext pairs or ciphertext differences, denoted as NDcp k_r (Gohr's neural distinguisher is the special NDcp k_r with k = 1) and NDcd k_r , such research is lacking. In this work, we devote ourselves to study the intrin- sic principles and relationship between NDcd k_r and NDcp k_r . Firstly, we explore the working principle of NDcd 1_r through a series of experiments and find that it strongly relies on the probability distribution of cipher- text differences. Its operational mechanism bears a strong resemblance to that of NDcp 1_r given by Benamira et al.. Therefore, we further compare them from the perspective of differential cryptanalysis and sample features, demonstrating the superior performance of NDcp 1_r can be attributed to the relationships between certain ciphertext bits, especially the significant bits. We then extend our investigation to NDcp k_r , and show that its ability to recognize samples heavily relies on the average differential probability of k ciphertext pairs and some relationships in the ciphertext itself, but the reliance between k ciphertext pairs is very weak. Finally, in light of the findings of our research, we introduce a strategy to enhance the accuracy of the neural distinguisher by using a fixed difference to generate the negative samples instead of the random one. Through the implementation of this ap- proach, we manage to improve the accuracy of the neural distinguishers by approximately 2% to 8% for 7-round Speck32/64 and 9-round Simon32/64.

Original languageEnglish
Pages (from-to)1016-1028
Number of pages13
JournalIEICE Transactions on Information and Systems
VolumeE107.D
Issue number8
DOIs
StatePublished - Aug 2024

Keywords

  • block ciphers
  • deep learning
  • differential cryptanalysis
  • interpretability
  • neural distinguisher

Fingerprint

Dive into the research topics of 'Investigating and Enhancing the Neural Distinguisher for Differential Cryptanalysis'. Together they form a unique fingerprint.

Cite this