Use this when securing the hypervisor host itself.
Hypervisor Security
Hypervisor security keeps the host itself trustworthy: minimal install, timely patches, Secure Boot, disabled unused services like SSH, lockdown mode, and limited admin access, because a host compromise exposes every VM on it.
1. The hypervisor is the isolation boundary — VM escapes are critical.
2. Patch hypervisor and firmware/microcode.
3. Disable unneeded devices (USB, floppy) in VMs.
4. Minimise host software.
5. Follow vendor hardening guides.
VM → virtual devices → hypervisor → host
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
esxcli system version getVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
esxcli system version get
esxcli network firewall ruleset list | grep -i ssh
vim-cmd hostsvc/advopt/view UserVars.ESXiShellTimeOut
On KVM/Proxmox: apt list --upgradable, ss -tlnp for listening services, SSH root login disabled with keys only.
Step 2 Common mistakes Narrow the fault
- Management interfaces on user networks.
- Unpatched hosts (exploited by ransomware groups, e.g. ESXiArgs in 2023).
- Shared root passwords across hosts.
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.
- Run only the services the host needs.
- Apply hypervisor patches promptly.
cat /sys/devices/system/cpu/vulnerabilities/*— CPU side-channel mitigationspveversion -v— Proxmox package versionsesxcli system version get— ESXi build
ReferenceWhy it matters1 section · depth on demand
Guides
| Platform | Guide |
|---|---|
| vSphere | vSphere Security Configuration & Hardening Guide |
| Hyper-V | Microsoft Security Baseline for Windows Server |
| Proxmox/KVM | CIS Debian/Ubuntu/RHEL benchmarks |
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Hypervisor hardening basics:
- Patch hypervisors promptly; VM-escape and management-service CVEs are actively exploited.
- Disable unused services (SSH, ESXi Shell, CIM/SLP, unneeded web UIs); enable lockdown mode on ESXi.
- Enable UEFI Secure Boot on hosts and (ESXi) TPM-based configuration encryption.
- Restrict host management access to an admin network or jump hosts.
- Forward logs to a central SIEM.
esxcli system settings encryption get
esxcli network firewall ruleset list | grep -i true
vim-cmd hostsvc/advopt/view Security.AccountLockFailures
Hardening checklist
- Install only the hypervisor and needed packages.
- Patch hosts and firmware regularly.
- Secure Boot and TPM on hosts.
- Disable SSH/shell when not in use (ESXi), restrict to management network.
- Forward logs to a central syslog.
- Lockdown mode (ESXi) where vCenter manages hosts.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Security → Hypervisor Security. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/125/final · confidence 94%