Chosen-ciphertext Clustering Attack on CRYSTALS-KYBER using the Side-channel Leakage of Barrett Reduction
Chosen-ciphertext side-channel attack recovering the full CRYSTALS-KYBER secret key by exploiting Barrett Reduction leakage during decapsulation on ARM Cortex-M4.
Schemes: CRYSTALS-KYBER, KYBER512, KYBER768, KYBER1024, pqm4 m4 scheme
Findings (quotes checked against the source text)
-
A chosen-ciphertext attack targeting Barrett Reduction in KYBER decapsulation recovers the entire secret key, unlike prior attacks on inverse NTT or message encoding.
Unlike existing attacks that target operations such as inverse NTT and message encoding/decoding, we target Barrett Reduction in the decapsulation phase of CRYSTALS-KYBER to obtain a secret key.
-
On a Cortex-M4 the attack reaches a 100% success rate using only six chosen ciphertexts for KYBER512 and KYBER768.
The results of experiments conducted on the ARM Cortex-M4 microcontroller accomplish a success rate of 100%. We only need six chosen ciphertexts for KYBER512 and KYBER768 and eight chosen ciphertexts for KYBER1024.
-
The assembly-optimized m4 implementation in the pqm4 library is also vulnerable, requiring six, nine, and twelve chosen ciphertexts for KYBER512, 768, and 1024.
In this scheme, six, nine, and twelve chosen ciphertexts are required for KYBER512, KYBER768, and KYBER1024, respectively.
Numbers (as extracted, not quote-checked)
- Attack success rate on ARM Cortex-M4: 100%
- Chosen ciphertexts needed for KYBER512 and KYBER768 (reference attack): 6
- Chosen ciphertexts needed for KYBER1024 (reference attack): 8
- Chosen ciphertexts needed for KYBER512, KYBER768, KYBER1024 (pqm4 m4 scheme): 6, 9, 12
For builders
Any PQ chain or wallet that runs KYBER on embedded or hardware nodes must use constant-time, side-channel-hardened decapsulation, including reductions like Barrett, not just a correct reference implementation.
Limits
Attack requires physical side-channel measurements on a Cortex-M4 device with chosen-ciphertext queries; the abstract gives no evidence for other platforms or countermeasures.