Skip to main content
QUICK REVIEW

[Paper Review] A Distinguisher-Based Attack of a Homomorphic Encryption Scheme Relying on Reed-Solomon Codes

Valérie Gauthier, Ayoub Otmani|arXiv (Cornell University)|Mar 29, 2012
Cryptography and Data SecurityComputer Science15 references7 citations
TL;DR

This paper presents a polynomial-time key-recovery attack on a homomorphic encryption scheme based on modified Reed-Solomon codes, exploiting a distinguisher that detects the secret set $L$ by analyzing the dimension of punctured square codes. The attack recovers the private key by identifying positions in the public generator matrix corresponding to a hidden zero submatrix, thereby breaking the scheme's security.

ABSTRACT

Bogdanov and Lee suggested a homomorphic public-key encryption scheme based on error correcting codes. The underlying public code is a modified Reed-Solomon code obtained from inserting a zero submatrix in the Vandermonde generating matrix defining it. The columns that define this submatrix are kept secret and form a set $L$. We give here a distinguisher that detects if one or several columns belong to $L$ or not. This distinguisher is obtained by considering the code generated by component-wise products of codewords of the public code (the so called "square code"). This operation is applied to punctured versions of this square code obtained by picking a subset $I$ of the whole set of columns. It turns out that the dimension of the punctured square code is directly related to the cardinality of the intersection of $I$ with $L$. This allows an attack which recovers the full set $L$ and which can then decrypt any ciphertext.

Motivation & Objective

  • To analyze the security of a recently proposed homomorphic encryption scheme based on modified Reed-Solomon codes.
  • To identify structural weaknesses in the public code that could be exploited for key recovery.
  • To develop a distinguisher that detects the presence of specific columns in the secret set $L$ used to construct the public code.
  • To demonstrate that the scheme is insecure by recovering the full secret set $L$ in polynomial time.
  • To show that the component-wise product of codewords (square code) reveals structural anomalies when intersected with $L$, enabling efficient key recovery.

Proposed method

  • The attack uses the square code of the public code, defined as the code generated by component-wise products of codewords.
  • It applies puncturing to the square code by selecting subsets $I$ of columns to analyze the dimension of $\langle \mathscr{C}_I^2 \rangle$.
  • A distinguisher is constructed based on the observation that the dimension of $\langle \mathscr{C}_I^2 \rangle$ increases by 1 whenever a column from $L$ is included in $I$, due to the hidden zero submatrix structure.
  • The algorithm iteratively removes columns from a subset $I$ and monitors changes in the dimension of the punctured square code to identify which columns belong to $L$.
  • The attack recovers the entire secret set $L$ by testing column replacements and observing dimension changes, enabling full key recovery.
  • Once $L$ is recovered, the attacker can solve a linear system to recover the plaintext from any ciphertext.

Experimental results

Research questions

  • RQ1Can the secret set $L$—used to construct a modified Reed-Solomon code in a homomorphic encryption scheme—be recovered from the public key using structural properties of the code?
  • RQ2Does the component-wise product of codewords in the public code reveal exploitable structural anomalies when punctured with subsets intersecting $L$?
  • RQ3Can a distinguisher be constructed that detects membership of a column in $L$ by measuring the dimension of the punctured square code?
  • RQ4Is the proposed homomorphic encryption scheme secure against key-recovery attacks based on code distinguishers?
  • RQ5Can the attack be implemented in polynomial time using only matrix rank computations?

Key findings

  • The dimension of the punctured square code $\langle \mathscr{C}_I^2 \rangle$ is exactly $2k - 1 + |I \cap L|$ when $|I| - |I \cap L| \geq 2k$ and $|I \cap L| \leq \ell - 1$, providing a precise structural invariant.
  • The attack recovers the entire secret set $L$ by observing changes in the dimension of the square code upon removal or replacement of columns, with each change indicating membership in $L$.
  • The attack runs in polynomial time, requiring only a number of matrix rank computations proportional to $n$, the code length.
  • The scheme is completely broken: once $L$ is recovered, any ciphertext can be decrypted by solving a linear system involving $L$.
  • The distinguisher is effective for all rates of Reed-Solomon codes, unlike previous distinguishers that only worked for high-rate codes.
  • The attack does not rely on the Sidelnikov-Shestakov method but instead uses a novel approach based on the algebraic properties of the square code and its punctured versions.

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.