A Key-Recovery Side-Channel Attack on Classic McEliece
Key-recovery power side-channel attack on Classic McEliece decryption via leakage in the additive FFT, recovering the secret permutation one entry at a time.
Schemes: Classic McEliece
Findings (quotes checked against the source text)
-
The attack submits special single-error ciphertexts so decoding touches only one entry of the secret permutation, and leakage in the additive FFT reveals that entry.
Our novel idea is to design an attack algorithm where we submit special ciphertexts to the decryption oracle that correspond to cases of single errors.
-
Repeating the single-entry recovery over all entries yields full secret key recovery.
Reiterating this for other entries leads to full secret key recovery.
-
A machine-learning classifier recovers the error locator polynomial from a single power trace.
We use a machine-learning-based classification algorithm to determine the error locator polynomial from a single trace.
-
The attack works on both an FPGA reference implementation and an ARM Cortex-M4 software implementation, evaluated in ChipWhisperer.
The attack is fully implemented and evaluated in the Chipwhisperer framework and is successful in practice.
Numbers (as extracted, not quote-checked)
- Traces for partial key recovery, smallest parameter set, FPGA: about 300 traces
- Traces for full key recovery, smallest parameter set, FPGA: less than 800 traces
- Traces on ARM Cortex-M4 software implementation: A similar number of traces (approx. the FPGA figures)
For builders
If deploying Classic McEliece in a chain or wallet, treat decapsulation on embedded or hardware-exposed devices as needing side-channel countermeasures, not just the algorithm's IND-CCA security.
Limits
Based on the ePrint abstract only; the full text was not read. Attack needs physical power measurements and a decryption oracle, so it targets devices, not on-chain verification.