Machine-Learning Side-Channel Attacks on the GALACTICS Constant-Time Implementation of BLISS
Breaks the constant-time GALACTICS BLISS signer with profiled ML power-analysis attacks on Gaussian sampling and sign flips, recovering the full secret key on Cortex-M4.
Schemes: BLISS, BLISS-B, GALACTICS, FACCT
Findings (quotes checked against the source text)
-
A profiled ML power side-channel attack on GALACTICS recovers the full BLISS secret key from roughly 320 signing operations.
The leakage of approx. 320 calls to the signature generation algorithm is
-
A sign-flip-only attack needs far more signatures, with maximum-likelihood key recovery requiring about 250,000.
The approximate needed number of signatures is 250,000.
-
For the CDT sample leakage, an MLP classifier outperforms linear regression in predicting sampled values.
This observation demonstrates that in our case, the usage of MLP is superior to more traditional power analysis methods.
-
The yu=0 classifier needed a heavily weighted loss to reach a very low false-positive rate.
Of the 1,450,492 traces collected from Device B, only 15 were falsely predicted to have yu = 0.
-
The attacker does not need to choose the signed messages, only to trigger signing with a constant secret key.
The attacker does not need to choose the signed messages.
Numbers (as extracted, not quote-checked)
- Signatures needed, attack 1 (all four leakages): approx. 320
- Signatures needed, attack 2 (Bernoulli leakage only): 2000
- Signatures needed, attack 3 (sign-flip indicators, ML key recovery): approx. 250,000
- Sign flip calls per signature generation: 512
- Relative precision of rejection probability polynomial approximation: 45 bits
- Device B traces screened for yu=0 false positives: 1,450,492 traces, 15 false positives
For builders
Constant-time BLISS code can still leak through power analysis of Gaussian sampling and sign flips, so any lattice signer on embedded targets needs power-side-channel testing with profiled attacks, not only timing audits.
Limits
Power attacks on Cortex-M4 need a clone profiling device and physical access. The CDT sampler was modified to remove branches, and the paper covers BLISS only, not NIST-standardized schemes.
Topics: sig-lattice implementation-sidechannel cryptanalysis