Join our Newsletter — 33% off our NHI Course
Home› Guides› D3-FV Firmware Verification: Hash Baselines, Attestation and Proving…
Guide SOC & Detection Engineering

D3-FV Firmware Verification: Hash Baselines, Attestation and Proving Firmware Is Untouched

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 12 November 2026 12 min read
On this page

Firmware runs before the operating system and below every endpoint agent, so a tampered or outdated image is invisible to most security tooling unless something checks it on purpose. MITRE D3FEND names that check Firmware Verification (D3-FV) and defines it as "Cryptographically verifying firmware integrity." It sits under the Detect tactic as a child of Platform Monitoring (D3-PM) and has two children of its own: System Firmware Verification (D3-SFV) for BIOS and UEFI, and Peripheral Firmware Verification (D3-PFV) for devices such as disks, network cards and controllers. This card covers the parent technique: how hash-based verification works, which ATT&CK techniques D3FEND relates it to, how to build and run a baseline programme across both firmware classes, and how to prove it works. Platform specifics live in the two child pages. It is written for detection engineers, endpoint and infrastructure teams, and builds on the Firmware and Boot Security Guide.

Key takeaways

  • Verification is comparison. D3FEND describes computing cryptographic hashes of system and peripheral firmware and comparing them with precomputed values for the identified firmware; everything else in the programme exists to make that comparison trustworthy.
  • A mismatch has two meanings. D3FEND says a mismatch may mean tampering or an update to a non-current release, so the same check finds implants and configuration drift.
  • The baseline is the hard part. D3FEND's considerations are hash computation and storage of precomputed hashes; without a maintained, protected reference set the check proves nothing.
  • Do not trust the host to vouch for itself. A compromised machine can lie about its own firmware, so the strongest designs read measurements from a TPM or another root of trust and judge them on a separate server.
  • D3FEND relates it to Pre-OS Boot. The D3FEND page lists inferred relations to System Firmware (T1542.001), Component Firmware (T1542.002) and ROMMONkit (T1542.004).

D3-FV at a glance

AttributeValue
D3FEND IDD3-FV (d3f:FirmwareVerification)
TacticDetect
Parent techniquePlatform Monitoring (D3-PM)
Child techniquesD3-SFV System Firmware Verification; D3-PFV Peripheral Firmware Verification
Digital artefactFirmware (D3FEND relation: verifies Firmware); sub-artefacts System Firmware (also labelled BIOS or UEFI firmware) and Peripheral Firmware
MethodHash the installed image, compare with a precomputed reference
What it detectsTampered firmware, unapproved versions, known vulnerable versions still deployed
EffortMedium: tooling exists, but baselines need ownership across every hardware model
Main limitationOnly as good as the reference set and the trustworthiness of the reading

How it works

D3FEND's description is short: cryptographic hash values are computed for system and peripheral firmware and compared against precomputed hash values for the identified firmware. A mismatch "may indicate that the firmware may have been tampered with or updated with a non-current release indicating a misconfiguration for the system." A working programme has four parts.

  • Identify: know which firmware is present. Each device model, component and firmware version needs its own reference, so the check starts from an inventory down to component level.
  • Reference: build the precomputed hash set. Sources are the vendor's published release hashes or signed release packages, a hash taken from a known good reference unit, or a golden measurement recorded at provisioning. The D3-PFV entry in D3FEND adds that trust baselines need to be generated for specific devices and that changes to trusted configurations must be managed across the enterprise.
  • Measure: read the installed image and hash it. The reading can be taken by software on the host, by the platform during boot into a TPM, or offline by reading the flash chip directly.
  • Compare and respond: compare with the reference and act on mismatches. The D3-SFV entry notes that a failed check typically invokes predefined responses, which may disable some devices or operations.

Who reads the firmware matters

Software running on a compromised host can be fed false data. Microsoft's description of Measured Boot makes the point directly: rootkits hide their presence, so "you can't trust the client to tell you whether it's healthy." With Measured Boot the UEFI firmware stores hashes of the firmware, bootloader and boot drivers in the TPM; the TPM signs the log with a key supplied by an attestation server, and the server decides whether the device is healthy and can grant full or quarantine network access. Microsoft notes this requires UEFI 2.3.1 and a TPM, and that the attestation client and server come from other tools. The same principle applies on any platform: the measurement should come from a root of trust and be judged somewhere the attacker does not control. NIST SP 800-193, which D3FEND cites, frames platform firmware resiliency as protect, detect and recover; D3-FV is the detect part.

