Verify bare-metal Xeon boot integrity by pairing Intel Boot Guard, which cryptographically authenticates the UEFI Boot Block before CPU reset execution, with Intel TXT, which establishes a TPM-measured launch environment via SINIT ACM. Using Linux tboot or TrenchBoot and inspecting TPM 2.0 PCRs detects persistent SPI flash rootkits and firmware tampering.
Quick Answer: Hardware Root of Trust with Intel TXT & Boot Guard
Intel Boot Guard cryptographically verifies the initial UEFI BIOS Boot Block before x86 reset vector execution using fuses burned into the PCH/CPU, while Intel Trusted Execution Technology (TXT) creates a dynamic, TPM-measured launch environment (MLE) via an Authenticated Code Module (ACM). Together, they block persistent SPI flash rootkits and evil-maid firmware tampering on bare-metal Xeon hosts.
Core Silicon & Stack Covered: Intel Boot Guard (Profile 4/5), Intel TXT SINIT ACM, TPM 2.0 PCRs 0-7 & 17-19, Linux tboot / TrenchBoot, txt-stat
Software-only security controls cannot detect persistent rootkits implanted inside SPI flash or early UEFI boot blocks. Anchoring trust in silicon fuses and TPM-measured launch environments protects bare-metal hosts before the operating system loads. Here we cover Boot Guard, Intel TXT, tboot configuration, PCR inspection, and GRUB rollback.
SPI flash implants and evil-maid attacks execute before the Linux kernel boots, evading host-based integrity scanners.
Intel TXT requires platform-specific SINIT Authenticated Code Modules, aligned BIOS policies, and active TPM 2.0 PCR banks.
Configure tboot or TrenchBoot, inspect txt-stat output, and verify TPM PCR 17-19 measurements after every firmware update.
1. How Intel Boot Guard and TXT Anchor the Trust Chain
Modern Intel Xeon Scalable and Xeon 6 platforms separate firmware verification from OS launch verification. Intel Boot Guard executes inside the Converged Security and Management Engine (CSME) or Platform Security Processor before the main x86 cores exit reset. Using a public key hash permanently fused into One-Time Programmable (OTP) Field Programmable Fuses (FPFs), Boot Guard validates the Initial Boot Block (IBB) in SPI flash via an OEM-signed Key Manifest (KM) and Boot Policy Manifest (BPM). If the OEM signature fails in Verified Boot mode (Profile 4 or Profile 5), the CPU halts immediately—preventing unsigned UEFI DXE drivers or malicious SPI implants from running.
Understanding Boot Guard profiles is critical when auditing hardware. Profile 0 disables Boot Guard; Profile 3 enables Measured Boot (extending the IBB hash into PCR 0 without halting); Profile 4 enforces Verified Boot only; and Profile 5 enforces both Verified and Measured Boot. Enterprise server OEMs typically ship Profile 5 on compliance-focused Xeon platforms to block physical SPI programmer tampering.
Once UEFI finishes hardware initialization, Intel TXT takes over via GETSEC[SENTER]. Unlike static BIOS measurements (PCR 0–7), Intel TXT initiates a Dynamic Root of Trust for Measurement (DRTM): the processor quiesces application cores, enables DMA protection via Intel VT-d Protected Memory Regions (PMR/DPR), and loads an Intel-signed SINIT Authenticated Code Module (ACM) into internal CRAM.
The SINIT ACM hashes the Measured Launch Environment (MLE)—typically tboot.gz or a TrenchBoot/Linux kernel stub—and extends those digests into dynamic TPM 2.0 PCRs 17, 18, and 19. Because only SINIT ACM can extend PCR 17 from TPM locality 4, remote attestation servers can verify that the hypervisor or kernel booted on genuine Intel Xeon silicon without intervening rootkits.
Before touching Linux bootloader configs, confirm in your server BMC/UEFI setup that Intel Virtualization Technology (VT-x), Intel VT-d, discrete or firmware TPM 2.0, and Intel TXT are enabled. On dual-socket Xeon Scalable boards, TXT also requires identical CPU stepping across sockets, active ECC scrubbing, and the BIOS ACM in platform flash.
Static vs. Dynamic Root of Trust Handshake
Although Intel TXT establishes a fresh DRTM trust boundary even after Option ROMs execute, pairing Boot Guard Profile 5 with TXT closes pre-boot System Management Mode (SMM) persistence gaps: Boot Guard verifies the UEFI PEI/DXE chain installing SMM handlers, while TXT locks SMRAM before Linux takes control.
2. Configuring tboot and SINIT ACM on Linux Xeon Hosts
On enterprise Linux distributions (RHEL, Rocky Linux, Ubuntu LTS, or Debian), tboot (Trusted Boot) acts as the multiboot2 Measured Launch Environment shim between GRUB2 and the Linux kernel or Xen hypervisor. You must match the SINIT ACM binary (*.BIN) to your exact Xeon generation—for example, Ice Lake-SP, Sapphire Rapids, Emerald Rapids, or Xeon 6 Granite Rapids each ship distinct SINIT ACM packages signed for their specific CPUID family and platform chipset.
# Install tboot and TPM 2.0 user-space tools on RHEL/Rocky or Ubuntu
# RHEL / Rocky Linux:
dnf install -y tboot tpm2-tools
# Ubuntu / Debian:
apt-get update && apt-get install -y tboot tpm2-tools
# Identify your Xeon CPUID stepping to choose the right SINIT ACM
cpuid -1 | grep -iE "family|model|stepping" || lscpu | grep -E "Model|Stepping|Vendor"
# Place the matching Intel SINIT ACM binary in /boot
ls -lh /boot/*SINIT*.BIN
# Example: /boot/SPR_SINIT_v1.18.BIN
After copying the SINIT ACM into /boot, regenerate the GRUB2 configuration so /etc/grub.d/20_linux_tboot emits a multiboot2 entry loading tboot.gz, the Linux kernel, initramfs, and the SINIT ACM module. Notice that 20_linux_tboot automatically detects *SINIT*.BIN files inside /boot and appends a module2 directive for each matching binary. Always keep the standard non-tboot kernel entry in GRUB2 during initial validation so you can recover via IPMI Serial-over-LAN if an ACM version mismatch occurs.
# Inspect /etc/default/grub for tboot kernel arguments
cat /etc/default/grub | grep -E 'GRUB_CMDLINE_TBOOT|GRUB_CMDLINE_LINUX_TBOOT'
# Recommended non-locking logging flags for initial bring-up:
# GRUB_CMDLINE_TBOOT="logging=serial,memory,vga extpol=sha256"
# GRUB_CMDLINE_LINUX_TBOOT="intel_iommu=on iommu=pt"
grub2-mkconfig -o /boot/grub2/grub.cfg # or update-grub on Debian/Ubuntu
# Confirm the generated multiboot2 stanza references tboot.gz and your SINIT BIN
grep -A 12 "tboot" /boot/grub2/grub.cfg | head -n 15
Authoring a Launch Control Policy (LCP) for Enforcement
Out of the box, tboot runs with a default permissive policy that measures the MLE without enforcing a cryptographic whitelist. To enforce strict verification—where the SINIT ACM refuses to boot an altered kernel or tboot.gz—you generate an LCP v2 policy using lcp2_mlehash, lcp2_crtpolelt, and lcp2_crtpollist, then provision the resulting policy hash into TPM 2.0 NV index 0x01400001. In environments shifting toward modern Linux slaunch (TrenchBoot), GRUB2 invokes GETSEC[SENTER] directly into the Linux kernel’s secure launch stub without requiring a separate tboot.gz shim, though tboot remains the standard choice across RHEL 8/9 and Ubuntu 22.04/24.04.
# Compute MLE hash of tboot.gz for Launch Control Policy (LCP) creation
lcp2_mlehash --create --alg sha256 --cmdline "logging=serial,memory,vga extpol=sha256" /boot/tboot.gz > mle.hash
# Build MLE policy element and combine into an unsigned/signed LCP list
lcp2_crtpolelt --create --type mle --alg sha256 --minver 0 --out mle.elt mle.hash
lcp2_crtpollist --create --out list.lst mle.elt
lcp2_crtpol --create --type list --pol lcp.pol --data lcp.data --alg sha256 --ctrl 0x02 list.lst
3. Inspecting TPM 2.0 PCRs, txt-stat, and ACM Signatures
Once the server reboots into the tboot GRUB entry, verify that Intel TXT actually executed a measured launch rather than silently falling back. The txt-stat utility reads the TXT public configuration space and in-memory tboot log, while tpm2_pcrread dumps the SHA-256 PCR banks and rdmsr confirms CPU feature control bits.
# Confirm TXT measured launch succeeded
sudo txt-stat | grep -E "TXT measured launch|secrets flag|SINIT|BIOS ACM"
# Read Static (0-7) and Dynamic DRTM (17-19) TPM 2.0 PCRs
sudo tpm2_pcrread sha256:0,1,2,4,7,17,18,19
# Verify Boot Guard / ME / TXT CPU MSR capability bits
sudo rdmsr -p 0 0x13a # IA32_FEATURE_CONTROL (bit 1 = SENTER global enable)
sudo rdmsr -p 0 0x13b # Boot Guard SACM info MSR (if exposed on host SKU)
Interpreting txt-stat Output and TPM 2.0 PCR Banks
A healthy TXT measured launch returns unmistakable hardware indicators. Look for these specific fields when auditing a bare-metal host:
TXT measured launch: TRUE
secrets flag set: TRUE
SINIT ACM: version 1.18, flags 0x00000000
BIOS ACM: enabled
TBOOT: measured launch succeeded
PCR 17: 9c4f2a... (SINIT ACM + LCP + STM + platform config)
PCR 18: 41b8e0... (tboot.gz MLE executable + cmdline hash)
PCR 19: 77d31c... (Linux vmlinuz + initramfs + kernel cmdline)
If IA32_FEATURE_CONTROL (MSR 0x13a) returns 0x000000000001ff07 or similar with bit 0 (Lock) and bit 1 (Enable VMX inside SMX) and bit 2 (Enable VMX outside SMX) plus bits 15:8 (SENTER local function enables) set, the CPU firmware properly unlocked TXT. Conversely, if bit 1 is 0 and bit 0 is 1, BIOS locked out GETSEC[SENTER] until a UEFI configuration change and cold reset.
When binding disk encryption via clevis-luks-bind, choose your PCR policy carefully. Sealing against PCR 7, 17, and 18 binds your root volume to UEFI Secure Boot state, SINIT ACM, Launch Control Policy, and the tboot binary—allowing normal kernel security patches without breaking auto-unlock, provided you only update kernels inside signed packages. Including PCR 19 guarantees strict kernel and initramfs immutability, but requires resealing LUKS keys during every kernel or initramfs rebuild.
4. Boot Guard vs. Intel TXT vs. UEFI Secure Boot Matrix
Each hardware and firmware integrity layer protects a different stage of the Xeon boot pipeline. Combining all three closes gaps between SPI flash reset and Linux kernel execution:
| Control Layer | Trust Root | Protected Boot Stage | TPM 2.0 PCRs Extended | Failure Action |
|---|---|---|---|---|
| Intel Boot Guard | OTP Silicon Fuses (FPF) | Reset vector & UEFI Initial Boot Block | PCR 0 (via ACM) | Halts CPU or logs measurement |
| UEFI Secure Boot | NVRAM PK / KEK / db | DXE drivers, Option ROMs, GRUB2 | PCR 7 | Blocks unsigned EFI binaries |
| Intel TXT (DRTM) | CPU-signed SINIT ACM | MLE (tboot) & hypervisor/kernel | PCR 17, 18, 19 | TXT-RESET on LCP mismatch |
| LUKS + TPM Sealing | TPM 2.0 NV / PCR Policy | Root filesystem & secrets | Binds to PCR 7, 17, 18 | Refuses unseal; prompts passphrase |
When designing bare-metal attestation, remember that UEFI Secure Boot keys reside in mutable NVRAM, whereas Boot Guard fuses and Intel TXT SINIT ACM signatures are anchored directly in Intel silicon. Even if an administrator or BMC script modifies NVRAM certificates, Boot Guard and TXT record the change in immutable hardware-protected PCR registers.
5. Production Rollout Practices for Measured Boot
Standardize measured boot rollouts across your Xeon fleet using these four operational guardrails:
Pin SINIT ACM to CPU Stepping
Store the exact Intel SINIT ACM binary matching your Xeon CPUID stepping in /boot and track it in configuration management alongside microcode updates.
Use SHA-256 PCR Banks Only
Disable legacy SHA-1 banks in UEFI/tboot (extpol=sha256) to prevent collision-weakness downgrade attacks during remote attestation.
Stage LCP in Measure-Only Mode
Test Launch Control Policy (LCP) updates in Any/Measure mode before enforcing strict hash whitelists so kernel upgrades do not trigger TXT-RESET loops.
Automate Remote Attestation
Ship TPM 2.0 quotes (tpm2_quote) signed by the Endorsement/Attestation Key to a verifier like Keylime before injecting production TLS keys.
Operational Edge Cases During Firmware Maintenance
Three lifecycle events routinely alter PCR digests and require updated attestation policies: BIOS/ME upgrades change static PCR 0/2 and may require a newer SINIT ACM; microcode updates (intel-ucode) modify PCR 17 unless LCP uses signed policy lists; and toggling SR-IOV or PCIe bifurcation shifts UEFI PCI enumeration in PCR 1/2. Always re-baseline Keylime or SPIRE verifier quotes during planned maintenance.
6. Troubleshooting SINIT ACM Failures and GRUB Rollback
If a Xeon server resets immediately during GETSEC[SENTER] or enters a boot loop after a BIOS or kernel update, inspect the TXT error code register (TXT.ERRORCODE at physical address 0xfed30030) on the next non-TXT boot. Common causes include an outdated SINIT ACM binary, disabled VT-d in BIOS, an asymmetric dual-socket microcode patch state, or an uninitialized TPM 2.0 NV index.
# Read TXT.ERRORCODE after a failed TXT boot via standard GRUB entry
sudo txt-stat | grep -i -A 4 "ERRORCODE"
# Decode TXT.ERRORCODE directly from physical memory if tboot did not log
sudo dd if=/dev/mem bs=4 skip=$((0xfed30030 / 4)) count=1 2>/dev/null | od -tx4 -An
# Reset GRUB default back to standard non-tboot Linux kernel immediately
sudo grubby --info=ALL | grep -E "index=|title="
sudo grubby --set-default-index=1
# Clear stale TPM 2.0 secrets flag if BIOS/ACM reports TXT lockup
sudo modprobe tpm_tis && sudo txt-stat | grep "secrets flag"
Pay close attention to the secrets flag (TXT.STS bit 1) after unclean shutdowns: whenever TXT launches, it sets this flag so the BIOS ACM scrubs DRAM on the next boot if the OS crashes unexpectedly. Allow the full BIOS ACM memory scrub cycle to finish rather than power-cycling prematurely via IPMI.
If TXT.ERRORCODE indicates an LCP mismatch after patching your kernel, boot into the fallback standard kernel via IPMI console, regenerate the LCP list using lcp2_mlehash and lcp2_crtpolelt, write the updated policy to TPM NV index 0x01400001, and re-test tboot before restoring it as the default GRUB target.
Related Intel TXT, Boot Guard & Firmware Security Guides
Explore our Intel Xeon Dedicated Server Hosting platform overview, alongside Harden KVM PCIe Passthrough with Intel VT-d and Interrupt Remapping and Profile Memory Bandwidth and Cache Misses via Intel PCM Telemetry.
Frequently Asked Questions
Does Intel Boot Guard prevent installing custom Linux kernels?
No. Boot Guard only verifies the OEM UEFI firmware Initial Boot Block. Once UEFI hands off to GRUB2 and Linux, UEFI Secure Boot and Intel TXT LCP govern kernel verification.
Why does txt-stat show TXT measured launch: FALSE?
This typically means Intel TXT or VT-d is disabled in UEFI BIOS, the SINIT ACM binary in /boot does not match your Xeon CPU family, or the server booted via the non-tboot GRUB entry.
Which TPM 2.0 PCRs are reset by Intel TXT during SENTER?
Intel TXT dynamically resets and extends PCRs 17 through 22 at locality 4 without requiring a full platform power cycle.
Can Intel TXT run alongside Intel TDX or SGX on Xeon Scalable?
Yes. Intel TXT measures the host VMM/kernel launch, while TDX and SGX isolate runtime guest/enclave memory encryption.
Do CPU microcode updates break Intel TXT or Boot Guard attestation?
Boot Guard continues booting normally when OEM BIOS packages match, while Intel TXT updates PCR 17 to reflect the new microcode security version number (SVN). Always refresh your remote attestation golden PCR allowlist or use signed LCP lists when deploying microcode patches.
Deploy Attestable Intel Xeon Bare-Metal Nodes
Launch dedicated Intel Xeon servers with TPM 2.0, Intel VT-d, and full out-of-band IPMI/KVM access to enforce hardware-measured boot across your fleet.
