Live data from Hacker News

AMD: Microcode Signature Verification Vulnerability

github.com

51–60 of 107 posts

Re: AMD: Microcode Signature Verification Vulnerability

#54
post #4

"A test payload for Milan and Genoa CPUs that makes the RDRAND instruction return 4"... Turns out kernel RNG belt-and-suspenders was justified?

Life imitates art: https://imgs.xkcd.com/comics/random_number.png

That's a reference to the PS3's RNG.

Re: AMD: Microcode Signature Verification Vulnerability

#55
post #4

"A test payload for Milan and Genoa CPUs that makes the RDRAND instruction return 4"... Turns out kernel RNG belt-and-suspenders was justified?

Life imitates art: https://imgs.xkcd.com/comics/random_number.png

I realize the OP is explicitly (w/r/t 4) a reference to XKCD, but See Also: Dilbert 2001-10-25 :)

https://web.archive.org/web/20011027002011/http://www.dilber...

https://dilbert-viewer.herokuapp.com/2001-10-25

Re: AMD: Microcode Signature Verification Vulnerability

#57
post #56

Security implications aside, the ability to load custom microcode onto these chips could have fascinating implications for reverse engineering and understanding them better.

Also I’m curious if there’s opportunity for an all out perf variant from home brewers.

Eg. Throw away all spectre mitigations, find all the hacks to get each instructions timing down, etc.

Re: AMD: Microcode Signature Verification Vulnerability

#58

Earlier quoted context omitted.

Intel's theory I believe was that it could become the only source. The argument in favor I think is the same one you are making now: anything that could hack the chip deeply enough to break rdrand is powerful enough to achieve the same goals in another way.

I'm sure Intel loved that idea, given that I don't think RDRAND showed up on AMD chips for 3 years after Intel launched support for it, and that would let them look much better on a number of benchmarks for that duration...

I think you misunderstand where in the pipeline RDRAND would sit. It's not a high-performance RNG, that instruction takes hundreds of cycles and generates a couple bytes of data. It's used to derive keys for the actual CSPRNG providing e.g. /dev/urandom (which is basically a stream cipher). Having or not having RDRAND would have no performance impact on the CSPRNG.

Re: AMD: Microcode Signature Verification Vulnerability

#59
post #2

> we will not be sharing full details at this time in order to give users time to re-establish trust on their confidential-compute workloads. What a load of shit! Confidence is earned, it does not grow back like a weed you stepped on!

With ASUS leaking the fix in a beta bios one could go that route.

Re: AMD: Microcode Signature Verification Vulnerability

#60
post #41
post #11

As an end user, I wonder how my cloud provider can prove to me that they installed AMD's fix and are not simply running a malicious version of the microcode on their CPU that claims to have the fix.

Don't microcode updates require a restart as well.

Microcode updates aren't persistent, they're loaded into on-CPU-SRAM by firmware and/or kernel.
Post reply on HN