Skip to content
Misconfiguration Write-up Advanced

Exploring AMD Platform Secure Boot

Many AMD-based laptops did not have Platform Secure Boot (PSB) enabled, and on one model that did, a firmware volume was not covered by the integrity check, allowing an attacker with OS access and a flash write primitive to install persistent firmware implants.

labs.ioactive.com

Published on labs.ioactive.com

In our previous post on platform security (see here) we provided a brief introduction into platform security protections on AMD-based platforms and touched upon the topic of AMD Platform Secure Boot (PSB).

The author, on labs.ioactive.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, vendors either disabled PSB during firmware build or failed to include all firmware volumes in the integrity-checked ranges.

What the attacker needed

OS access; SPI flash write primitive; target system with PSB disabled or misconfigured

The fix

Vendors should enable PSB and ensure all firmware volumes are covered by the integrity check; the text does not state that a fix was applied.

How it was found

  1. Obtain a SPI flash dump from the target system.
  2. Parse the AMD Embedded Firmware Structure to locate the PSP and BIOS directories.
  3. Read the PSB fuse and status registers via the PSP MMIO interface to check configuration.
  4. For a configured system, inspect the Phoenix hash file to see which firmware volumes are protected.
  5. Replace an unprotected DXE driver with a malicious one that disables TSEG protections.
  6. Boot the system to achieve SMM privilege escalation.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Platform Secure Boot is a hardware check that makes sure the first parts of the firmware (the software that starts the computer) are genuine and haven't been tampered with. The researchers found that many laptops simply didn't turn this check on, and one laptop that did had a gap in what it checked, so malicious firmware could still be installed.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.