|
|
|
|
|
by jacquesm
4659 days ago
|
|
This whole discussion about rdrand reminds me of people arguing about what strength the secondary lock on their upstairs back window should be when the downstairs floor has single pane glass windows all around. Even if rdrand is backdoored it would have to be a significant supplier of entropy in the resulting random number for this to be a meaningful attack vector, as soon as you mix it with other (good enough, large enough) sources of entropy you get a situation where some other attack is more likely to be far more feasible than to use the knowledge about some of the bits that rdrand contributes to the entropy pool. Such as: - good old b&e and placing a keylogger or hardware bug
(very easy to hide in a keyboard)
- a compromised bit of the OS
- compromising the application that you use to encrypt your messages or finding a significant weakness in the application.
- doing any of the above with the recipient
|
|
All it has to do is detect the code sequence in question and XOR the output of RDRAND with the randomness from the other entropy sources before returning it. The two XORs cancel out, and this is completely undetectable because there's no way to distinguish between a true random bitstream, a good PRNG, and a good PRNG XORed with data you provided based on the bits themselves.