Paper 2024/322 Original: eprint.iacr.org/2024/322 ↗

On the Explanation and Enhancement of Neural-inspired Differential Cryptanalysis

Weixi Zheng
Liu Zhang
Zilong Wang
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.
History
2025-09-18: last updated
2024-02-25: published
Short URL
https://ia.cr/2024/322
License
https://creativecommons.org/licenses/by/4.0/

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, this archive does not use cookies or embedded third party content.