Default Correct: A New Fault Surface in the Comparison Booleanisation of Kyber-KEM
Shows a single clock glitch on the comparison Booleanisation step of Kyber-KEM's FO transform forces decapsulation to accept any ciphertext, enabling full key recovery, and proposes an integrity-checked Booleanisation countermeasure.
Schemes: Kyber-512, Kyber-768, Kyber-1024, ML-KEM
Findings (quotes checked against the source text)
-
A single sub-instruction clock glitch on the Booleanisation stage forces the mismatch flag to 0, so decapsulation accepts any ciphertext.
Our research reveals that a single sub-instruction clock glitch forces the mismatch flag fail to 0, so decapsulation accepts any ciphertext.
-
The fault succeeds on pqm4, PQClean and reference Kyber implementations at all optimisation levels, even though all carry Xagawa's default-fail cmov ordering.
Crucially, every one of these implementations already carries Xagawa’s default-fail ordering, yet the fault succeeds on all of them
-
The standard plaintext-checking oracle, combined with the accept-everything behaviour, recovers the full secret key of Kyber-512, 768 and 1024 in a single on-device run each.
Leveraging the accept-everything behaviour, we use the standard plaintext-checking oracle and recover the full secret key of Kyber-512, Kyber-768, and Kyber-1024 in a single on-device run each.
-
Proposed countermeasure is an integrity-checked Booleanisation that folds an execution counter into the flag, detecting partial instruction skips at negligible overhead.
we propose a producer-side countermeasure: an integrity-checked Booleanisation that computes the same flag while folding in an execution counter, so that any partial instruction skip is detected, at negligible overhead.
Numbers (as extracted, not quote-checked)
- Target platform: ARM Cortex-M4 on ChipWhisperer-Lite
- Optimisation levels tested: -O0 to -O3
For builders
Any PQ KEM implementation on embedded or physically accessible hardware should protect the ciphertext-comparison Booleanisation with an integrity/counter check, not only the cmov or equality test.
Limits
Demonstrated only on ARM Cortex-M4 with ChipWhisperer-Lite fault injection; requires physical access; based on the ePrint abstract, not the full text, so details are unverified.