Skip to content
0:00 / 0:00

#amdpsp#firmware#reverseengineering

36C3 - Uncover, Understand, Own - Regaining Control Over Your AMD CPU

media.ccc.de

274K subscribers • 57 videos on Hallway • Conference channel

YouTube
  • Recommended by 1 person: 1 on Hacker News.

Advanced. Deep dive for people who know the field.

22K views6 years ago1 recommendation

SecuritySystems programmingReverse engineeringExploits and vulnerabilitiesCPUs and computer architecture

A deep dive into reverse engineering the AMD Platform Security Processor firmware, explaining its structure, boot process, and security implications.

media.ccc.de/v/36c3-10942-uncover_understand_own_-_regaining… The AMD Platform Security Processor (PSP) is a dedicated ARM CPU inside your AMD processor and runs undocumented, proprietary firmware provided by AMD. It is a processor inside your processor that you don't control. It is essential for system startup. In fact, in runs before the main processor is even started and is responsible for bootstrapping all other components. This talk presents our efforts investigating the PSP internals and functionality and how you can better understand it. Our talk is divided into three parts: The first part covers the firmware structure of the PSP and how we analyzed this proprietary firmware. We will demonstrate how to extract and replace individual firmware components of the PSP and how to observe the PSP during boot. The second part covers the functionality of the PSP and how it interacts with other components of the x86 CPU like the DRAM controller or System Management Unit (SMU). We will present our method to gain access to the, otherwise hidden, debug output. The talk concludes with a security analysis of the PSP firmware. We will demonstrate how to provide custom firmare to run on the PSP and introduce our toolchain that helps building custom applications for the PSP. This talk documents the PSP firmware's proprietary filesystem and provides insights into reverse-engineering such a deeply embedded system. It further sheds light on how we might regain trust in AMD CPUs despite the delicate nature of the PSP. Robert Buhren Alexander Eichner Christian Werling fahrplan.events.ccc.de/congress/2019/Fahrplan/events/10942.h…

Why it's here

1 person recommends this

What people say. Highly recommended as an incredible reverse engineering talk on the AMD Platform Security Processor.

TobTobXXon Hacker News • Recommends

On “Ministry of Freedom – GNU+Linux laptops with Libreboot preinstalled”

There's this great talk from a CCC about reverse engeneering the PSP: Uncover, Understand, Own - Regaining Control Over Your AMD CPU link to this video At 47:10, they mention that they haven't found anything evil. Ofc, this isn't hard proof, but if I trust anyone's answer, then it's theirs. (Btw, watch the whole talk, it's nothing short of incredible.)

TobTobXXon Hacker News • Recommends

On “The Framework is the most exciting laptop I've used”

There's this great talk from a CCC about reverse engeneering the PSP: Uncover, Understand, Own - Regaining Control Over Your AMD CPU link to this video At 47:10, they mention that they haven't found anything evil. Ofc, this isn't hard proof, but if I trust anyone's answer, then it's theirs. I think the likelihood of it being malicious is nonzero, but small enough that I'd condemn active backdoors into the realm of conspiracy theories. There's always the possibility of it being exploited by others, but c'mon: Basically ANY other exploit would be way easier to distribute and activate than one in the PSP.

peter_d_shermanon Hacker News • Mentions

On “Uncover, Understand, Own – Regaining Control over Your AMD CPU [video]”

Excerpt: "The AMD Platform Security Processor (PSP) is a dedicated ARM CPU inside your AMD processor and runs undocumented, proprietary firmware provided by AMD. It is a processor inside your processor that you don't control. It is essential for system startup. In fact, in runs before the main processor is even started and is responsible for bootstrapping all other components. This talk presents our efforts investigating the PSP internals and functionality and how you can better understand it. Our talk is divided into three parts: The first part covers the firmware structure of the PSP and how we analyzed this proprietary firmware. We will demonstrate how to extract and replace individual fi…

didericison Hacker News • Mentions

On “I want a computer that I own”

If you’re referring to Intel ME and the AMD PSP, people who have analyzed the PSP seem to think it’s safe: link to this video

garaetjjteon Hacker News • Mentions

On “Libreboot: Freedom-Respecting Boot Firmware”

That's switch for TPM features only. You cannot disable PSP as it is responsible for x86 initialization. link to this video