Paper 2024/347

The Algebraic Freelunch Efficient Gröbner Basis Attacks Against Arithmetization-Oriented Primitives

Augustin Bariant, ANSSI, INRIA
Aurélien Boeuf, INRIA
Axel Lemoine, INRIA, DGA
Irati Manterola Ayala, Simula UiB
Morten Øygarden, Simula UiB
Léo Perrin, INRIA
Håvard Raddum, Simula UiB
Abstract

In this paper, we present a new type of algebraic attack that applies to many recent arithmetization-oriented families of permutations, such as those used in Griffin, Anemoi, ArionHash, and XHash8, whose security relies on the hardness of the constrained-input constrained-output (CICO) problem. We introduce the FreeLunch approach: the monomial ordering is chosen so that the natural polynomial system encoding the CICO problem already is a Gröbner basis. In addition, we present a new dedicated resolution algorithm for FreeLunch systems of complexity lower than applicable state-of-the-art FGLM algorithms. We show that the FreeLunch approach challenges the security of fullround instances of Anemoi, Arion and Griffin. We confirm these theoretical results with experimental results on those three permutations. In particular, using the FreeLunch attack combined with a new technique to bypass 3 rounds of Griffin, we recover a CICO solution for 7 out of 10 rounds of Griffin in less than four hours on one core of AMD EPYC 7352 (2.3GHz).

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
Algebraic attacksGröbner basisFreeLunchSymmetric cryptanalysisGriffinArionAnemoi
Contact author(s)
augustin bariant @ inria fr
aurelien boeuf @ inria fr
axel lemoine @ inria fr
irati @ simula no
morten oygarden @ simula no
leo perrin @ inria fr
haavardr @ simula no
History
2024-02-27: approved
2024-02-27: received
See all versions
Short URL
https://ia.cr/2024/347
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/347,
      author = {Augustin Bariant and Aurélien Boeuf and Axel Lemoine and Irati Manterola Ayala and Morten Øygarden and Léo Perrin and Håvard Raddum},
      title = {The Algebraic Freelunch Efficient Gröbner Basis Attacks Against Arithmetization-Oriented Primitives},
      howpublished = {Cryptology ePrint Archive, Paper 2024/347},
      year = {2024},
      note = {\url{https://eprint.iacr.org/2024/347}},
      url = {https://eprint.iacr.org/2024/347}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.