Back to Intelligence

CVE-2026-97631: EDK II UEFI Network-Boot RCE Bypasses Secure Boot — Detection and Remediation Guide

SA
Security Arsenal Team
December 1, 2026
10 min read

CVE-2026-97631 is the kind of vulnerability that keeps firmware security teams up at night: a remote code execution flaw in the EDK II (TianoCore) network-boot stack that has been sitting undetected in production firmware for 18 years. Because EDK II is the reference implementation underpinning the UEFI firmware of a massive portion of the x86 server, workstation, and laptop ecosystem — Dell, HPE, Lenovo, Supermicro, countless OEM motherboards, and most cloud hypervisor virtual firmware (OVMF) — the blast radius here is enormous.

What makes this disclosure notable beyond the bug itself is how it was found: AI models at Google and Anthropic independently identified the flaw months before its October 2026 disclosure, according to accounts published by both companies. That should be a wake-up call for every defender. If AI-assisted analysis can surface latent pre-boot vulnerabilities of this vintage and severity, threat actors with access to the same class of tooling will find them too — and they will not be filing coordinated disclosures.

Why This Vulnerability Is Exceptionally Dangerous

An attacker who can reach a machine over the network while it boots can execute code before the operating system loads. In lab conditions, this enables:

  • Secure Boot bypass — the attacker executes in the pre-OS UEFI environment, before Secure Boot's chain of trust hands off to the OS loader.
  • Persistent firmware-level implants — code running at this layer survives OS reinstallation, disk replacement (if flashed to SPI), and virtually every EDR product on the market, because EDR agents don't exist yet at this stage of boot.
  • Total subversion of endpoint telemetry — anything the OS later reports can be forged by an implant below it.

This is the same architectural layer abused by the BlackLotus bootkit, LoJax, MosaicRegressor, and CosmicStrand. The difference: those required local access, OS-level compromise first, or signed-bootloader trickery. CVE-2026-97631 is reachable remotely during the network-boot window, which collapses the attack prerequisites dramatically for any environment where PXE/network boot is enabled.

Technical Analysis

Affected Component

The flaw resides in the network-boot code path of EDK II, the open-source reference implementation of UEFI maintained by the TianoCore project. EDK II code is not shipped to end users directly — it is consumed by Independent BIOS Vendors (IBVs) such as AMI, Insyde, and Phoenix, and by OEMs, who integrate it into their firmware images. It is also the basis of OVMF, the UEFI firmware used by QEMU/KVM virtual machines — which means cloud and virtualization infrastructure is in scope, not just physical hardware.

Affected Platforms (Assess Your Exposure)

  • Physical servers, workstations, and laptops whose firmware derives from EDK II (the overwhelming majority of modern x86-64 UEFI systems)
  • QEMU/KVM virtual machines using OVMF firmware
  • Virtualized infrastructure where network boot (PXE/iPXE) is configured
  • Any system with network boot enabled in the boot order, whether or not it is actively used

Exploitation Requirements

Exploitation requires the attacker to be network-adjacent and able to interact with the target during its boot window — typically by responding to or racing DHCP/PXE discovery, or by delivering malicious network-boot payloads (rogue DHCP options, TFTP-served binaries, or crafted packets against the vulnerable network-boot code). This maps directly to well-understood rogue-PXE and DHCP-spoofing tradecraft (MITRE ATT&CK T1557.002 — Adversary-in-the-Middle: DHCP Spoofing, and T1542 — Pre-OS Boot).

Practical exposure is highest for:

  1. Data centers and imaging networks where PXE boot is deliberately enabled (SCCM/MDT, FOG, MAAS, Foreman).
  2. Flat networks where an attacker with a foothold can position to answer PXE broadcasts.
  3. Virtualization hosts where tenant workloads may influence the network environment of OVMF-based VMs.

Exploitation Status

As of this writing, exploitation has been demonstrated in lab conditions only, with no confirmed in-the-wild exploitation and (at time of publication) no CISA KEV listing. Do not let that create complacency: firmware vulnerabilities of this class historically see weaponization lag measured in months, not years, and the public disclosure — amplified by the AI-discovery storyline — guarantees researcher and adversary attention. Treat this as patch-now, verify-always.

Detection & Response

Pre-boot attacks are, by definition, nearly invisible to OS-level telemetry — there is no EDR agent running when the malicious code executes. Your detection strategy must therefore focus on the surrounding observable layer: anomalous network-boot traffic on the wire, post-compromise tampering with the boot chain from the OS, and firmware/boot-integrity state verification.

SIGMA Detection Rules

The most reliable OS-side indicators of a UEFI/boot-chain compromise attempt are (1) tampering with the EFI System Partition from within the OS, and (2) changes to Secure Boot state. Both are high-signal, low-noise in properly baselined environments.

