Two attacks on rank metric code-based schemes: RankSign and an Identity-Based-Encryption scheme
Breaks all NIST round-1 RankSign parameters via low-weight codewords in augmented LRPC codes, and attacks the rank-metric IBE built on RankSign and its RSL assumption.
Schemes: RankSign, augmented LRPC codes, RankPKE, GHPT17 rank-metric IBE, GPV IBE, Prange algorithm
Findings (quotes checked against the source text)
-
All RankSign parameters proposed for NIST round 1 can be broken by an algebraic attack exploiting very low-weight codewords in augmented LRPC codes.
Unfortunately we will show that all the parameters proposed for this scheme in [AGH+ 17] can be broken by an algebraic attack that exploits the fact that the augmented LRPC codes used in this scheme have very low weight codewords.
-
Without RankSign, the rank-metric IBE has no known backup signature, since RankSign was the only hash-and-sign rank-metric code signature it needed.
Right now, there is no backup solution for instantiating this IBE scheme, since RankSign was the only rank-metric code based signature scheme following the hash and sign paradigm that is needed in the IBE scheme.
-
The Hamming-metric version of the GHPT17 IBE is broken in polynomial time by the Prange algorithm, regardless of parameter choice.
we show that even the simplest generic attack, namely the Prange algorithm [Pra62], breaks the IBE in the Hamming setting in polynomial time, and this irrespective of the way the parameters are chosen.
-
For the rank-metric IBE, the attack on RSL can be thwarted by choosing parameters appropriately, unlike RankSign, though the set of safe parameters is small.
However in this case, contrarily to the RankSign scheme, even if the set of parameters that could defeat our attack is small, it is non empty and our attack could be thwarted by choosing the parameters appropriately and if an appropriate signature scheme were found.
Numbers (as extracted, not quote-checked)
- RankSign public key size at 128-bit security (NIST parameters): about 10KBytes
- Attack time, 128-bit NIST parameters (n,k,m,d,t,q)=(20,10,21,2,2,2^32): 20.12 s, 49 MB
- Attack time, 256-bit NIST parameters (n,k,m,d,t,q)=(28,14,30,2,3,2^32): 256.90 s, 137 MB
For builders
Do not adopt RankSign-style augmented LRPC parameters for a chain; treat code-based hash-and-sign signatures as needing fresh cryptanalysis before use.
Limits
Attacks specific NIST round-1 RankSign parameters and one IBE; proposes no fixed scheme, and the rank-metric IBE may survive with other parameters.
Topics: sig-other cryptanalysis threat-model