Paper 2024/322

On the Explanation and Enhancement of Neural-inspired Differential Cryptanalysis

Weixi Zheng, Xidian University
Liu Zhang, Xidian University
Zilong Wang, Xidian University
Abstract

Neural networks have been applied to symmetric cryptanalysis, and Gohr demonstrated that a neural-network-based distinguisher achieves higher accuracy than classical differential distinguishers at CRYPTO 2019. In this work, we analyze ciphertext data through the lens of probability distributions, identifying non-random features that provide indirect insights into how neural networks distinguish ciphertexts from random data. In parallel, we improve the key-recovery attack process by adopting the Bayesian-UCB method, which achieves a better balance between exploration and exploitation of ciphertext structures. These enhancements reduce the runtime of key-recovery attacks while simultaneously increasing their success rate.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
Neural NetworksProbability DistributiInterpretabilityBayesian-UCBKey Recovery Attacks
Contact author(s)
zhengweixi123 @ qq com
liuzhang @ stu xidian edu cn
zlwang @ xidian edu cn
History
2025-09-18: revised
2024-02-25: received
See all versions
Short URL
https://ia.cr/2024/322
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/322,
      author = {Weixi Zheng and Liu Zhang and Zilong Wang},
      title = {On the Explanation and Enhancement of Neural-inspired Differential Cryptanalysis},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/322},
      year = {2024},
      url = {https://eprint.iacr.org/2024/322}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.