Kaspersky Details ESXi Ransomware Attack and Defenses After vCenter Compromise

Summary
Kaspersky describes a 10-day ransomware incident in which attackers used compromised vCenter and valid credentials to access ESXi, establish persistence, disrupt backups and render VMs unavailable. The article details investigative evidence and defensive measures.
Key points
- The investigation found no evidence that ESXi vulnerabilities were used for initial access; attackers reached vCenter using credentials obtained from systems inside the organization.
- Attackers used vCenter Host Profiles to enable SSH on ESXi hosts, then accessed those hosts from the vCenter appliance.
- The attackers established persistence on vCenter using MeshAgent and a Ligolo-ng tunnel configured as a systemd service.
- Backup services and recovery infrastructure were disrupted before the ESXi detonation, limiting restoration capability.
- The article correlates evidence from logs including auth.log, shell.log, vpxa.log and vobd.log to reconstruct activity and identify detection opportunities.
- Recommended defenses include separating virtualization and enterprise credentials, restricting management access, monitoring high-risk configuration changes, and forwarding logs to independent remote storage.
Article Details
- Attack Vectors
- In the investigated incident, credentials obtained from non-virtualization systems were used to access the vCenter Server Appliances; the article reports no evidence that an ESXi vulnerability was the initial access path.
- After compromising a backup system with administrative execution, the adversary extracted stored credentials, creating a route toward other infrastructure tiers.
- The adversary accessed the vCenter appliance over SSH, deployed MeshAgent, and later installed a persistent Ligolo-ng reverse tunnel.
- Using vCenter Host Profiles, the adversary changed TSM-SSH service state to enable direct SSH access to target ESXi hosts.
- The ESXi payload was delivered via SFTP, staged under /tmp, and run for a short self-test before the destructive phase.
- Before ESXi detonation, the adversary disabled antivirus protection on the backup environment, stopped backup services, encrypted recovery infrastructure, and disrupted administrative access.
- As separate vulnerability examples—not as initial access in the investigated incident—the article describes the Twelve group chaining CVE-2021-21972 and CVE-2021-22005 to plant a vCenter web shell and load a backdoor.
- Defensive Notes
- Separate virtualization administration from ordinary enterprise and domain administration; use distinct privileged identities and credentials for ESXi, vCenter, and backup infrastructure.
- Restrict ESXi and vCenter management interfaces to necessary network segments, accounts, and workstations, and monitor privileged sessions and high-risk configuration changes.
- Alert on Host Profile changes that enable TSM or TSM-SSH outside approved windows, especially when followed by SSH from vCenter or another management appliance.
- Monitor for new or modified systemd units and unapproved binaries on VCSA, including VMware-like service names or paths.
- Treat unexpected executable staging under /tmp, followed by execution and access to /vmfs, as a high-priority sequence; correlate SFTP, SSH client identifiers, chmod, and short validation runs.
- Monitor rapid VM power-off or world-kill activity, changes that weaken execInstalledOnly or host acceptance levels, and signs of datastore wiping.
- Protect backup systems as a separate security boundary with independent identities, restricted management paths, and recovery options that do not depend on the production control plane.
- Forward ESXi and vCenter logs to storage outside the virtualization trust domain; preserve key logs and system artifacts before rebooting or remediating.
Indicators of compromise
| Type | Indicator | Context |
|---|---|---|
| DOMAIN | api[.]cloudvflare[.]com | Ligolo-ng C2 domain identified in the VCSA persistence artifact; the article describes it as a one-character typosquat of cloudflare.com. |
| IPV4 | 188[.]240[.]57[.]94 | VPS used for initial portal access in the investigated incident. |
| IPV4 | 31[.]41[.]33[.]212 | VPS used for initial portal access in the investigated incident. |
| IPV4 | 45[.]149[.]154[.]135 | C2 infrastructure used by the remote-management agent in the investigated incident. |
| IPV4 | 91[.]92[.]242[.]121 | VPS used for initial portal access in the investigated incident. |
| SHA1 | 28f8da19ddcdf26e426875c7a834b34a79bc1c33 | Sample-specific hash associated with svhost.exe / lock.exe in the incident indicators. |
| SHA256 | 15dc419b7fbeb50c50820a7cd27997541deafa4fa710f074bb657f0149574baf | Hash identified for the remote-management agent in the incident indicators. |
| SHA256 | 5a9b7a0d3f25757aea957713d7e84cabec87597b3474368328a8fd5ed7a12f78 | Hash identified for an installed remote-management agent variant in the incident indicators. |
MITRE ATT&CK
T1021.004 · SSHThe adversary authenticated to the vCenter appliance as root over SSH and later used SSH to access target ESXi hosts.T1059.004 · Unix ShellShell scripts and shell commands were used to deploy MeshAgent and execute the staged ESXi payload.T1078.002 · Domain AccountsCredentials obtained from non-virtualization systems were used to access the vCenter Server Appliances; the article identifies this as observed enterprise credential use.T1105 · Ingress Tool TransferMeshAgent was fetched and deployed through a shell script, and the ESXi payload was delivered via SFTP.T1486 · Data Encrypted for ImpactThe ransomware phase rendered virtualized workloads unavailable; the article describes destructive operations against VM files on VMFS.T1489 · Service StopBackup services were stopped before ESXi detonation.T1490 · Inhibit System RecoveryThe adversary encrypted recovery infrastructure and disrupted backup and administrative access before the production impact.T1543.002 · Systemd ServiceLigolo-ng was installed as a persistent systemd unit named vmware-vdma.service on the VCSA.T1562.001 · Disable or Modify ToolsThe adversary disabled antivirus protection on the backup environment before the main attack.T1572 · Protocol TunnelingLigolo-ng established a reverse tunnel from the compromised VCSA into the management segment.
CVE
CVE-2021-21972Vendor / Product unavailableFor example, the Twelve group chained CVE-2021-21972 and CVE-2021-22005 to plant a web shell directly on a vCenter appliance, which loaded a backdoor that then established persistence by injecting a shared object intoCVE-2021-22005Vendor / Product unavailableFor example, the Twelve group chained CVE-2021-21972 and CVE-2021-22005 to plant a web shell directly on a vCenter appliance, which loaded a backdoor that then established persistence by injecting a shared object intoCVE-2024-37085vmware · cloud_foundation; vmware · esxiCVE-2024-37085 is a useful illustration of why it is crucial to authenticate to different systems separately even when the hypervisor itself is patched.CVE-2024-40711veeam · backup_\&_replication; Veeam · Backup and RecoveryCVE-2024-40711 is listed in CISA’s KEV database as a vulnerability exploited by ransomware.CVE-2025-23120Veeam · Backup and RecoveryCVE-2025-23120 is more recent and still absent from KEV, but it is worth noting that according to Veeam, it allows RCE, but only affects domain-joined backup servers.
Threat Actors
AkiraAccording to Microsoft, Akira ransomware operators exploited CVE-2024-37085 by abusing ESX Admins group behavior to obtain full ESXi administration.Black BastaAccording to Microsoft, Black Basta ransomware operators exploited CVE-2024-37085 by abusing ESX Admins group behavior to obtain full ESXi administration.blacknevasThe ransom notes identified the attacker in the investigated incident as the BlackNevas group; the article preserves this as the identification in the notes.TwelveThe article reports that the Twelve group chained CVE-2021-21972 and CVE-2021-22005 to plant a web shell on a vCenter appliance and load a backdoor; this is an example unrelated to the investigated incident.
Malware
AvosLockerAvosLocker, RedAlert (aka N13V)BabukIn September 2021, the Babuk ransomware source code was leaked online, including its ESXi version, which made ESXi ransomware accessible to cybercriminals with relatively low technical skills.BlackNevasThe ransom notes identified the attacker as the BlackNevas group, first observed in November 2024.ContiGwisinLocker, LockBit, ContiGwisinLockerGwisinLocker, LockBit, ContiHive ransomwareHive, fcker.pyLockBitWe saw multiple operators using Babuk-derived ESXi lockers along with the leaked LockBit Windows builds.RansomHubRansomHub ESXi buildsRedAlert TrojanAvosLocker, RedAlert (aka N13V)TrigonaInclude system files. This aligns with publicly documented BlackNevas/Trigona family behavior.
Vendors
BroadcomBroadcom states that off-the-shelf security tools designed for general-purpose operating systems cannot run on ESXi without workarounds and that direct installation of third-party agents or antiviruses on ESXi andKasperskyAccording to Kaspersky’s global cybersecurity services report, ransomware accounted for 39.4% of incidents GERT handled in 2025, and the data for the beginning of 2026 shows that it remains a major threat.MicrosoftAccording to Microsoft, it is exploited by ransomware operators, including Akira and Black Basta, abusing the ESX Admins group behavior to obtain full ESXi administration.VeeamTwo recent vulnerabilities in Veeam are a perfect illustration of this.VMwareEvery action taken against ESXi was executed through legitimate VMware management interfaces.
Products
ESXiThe campaign targeted four ESXi hosts, every virtual machine hosted on them, both vCenter Server Appliances, and all connected backup infrastructure.MeshCentralThe first used MeshAgent, the endpoint component of the legitimate MeshCentral remote management platform.Microsoft Active DirectoryActive Directory integration abusevCenter ServerThe campaign targeted four ESXi hosts, every virtual machine hosted on them, both vCenter Server Appliances, and all connected backup infrastructure.vCenter Server Appliance (VCSA)workarounds and that direct installation of third-party agents or antiviruses on ESXi and vCenter Server Appliance (VCSA) is not supported.
