Pcornel
Virtualization

Security

Cheat sheet · https://pcornel.dk/topic.php?topic=3648

Back to the Topic

Answer

Virtualization security protects the hypervisor, management plane and VMs: patching, hardening, RBAC, isolated management networks, Secure Boot, vTPM and encryption keep one compromised VM or admin account from reaching the rest.

Remember

  • Hypervisor compromise means every VM is compromised.
  • Management network must not share user networks.
  • Snapshots and backups contain secrets too.

First checks

  • cat /sys/devices/system/cpu/vulnerabilities/* — host mitigations
  • pveversion -v / Get-HotFix / esxcli software profile get — patch level
  • ss -ltnp — management exposure

Verify in this order

attacker → management/network → hypervisor → VMs

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/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=3648

Confirmation

Confirm action

Continue?