News for hackers. Stuff that matters.
Re:Cache Attacks on CTR_DRBG by GhettoMaestro on Tuesday September 03, 2019 @03:17PM (#20870095)
As someone who has worked for a decade and a half with various asymmetric and symmetric ciphers and hashes in my field, I am embarrassed to admit that the inner-workings of a RNG/CSPRNG are still a bit cryptic to me.

Slightly off-topic: Would it be near-impossible to have a hardware-level RNG generator that spits out bits at a sufficient enough rate to avoid software-based RNG schemes? My thought is to have a very-very-vetted hardware RNG, and use that as an anchor to build off of.

Re:Cache Attacks on CTR_DRBG by tptacek on Tuesday September 03, 2019 @03:19PM (#20870121)
You mean like RDRAND? They exist, but if they're built into COTS platforms, you have to trust then, and if they're not, you have to do extra work to assure the joinery and handle failure modes.

To break the attack in this paper, you don't even need a hardware RNG; you just need hardware AES, like most modern platforms have (and like most mainstream operating systems use by default).

Re:Cache Attacks on CTR_DRBG by GhettoMaestro on Tuesday September 03, 2019 @04:15PM (#20870707)
Yeah like RDRAND, but not compromised :P.

Suddenly after I read what you typed about RDRAND it clicked to me - you must never fully trust the hardware. Even if you TRUST the HW RNG, what is the harm of combining it into a broader RNG (assuming you know what you are doing).

Thanks for your time.

Re:Cache Attacks on CTR_DRBG by pg_is_a_butt on Tuesday September 03, 2019 @09:41PM (#20873210)
seed the whole system with live bitstream of a video feed trained on a wall full of lava lamps
Re:Cache Attacks on CTR_DRBG by Tomte on Tuesday September 03, 2019 @04:20PM (#20870753)
Software has a very big advantage here: only systematic failures possible, no random failures.

With hardware you have to always worry about some "physical" error, and if the hardware doesn't have sufficient diagnostics, you will never find out in software, because after whitening even a constant zero series from hardware looks indistinguishable from the failure-free output.

Re:Cache Attacks on CTR_DRBG by baybal2 on Tuesday September 03, 2019 @04:37PM (#20870906)
> Would it be near-impossible to have a hardware-level RNG generator that spits out bits at a sufficient enough rate to avoid software-based RNG schemes?

Intel itself ships expensive accelerator cards that have "zero software" in key seed generation capable of generating multiple gigabytes per second of random bits.