Square Root of All Evil: The Dangers of Falcon's Superfluous Square Roots
Shows Falcon's floating-point square roots are unnecessary and a fault-attack liability; a single glitch in one square root plus about a million normal signatures recovers the full key on Cortex-M4.
Schemes: Falcon, FN-DSA
Findings (quotes checked against the source text)
-
Falcon's square root computations are unnecessary; the algorithm can be rewritten without them, giving a simpler implementation that is equally fast or slightly faster.
In this paper, we first point out that those square root computations are in fact wholly unnecessary: the algorithm can be rewritten without them, resulting in a somewhat simpler implementation that is equally fast or even slightly faster.
-
A single glitch in one square root computation, followed by about a million signatures from the unperturbed signer, yields full key recovery with 100% success on an ARM Cortex-M4.
We show that injecting a single glitch in one square root computation, and then generating around a million signatures with the unperturbed signing algorithm, leads to full key recovery with 100% success rate and, moreover, faulty signatures are not easy to distinguish from validly generated ones.
-
Faulty signatures from this attack are hard to distinguish from valid ones, unlike earlier attacks whose outputs were easy to spot.
moreover, faulty signatures are not easy to distinguish from validly generated ones.
-
Prior Falcon fault attacks needed hundreds of millions of signature samples or many injected faults, or produced distinguishable signatures.
in contrast with earlier attacks requiring hundreds of millions of signature samples, many injected faults, or resulting in signatures that are straightforward to distinguish from regular ones.
-
The square root computations also pose dependency-management and supply-chain security risks.
In addition, we mention potential risks of the square root computations from the standpoint of dependency management and supply chain security.
Numbers (as extracted, not quote-checked)
- Signatures generated after one glitch needed for full key recovery: around a million
- Key recovery success rate after the single-glitch attack: 100%
For builders
Implement Falcon/FN-DSA without floating-point square roots, or protect them against glitching, and treat any signer with a single undetected fault as a key-compromise risk.
Limits
Demonstrated on one ARM Cortex-M4 target with a single fault model; abstract-only read, full text not reviewed, so claims about other platforms are unverified.