A Power Side-Channel Attack on the CCA2-Secure HQC KEM
Power side-channel attack on the CCA2-secure HQC KEM: builds a BCH-decoder-correction oracle from power traces to recover most of the secret key, finishing with linear algebra.
Schemes: HQC
Findings (quotes checked against the source text)
-
Power side-channel leakage from the BCH decoder in HQC decryption can be turned into an oracle that reveals whether an error is corrected for a chosen ciphertext, enabling key recovery.
Our attack utilizes a power side-channel to build an oracle that outputs whether the BCH decoder in HQC's decryption algorithm corrects an error for a chosen ciphertext.
-
Queries can be designed so the oracle outputs reveal a large part of the secret key, with the remainder recovered by linear algebra.
Based on the decoding algorithm applied in HQC, it is shown how to design queries such that the output of the oracle allows to retrieve a large part of the secret key.
-
The attack was demonstrated experimentally on the HQC reference implementation on an ARM Cortex-M4 microcontroller.
It is shown in experiments that less than 10000 measurements are sufficient to successfully mount the attack on the HQC reference implementation running on an ARM Cortex-M4 microcontroller.
Numbers (as extracted, not quote-checked)
- Power traces needed for the attack on HQC reference implementation (ARM Cortex-M4): less than 10000 measurements
For builders
If a PQ chain uses HQC or any code-based KEM, the decoder must be implemented with side-channel countermeasures, since leakage from decoding alone can expose the secret key.
Limits
Abstract-only review; attack is physical power side-channel on a microcontroller implementation, not a flaw in HQC's mathematical security; full text not read.