Paper 2022/362
How to Backdoor (Classic) McEliece and How to Guard Against Backdoors
Abstract
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. For good cryptographic reasons, McEliece uses a small random seed ๐ that generates via some pseudo random generator (PRG) the randomness that determines the secret key. Our backdoor mechanism works by encoding an encryption of ๐ into the public key. Retrieving ๐ then allows to efficiently recover the (backdoored) secret key. Interestingly, McEliece can be used itself to encrypt ๐ , thereby protecting our backdoor mechanism with strong post-quantum security guarantees. 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. 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. Thus, our results provide strong advice for implementers to store ๐ inside the secret key and use ๐ to guard against backdoor mechanisms.
Comments