Cryptographic hardness often relies on the assumption that certain mathematical operations are fundamentally difficult to invert. Whether navigating a non-linear dynamical system (like a chaotic map or discrete exponentiation) or untangling a value masked across multiple prime dimensions via the Chinese Remainder Theorem (CRT), the security rests on the computational intractability of the underlying problem.
However, a powerful class of cryptanalytic attacks bypasses these hard number-theoretic problems by reframing them through linear algebra. The core intuition of spectral secret recovery is that if an attacker can arrange public parameters or leaked side-channel information into a matrix equation where the secret acts as a linear operator, the security of the system collapses. The hidden parameters effectively become the eigenvalues of that matrix, allowing an adversary to extract them efficiently using standard characteristic polynomials and spectral analysis.
Linearizing Nonlinear Dynamics
To understand how a secret exponent can transform into an eigenvalue, consider a classic key exchange like Diffie-Hellman. The system relies on the discrete logarithm problem, which is non-linear and difficult to invert over finite fields. However, control theory provides a mathematical framework known as Koopman Operator Theory, which dictates that non-linear dynamical systems can be completely described by an infinite-dimensional linear operator.
By applying this theory to cryptography, Schlor et al. and Strässer et al. demonstrated that if you "lift" the states of a discrete-time cryptosystem into a higher-dimensional linear space, you can construct a linear transition matrix that perfectly governs the system's evolution.
Once the system is linearized, the secret parameters are no longer trapped inside a non-linear transformation. Instead, the secret exponent becomes directly encoded in the geometric properties—specifically the phase or angle—of the transition matrix's eigenvalues. By analyzing the eigendecomposition of this matrix and comparing the angles of the initial and final states within the system's eigen-basis, an attacker can back-calculate the hidden keys through simple linear algebra.
Exploiting CRT Structures and Zero-Testing Oracles
A parallel vulnerability exists in advanced cryptographic primitives like multilinear maps, which rely on the Chinese Remainder Theorem (CRT) to split and hide algebraic secrets across multiple secret prime slots.
To make these maps useful, schemes like CLT13 and CLT15 provide a public "zero-testing" parameter. This parameter allows legitimate users to determine if an encrypted plaintext evaluates to zero without revealing the underlying values. However, a series of total breaks by Lee et al., Lee et al., and Han et al. revealed that this zero-testing functionality acts as a critical side channel. It inadvertently leaks linear combinations of the hidden secret elements.
[Public Encodings / Zero-Testing Outputs]
│
▼
┌───────────────────────┐
│ Construct Matrix M │
└───────────────────────┘
│
▼
┌───────────────────────┐
│ Compute Eigenvalues │ ──► [Isolates Secret Message Components]
└───────────────────────┘
│
▼
┌───────────────────────┐
│ Apply GCD Operations │ ──► [Extracts Hidden Prime Moduli]
└───────────────────────┘
An attacker can collect these zero-testing outputs and organize them into a matrix. Because the underlying structure is governed by the CRT, this matrix can be diagonalized over its constituent prime fields. Consequently, the secret message components map directly to the eigenvalues of the constructed matrix. By calculating the characteristic polynomial of the matrix, the attacker isolates the individual secret values that were meant to remain combined and hidden.
Bridging Eigenvalues and Primes via the GCD
Extracting the eigenvalues isolates the small-scale noise or message components, but the final step of the attack requires recovering the large-scale secret prime factors of the system's modulus. This bridge is crossed using Greatest Common Divisor (GCD) operations.
As Cho et al. showed in the context of approximate greatest common divisor problems, eigenvalue computation serves to decouple the linear combinations of secret values. Once these individual components are isolated, they retain an algebraic relationship with the hidden primes. Applying GCD calculations to the matrix properties or the differences between these isolated values allows an adversary to extract the secret primes in polynomial time.
This mathematical vulnerability extends beyond multilinear maps to simpler residue-based encryption systems. For instance, Li et al. demonstrated that image encryption schemes utilizing the CRT often leak the statistical distribution of their ciphertexts. By applying GCD operations to the relationship between chosen plaintexts and their resulting ciphertexts, an attacker can efficiently factor the global modulus and break the system in linear time.
Similarly, in encrypted databases designed for interoperability, Cao et al. developed a "co-prime attack." When deterministic operations leak products of plaintexts and random coefficients, an attacker can collect multiple products and use their GCD to systematically strip away the randomness, achieving up to 100% plaintext recovery.
Reconstructing Secrets from Partial Information
The power of reducing cryptographic problems to linear algebra and number-theoretic root-finding is also evident when an attacker only has access to partial or noisy information.
When a secret cannot be recovered as a clean eigenvalue, it can often be approximated if a fraction of the bits are leaked (such as through a side-channel or cold-boot attack). Shparlinski demonstrated that algorithms designed for bit-level security analysis can be adapted to solve variants of the Hidden Number Problem, reconstructing full elliptic curve keys from partial oracles.
Furthermore, when dealing with leaked bits of an RSA private key, lattice-based root-finding techniques can find the exact solution from approximations. As explored by Maitra and optimized for the most significant bits by Jagnere et al., establishing close approximations between known public moduli and partial prime factors allows attackers to derive tailored equations that efficiently estimate and reconstruct the remaining unknown bits of the secret key.
Key Foundational Work
Attack on Okamoto et al.'s New Short Signature Schemes (2005) — contributed 1 concept elements to this direction.
On the Unpredictability of Bits of the Elliptic Curve Diffie--Hellman Scheme (2001) — contributed 1 concept elements to this direction.