Hypervisor Hardening
Cheat sheet · https://pcornel.dk/topic.php?topic=5057
Answer
Hypervisor hardening applies vendor security guides to hosts: minimal installation, disabled SSH and shell when not needed, lockdown mode, Secure Boot, strong passwords, NTP, remote logging and firmware updates.
Remember
- Disable SSH and shell when not needed.
- Enable lockdown mode.
- Send logs to a remote server.
First checks
- Vendor hardening guide compliance (VMware SCG, Proxmox, Hyper-V baseline) — baseline
- Disabled unused services (SSH, shell, SLP) — reduced surface
- NTP and syslog configured — operations
Commands
esxcli system settings advanced list -o /UserVars/ESXiShellTimeOut
Verify in this order
baseline → host config → compliance check
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=5057