Skip to content
WebsiteHosting.com

concept Servers & hardware

UEFI Secure Boot and the boot trust chain

A successful boot-stage check permits one executable under one verifier's signature policy. It does not verify the next handoff or prove that the permitted code will behave safely.

Latest recorded source check · P0214

What it means

When firmware accepts a bootloader under its Secure Boot policy, it permits that particular executable to run. It hasn't established that the loader is free of defects or that the kernel the loader selects will also pass verification.

Read firmware → loader → kernel one arrow at a time. At the first arrow, firmware is the verifier and the loader is the image being checked. At the second, the loader becomes the verifier and the kernel is the image in question. Each decision needs its own policy and evidence.

Try it

The local simulation takes evidence for three hypothetical handoffs: firmware to loader, loader to kernel, and a third next-image decision under a separately declared verifier policy. This is not a mandatory three-stage UEFI sequence. It does not perform cryptography, inspect a device, or authorize a real boot.

UEFI Secure Boot and the boot trust chain

Step through a synthetic signed boot chain with trusted, untrusted and revoked keys; identify the first unsupported transition.

Simulation

Local simulation only: no device, service, stored object or database is changed, and no real operation is authorized.

Modeled outcome: chain passed under policy

Each declared verifier permits its next signed image. This is a chain of scoped decisions, not proof that all subsequent software behavior is safe.

UEFI Secure Boot and the boot trust chain: synthetic scenario inputs

Scenario: Starting example

Each preset replaces all fields. Editing any field preserves the other values exactly, including invalid entries.

First unsupported transition stops the chain

Chain outcome
chain-passed-under-policy
Transitions evaluated
3
Ordered signed-image verification decisions
TransitionSignatureSigner trustRevokedDecision
1validtrustednopermitted
2validtrustednopermitted
3validtrustednopermitted

Evaluated evidence

Signature evidence at three transitions
valid · valid · valid
Signer trust at three transitions
trusted · trusted · trusted
Revocation at three transitions
no · no · no
Verifier policy
declared-signed-chain

Synthetic signed-image policy; no key enrollment, firmware update, bypass, actual cryptography or remote attestation. Different boot stages can implement different policies.

About this model

Every input is local synthetic evidence. Numbers stay as raw text until this model validates them. The shown evaluated values come from the same result as the explanation.

Presets replace the entire scenario. Reset restores all starting fields, scenario selection and model state; it does not change the open or closed state of this help or article FAQ.

No external request, device command, stored-input history or measurement is performed.

With Verifier policy set to declared-signed-chain, the starting inputs are:

  • Signature evidence at three transitions: valid valid valid
  • Signer trust at three transitions: trusted trusted trusted
  • Revocation at three transitions: no no no

Read the first value from each field together: the signature is valid, the signer is trusted by this verifier, and the authorization is not revoked. That permits transition 1. The same conditions hold at transitions 2 and 3, so Transitions evaluated is 3 and Chain outcome is chain-passed-under-policy.

Now keep the signatures and signer trust unchanged, but set Revocation at three transitions to no yes no. Firmware still permits the loader at transition 1. At transition 2, the loader rejects the kernel: the signature is valid and the signer is trusted, but the authorization is revoked. Rejected transition is 2, and Remaining stages is not-evaluated. The third no is an input, not a verdict; the check stopped before it could use that value.

Compare that with no unknown no. The loader now lacks the revocation evidence needed to permit the kernel. The result is unknown, not a known rejection and not a successful chain. A known reason to deny takes precedence over missing evidence at the same handoff: an invalid signature, an untrusted signer, or a known revocation is enough to block the image.

The Reject the second signer preset isolates signer trust: even with a valid signature and no revocation, an untrusted signer blocks transition 2. Inspect the evidence boundary makes that same signer's trust unknown instead, so the simulation stops at transition 2 without a verdict on transition 3.

Each evidence field requires exactly three values separated by single spaces. A malformed list is invalid input, not a failed signature check. Choosing unknown for Verifier policy leaves the chain undetermined. Reset restores the starting inputs and scenario, returns the step and simulated time to zero, and clears errors, history, and the comparison.

In practice

When interpreting a boot record, name the verifier, the next executable, and the allow and revocation rules that applied at that handoff. Don't assume a loader uses the same policy as firmware.

For example, Microsoft's Windows/OEM guidance distinguishes the allowed signature database (db) from the revoked signature database (dbx). If the same image hash appears in both, dbx takes precedence: the image is denied. Microsoft's Azure description gives the same rule for a digest listed in both databases. The simulation takes the revocation result as an input; it neither reads those databases nor changes firmware keys.

Record a successful transition as this verifier permitted this image under this policy. That is a conclusion about one handoff, not a finding about operating system behavior after boot or an attestation report for a remote verifier.

Frequently asked questions

Editorial questions based on the listed sources and explicitly labeled local examples.

Does Secure Boot verify all runtime behavior?

No. The example verifies only the next image at each declared transition. It does not analyze what that code later does, prove the entire operating system correct or inspect runtime applications.

What does revocation change?

In the cited Windows/OEM guidance, a revoked image hash in dbx takes precedence even when it is also allowed in db. The sample likewise stops at a known revoked transition instead of continuing down the chain.

Can a trusted key sign vulnerable software?

A valid trusted signature answers an authorization/integrity question, not a proof that the signed program has no defects. The example’s verifier never analyzes the program for vulnerabilities.

Is this remote attestation?

No. There is no remote verifier, attestation report or measured-boot protocol in this simulation. It only evaluates supplied local trust-policy evidence.

Sources & model boundaries

Primary references used for this explanation. The interactive example is an educational model, not a live check.

  1. Microsoft Secure boot OEM guidance

    Signature Databases and Keys. db/dbx determine allowed/revoked signers or image hashes; a hash present in both is denied by dbx precedence.

    Checked .

  2. Firmware secure boot

    Signature databases; key roles and revocation precedence. Allowed and revoked digest databases are distinct; a digest present in both is denied by revocation precedence.

    Checked .

Report an issue. Include the article URL and ID, not passwords or access keys.