Security: Difference between revisions

From coreboot
Jump to navigation Jump to search
Line 4: Line 4:


== Free software ==
== Free software ==
=== Security fixes ===
Recently many security issues had to be fixed in the boot firmware. Examples can be found on the coreboot ChangeLogs blog articles.
Recently many security issues had to be fixed in the boot firmware. Examples can be found on the coreboot ChangeLogs blog articles.


Fixes can take months before being available on non-free firwmares, if you are lucky enough to have them.
Fixes can take months before being available on non-free firwmares, if you are lucky enough to have them.
With free software boot fimrwares, security issues can be fixed, and in coreboot many are.
With free software boot fimrwares, security issues can be fixed, and in coreboot many are.
=== Coreboot ===
Note that while coreboot itself is free software, many boards still use blobs. Some however don't require any.


== Common security features ==
== Common security features ==

Revision as of 00:31, 17 January 2016

This page explains how coreboot can help with various security aspects of your system, compared to closed-source, legacy BIOS/EFI/firmware implementations.

This page is work in progress!

Free software

Security fixes

Recently many security issues had to be fixed in the boot firmware. Examples can be found on the coreboot ChangeLogs blog articles.

Fixes can take months before being available on non-free firwmares, if you are lucky enough to have them. With free software boot fimrwares, security issues can be fixed, and in coreboot many are.

Coreboot

Note that while coreboot itself is free software, many boards still use blobs. Some however don't require any.

Common security features

  • Boot password (like BIOS password)
  • Signature verification - option to boot from payload only signed images

Bayou / coreinfo / GRUB2 have "BIOS password"-like feature, using SHA-1 hashes stored in NVRAM or the (flash) ROM chip. GRUB2 can also do signature verification of on-disk operating systems. TianoCore could probably be adapted to support either, too.

Both features are in the payload domain since coreboot doesn't provide a user interface.

  • RAM wiping after each boot

This is not very useful: The most interesting time would be right before power-off, which could be implemented in SMM. Unfortunately a cautious attacker just pulls the plug.


To prevent reading data after a reboot, a payload could be adapted to clean out memory. Using applications that manage sensible data sensibly (ie. wipe after use) is still a better solution.

  • Support booting from encrypted block devices/volumes

GRUB2 can do that.

Current BIOS issues

RAM wiping

SMI issues

ATA issues

Firewire issues

TPM issues