Breaking and Protecting the Crystal: Side-Channel Analysis of Dilithium in Hardware
Side-channel analysis of a hardware Dilithium implementation: profiled SPA on the first NTT stage and CPA recover secret coefficients, plus countermeasures that block both.
Schemes: CRYSTALS-Dilithium, ML-DSA
Findings (quotes checked against the source text)
-
Hardware Dilithium implementations had not been analyzed for side-channel weaknesses before this work; the paper addresses that gap.
an analysis of Dilithium hardware implementations and their peculiarities has not taken place.
-
A profiled SPA attack targeting the first NTT stage can identify pairs of coefficients, but needs a large profiling set.
Our SPA attack requires 700 000 profiling traces and targets the first Number-Theoretic Transform (NTT) stage.
-
A full CPA attack recovers secret coefficients with as few as 66 000 traces on a recent hardware implementation by Beckwith et al.
The full CPA attack finds secret coefficients with as low as 66 000 traces.
-
The authors propose specific countermeasures and report that they effectively prevent both the SPA and CPA attacks.
In response, we present specific countermeasures and show that they effectively prevent both attacks.
Numbers (as extracted, not quote-checked)
- Profiling traces required for SPA attack: 700 000
- Traces to identify pairs of coefficients after profiling: 1 101
- Traces required for full CPA attack to find secret coefficients: 66 000
For builders
Any hardware Dilithium/ML-DSA signer needs side-channel countermeasures on NTT and secret-dependent operations, not just a correct and fast core.
Limits
Based on the ePrint abstract only; the full text was not read, so attack details, the specific countermeasures, and the target implementation's specifics are unverified.