YAML
---
title: Suspicious Write to EFI System Partition Boot Files
id: 3f8c1a94-7b2e-4d91-a6c3-9e2f4b7d1a05
status: experimental
description: Detects write or modification activity targeting EFI System Partition boot components, consistent with bootkit installation or boot-chain tampering following pre-OS compromise such as CVE-2026-97631.
references:
  - https://thehackernews.com/2026/12/google-and-anthropic-ai-found-18-year.html
  - https://attack.mitre.org/techniques/T1542/
author: Security Arsenal
date: 2026/12/08
tags:
  - attack.persistence
  - attack.defense_evasion
  - attack.t1542
logsource:
  category: file_event
  product: windows
detection:
  selection:
    TargetFilename|contains:
      - '\EFI\Boot\'
      - '\EFI\Microsoft\Boot\'
      - '\EFI\ubuntu\'
      - 'bootmgfw.efi'
      - 'bootx64.efi'
      - 'shimx64.efi'
  filter_legitimate_updaters:
    Image|endswith:
      - '\WindowsUpdate.exe'
      - '\TiWorker.exe'
      - '\TrustedInstaller.exe'
  condition: selection and not 1 of filter_legitimate_updaters
falsepositives:
  - Firmware update utilities from OEM vendors during scheduled patching
  - SCCM/MDT task sequences servicing boot images
level: high
---
title: Secure Boot State Modification Attempt
id: 8a2e5b17-4c9d-4f3a-b821-6d7c9e1f3a42
status: experimental
description: Detects modification of the Secure Boot state registry value, which may indicate an attempt to disable Secure Boot protections following pre-OS code execution or firmware-level compromise.
references:
  - https://thehackernews.com/2026/12/google-and-anthropic-ai-found-18-year.html
  - https://attack.mitre.org/techniques/T1562/
author: Security Arsenal
date: 2026/12/08
tags:
  - attack.defense_evasion
  - attack.t1562.001
  - attack.t1542
logsource:
  category: registry_set
  product: windows
detection:
  selection:
    TargetObject|contains: 'SYSTEM\CurrentControlSet\Control\SecureBoot\State'
  filter_system:
    Image|endswith: '\services.exe'
  condition: selection and not filter_system
falsepositives:
  - Rare; legitimate modification typically occurs only during firmware configuration changes initiated by OEM tooling
level: critical

KQL Hunting (Microsoft Sentinel / Defender)

Because the exploit path is the network-boot window, hunting rogue PXE/DHCP/TFTP activity is your highest-fidelity network-side detection. PXE uses DHCP (UDP 67/68), PXE proxy (UDP 4011), and TFTP (UDP 69). In a well-managed environment, exactly one (or a known small set) of infrastructure servers should ever serve this traffic. Any deviation is an incident until proven otherwise. Combine this with a Secure Boot posture sweep across the fleet.

KQL — Microsoft Sentinel / Defender
// Hunt 1: Rogue PXE/TFTP responders — network-boot traffic involving non-approved servers
// Tune the ApprovedBootServers list to your SCCM/MDT/WDS/FOG/MAAS infrastructure
let ApprovedBootServers = dynamic(["10.10.1.15", "10.10.1.16"]);
DeviceNetworkEvents
| where TimeGenerated > ago(7d)
| where RemotePort in (67, 68, 69, 4011) or LocalPort in (67, 69, 4011)
| where RemoteIP !in (ApprovedBootServers)
| extend SuspectResponder = iff(LocalPort in (67, 4011, 69), LocalIP, RemoteIP)
| summarize FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated), Connections=count(), Devices=dcount(DeviceId)
  by SuspectResponder, DeviceName, RemoteIP, RemotePort
| order by Connections desc;

// Hunt 2: Firewall/CEF-ingested TFTP and PXE traffic (for Linux hosts, network gear, and hypervisors reporting via Syslog/CEF)
CommonSecurityLog
| where TimeGenerated > ago(7d)
| where DestinationPort in (67, 69, 4011)
| summarize Hits=count(), Sources=dcount(SourceIP), Destinations=dcount(DestinationIP)
  by DestinationIP, DestinationPort, DeviceAction
| order by Hits desc;

// Hunt 3: Fleet posture — devices with Secure Boot disabled (highest-risk CVE-2026-97631 targets)
DeviceTvmSecureConfigurationAssessment
| where ConfigurationId in ("scid-2001", "scid-2003")  // Secure Boot configuration assessments
| extend ConfigurationCheck = tostring(parse_json(Context)[0])
| where IsApplicable == 1 and IsCompliant == 0
| summarize Devices=dcount(DeviceId) by ConfigurationName, ConfigurationCheck
| order by Devices desc;

Velociraptor VQL — Firmware and Boot Integrity Triage

When you suspect a host may have been exposed during its boot window, collect firmware version, Secure Boot state, and boot configuration for forensic baselining. Firmware version collection also drives your patch-verification reporting.

VQL — Velociraptor
-- Triage UEFI firmware version, Secure Boot state, and boot configuration
-- Deploy as a hunt across endpoints to identify unpatched EDK II-derived firmware

