How to Backdoor (Classic) McEliece and How to Guard Against Backdoors
Shows how to backdoor Classic McEliece keygen so backdoored public keys look normal but leak the secret key, and how storing the seed delta guards against it.
Schemes: Classic McEliece, McEliece
Findings (quotes checked against the source text)
-
A backdoored McEliece public key is indistinguishable from a normal one yet lets the holder efficiently recover the secret key via an encrypted seed.
We show how to backdoor the McEliece cryptosystem such that a backdoored public key is indistinguishable from a usual public key, but allows to efficiently retrieve the underlying secret key.
-
The backdoor can be protected with McEliece itself, giving it post-quantum security guarantees.
Interestingly, McEliece can be used itself to encrypt 𝛅, thereby protecting our backdoor mechanism with strong post-quantum security guarantees.
-
The construction also applies to the Classic McEliece NIST proposal when secret keys are non-compressed.
Our construction also works for the current Classic McEliece NIST standard proposal for non-compressed secret keys, and therefore opens the door for widespread maliciously backdoored implementations.
-
Owners can detect the backdoor if the seed delta is stored after key generation, as the Classic McEliece spec requires.
Fortunately, our backdoor mechanism can be detected by the owner of the (backdoored) secret key if 𝛅 is stored after key generation as specified by the Classic McEliece proposal.
For builders
Derive or verify KEM keys from a stored seed and check the generated public key against the seed so a backdoored keygen cannot hide.
Limits
Abstract-only extract; full text not read. Attack targets keygen implementations; the detection defense assumes the owner stores the seed delta.
Topics: kem implementation-sidechannel standards-policy cryptanalysis