News for hackers. Stuff that matters.
Re:Zentool – AMD Zen Microcode Manipulation Utility by p1mrx on Wednesday March 05, 2025 @05:28PM (#43273579)
> You can use the `resign` command to compensate for the changes you made:

How does that work? Did someone figure out AMD's private keys?

Re:Zentool – AMD Zen Microcode Manipulation Utility by yuriks on Wednesday March 05, 2025 @05:35PM (#43273684)
The intro document mentions

> Here's the thing - the big vendors encrypt and sign their updates so that you cannot run your own microcode. A big discovery recently means that the authentication scheme is a lot weaker than intended, and you can now effectively "jailbreak" your CPU!

But there's no further details. I'd love to know about the specifics too!

Re:Zentool – AMD Zen Microcode Manipulation Utility by taviso on Wednesday March 05, 2025 @05:41PM (#43273745)
They accidentally used the example key from AES-CMAC RFC, the full details are in the accompanying blog post: https://bughunters.google.com/blog/5424842357473280/zen-and-...
Re:Zentool – AMD Zen Microcode Manipulation Utility by timewizard on Wednesday March 05, 2025 @06:46PM (#43274387)
Taking "never roll your own" too far.
Re:Zentool – AMD Zen Microcode Manipulation Utility by RachelF on Thursday March 06, 2025 @01:01AM (#43276880)
Yikes! One would have expected a little more code review or a design review from a hardware manufacturer, especially of security system. A system that people have been worried about since the Pentium FDIV bug.

I guess this one just slipped through the cracks?

Re:Zentool – AMD Zen Microcode Manipulation Utility by garaetjjte on Thursday March 06, 2025 @09:55AM (#43280931)
I suppose the reuse wasn't accidental, but they mistakenly thought the key doesn't matter for CMAC.
Re:Zentool – AMD Zen Microcode Manipulation Utility by bmenrigh on Thursday March 06, 2025 @11:18PM (#43287348)
I feel like using the example key isn’t really the big failure here.

They didn’t need a keyed hash at all, they needed a collision resistant hash.

SHA256 would have eliminated this vuln and it has a hardcoded “key” built into it.

Using a secret key for CMAC would not have been more secure, it would have just meant sophisticated hardware extraction of the key was required before this attack could be mounted.

Re:Zentool – AMD Zen Microcode Manipulation Utility by AHTERIX5000 on Wednesday March 05, 2025 @05:42PM (#43273757)
This work is related to recently found signing weakness and supposedly fake key with resign works with unpatched CPUs.