A Cipher-Agnostic Neural Training Pipeline with Automated Finding of Good Input Differences

Authors

  • Emanuele Bellini Technology Innovation Institute, Abu Dhabi, UAE
  • David Gerault Technology Innovation Institute, Abu Dhabi, UAE
  • Anna Hambitzer Technology Innovation Institute, Abu Dhabi, UAE
  • Matteo Rossi Politecnico di Torino, Torino, Italy

DOI:

https://doi.org/10.46586/tosc.v2023.i3.184-212

Keywords:

Neural Cryptanalysis, Differential Cryptanalysis, Evaluation Tools, Block Cipher, Distinguisher, Neural Networks

Abstract

Neural cryptanalysis is the study of cryptographic primitives through machine learning techniques. Following Gohr’s seminal paper at CRYPTO 2019, a focus has been placed on improving the accuracy of such distinguishers against specific primitives, using dedicated training schemes, in order to obtain better key recovery attacks based on machine learning. These distinguishers are highly specialized and not trivially applicable to other primitives. In this paper, we focus on the opposite problem: building a generic pipeline for neural cryptanalysis. Our tool is composed of two parts. The first part is an evolutionary algorithm for the search of good input differences for neural distinguishers. The second part is DBitNet, a neural distinguisher architecture agnostic to the structure of the cipher. We show that this fully automated pipeline is competitive with a highly specialized approach, in particular for SPECK32, and SIMON32. We provide new neural distinguishers for several primitives (XTEA, LEA, HIGHT, SIMON128, SPECK128) and improve over the state-of-the-art for PRESENT, KATAN, TEA and GIMLI.

Downloads

Published

2023-09-19

How to Cite

Bellini, E., Gerault, D., Hambitzer, A., & Rossi, M. (2023). A Cipher-Agnostic Neural Training Pipeline with Automated Finding of Good Input Differences. IACR Transactions on Symmetric Cryptology, 2023(3), 184–212. https://doi.org/10.46586/tosc.v2023.i3.184-212

Issue

Section

Articles