News for hackers. Stuff that matters.
Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by Covzire on Tuesday September 08, 2020 @10:23PM (#24416185)
What problem is this trying to solve? Is there that much of a black market for data center CPUs?
Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by rasz on Wednesday September 09, 2020 @02:56AM (#24418067)
Its called Secondary market, nothing black about it. https://www.youtube.com/watch?v=TxZ21Q0VSdE
Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by 0zymandiass on Tuesday September 08, 2020 @10:24PM (#24416192)
BIOS (UEFI) level rootkits
Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by im3w1l on Tuesday September 08, 2020 @10:33PM (#24416267)
I managed to get that much from the article but I still feel I'm missing a few pieces here. Are UEFI rootkits an actual concern, like are they common in the wild? Why should the responsibility of detecting them rest with the processor? How is this related to the Secure Encrypted Virtualization?
Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by 0zymandiass on Tuesday September 08, 2020 @10:42PM (#24416343)
There have been a couple in the wild, but they aren't super common.

They've become a bigger concern with UEFI since it has a massive attack surface compared to legacy BIOS.

For a processor sitting in AWS / Azure, they want guarantees, and they're the ones EPYCs are designed for.

The responsibility has to rest with the processor, since it's the only thing executing code prior to UEFI. What it's doing is validating that UEFI was cryptographically signed with the correct key prior to running any UEFI code. When it's first used, it is saving the key for the vendors UEFI implementation and won't allow it to proceed if the root signature ever changes (think something similar to root certs for HTTPS).

It's only relevant to Secure Encrypted Virtualization insofar as they are both implemented inside the PSP which is a separate ARM core that runs at a higher privilege level than the x86 cores (and is the core that actually initializes the x86 cores).

This is how all phones have worked for many years, but apparently it's now becoming a thing in servers too.

Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by im3w1l on Tuesday September 08, 2020 @11:01PM (#24416511)
Oh the UEFI code is run by the main processor.. somehow I had always assumed it was running on some micro-processor on the mobo.
Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by 0zymandiass on Tuesday September 08, 2020 @11:22PM (#24416684)
Ah. Yeah.

The motherboard just loads BIOS/UEFI into a predefined memory address and then starts the CPU

This is a pretty good explanation https://manybutfinite.com/post/how-computers-boot-up/

> In a multi-processor or multi-core system one CPU is dynamically chosen to be the bootstrap processor (BSP) that runs all of the BIOS and kernel initialization code

These days, the "bootstrap processor" is a separate core that your OS can't see. On Intel it's the IME (running Minix) and on AMD it's the PSP (ARM TrustZone)

Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by judge2020 on Tuesday September 08, 2020 @10:42PM (#24416349)
> Are UEFI rootkits an actual concern, like are they common in the wild?

If one segment needs to worry about UEFI rootkits, it's cloud vendors. Very dedicated (nation-state sponsored) attackers could burn/use a zero-day hypervisor escape to installs a UEFI rootkit that tampers with the processor's integrated HSM (as said in the article, tampering with it has already happened and the exploits have been patched by AMD). As I understand it, If a vendor uses full memory encryption, the above exploit could lead to decrypting and exfiltrating other customers' data.

Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by numpad0 on Wednesday September 09, 2020 @05:00AM (#24418898)
Attacker might flash a tampered BIOS from inside a VM makes total sense. It’s surprising how many SPI ROM there can be in a box, and how basically they’re all waiting there to be exploited.
Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by boring_twenties on Tuesday September 08, 2020 @11:59PM (#24416950)
Cloud vendors should be using coreboot, not UEFI.
Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by octoberfranklin on Wednesday September 09, 2020 @05:30AM (#24419104)
Not sure why downvoted. I run blobless coreboot for precisely this reason. My only regret is not being able to find newer x86_64 gear that supports it. OTOH you can still buy in-production arm64 boxes that boot with zero blobs (RK3399).
Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by freeone3000 on Wednesday September 09, 2020 @01:27AM (#24417480)
One of the cloud vendors created UEFI.
Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by boring_twenties on Wednesday September 09, 2020 @01:29AM (#24417493)
Then they know full well how bad it is!

*Jokes aside, I think Intel created UEFI (for Itanium?), not Microsoft?

Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by freeone3000 on Wednesday September 09, 2020 @10:35AM (#24421455)
The consortium has AMD, Intel, and Microsoft listed as contributors, so even if they didn't initially create the thing, they had a hand in it. The executable format used for UEFI is PE, which is telling.
Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by fulafel on Wednesday September 09, 2020 @12:50AM (#24417247)
Their statement says "It is a defense-in-depth feature", so maybe not?
Re:AMD PSB Vendor Locks EPYC CPUs for Enhanced Security at a... by rasz on Wednesday September 09, 2020 @02:57AM (#24418072)
is the think of the children excuse.