SELECT * FROM foreach(
  row={
    SELECT SMBIOSBIOSVersion AS BIOSVersion,
           Manufacturer AS BIOSVendor,
           ReleaseDate AS BIOSReleaseDate
    FROM wmi(query="SELECT SMBIOSBIOSVersion, Manufacturer, ReleaseDate FROM Win32_BIOS",
             namespace="ROOT/CIMV2")
  },
  query={
    SELECT BIOSVersion, BIOSVendor, BIOSReleaseDate,
           read_reg_key(accessor="registry",
                        path="HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\SecureBoot\\State",
                        keys="UEFISecureBootEnabled") AS SecureBootState
  })

Posture Verification and Hardening Script

Run this across your Windows fleet (via your RMM, GPO startup script, or Intune) to identify exposure: systems where network boot is prioritized, Secure Boot is off, or firmware is outdated relative to your OEM's patched release.

PowerShell
# CVE-2026-97631 Exposure Assessment — run elevated
$report = [ordered]@{}

# 1. Confirm the system is UEFI (Legacy BIOS is not affected by this class but should be flagged for migration)
$report.FirmwareType = (Get-CimInstance -ClassName Win32_ComputerSystem).BootupState
try { $env:firmware_type = (Get-ComputerInfo).BiosFirmwareType } catch {}

# 2. Secure Boot state — systems with Secure Boot OFF are the softest targets
$report.SecureBootEnabled = try { Confirm-SecureBootUEFI } catch { "Unknown/LegacyBIOS" }

# 3. Firmware inventory for vendor patch mapping
$bios = Get-CimInstance Win32_BIOS
$report.BIOSVersion = $bios.SMBIOSBIOSVersion
$report.BIOSReleaseDate = $bios.ReleaseDate
$report.Manufacturer = (Get-CimInstance Win32_ComputerSystem).Manufacturer
$report.Model = (Get-CimInstance Win32_ComputerSystem).Model

# 4. Measured Boot / TPM presence — attestation is your post-compromise tripwire
$tpm = Get-Tpm -ErrorAction SilentlyContinue
$report.TpmPresent = $tpm.TpmPresent
$report.TpmReady = $tpm.TpmReady

# 5. Flag physical NICs with PXE-capable firmware where network boot may be enabled
$report.PxeCapableNics = (Get-CimInstance Win32_NetworkAdapter |
  Where-Object { $_.PhysicalAdapter -eq $true -and $_.AdapterType -match 'Ethernet' } |
  Select-Object -ExpandProperty Name) -join '; '

# Output for central collection
$report.GetEnumerator() | ForEach-Object { "$($_.Key): $($_.Value)" }

# ACTION: Compare BIOSReleaseDate/BIOSVersion against your OEM's advisory for CVE-2026-97631.
# If SecureBootEnabled is False, remediate immediately and hunt for boot-chain tampering before re-enabling.

Remediation

  1. Patch firmware via your OEM/IBV. EDK II is upstream reference code — the fix must arrive as a firmware update from your hardware vendor (Dell, HPE, Lenovo, AMI, Insyde, etc.) or hypervisor distribution (for OVMF, via your QEMU/KVM or Linux distro packages). Inventory every system's firmware version now and map it against vendor advisories as they publish. Monitor the TianoCore EDK II security advisories and your OEM PSIRT pages for the CVE-2026-97631 fixed-version identifiers.

  2. Disable network boot where it is not operationally required. This is the single highest-value workaround: if PXE/HTTP boot is not in the boot order, the vulnerable code path is not exercised. Audit UEFI boot order across the fleet — you will find network boot enabled by default on far more machines than your imaging team knows about.

  3. Verify Secure Boot is enabled everywhere, and treat any system found with Secure Boot disabled as a forensic lead, not just a configuration drift. An attacker who compromised the pre-boot environment would want it off.

  4. Segment and control boot infrastructure. Restrict which servers can respond to DHCP/PXE (DHCP snooping, port security, authorized-PXE-server enforcement), and alert on any TFTP (UDP 69) or PXE-proxy (UDP 4011) traffic sourced from non-approved hosts. This converts an invisible pre-boot attack into a loud network event.

  5. Enable Measured Boot attestation where available (Windows Device Health Attestation, TPM-based remote attestation for servers). Attestation is currently the only practical way to detect that a system's boot chain deviated from the known-good state.

  6. Prioritize virtualization infrastructure. If your KVM/QEMU estate boots OVMF guests with network boot available, patch hypervisor packages and restrict guest network-boot capability — multi-tenant environments give attackers the network adjacency this bug needs.

  7. Watch for the KEV listing. Given the severity and publicity, expect active-exploitation reporting to develop. If CISA adds CVE-2026-97631 to the Known Exploited Vulnerabilities catalog, the associated BOD 22-01 remediation deadline will apply to federal agencies — and should be treated as your deadline too.

Related Resources

Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.