ATT&CK techniques D3FEND relates to D3-FV

Relationship type: inferred only. D3FEND lists no hand-made ATT&CK mapping for D3-FV. Its page shows relations inferred through the Firmware artefact and labels them "inferred, experimental" (D3FEND 1.6.0, checked November 2026). Each ID was checked against ATT&CK v20.

ATT&CK IDTechniqueHow D3FEND links itWhat verification catchesChild technique most involved
T1542.001System FirmwareShown on the D3FEND page; technique modifies System FirmwareA BIOS or UEFI image whose hash no longer matches the approved releaseD3-SFV
T1542.002Component FirmwareShown on the D3FEND page; inferred via FirmwareAltered firmware on a disk, network card or other componentD3-PFV
T1542.004ROMMONkitShown on the D3FEND page; inferred via FirmwareA ROM monitor on a network device that differs from the vendor imageD3-SFV pattern applied to network devices
T1495Firmware CorruptionIn the D3FEND ontology: technique modifies FirmwareCorrupted images, if the device can still be readBoth
T1014RootkitIn the D3FEND ontology: technique may modify FirmwareFirmware-resident rootkits that change the imageBoth

The D3FEND page shows the Pre-OS Boot rows under both Persistence and Stealth. The T1495 and T1014 rows come from artefact relations in the D3FEND ontology file. Attacker-side detail is in MITRE ATT&CK T1542 Pre-OS Boot, MITRE ATT&CK T1495 Firmware Corruption and MITRE ATT&CK T1014 Rootkit.

Where it is implemented

Tools and features are listed by class and, where named, alphabetically. Naming is not a recommendation.

Implementation classHow it verifiesStrengthWatch for
Measured boot with remote attestationFirmware and boot components are hashed into TPM registers during boot; a signed log is checked by a server against expected valuesMeasurement comes from the root of trust, not the possibly compromised OSNeeds an attestation service and expected values per model; firmware updates change measurements
Host firmware posture toolsSoftware reads platform protection state and firmware data. The open source fwupd project, for example, reports Host Security ID (HSI) attributes through fwupdmgr security, including org.fwupd.hsi.Tpm.ReconstructionPcr0 (rebuilding PCR0 from the TPM event log) and org.fwupd.hsi.Tpm.EmptyPcr, and its verify-update command updates the stored checksums used by its verify actionRuns across a fleet, gives a repeatable scoreThe reading is taken from the running OS, so pair it with attestation for high-assurance cases
Platform assessment frameworksTools such as the open source CHIPSEC framework acquire firmware and test platform protections from Windows, Linux or the UEFI shellDeep inspection, good for reference units and investigationsCHIPSEC's own documentation says it "should only be used on test systems" and not on production end-user systems
Commercial firmware security platformsAgents or scanners collect firmware data from hosts and check it against reference data; one of the patents D3FEND cites for D3-FV covers monitoring host hardware and firmware for security vulnerabilitiesLarge reference databases across vendors and componentsCoverage of your exact models, data handling of collected images
Offline flash readsThe flash chip is read with external hardware and hashedIndependent of the host; the ground truth in forensicsManual, slow, needs physical access; for investigation, not fleet monitoring

For BIOS and UEFI specifics see D3-SFV System Firmware Verification; for disks, NICs and other components see D3-PFV Peripheral Firmware Verification. Server management controllers need their own treatment, covered in Server BMC Security.

Implementation steps

  1. Inventory to component level. For each hardware model, list system firmware and every peripheral that carries updatable firmware, with current versions. A hardware and firmware bill of materials, as described in the Hardware and Firmware SBOM Guide, is the natural format.
  2. Define the approved set. For each component, record which versions are approved and where each reference hash comes from: vendor release data, a reference unit, or provisioning-time measurement. Store the set in a protected, version-controlled location with change control.
  3. Choose the reading method per class. Use TPM-based measurement and attestation where the platform supports it; use host tooling where it does not; reserve offline reads for investigations and reference units.
  4. Run in report-only mode first. Collect readings for a full update cycle without enforcement. Expect many mismatches at first: most will be unapproved but genuine vendor versions, which is the misconfiguration finding D3FEND describes.
  5. Tie it to change management. Each approved firmware update must add its new reference hash before rollout, otherwise every update looks like tampering.
  6. Add responses in steps. Start with alerts and tickets; later move high-assurance groups to conditional access or network quarantine on attestation failure, as Measured Boot designs allow.
  7. Plan rollback. Keep the previous approved image and its hash available, so a failed update can be reverted without the device falling out of compliance in a way nobody can explain.

