Cryptology ePrint Archive: Report 2021/1225

Massive Superpoly Recovery with Nested Monomial Predictions

Kai Hu and Siwei Sun and Yosuke Todo and Meiqin Wang and Qingju Wang

Abstract: Determining the exact algebraic structure or some partial information of the superpoly for a given cube is a necessary step in the cube attack -- a generic cryptanalytic technique for symmetric-key primitives with some secret and public tweakable inputs. Currently, the division property based approach is the most powerful tool for exact superpoly recovery. However, as the algebraic normal form (ANF) of the targeted output bit gets increasingly complicated as the number of rounds grows, existing methods for superpoly recovery quickly hit their bottlenecks. For example, previous method stuck at round 842, 190, and 892 for Trivium, Grain-128AEAD, and Kreyvium, respectively. In this paper, we propose a new framework for recovering the exact ANFs of massive superpolies based on the monomial prediction technique (ASIACRYPT 2020, an alternative language for the division property). In this framework, the targeted output bit is first expressed as a polynomial of the bits of some intermediate states. For each term appearing in the polynomial, the monomial prediction technique is applied to determine its superpoly if the corresponding MILP model can be solved within a preset time limit. Terms unresolved within the time limit are further expanded as polynomials of the bits of some deeper intermediate states with symbolic computation, whose terms are again processed with monomial predictions. The above procedure is iterated until all terms are resolved. Finally, all the sub-superpolies are collected and assembled into the superpoly of the targeted bit. We apply the new framework to Trivium, Grain-128AEAD, and Kreyvium. As a result, the exact ANFs of the superpolies for 843-, 844- and 845-round Trivium, 191-round Grain-128AEAD and 894-round Kreyvium are recovered. Moreover, with help of the Möbius transform, we present a novel key-recovery technique based on superpolies involving all key bits by exploiting the sparse structures, which leads to the best key-recovery attacks on the targets considered.

Category / Keywords: secret-key cryptography / Cube Attack, Superpoly, Trivium, Grain-128AEAD, Kreyvium, Division Property, Monomial Prediction

Original Publication (with minor differences): IACR-ASIACRYPT-2021

Date: received 17 Sep 2021, last revised 19 Nov 2021

Contact author: hukai at mail sdu edu cn

Available format(s): PDF | BibTeX Citation

Version: 20211119:124748 (All versions of this report)

Short URL: ia.cr/2021/1225


[ Cryptology ePrint archive ]