When Frodo Flips: End-to-End Key Recovery on FrodoKEM via Rowhammer
Recovers FrodoKEM private key material by using Rowhammer bit flips during KeyGen to poison the public key, then running a decryption failure attack on supercomputers.
Schemes: FrodoKEM, Kyber, Saber, SHAKE
Findings (quotes checked against the source text)
-
Rowhammer bit flips during FrodoKEM KeyGen can induce a higher-error public key, enabling a decryption failure attack that recovers the private key.
The new mechanism that allows for this is a Rowhammer-assisted \emph{poisoning} of the FrodoKEM Key Generation (KeyGen) process.
-
The full attack needs roughly 200,000 core-hours of publicly accessible supercomputing resources.
using a variety of publicly-accessible supercomputing resources running on the order of only 200,000 core-hours.
-
Prior Rowhammer-assisted attacks on cryptography needed up to 8 hours of persistent access, versus the roughly 8 ms FrodoKEM KeyGen window here.
(Prior Rowhammer-assisted attacks against cryptography require as long as 8 hours of persistent access.)
-
The authors attenuate the decryption failure rate so the manipulation is hard for honest users to detect.
We delicately attenuate the decryption failure rate to ensure that the adversary's attack succeeds practically, but so honest users cannot easily detect the manipulation.
-
The authors discuss simple countermeasures and say the techniques may apply to other lattice-based KEMs in the NIST Round 3 pool.
We explore the applicability of our techniques to other lattice-based KEMs in the NIST PQC Round 3 candidate-pool, e.g. Kyber, Saber, etc, as well as the difficulties that arise in the various settings.
Numbers (as extracted, not quote-checked)
- FrodoKEM KeyGen runtime window: 8 milliseconds
- Compute for decryption failure attack: 200,000 core-hours
- Prior Rowhammer attack persistence: as long as 8 hours
For builders
Treat KEM key generation on shared DRAM as a fault-injection surface: use Rowhammer-resistant memory or integrity checks on generated public keys, not just algorithm choice.
Limits
Based on the ePrint abstract only; full text not read. Attack targets FrodoKEM on Rowhammer-vulnerable DRAM, not the signature schemes a chain would mainly use.