International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

Efficient Detection of High Probability Statistical Properties of Cryptosystems via Surrogate Differentiation

Authors:
Itai Dinur , Ben Gurion University, Israel
Orr Dunkelman , University of Haifa, Israel
Nathan Keller , Bar-Ilan University, Israel
Eyal Ronen , Tel Aviv University, Israel
Adi Shamir , Weizmann Institute of Science, Israel
Download:
DOI: 10.1007/978-3-031-30634-1_4 (login may be required)
Search ePrint
Search Google
Presentation: Slides
Conference: EUROCRYPT 2023
Abstract: A central problem in cryptanalysis is to find all the significant deviations from randomness in a given $n$-bit cryptographic primitive. When $n$ is small (e.g., an $8$-bit S-box), this is easy to do, but for large $n$, the only practical way to find such statistical properties was to exploit the internal structure of the primitive and to speed up the search with a variety of heuristic rules of thumb. However, such bottom-up techniques can miss many properties, especially in cryptosystems which are designed to have hidden trapdoors. In this paper we consider the top-down version of the problem in which the cryptographic primitive is given as a structureless black box, and reduce the complexity of the best known techniques for finding all its significant differential and linear properties by a large factor of $2^{n/2}$. Our main new tool is the idea of using {\it surrogate differentiation}. In the context of finding differential properties, it enables us to simultaneously find information about all the differentials of the form $f(x) \oplus f(x \oplus \alpha)$ in all possible directions $\alpha$ by differentiating $f$ in a single arbitrarily chosen direction $\gamma$ (which is unrelated to the $\alpha$'s). In the context of finding linear properties, surrogate differentiation can be combined in a highly effective way with the Fast Fourier Transform. For $64$-bit cryptographic primitives, this technique makes it possible to automatically find in about $2^{64}$ time all their differentials with probability $p \geq 2^{-32}$ and all their linear approximations with bias $|p| \geq 2^{-16}$; previous algorithms for these problems required at least $2^{96}$ time. Similar techniques can be used to significantly improve the best known time complexities of finding related key differentials, second-order differentials, and boomerangs. In addition, we show how to run variants of these algorithms which require no memory, and how to detect such statistical properties even in trapdoored cryptosystems whose designers specifically try to evade our techniques.
BibTeX
@inproceedings{eurocrypt-2023-33014,
  title={Efficient Detection of High Probability Statistical Properties of Cryptosystems via Surrogate Differentiation},
  publisher={Springer-Verlag},
  doi={10.1007/978-3-031-30634-1_4},
  author={Itai Dinur and Orr Dunkelman and Nathan Keller and Eyal Ronen and Adi Shamir},
  year=2023
}