Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Secure Boot

Direct answer

Secure Boot in virtualization security ensures hosts and UEFI VMs boot only signed bootloaders and kernels, blocking bootkits and rootkits that load before the operating system.

When to use this

Use this when hosts and VMs must boot only signed code.

First 30 seconds

1. Secure Boot for hosts and guests blocks bootkits.

2. UEFI guests (Gen2/OVMF).

3. Correct templates for Linux on Hyper-V.

4. Keep DBX updated.

5. Verify after upgrades.

Operational verification

UEFI → signed boot chain → OS

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common problems
  • Unsigned or custom kernel modules failing to load on Linux guests — sign them or enrol a MOK key.
  • Old installation media without Secure Boot support.
  • Converting BIOS VMs to UEFI without converting the disk to GPT.
  • Wrong Secure Boot template on Hyper-V for Linux guests.
Platform / version applicability
Platform and workload security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformPlatform and workload security
Scope / prerequisiteUse this when hosts and VMs must boot only signed code.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checks Verify boundary
  • VM firmware set to UEFI (not BIOS).
  • Guest: Confirm-SecureBootUEFI (Windows) returns True; mokutil --sb-state (Linux) shows enabled.
  • Hyper-V Linux guests use the *Microsoft UEFI Certificate Authority* template.
  • Converting BIOS VMs to UEFI requires changing the disk to GPT first.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Secure Boot requires UEFI.
  • It blocks bootkits and unsigned bootloaders.
  • Unsigned drivers will fail to load.
Key checks
  • mokutil --sb-state — guest Secure Boot
  • Get-VMFirmware <vm> | fl SecureBoot — Hyper-V
  • Host UEFI Secure Boot — hypervisor host
ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Secure Boot ensures that only trusted, signed boot loaders and kernels run when a system starts, preventing bootkits and rootkits from loading before the OS. For VMs, the hypervisor provides UEFI firmware with Secure Boot; for hosts, the physical firmware does.

PlatformSetting
VMwareVM option: EFI firmware + Secure Boot
Hyper-VGeneration 2 VM, Secure Boot template (Microsoft Windows / UEFI CA for Linux)
Proxmox/KVMOVMF firmware with pre-enrolled keys

Linux VMs need the correct template (Microsoft UEFI CA) because their shim is signed by it. Combine Secure Boot with a vTPM to support measured boot, BitLocker and attestation.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Enabling for VMs

PlatformSetting
vSphereVM firmware EFI + "Secure Boot" checkbox
Hyper-VGeneration 2 VM, Secure Boot template (Windows or Microsoft UEFI CA for Linux)
Proxmox/KVMOVMF with pre-enrolled keys (efidisk0 with pre-enrolled-keys=1)

Check inside the guest with Confirm-SecureBootUEFI or mokutil --sb-state.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docPlatform and workload security current

Authoritative/upstream documentation reviewed for bounded claims in Virtualization Security → Secure Boot. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/125/final · confidence 94%
Confirmation

Confirm action

Continue?