Generic Side-channel attacks on CCA-secure lattice-based PKE and KEM schemes
Shows EM side-channel attacks on ECC decoding and the Fujisaki-Okamoto transform break IND-CCA LWE/LWR KEMs and PKEs on Cortex-M4, recovering keys in minutes.
Schemes: LWE/LWR-based PKE/KEMs, Fujisaki-Okamoto transformation, pqm4
Findings (quotes checked against the source text)
-
EM side-channel leaks in the error-correcting codes of LWE/LWR schemes reveal whether decrypted codewords are valid, enabling chosen-ciphertext attacks.
we identified EM-based side-channel vulnerabilities in the error correcting codes (ECC) used in LWE/LWR-based schemes that enable to distinguish the value/validity of the codewords output from the decryption operation.
-
The Fujisaki-Okamoto transformation leaks side-channel information about decrypted messages, affecting lattice schemes even without ECC.
We also identified a similar vulnerability in the Fujisaki-Okamoto transformation which leaks side-channel information about decrypted messages, applicable to multiple lattice-based schemes/variants of schemes that do not use ECC.
-
Attacks are non-profiled and recover full keys in minutes on all targeted schemes.
Our attacks are performed in a non-profiled setting and complete key-recovery could be performed in a matter of minutes on all the targeted schemes, thus showing the ease and effectiveness of our attack.
-
Attacks were validated experimentally on open-source pqm4 implementations running on an ARM Cortex-M4 microcontroller.
We perform experimental validation of our attacks on implementations taken from the open-source pqm4 library, running on the ARM Cortex-M4 microcontroller.
Numbers (as extracted, not quote-checked)
- CCA-secure lattice PKE/KEMs in NIST round 2 affected by the attacks: about six
- Full key-recovery time on targeted schemes (non-profiled, Cortex-M4): a matter of minutes
For builders
Any lattice KEM or PKE in a chain's wallet or validator code needs masked or constant-time ECC decoding and FO re-encryption, because IND-CCA security does not protect against side channels.
Limits
Demonstrated only on pqm4 implementations on ARM Cortex-M4 with EM measurements; abstract gives no signature results and no evaluated countermeasure cost.