A Not So Discrete Sampler: Power Analysis Attacks on HAWK signature scheme
Shows simple power analysis attacks on HAWK's discrete Gaussian sampler output in an unprotected Cortex-M4 reference build, enabling key recovery, and proposes a leakage-reducing tweak.
Schemes: HAWK, Falcon
Findings (quotes checked against the source text)
-
HAWK's discrete Gaussian sampler leaks through power analysis, and the paper gives the first leakage review of HAWK.
This work presents the first power analysis leakage review on HAWK signature scheme: it extensively assesses the vulnerabilities of a central and sensitive brick of the scheme, the discrete Gaussian sampler.
-
Recovering the sampler output x from one signature gives linear information about the private key.
Knowing the output x of the sampler for a given signature leads to linear information about the private key of the scheme.
-
Key recovery was achieved with very low or no offline resources, per the authors.
We report being able to perform key recoveries with very low (to no) offline resources.
-
The reference HAWK implementation is not claimed to be side-channel protected, so the attacks apply to it as released.
As this reference implementation of HAWK is not claimed to be protected against side-channel attacks, the existence of such attacks is not surprising, but they still concretely warn about the use of this unprotected signature on physical devices.
-
The proposed ad-hoc leakage reduction blocks the attacks on the authors' platform at essentially no performance cost, but is described as temporary.
These modifications prevent our attacks on our platform and come with essentially no cost in terms of performance.
For builders
If a PQ chain or wallet runs HAWK or a Falcon-style Gaussian sampler on physical or shared hardware, require a masked or otherwise side-channel-protected sampler rather than the unprotected reference code.
Limits
Abstract-only read. Attacks on one ChipWhisperer Lite with STM32F3 target. The fix is ad hoc and temporary; masking was not evaluated per the abstract.