fwupd/plugins/uefi-dbx
Richard Hughes d4bd5cca5a Standardize some of the device summary text
This is supposed to be 'Sentence case' with no trailing fullstop.
2021-07-09 07:07:07 +01:00
..
fuzzing uefi-dbx: Add a plugin that analyses the UEFI dbx variable 2020-05-07 16:59:36 +01:00
dbxtool.1 Do not use help2man to build manual pages 2021-04-11 13:42:04 +01:00
fu-dbxtool.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-efi-image.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-efi-image.h uefi-dbx: Validate the dbx update is safe to apply 2020-08-17 15:59:02 +01:00
fu-plugin-uefi-dbx.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-self-test.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-uefi-dbx-common.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-uefi-dbx-common.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-uefi-dbx-device.c Standardize some of the device summary text 2021-07-09 07:07:07 +01:00
fu-uefi-dbx-device.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
meson.build trivial: Add required dep for dbxtool 2021-06-15 11:45:16 +01:00
README.md Add a new internal flag to opt-in to GUID matching 2021-02-25 15:47:25 +00:00

UEFI dbx Support

Introduction

Updating the UEFI revocation database prevents starting EFI binaries with known security issues, and is typically no longer done from a firmware update due to the risk of the machine being "bricked" if the bootloader is not updated first.

This plugin also checks if the UEFI dbx contains all the most recent revoked checksums. The result will be stored in an security attribute for HSI.

Firmware Format

The daemon will decompress the cabinet archive and extract a firmware blob in EFI_SIGNATURE_LIST format.

See https://www.uefi.org/sites/default/files/resources/UEFI%20Spec%202_6.pdf for details.

This plugin supports the following protocol ID:

  • org.uefi.dbx

GUID Generation

These devices use the GUID constructed of the uppercase SHA256 of the X509 certificates found in the system KEK and optionally the EFI architecture. e.g.

  • UEFI\CRT_{sha256}
  • UEFI\CRT_{sha256}&ARCH_{arch}

...where arch is typically one of IA32, X64, ARM or AA64

Update Behavior

The firmware is deployed when the machine is in normal runtime mode, but it is only activated when the system is restarted.

Vendor ID Security

The vendor ID is hardcoded to UEFI:Microsoft for all devices.

External interface access

This plugin requires:

  • read/write access to /sys/firmware/efi/efivars