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

A generic algorithm for efficient key recovery in differential attacks – and its associated tool

Christina Boura
Nicolas David
Patrick Derbez
Rachelle Heim Boissier
María Naya-Plasencia
Abstract

Differential cryptanalysis is an old and powerful attack against block ciphers. While different techniques have been introduced throughout the years to improve the complexity of this attack, the key recovery phase remains a tedious and error-prone procedure. In this work, we propose a new algorithm and its associated tool that permits, given a distinguisher, to output an efficient key guessing strategy. Our tool can be applied to SPN ciphers whose linear layer consists of a bit-permutation and whose key schedule is linear or almost linear. It can be used not only to help cryptanalysts find the best differential attack on a given cipher but also to assist designers in their security analysis. We applied our tool to four targets: RECTANGLE, PRESENT-80, SPEEDY-7-192 and GIFT-64. We extend the previous best attack on RECTANGLE-128 by one round and the previous best differential attack against PRESENT-80 by 2 rounds. We improve a previous key recovery step in an attack against SPEEDY and present more efficient key recovery strategies for RECTANGLE-80 and GIFT. Our tool outputs the results in only a second for most targets.

Metadata
Available format(s)
PDF
Category
Secret-key cryptography
Publication info
Preprint.
History
2024-02-27: last updated
2024-02-20: published
Short URL
https://ia.cr/2024/288
License
https://creativecommons.org/licenses/by-sa/4.0/

BibTeX

@misc{cryptoeprint:2024/288,
      author = {Christina Boura and Nicolas David and Patrick Derbez and Rachelle Heim Boissier and María Naya-Plasencia},
      title = {A generic algorithm for efficient key recovery in differential attacks – and its associated tool},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/288},
      year = {2024},
      url = {https://eprint.iacr.org/2024/288}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.