Single Trace is All It Takes: Efficient Side-channel Attack on Dilithium
Side-channel attack on Dilithium2 polynomial addition z=y+cs1 on STM32F4 using profiled regression/CNN plus constrained residual analysis to recover the private key s1 from one or two signatures.
Schemes: Dilithium, Dilithium2
Findings (quotes checked against the source text)
-
Full private key s1 can be recovered within ten minutes using just two signatures, with a 60% success rate from a single signature.
showcasing the ability to recover the complete private key, ${s}_1$, within ten minutes using just two signatures and achieving a 60% success rate with a single signature.
-
Linear Regression-based profiled attacks recover the full y value with a 40% success rate without initial filtering.
Employing Linear Regression-based profiled attacks enables the successful recovery of the full $y$ value with a 40% success rate without the necessity for initial filtering.
-
A CNN model improves extraction of cs1 to an average success rate of 75%.
The extraction of ${cs}_1$ is further improved using a CNN model, which boasts an average success rate of 75%.
-
Constrained optimization-based residual analysis recovers s1 even when only 10% of the equations are accurate.
proving effective even when only 10% of the equations are accurate.
-
Practical attack on Dilithium2 on an STM32F4 platform shows typically two signatures suffice for full key recovery.
demonstrating that typically two signatures are sufficient for complete private key recovery, with a single signature sufficing in optimal conditions.
Numbers (as extracted, not quote-checked)
- Time to reconstruct full private key on a general-purpose PC: ten minutes
- Success rate, single-signature key recovery (optimal/average as stated): 60%
- Success rate, linear regression profiled recovery of full y: 40%
- Average success rate, CNN extraction of cs1: 75%
- Fraction of accurate equations under which residual analysis still works: 10%
For builders
Any PQ chain that ships Dilithium on embedded or hardware wallets must add masking and side-channel countermeasures to the signing path, since side-channel leakage alone can expose the secret key.
Limits
Evaluated only on Dilithium2 on an STM32F4 with profiled attacks; the abstract-only text gives no details on countermeasures or other platforms.
Topics: implementation-sidechannel sig-lattice cryptanalysis benchmarks