Re:WannaCry in-memory key recovery for Windows XP
by mikeash on Friday May 19, 2017 @05:15PM
(#14379412)
It depends on how granular your clock is, too. If you seed with a number of seconds then it's pretty easy to brute-force that. If you seed with nanoseconds it'll be a lot harder.
[ Parent
| on HN ]
Re:WannaCry in-memory key recovery for Windows XP
by kaoD on Friday May 19, 2017 @05:32PM
(#14379512)
> If you seed with nanoseconds it'll be a lot harder.
Not really. Or rather, a lot of zero is zero.
Re:WannaCry in-memory key recovery for Windows XP
by mikeash on Friday May 19, 2017 @10:10PM
(#14380684)
Can you elaborate? I'm assuming the nanosecond-precision lock seeding the RNG is based on wall clock time or system uptime, so as long as the clock is actually that precise (and why not, when the base clock signal in the CPU is ticking a couple of times each nanosecond) you'll get that many digits.