DPA-Style Attacks on HQC
Develops a chosen-ciphertext DPA-style power attack on HQC that recovers the key from few traces, including against first-order masked implementations.
Schemes: HQC
Findings (quotes checked against the source text)
-
A chosen-ciphertext DPA-style attack targets the intermediate value v xor (u y) over F2[x]/(x^n-1) and recovers the full HQC key in noiseless simulation.
In noiseless simulations, full-key recovery is achieved with just (10) traces, and the required number of traces increases linearly with 1/SNR.
-
On an STM32F4 microcontroller the secret key is recovered with 50 traces without profiling and 20 with profiling.
In practical evaluations on an STM32F4 microcontroller, the secret key can be recovered with (50) traces without profiling and (20) traces with profiling.
-
First-order masking does not stop the attack; second-order features still allow key recovery, at roughly 3000 traces without profiling.
When first-order masking is applied, key recovery on the same hardware target remains feasible by exploiting second-order features, requiring approximately (3{,}000) traces without profiling.
-
The authors conclude higher-order masking is needed for HQC implementations.
emphasizing the necessity of higher-order masking countermeasures for HQC implementations.
Numbers (as extracted, not quote-checked)
- Traces for full-key recovery, noiseless simulation: 10 traces
- Traces for key recovery on STM32F4, no profiling: 50 traces
- Traces for key recovery on STM32F4, with profiling: 20 traces
- Traces for key recovery against first-order masked HQC, no profiling (approx.): 3000 traces
For builders
If HQC is used as the KEM in a chain or wallet stack, budget for higher-order masking and side-channel testing on any device that decapsulates keys.
Limits
Based on the ePrint abstract only, since the full text was not available; results are on an STM32F4 with specific setups and the attack needs chosen-ciphertext access.