Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My unqualified hunch: if they did that, then a mitigation against such malware could be for the OS to serve completely deterministic data from /dev/random for all but a select few processes which are a priori defined.


You can do the same with time though, just return a predefined sequence of timestamps.


And from a "defensive" perspective, if you don't trust any single entropy source, the paranoid solution is to combine multiple sources together rather than to switch to another source.

If it were me, I'd combine urandom (or equivalent), high-res timestamps, and clock jitter (sample the LSB of a fast clock at "fixed" intervals where the interval is a few orders of magnitude slower than the clock resolution), and hash them all together.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: