Konstas.Engineering Notes
Networking · Cybersecurity · Infrastructure
Virtualization

VMware ESXi Hardening: A 45-Control Security Configuration Assessment

Articles · 2026 · Ioannis (John) Konstas

ESXi hypervisors are the foundation of every virtual infrastructure — and because every workload runs on top of them, a misconfigured host is a single point of failure for your entire security posture. This assessment reviews 45 controls drawn from VMware's Security Configuration Guide, organized into actionable categories with PowerCLI audit and remediation commands for each.


Scope and Assessment Approach

The controls in this guide span authentication, system services, management-plane security, network segmentation, logging, hardware trust mechanisms, and software integrity. Each control is graded by the action required:

PowerCLI commands are provided for both audit and remediation throughout. The latest VMware Security Configuration Guide introduces a priority-based model for remediation: High-priority controls should be remediated immediately via Host Profiles; Medium controls should be reviewed and planned; Strategic controls require hardware coordination or phased rollout.


1. Authentication Controls

IDParameterDesiredDefaultActionRisk
AccountLockFailuresSecurity.AccountLockFailures310ModifyDefault of 10 gives attackers far too many brute-force attempts before lockout.
AccountUnlockTimeSecurity.AccountUnlockTime900 s120 sModify2-minute auto-unlock is too short; raises brute-force risk while still blocking legitimate users.
PasswordHistorySecurity.PasswordHistory50ModifyNo history tracking lets users immediately cycle back to compromised passwords.
PasswordQualityControlSecurity.PasswordQualityControlSite-specificVariesModifyWeak complexity rules allow easily guessable credentials.

2. Service Controls

ServiceKeyDefaultActionRisk
CIM (sfcbd-watchdog)sfcbd-watchdogEnabledDisableExposes hardware/management info; enlarges attack surface.
SLP (slpd)slpdDisabled (patched ESXi 7.0 U3c+); Enabled (older)Disable/AuditUnused discovery service; actively exploited in ESXiArgs ransomware campaign (CVE-2021-21974). VMware changed the default to disabled in ESXi 7.0 U3c and later patches — verify your patch level.
SNMP (snmpd)snmpdStopped (not running by default in ESXi 7.x unless configured)Disable/AuditLeaks host inventory data if community strings are weak or default.
SSH (TSM-SSH)TSM-SSHStoppedAudit/Keep OffInteractive shell; only enable for maintenance windows, then disable immediately.
ESXi Shell (TSM)TSMStoppedAudit/Keep OffLow-level shell access; keep disabled in production at all times.
MOB (enableMob)Config.HostAgent.plugins.solo.enableMobFalseAuditIf enabled, attackers can manipulate internal ESXi APIs.

3. Lockdown Mode & Access Control

Lockdown Mode forces all ESXi management traffic through vCenter, preventing direct host login and circumvention of RBAC. It should be enabled as Normal (not Strict, which disables DCUI entirely) on all production hosts.

Key lockdown mode considerations: - Normal lockdown allows DCUI access for emergency recovery; Strict removes it entirely. - Exception users list should contain only break-glass accounts. - Audit regularly — lockdown mode can be quietly disabled by an administrator with direct host access.


4. Network Controls

ControlParameterDesiredDefaultRisk
Block Guest BPDUNet.BlockGuestBPDU10VM-generated BPDUs can corrupt spanning-tree topology and drop uplinks.
Reject Forged TransmitsvSwitch SecurityPolicyRejectAcceptAllows VMs to spoof MAC addresses and impersonate other devices.
Reject MAC ChangesvSwitch SecurityPolicyRejectAcceptEnables VMs to impersonate other network nodes by changing their MAC.
Disable Promiscuous ModevSwitch SecurityPolicyRejectRejectPromiscuous mode lets VMs capture all traffic on a port group.
dvFilter Bind IPNet.DVFilterBindIpAddressNullNull/SiteIf bound to an untrusted IP, dvfilter can leak or expose traffic.
Firewall — Mgmt Subnets OnlyVMHostFirewallExceptionRestrictedAll IPsOpen firewall allows any host to attempt management-plane access.

5. Logging Controls

ControlParameterDesiredDefaultActionNotes
Log LevelConfig.HostAgent.log.levelinfoinfoAuditKeep at Info. Verbose fills disks; too low misses critical events.
Persistent Log DirSyslog.global.logDir/vmfs/volumes/…[] /scratch (RAM)ModifyIn-memory logs are lost on reboot, destroying the forensic audit trail.
Remote SyslogSyslog.global.logHosttcp://syslog-host:514NoneAddCentral log store prevents tampering and enables SIEM correlation.

6. Shell Timeout Controls

ControlParameterDesiredDefaultAction
Interactive TimeoutUserVars.ESXiShellInteractiveTimeOut600 s0 (none)Modify
Session TimeoutUserVars.ESXiShellTimeOut600 s0 (none)Modify
DCUI TimeoutUserVars.DcuiTimeOut600 s600 sAudit
Suppress Shell WarningUserVars.SuppressShellWarning00Audit
Suppress HT WarningUserVars.SuppressHyperthreadWarning00Audit

7. Hardware Trust & Software Integrity

This category covers controls that require coordination with your hardware and infrastructure teams, or that carry risk during enablement and need phased rollout.

High-priority items: - Enable hardware TPM 2.0 — prerequisite for vSphere Trust Authority and Secure Boot attestation. - Enable Secure Boot on ESXi hosts — prevents unsigned VIBs from loading. - Enable virtual TPM (vTPM) for VMs — required for Windows 11 and enhanced guest OS integrity.

Medium-priority items: - Enable vSphere Trust Authority (vTA) — attested boot chain from hardware to hypervisor. - Review VIB acceptance levels — set to PartnerSupported or VMwareCertified minimum.

Strategic items: - Hardware lifecycle planning — ensure servers remain under vendor support for firmware updates. - Side-channel mitigation review — validate CPU microcode patches for Spectre/Meltdown variants are applied.


8. Protocol Hygiene & Miscellaneous Controls

Additional controls covering protocol-level risk reduction:


Recommended Next Steps

This assessment is most effective when operationalised, not just read. A practical five-step approach:

  1. Baseline audit — run PowerCLI against all hosts to document current deviation from SCG defaults.
  2. Prioritise by risk — address High-priority items first via Host Profiles for consistency.
  3. Test in nested environment — validate changes in a nested ESXi lab before production rollout.
  4. Automate remediation — encode compliant settings into Host Profiles; enforce via vCenter.
  5. Schedule re-assessment — re-audit after every major vSphere upgrade and annually at minimum.

← All articles

Research and direction by Ioannis (John) Konstas; compiled and finalized with AI assistance.

👁· views