Single-Trace Side-Channel Attacks on CRYSTALS-Dilithium: Myth or Reality?
Single-trace deep-learning power analysis on Dilithium-2 secret key unpacking on Cortex-M4 recovers s1/s2, completing s1 via linear equations or lattice reduction.
Schemes: CRYSTALS-Dilithium, Dilithium-2
Findings (quotes checked against the source text)
-
Single-trace profiled deep-learning power analysis of secret key unpacking recovers coefficients of s1 and s2 on an ARM Cortex-M4 Dilithium-2 implementation.
The side-channel attack exploits information leakage in the secret key unpacking procedure of the signing algorithm to recover the coefficients of the polynomials in the secret key vectors ${\bf s}_1$ and ${\bf s}_2$ by profiled deep learning-assisted power analysis.
-
With t0 known, full s1 recovery from a single trace on a different device succeeds with non-negligible probability; success approaches 100% with multiple traces.
In the attack assuming that ${\bf t}_0$ is known, the probability of successfully recovering the full vector ${\bf s}_1$ from a single trace captured from a different from profiling device is non-negligible (9%).
-
A second variant without t0 knowledge needs a larger portion of s1 recovered by power analysis, with the remainder obtained by lattice reduction.
The second variant waives this requirement. However, to succeed, it needs a larger portion of ${\bf s}_1$ to be recovered by power analysis.
-
The profiling stage of trace capture and neural network training takes under 10 hours.
The profiling stage (trace capture and neural network training) takes less than 10 hours.
-
The authors call for protecting Dilithium secret keys against single-trace attacks and reassessing public key compression of t.
Our results demonstrate the necessity of protecting the secret key of CRYSTALS-Dilithium from single-trace attacks and call for a reassessment of the role of compression of the public key vector ${\bf t}$ in the security of CRYSTALS-Dilithium implementations.
Numbers (as extracted, not quote-checked)
- Single-trace full s1 recovery success probability (t0 known, cross-device): 9%
- Profiling stage duration: less than 10 hours
For builders
Implementations of lattice signers should protect secret-key unpacking against power analysis, since single-trace deep-learning attacks can recover the secret key.
Limits
Abstract-only text; evaluated on one ARM Cortex-M4 Dilithium-2 build; 9% single-trace success is cross-device, and results may not transfer to other platforms or variants.
Topics: implementation-sidechannel sig-lattice threat-model benchmarks