Skip to content

Comment on AMI-Bios Sourcecode and UEFI Signing Key leaked?parent

Comments

"so we can assume that only BIOS setup application can touch BIOS flash"

Nope. Intel (at least) let you program the flash controller so it'll forbid writes from the OS but permit writes from System Management Mode. Load the firmware into RAM, hand a list of addresses to an SMM trap and wait for it to flash it. Entirely secure, as long as you're using signed images.

How is non-SMM code prevented from doing the same stuff this SMM routine does?

The flash controller knows if you're in SMM or not.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.