Skip to main content
QUICK REVIEW

[Paper Review] Distinguisher-Based Attacks on Public-Key Cryptosystems Using Reed-Solomon Codes

Alain Couvreur, Philippe Gaborit|arXiv (Cornell University)|Jul 24, 2013
Coding theory and cryptographyComputer Science21 references7 citations
TL;DR

This paper presents polynomial-time key-recovery attacks on multiple public-key cryptosystems based on generalized Reed-Solomon (GRS) codes, exploiting a distinguisher based on the component-wise product of codes. By analyzing the dimension of squared subcodes and punctured codes, the attacks efficiently recover the secret structure of the GRS codes used in schemes by Wieschebrink, Bogdanov-Lee, and Baldi et al., demonstrating that these systems are insecure despite their design to resist prior attacks.

ABSTRACT

Because of their interesting algebraic properties, several authors promote the use of generalized Reed-Solomon codes in cryptography. Niederreiter was the first to suggest an instantiation of his cryptosystem with them but Sidelnikov and Shestakov showed that this choice is insecure. Wieschebrink proposed a variant of the McEliece cryptosystem which consists in concatenating a few random columns to a generator matrix of a secretly chosen generalized Reed-Solomon code. More recently, new schemes appeared which are the homomorphic encryption scheme proposed by Bogdanov and Lee, and a variation of the McEliece cryptosystem proposed by Baldi et extit{al.} which hides the generalized Reed-Solomon code by means of matrices of very low rank. In this work, we show how to mount key-recovery attacks against these public-key encryption schemes. We use the concept of distinguisher which aims at detecting a behavior different from the one that one would expect from a random code. All the distinguishers we have built are based on the notion of component-wise product of codes. It results in a powerful tool that is able to recover the secret structure of codes when they are derived from generalized Reed-Solomon codes. Lastly, we give an alternative to Sidelnikov and Shestakov attack by building a filtration which enables to completely recover the support and the non-zero scalars defining the secret generalized Reed-Solomon code.

Motivation & Objective

  • To demonstrate that public-key cryptosystems using generalized Reed-Solomon (GRS) codes are vulnerable to key-recovery attacks despite modifications intended to thwart prior attacks.
  • To develop a distinguisher based on the component-wise product of codes to detect structural anomalies in public codes derived from GRS codes.
  • To show that the square of subcodes derived from GRS codes has abnormally low dimension, enabling efficient key recovery.
  • To recover the support and non-zero scalars of the secret GRS code via a filtration method, offering an alternative to Sidelnikov-Shestakov’s attack.
  • To extend the applicability of distinguisher-based attacks to homomorphic encryption and McEliece-like schemes using GRS codes with low-rank perturbations.

Proposed method

  • Construct a distinguisher using the component-wise product of codes, which reveals structural deviations from random codes when applied to codes derived from generalized Reed-Solomon codes.
  • Compute the dimension of the square of various subcodes of the public code to detect the presence of random columns in Wieschebrink’s scheme.
  • Puncture the public code at strategic positions and analyze the dimension of the square of the punctured code to isolate the GRS component in the Bogdanov-Lee homomorphic scheme.
  • Identify a subcode that lies within both the public code and a GRS code to recover the secret GRS structure in Baldi et al.’s scheme.
  • Use a filtration process based on successive shortening and dimension analysis to reconstruct the full GRS code structure in Niederreiter-type systems.
  • Leverage the 3-transitivity of PGL(2,𝔽q) to normalize and recover the evaluation points of the GRS code by transforming quotient vectors into position vectors via rational maps.

Experimental results

Research questions

  • RQ1Can a distinguisher based on the component-wise product of codes efficiently detect deviations from randomness in public codes derived from generalized Reed-Solomon codes?
  • RQ2To what extent can the square of a subcode of a public code reveal structural information about the underlying secret GRS code?
  • RQ3Can the filtration method based on component-wise products fully reconstruct the support and scalars of a hidden GRS code in McEliece-type systems?
  • RQ4How effective is this distinguisher-based approach against recent variants of the McEliece cryptosystem that use low-rank perturbations to hide the GRS structure?
  • RQ5Does the distinguisher provide a polynomial-time alternative to the Sidelnikov-Shestakov attack for recovering secret GRS codes?

Key findings

  • The component-wise product of codes enables a distinguisher that detects non-random behavior in public codes derived from generalized Reed-Solomon codes, even at arbitrary rates.
  • For Wieschebrink’s scheme, computing the dimension of the square of subcodes reveals the positions of random columns added to the GRS generator matrix.
  • In the Bogdanov-Lee homomorphic encryption scheme, the dimension of the square of punctured public codes allows recovery of the underlying GRS structure.
  • For Baldi et al.’s scheme, a subcode common to both the public code and a GRS code can be identified, enabling secret code reconstruction.
  • A filtration method based on successive shortening and dimension analysis recovers the full secret GRS code in Niederreiter-type systems, effectively breaking the scheme.
  • The attack runs in polynomial time and is efficient, relying only on rank computations of matrices derived from the public key, with no reliance on exhaustive search or quantum resources.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.