Side-Channel Attacks on BLISS Lattice-Based Signatures -- Exploiting Branch Tracing Against strongSwan and Electromagnetic Emanations in Microcontrollers
Shows BLISS lattice signatures leak keys via rejection sampling and variable-time Gaussian sampling, with full key recovery by branch tracing in strongSwan and EM analysis on an 8-bit AVR.
Schemes: BLISS, strongSwan
Findings (quotes checked against the source text)
-
Existing rejection sampling implementations leak the relative norm of the BLISS secret key, which can be used to recover the key when the absolute norm is easy to factor.
Existing implementations of that rejection sampling step, which is essential for security, actually leak the ``relative norm'' of the secret key.
-
The BLISS Gaussian sampler in strongSwan is variable time, so branch tracing recovers the full randomness and key from a single signing execution.
The BLISS Gaussian sampling algorithm in strongSwan is intrinsically variable time.
-
Other parts of BLISS signing leak secrets for 100% of keys, not just a subset.
We also show that other parts of the BLISS signing algorithm can leak secrets not just for a subset of secret keys, but for 100% of them.
-
Full key recovery on an 8-bit AVR was achieved from a single electromagnetic trace of the sparse polynomial multiplication, using integer linear programming.
Surprisingly, we manage to obtain a full key recovery in that setting using integer linear programming from a single EMA trace.
For builders
Any lattice signer (BLISS-style) must use constant-time Gaussian sampling and rejection sampling, since variable-time code leaks the full key via branch tracing.
Limits
Based on the ePrint abstract only; full text not read. Attacks target BLISS implementations, and the paper's conclusions do not directly cover ML-DSA or other schemes.
Topics: sig-lattice implementation-sidechannel cryptanalysis