News for hackers. Stuff that matters.
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by userbinator on Friday January 05, 2018 @03:22PM (#16081345)
AMD PSP is basically their equivalent to Intel's ME, so this is not surprising... but then it says

This function is called from TPM2_CreatePrimary with user controlled data - a DER encoded [6] endorsement key (EK) certificate stored in the NV storage.

If I understand correctly, this is related to SecureBoot and to do such operations with the keys and certificates, the user has to have physical access to the BIOS/UEFI setup already, correct?

Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by mtgx on Friday January 05, 2018 @03:53PM (#16081532)
The PSP is already quite long in the tooth. I think AMD will switch to ARM's recently announced "SecurCore" soon, just like Qualcomm did for the Snapdragon 845:

https://developer.arm.com/products/processors/cortex-m/sc300...

Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by iancarroll on Sunday January 07, 2018 @06:59PM (#16093586)
That "processor" has been out for at least ten years.
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by mjg59 on Friday January 05, 2018 @04:08PM (#16081653)
It's not related to Secure Boot, no, so there's no requirement for physical access.
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by jkolem2 on Friday January 05, 2018 @03:29PM (#16081391)
I think Intel's ME is much more complex than AMD's PSP. Does anyone know if AMD's PSP has a full network stack and the ability to interact with network hardware independent of the main CPU's OS?
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by dogma1138 on Friday January 05, 2018 @03:50PM (#16081516)
Yes, AMD's PSP runs a full OS which was made by Trustonic.
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by krylon on Friday January 05, 2018 @06:08PM (#16082591)
It must feel weird to create an operating system that runs on a CPU inside a bigger CPU.
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by dogma1138 on Friday January 05, 2018 @08:05PM (#16083164)
Technically if you count virtual machines as CPUs then every piece of Javascript etc. code runs in a CPU inside a CPU :P
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by kakarot on Friday January 05, 2018 @04:37PM (#16081914)
Trustonic is about as trustworthy a name as "Safecorp" or something similar. The name itself is just one big red flag.
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by dogma1138 on Friday January 05, 2018 @04:46PM (#16081984)
They are probably the largest TEE* supplier AFIK even bigger than Intel; they are pretty much the Java of the TEE world.

It’s a joint venture between ARM, Gemalto and a few other companies iirc.

*Trusted Execution Environment

Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by kakarot on Friday January 05, 2018 @06:44PM (#16082770)
Ahhh, okay. Thanks for the clarification!
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by moosingin3space on Friday January 05, 2018 @03:33PM (#16081422)
I had read somewhere that AMD PSP does not have Internet access.
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by dogma1138 on Friday January 05, 2018 @03:46PM (#16081493)
It does, DASH is also arguably much less secure than Intel's RMT.
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by moosingin3space on Friday January 05, 2018 @04:21PM (#16081751)
Hmm, I did not know this. Good to know!
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by rnhmjoj on Friday January 05, 2018 @06:38PM (#16082745)
Is there a documentation of what its capabilities are? I can't find anything specific about it.
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by dogma1138 on Friday January 05, 2018 @06:44PM (#16082775)
Of the remote management? Only this https://developer.amd.com/tools-for-dmtf-dash/

AMD hasn't really had any hardware for the enterprise for a long time so they are quite behind on many things.

This is their free remote admin tool : https://community.amd.com/community/devgurus/dmtf-dash/blog/...

It can basically do quite a few things, change firmware, boot an image, redirect USB input and likely quite a few of other undocumented things.

With Ryzen Pro launching soon I guess AMD would release a new suite of remote management software.

Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by rnhmjoj on Friday January 05, 2018 @07:19PM (#16082948)
Thank you.
Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by londons_explore on Friday January 05, 2018 @03:27PM (#16081381)
TPM's are supposed to be resistant to physical attacks.

With this flaw, someone can just stick a bootable USB stick in your computer to mirror the LUKS/bitlocker disk drive and get access to the keys in the TPM which protect that drive.

Re:AMD PSP: Firmware TPM Remote Code Execution via Crafted E... by dfox on Friday January 05, 2018 @03:34PM (#16081433)
For discrete TPMs the specification explicitly says that they are not required to be resistant to physical attacks (probably because that would require specifying what kinds of attacks it is supposed to be resistant to).