Recovering the CTR_DRBG state in 256 traces
Keywords:DPA, SCA, CPA, AES, CTR, PRNG, NIST, DRBG, DDLA
The NIST CTR_DRBG specification prescribes a maximum size on each random number request, limiting the number of encryptions in CTR mode with the same key to 4 096. Jaffe’s attack on AES in CTR mode without knowledge of the nonce from CHES 2007 requires 216 traces, which is safely above this recommendation. In this work, we exhibit an attack that requires only 256 traces, which is well within the NIST limits. We use simulated traces to investigate the success probability as a function of the signal-to-noise ratio. We also demonstrate its success in practice by attacking an AES-CTR implementation on a Cortex-M4 among others and recovering both the key and nonce. Our traces and code are made openly available for reproducibility.
How to Cite
Copyright (c) 2019 Lauren De Meyer
This work is licensed under a Creative Commons Attribution 4.0 International License.