Side-Channel Attacks on Lattice-Based KEMs Are Not Prevented by Higher-Order Masking
Shows a side-channel attack that defeats second- and third-order masked Saber KEM implementations by exploiting a flaw in arithmetic-to-Boolean conversion, recovering messages and secret keys.
Schemes: Saber, CRYSTALS-Kyber
Findings (quotes checked against the source text)
-
Higher-order masking of Saber does not stop key recovery: a flaw in the arithmetic-to-Boolean conversion enables attacks on second- and third-order masked implementations.
Our attack exploits a vulnerability in the procedure for the arithmetic to Boolean conversion which we discovered.
-
The attack works on the latest publicly available higher-order masked Saber implementation, with all known vulnerabilities patched.
In our experiments, we use the latest publicly available higher-order masked implementation of Saber KEM in which all known vulnerabilities are patched.
-
The approach transfers across devices: profiling on one device and attacking a different device still succeeds.
we demonstrate successful message and secret key recovery attacks on the second- and third-order masked implementations running on a different device than the profiling one.
-
The technique is claimed to generalize beyond Saber to other lattice-based PKE and KEM schemes, including CRYSTALS-Kyber.
The presented approach is not specific to Saber and can be potentially applied to other lattice-based PKE and KEM algorithms, including CRYSTALS-Kyber which has been recently selected for standardization by NIST.
For builders
Masking alone is not a sufficient side-channel defense for lattice KEM implementations, so budget for vetted, fully reviewed constant-time code and test for leakage on the target device.
Limits
Based on the ePrint abstract only; full text not read. Attack applicability to Kyber is claimed but not demonstrated in this abstract.