ESXi ransomware: how attackers reach the hypervisor, and the ESXi and vCenter hardening that matters
Eurokommerz, Vienna, since 2006: Private AI/ML · IT Managed Services · Enterprise Training · AI Hardware & Software
- In the attacks CISA, the FBI and Mandiant describe, operators signed in to vCenter with privileged credentials, took root on the hosts, started SSH, powered off the VMs and encrypted the files under /vmfs/volumes, which holds every datastore a host mounts
- Broadcom’s vSphere 8 baseline runs hosts in normal lockdown mode with an empty Exception Users list and keeps SSH and the ESXi Shell stopped, with timeouts of 600 and 900 seconds for the times they are needed
- execInstalledOnly has been on by default as a runtime option since ESXi 8.0, but root can switch it off; the boot option can be enforced in the TPM sealing policy once Secure Boot enforcement is on, and Broadcom’s KB 373898 notes that interpreted scripts are not blocked
- CVE-2024-37085 let an attacker with enough directory permissions gain full access to a joined host by re-creating the ESX Admins group; Broadcom fixed it in ESXi 8.0 Update 3, and KB 369707 gives the settings for older builds
- vCenter belongs on an isolated management network, open only to authorised networks and patched before the hosts; CISA added CVE-2026-59310, a vCenter flaw fixed by VMSA-2026-0006, to its catalogue of known exploited vulnerabilities on 18 August 2026
Eurokommerz × Vixen.UNO: Cyber Resilience Talk to an expert →
How ESXi ransomware works and how to harden ESXi and vCenter
ESXi ransomware encrypts virtual machines from the hypervisor rather than inside each guest. In the cases CISA, the FBI and Mandiant describe below, operators came in with privileged credentials and needed no hypervisor exploit: they signed in to vCenter, took root on the hosts, started SSH, powered off the VMs and encrypted their files on the datastores, stopping every VM on the affected hosts together.
The hardening that matters cuts that path at each step: administrator rights that the production directory cannot hand out, lockdown mode with SSH and the ESXi Shell stopped, execInstalledOnly enforced with Secure Boot and a TPM, an isolated management network, patches from Broadcom’s security advisories, remote logs, and backups whose credentials are kept outside the directory. The settings below come from Broadcom’s vSphere 8.0 security configuration guide, last updated 16 September 2026. Broadcom’s 9.0 documentation of 24 August 2026 describes the same lockdown modes and execInstalledOnly enforcement for ESX 9.
The attack path in CISA, FBI and Mandiant reports
CISA, the FBI and HHS wrote in October 2022 that Daixin Team actors used privileged accounts to reach vCenter and “reset account passwords” for the ESXi servers, then “used SSH to connect to accessible ESXi servers and deploy ransomware”. The encryptor worked on files under /vmfs/volumes/, where ESXi exposes every datastore it mounts, shared datastores included. On 29 July 2025, CISA, the FBI and five partner agencies updated their Scattered Spider advisory: the actors search for vCenter infrastructure and backups and “have been observed encrypting VMware ESXi servers”. According to trusted third parties, they may have used DragonForce ransomware in more recent incidents.
Mandiant’s account of 23 July 2025 describes a mid-2025 campaign by UNC3944, whose activity overlaps with public reporting on Scattered Spider. Posing first as an employee and then as a privileged administrator, the operators had the help desk reset both directory passwords. They signed in to vCenter, opened the vCenter appliance’s console, rebooted it into a root shell through GRUB and changed its root password to enable SSH access. They also copied the directory database from a domain controller’s detached virtual disk. From vCenter they then enabled SSH on the ESXi hosts and reset their root passwords. Over SSH they copied the encryptor to a writable directory such as /tmp, powered off every VM with vim-cmd and encrypted the VM files.
ESXi and vCenter hardening controls and what each one stops
| CONTROL | WHAT IT STOPS | WHERE TO SET IT |
|---|---|---|
| Normal lockdown mode | host sign-ins that bypass vCenter roles and permissions | host security profile in the vSphere Client; empty Exception Users list |
| SSH and ESXi Shell stopped | copying and starting an encryptor over SSH | services TSM-SSH and TSM on “Start and stop manually”; shell timeouts |
| exec | running binaries that did not come in a signed VIB | VMkernel. |
| Acceptance level | installing unsigned Community | image profile at Partner |
| Local admin authorisation | admin rights granted by changing directory groups | ESXi 8.0 Update 3 or KB 369707; local SSO groups for vCenter authorisation |
| Isolated management network | reaching vCenter, ESXi and BMCs from user networks | dedicated management segment; vCenter appliance firewall limited to authorised networks |
| Patches from VMSAs | exploitation of published vCenter and ESXi flaws | each advisory’s response matrix; vCenter first, then the hosts |
| Remote logs | losing the record when host logs are deleted | Syslog. |
| Separate backup credentials | deleting backups with directory credentials | separate MFA-protected security domain or dedicated credentials; immutable repositories |
Broadcom TechDocs, vSphere 8.0 security configuration guide (16 September 2026; hardware controls 17 July 2026); VMSA-2024-0013; KB 369707; Mandiant, 23 July 2025 (backup row).
Our Cyber Resilience assessment covers infrastructure, access and backups and ends with a risk map and a prioritised action plan. Write to us with your ESXi and vCenter versions and the controls above that are still missing.
Directory-joined hosts, ESX Admins and CVE-2024-37085
When an ESXi host joins the domain, Broadcom’s vSphere 8 documentation states, the directory group ESX Admins “is assigned full administrative access to the host if it exists”, so membership of that group is decided by whoever administers the directory. In VMSA-2024-0013 of 25 June 2024, Broadcom published CVE-2024-37085: with sufficient permissions in the directory, an attacker could gain full access to a joined host by re-creating the configured group, ESX Admins by default, after it had been deleted. CISA added the vulnerability to its catalogue of known exploited vulnerabilities on 30 July 2024. Broadcom fixed it in ESXi 8.0 Update 3 and VCF 5.2 and planned no patch for ESXi 7.0 or VCF 4.x.
On older builds, KB 369707 changes three advanced settings, ideally before the host joins the domain, and they apply within a minute without a reboot. Config.
The fix closes this path, but whoever controls the directory still controls any host or vCenter role that takes its members from directory groups. Broadcom’s vCenter baseline says “The vCenter Server must separate authentication and authorization for administrators” and suggests local SSO groups for authorisation. Mandiant advises against joining ESXi hosts directly to the directory. Separate, named administrator accounts complete the design, as our guide to privileged access management explains.
ESXi lockdown mode, SSH and the ESXi Shell
Lockdown mode turns off direct access to a host, so operations go through vCenter roles and permissions; Broadcom’s ESXi 8 baseline is normal lockdown mode, and lockdown is disabled after installation. In normal lockdown mode, Exception Users with administrator privileges and the accounts in DCUI.Access can still use the DCUI, while strict lockdown mode deactivates the DCUI service. According to Broadcom’s lockdown mode behaviour table, the same accounts can use SSH and the ESXi Shell in both lockdown modes while those services run. DCUI.Access holds root by default, so lockdown mode does not close SSH to root; the baseline keeps the Exception Users list empty.
Broadcom warns of “potential loss of administrative access to hosts” and asks for hosts attached to vCenter, with access and exception lists set, before lockdown mode goes on. Because lockdown mode can be deactivated from the vSphere Client, it does not stop an attacker who holds vCenter administrator rights; it limits direct access to the accounts in Exception Users and DCUI.Access.
SSH and the ESXi Shell are stopped by default with the policy “Start and stop manually”, and Broadcom’s 9.0 documentation tells ESX 9 administrators to keep them “deactivated unless you are performing troubleshooting or support activities”. When SSH is needed, the baseline sets UserVars.ESXiShellTimeOut to 600 seconds, which limits how long the services run, and UserVars.
execInstalledOnly, Secure Boot and VIB acceptance levels
Broadcom says execInstalledOnly “helps protect your hosts against ransomware attacks” by letting the VMkernel execute only binaries packaged and signed as part of a valid VIB. Since ESXi 8.0 this runtime option is on by default, but anyone with root can turn it off with one esxcli command on /User/execInstalledOnly.
Broadcom’s baseline also sets the boot option VMkernel.esxcli system settings kernel set and -s execInstalledOnly -v TRUE and, after a reboot, runs esxcli system settings encryption set with --require-secure-boot=TRUE, then with --require-exec-installed-only=TRUE; esxcli system settings encryption get shows the result.
Mandiant wrote that enforced execInstalledOnly “would have directly blocked” the encryptor in the UNC3944 campaign. KB 373898 also says execInstalledOnly does not prevent scripts run through interpreters such as Python, a limitation that exists “up to and including 8.x”. Broadcom warns that Secure Boot with TPM-enforced configuration encryption makes traditional root password recovery unusable, so record the recovery key and check administrator access first.
In Broadcom’s words, the acceptance level “controls what ESXi permits to be installed”. The baseline requires PartnerSupported or higher, also the installation default, at which CommunitySupported packages “are unsigned and are not able to be installed”.
vCenter security hardening, the management network and BMCs
vCenter manages every registered host, and in the cases above its administrator rights reached root on the hosts and on the vCenter appliance. Broadcom’s system design baseline puts virtualisation management interfaces on a dedicated segment without workloads or unrelated systems, reached only by authorised vSphere administrators from authorised workstations. The vCenter baseline limits the appliance firewall to authorised networks, where the default accepts any IP address, and keeps SSH on the appliance deactivated. For BMCs, the hardware baseline asks to deactivate unused functions and access methods and to allow access only from the virtualisation team’s authorised workstations. Our guide to network segmentation and microsegmentation covers the zones and their flows.
VMSA-2026-0006 of 29 July 2026 fixed two critical vCenter flaws that “a malicious actor with network access to vCenter” could exploit. CISA added one of them, CVE-2026-59310 in the vCenter syslog server, to its catalogue of known exploited vulnerabilities on 18 August 2026. The fixed vCenter versions are 9.1.0.0300, 9.0.2.0100, 8.0 U3k and 8.0 U2f. The same advisory fixed CVE-2026-47876, a critical ESX flaw in the VMXNET3 adapter that lets an administrator inside a VM execute code on the host. For CVE-2025-22224, an earlier guest-to-host flaw fixed by VMSA-2025-0004 of 4 March 2025, Broadcom had information to suggest exploitation in the wild.
Broadcom’s baseline says to “update vCenter Server first”, then ESXi. For 7.0, VMSA-2026-0006 refers customers with an extended support contract to Broadcom Support; the dates for 8.x are in our guide to the vSphere 8 end of general support.
Remote logs and backup credentials outside the directory
Broadcom’s vCenter baseline says centralised logging “prevents tampering”. The ESXi baseline sets Syslog.global.logHost to a site-specific collector, and Syslog.
In the campaign Mandiant describes, the backups were gone before the encryption started. The operators had signed in to the backup server with stolen domain administrator credentials, or added an account they controlled to the Veeam Administrators security group in the directory, and deleted every job, snapshot and repository. Mandiant advises a separate, MFA-protected security domain for the backup server and its repositories, or dedicated credentials not joined to the directory, together with immutable repositories. Our guide to the Veeam hardened repository covers the repository side, and the guide to the first 72 hours of ransomware recovery the order of work after an attack.
ESXi hardening checklist for one host
- Compare the host and vCenter builds with the latest VMSA response matrices; patch vCenter first.
- Run
esxcli system settings encryption getand confirm Secure Boot and execInstalledOnly enforcement are on. - Verify the acceptance level (PartnerSupported or higher) and that no CommunitySupported VIBs are installed.
- Check that TSM-SSH and TSM are stopped on “Start and stop manually”, with shell timeouts of 600 and 900 seconds.
- Set normal lockdown mode, keep the Exception Users list empty or document each entry, and leave DCUI.Access at root.
- On a host joined to the directory, run
esxcli system permission listand remove entries that should not hold the Admin role; before 8.0 Update 3, apply KB 369707. - Point Syslog.global.logHost at the remote collector, set Syslog.
global. auditRecord. storageEnable and Syslog. global. auditRecord. remoteEnable to True, and start NTP with the host. - Test that the management interface and the BMC answer only from the management network and the administrators’ workstations.
- Make sure the host’s VMs are in a backup whose administrator credentials are outside the production directory, and note the last test restore.
Our engineering partner Vixen.UNO makes such changes step by step in agreed maintenance windows, with a rollback plan. Tell us how many hosts and vCenter instances you run and which of these checks fail today.
What we do
Under Cyber Resilience, our engineering partner Vixen.UNO audits your security posture across infrastructure, access and backups, and you receive a risk map and a prioritised action plan. The same service builds network segmentation, multi-factor authentication and privileged access management, and Veeam-based backup with a recovery site in Baltneta’s Tier-3 data centres in Lithuania, checked by regular test restores. Under VMware optimisation, Vixen.UNO updates vSphere, vSAN, NSX and VCF in agreed maintenance windows, with a rollback plan at every stage. Eurokommerz holds the contract; the first call is free of charge, and the price of the technical assessment is fixed before work begins.
FAQ
How does ESXi ransomware work?
How do I protect VMware ESXi from ransomware?
What is ESXi lockdown mode?
What does execInstalledOnly do on ESXi?
What is CVE-2024-37085 (ESX Admins)?
How do I harden vCenter against ransomware?
Send us your ESXi and vCenter versions, how administrators sign in to the hosts and to vCenter, whether lockdown mode, SSH and execInstalledOnly are set, and where host logs and backups go. We reply within one business day to arrange a first call, from which you leave with two or three possible solution scenarios. The first call is free of charge.
Talk to an expertWe reply within one business day