[Paper Review] An Algebraic Attack on Rank Metric Code-Based Cryptosystems
This paper presents a novel algebraic attack on rank metric code-based cryptosystems by enhancing the Ourivski-Johansson polynomial system with additional equations derived from partial syzygies, reducing the solving degree to r, r+1, or r+2. The method enables faster Gröbner basis computation and breaks the claimed 256-bit security of ROLLO-I-256 with a classical attack, outperforming prior algebraic and combinatorial approaches.
The Rank metric decoding problem is the main problem considered in cryptography based on codes in the rank metric. Very efficient schemes based on this problem or quasi-cyclic versions of it have been proposed recently, such as those in the submissions ROLLO and RQC currently at the second round of the NIST Post-Quantum Cryptography Standardization Process. While combinatorial attacks on this problem have been extensively studied and seem now well understood, the situation is not as satisfactory for algebraic attacks, for which previous work essentially suggested that they were ineffective for cryptographic parameters. In this paper, starting from Ourivski and Johansson's algebraic modelling of the problem into a system of polynomial equations, we show how to augment this system with easily computed equations so that the augmented system is solved much faster via Groebner bases. This happens because the augmented system has solving degree $r$, $r+1$ or $r+2$ depending on the parameters, where $r$ is the rank weight, which we show by extending results from Verbel et al. (PQCrypto 2019) on systems arising from the MinRank problem; with target rank $r$, Verbel et al. lower the solving degree to $r+2$, and even less for some favorable instances that they call superdetermined. We give complexity bounds for this approach as well as practical timings of an implementation using Magma. This improves upon the previously known complexity estimates for both Groebner basis and (non-quantum) combinatorial approaches, and for example leads to an attack in 200 bits on ROLLO-I-256 whose claimed security was 256 bits.
Motivation & Objective
- To address the lack of effective algebraic attacks on rank metric code-based cryptography despite strong combinatorial attacks.
- To improve the efficiency of solving the MinRank problem via Gröbner basis techniques by augmenting the polynomial system.
- To demonstrate that algebraic attacks can break NIST PQC candidates like ROLLO and RQC, undermining their claimed security levels.
- To analyze the solving degree of the augmented system and provide complexity bounds for practical and theoretical evaluation.
- To show that the attack remains effective even when the original system is designed to resist algebraic methods.
Proposed method
- Augment the Ourivski-Johansson algebraic model of the MinRank problem with additional polynomial equations derived from partial syzygies.
- Use a specialized variable specialization strategy in Algorithm 1 to fix the first column and row of the solution matrix and set a random column of the coefficient matrix to [1,0,…,0]^T.
- Apply a recursive subroutine, Solve(S,C,R), which builds and solves the augmented system using Gröbner basis techniques.
- Introduce a probabilistic analysis to estimate success likelihood based on the rank properties of submatrices and finite field probabilities.
- Leverage results from Verbel et al. (PQCrypto 2019) on MinRank systems to bound the solving degree at r, r+1, or r+2 depending on parameters.
- Implement the attack in Magma to validate performance and provide practical timing results.
Experimental results
Research questions
- RQ1Can algebraic attacks be made effective against rank metric code-based cryptosystems by enhancing the polynomial system?
- RQ2What is the solving degree of the augmented MinRank system, and how does it compare to the original system?
- RQ3Can the attack break NIST PQC candidates like ROLLO and RQC below their claimed security levels?
- RQ4How does the success probability of the attack scale with parameter choices such as m, n, r, and q?
- RQ5To what extent does the attack benefit from variable specialization and partial syzygy addition?
Key findings
- The augmented system has a solving degree of r, r+1, or r+2, significantly reducing the complexity of Gröbner basis computation compared to the original system.
- The attack breaks ROLLO-I-256 with a classical attack complexity below its claimed 256-bit security level, demonstrating a critical vulnerability.
- For parameters in NIST PQC submissions, Algorithm 1 succeeds with probability greater than 0.8 using at most 5 calls to the Solve subroutine.
- The attack outperforms both previous algebraic and non-quantum combinatorial attacks in terms of computational complexity.
- The success probability remains high even for large parameters, with a second run of the algorithm rarely needed.
- A recent improvement [13] further reduces the attack to solving a linear system, eliminating the need for Gröbner bases, but the original attack remains effective and memory-intensive for large parameters.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.