Crowhammer: Full Key Recovery Attack on Falcon with a Single Rowhammer Bit Flip
Shows a single Rowhammer bit flip in Falcon's hardcoded RCDT Gaussian sampler skews the distribution enough to fully recover the signing key from a few hundred million signatures.
Schemes: Falcon, NTRUSign, GGH, Peregrine
Findings (quotes checked against the source text)
-
A single targeted bit flip in Falcon's reverse cumulative distribution table suffices to fully recover the signing key given a few hundred million signatures.
we show that a single targeted bit flip suffices to fully recover the signing key, given a few hundred million signatures, with more bit flips enabling key recovery with fewer signatures.
-
The Nguyen-Regev parallelepiped attack does not readily work alone in this setting, but combined with PCA it yields a practical attack.
However, we show that combining it with principal component analysis (PCA) yields a practical attack.
-
Falcon's official implementation uses a hardcoded reverse cumulative distribution table for its Gaussian sampler to avoid timing attacks, and that table is the attack target.
The official Falcon implementation uses this technique, employing a hardcoded reverse cumulative distribution table (RCDT).
-
The attack also works with other persistent memory fault types, such as optical faults.
This vulnerability can also be triggered with other types of persistent fault attacks on memory like optical faults.
-
Suggested countermeasures largely mitigate the attack, including rejecting unusually short signatures.
We suggest cheap countermeasures that largely mitigate it, including rejecting signatures that are unusually short.
Numbers (as extracted, not quote-checked)
- Signatures needed for full key recovery with a single bit flip: a few hundred million
For builders
If deploying Falcon, store the Gaussian sampler tables and signing keys with memory integrity protection and reject unusually short signatures, since persistent memory faults can leak the full key.
Limits
Abstract-only text was used, so exact sampler parameters and full experiment details are unverified here; attack needs Rowhammer-vulnerable RAM and a persistent memory fault.
Topics: implementation-sidechannel threat-model sig-lattice cryptanalysis