Security · Virtualization Security
Secure Boot
Cheat sheet · https://pcornel.dk/topic.php?topic=5050
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.
Remember
- Secure Boot requires UEFI.
- It blocks bootkits and unsigned bootloaders.
- Unsigned drivers will fail to load.
First checks
mokutil --sb-state— guest Secure BootGet-VMFirmware <vm> | fl SecureBoot— Hyper-V- Host UEFI Secure Boot — hypervisor host
Verify in this order
UEFI → signed boot chain → OS
Where it usually breaks
First mismatch in platform/workload identity → desired configuration → management/control plane → runtime enforcement → telemetry → workload/resource outcome; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5050