How to verify it works

  • Known-bad test: on a lab unit, install an older but genuine vendor firmware version that is not on the approved list, and confirm the mismatch is reported and routed. This tests the pipeline without making a malicious image.
  • Attestation negative test: on a lab unit, change a measured boot setting (for example, turn off Secure Boot) and confirm the attestation server marks the device unhealthy.
  • Coverage audit: compare the device inventory with devices reporting firmware readings in the last 30 days; unreported devices are unverified, not clean.
  • Reference audit: sample the reference set and confirm each hash traces to a recorded source and approval.
MetricExample target (NHI Mgmt Group suggestion, not a standard)Why it matters
Devices with a firmware reading in the last 30 daysOver 95% of in-scope devicesCoverage; unread devices cannot be judged
Readings with a matching reference hashRising, with every gap explainedShows baseline completeness
Unexplained mismatches open longer than 7 daysZeroMismatches are possible implants until proven otherwise
Approved firmware releases with a reference hash before rollout100%Keeps updates from creating noise
Devices running a version on the known vulnerable listTrending downThe configuration value of the same data

Limits, bypasses and failure patterns

  • Trusting a compromised reader: a host-based check on a machine with a firmware rootkit can return the expected hash. Use root of trust measurements and remote judgement where assurance matters.
  • Baselines that lag updates: if reference hashes are added after rollout, analysts learn to ignore mismatches, and a real implant hides in the noise.
  • Whole-image hashes that change for benign reasons: firmware regions such as variable stores change during normal operation; hashing the whole flash blindly gives constant mismatches. Measure the code regions and measurements the platform defines.
  • Peripheral blind spots: many teams verify system firmware only. Components such as disks and network cards also run firmware, which is the gap T1542.002 targets.
  • Verification without recovery: detecting a bad image is half the job. NIST SP 800-193 pairs detection with recovery; know how each model is reflashed from a trusted source, as covered in the Firmware and Bootkit Compromise Playbook.
  • Running test tools in production: deep assessment frameworks are built for test systems, and CHIPSEC's documentation warns against deploying it on production end-user systems because its drivers expose hardware access.

Framework mapping

FrameworkReferenceRelevance
NIST SP 800-53 Rev 5SI-7 Software, Firmware, and Information Integrity; SI-7(1) Integrity Checks; SI-7(9) Verify Boot Process; SI-7(10) Protection of Boot FirmwareThe control family for firmware integrity verification
NIST SP 800-53 Rev 5SR-11 Component Authenticity; CM-14 Signed ComponentsEstablishing that firmware is genuine and approved
NIST SP 800-193Platform Firmware Resiliency GuidelinesProtect, detect and recover model; D3-FV is the detect function
NIST CSF 2.0DE.CM-09; PR.PS-02Monitoring hardware and software; maintaining software and firmware commensurate with risk
MITRE ATT&CK mitigationsM1046 Boot Integrity; M1051 Update SoftwarePreventive partners; see M1046 Boot Integrity
MITRE D3FENDD3-PM, D3-FV, D3-SFV, D3-PFVParent, technique and children

Practitioner checklist

  • Inventory system and peripheral firmware per hardware model, with versions.
  • Keep a protected, change-controlled reference hash set with a recorded source for every entry.
  • Add the reference hash for each approved update before it rolls out.
  • Prefer TPM-based measurement and remote attestation over host self-reporting.
  • Run report-only for a full update cycle before enforcing responses.
  • Treat every unexplained mismatch as a possible implant until investigated.
  • Track devices with no recent reading as unverified.
  • Keep deep assessment tools on test and reference systems.
  • Document how each model is reflashed from a trusted image.

Standards and references

Related NHI Mgmt Group resources: Firmware and Boot Security Guide · D3-SFV System Firmware Verification · D3-PFV Peripheral Firmware Verification · Linux Secure Boot and Shim Guide · MITRE D3FEND Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 12 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.