Our Global Emergency Response Team (GERT) recently investigated an engagement in which an adversary destroyed an organization’s virtualization estate over a 10-day period. The campaign targeted four ESXi hosts, every virtual machine hosted on them, both vCenter Server Appliances, and all connected backup infrastructure. The ransom notes identified the attacker as the BlackNevas group, first observed in November 2024. What’s interesting about this attack is that no virtualization layer vulnerabilities were exploited: no guest-to-host escapes, no hypervisor memory corruption. Every action taken against ESXi was executed through legitimate VMware management interfaces. In 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. At least ten subsequent ransomware families have leveraged this leaked code, including groups that otherwise lacked the expertise to develop ESXi-compatible ransomware lockers from scratch. We saw multiple operators using Babuk-derived ESXi lockers along with the leaked LockBit Windows builds. It is worth noting that while the Babuk ESXi version may target both old and up-to-date systems, the target organizations run unsupported ESXi versions, making them easier to attack.
This article examines why the hypervisor layer remains difficult to monitor, what common access paths adversaries use to reach it, and how they establish persistence on the management plane. We’ll also look into the architecture of ESXi encryptors, the deliberate destruction of backup infrastructure, and the log sources that enable post-incident reconstruction. At the end of this article, we’ll provide indicators of compromise recovered during the investigation.
Ten days of dwell time from initial access to the destructive phase. Timeline reconstructed from incident evidence
Virtualization enables cost-effective and efficient resource management, simplifies simultaneous updates and policy enforcement. However, at the same time it reduces the number of control points and enables broader impact in case of a cyberattack. In non-virtualized environments, a single guest compromise normally affects one operating system. Compromise of the virtualization management plane gives the attacker access to many hypervisor hosts, while direct impact on an ESXi datastore can render many guest systems unavailable at once. This makes the hypervisor layer an attractive target for ransomware operators, especially when domain controllers, application servers, databases, and backup workloads share the same virtualized estate.
According 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. Back in 2023, SentinelOne documented that multiple ransomware families are using ESXi lockers derived from the leaked Babuk source code, which lowered the development barrier for actors who otherwise lacked the necessary expertise to build ESXi-capable samples. This makes ransomware targeting virtualization environments more accessible to a broader range of threat actors, and this trend is still with us.
ESXi is a specialized hypervisor based on VMware’s proprietary VMkernel. It shares certain similarities with Linux (and other Unix-like systems), accepts Linux commands and runs certain Linux-like software, but it is different from general-purpose Linux distributions. Broadcom 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 and vCenter Server Appliance (VCSA) is not supported. Defenders therefore rely heavily on built-in hardening, management-plane telemetry, agentless security solution integrations, and telemetry collection from the infrastructure outside ESXi hosts.
Guest operating systems are usually protected by EDR software, but if an ESXi-side process modifies a virtual machine disk (VMDK) or related datastore file, an EDR agent inside a guest cannot directly observe or attribute the hypervisor process performing the operation. Guest telemetry may record consequences, such as I/O failures or an abrupt shutdown, but the malicious execution occurs outside its boundary. In the engagement examined here, this made host-native and management-plane telemetry central to the incident timeline reconstruction.
There are different routes into the environment that require different controls, but can ultimately provide access to the centralized virtualization management plane and the ESXi hosts it controls. In this article, we’ll look into four main routes that may lead to virtualization infrastructure compromise:
The virtualization trust stack and recurring entry paths
In the incident we analyzed, there was no evidence pointing to an ESXi vulnerability as the initial access path. Nevertheless, public vulnerabilities remain important because they have been used to compromise the virtualization management infrastructure. With the exploits available online, this is one of the most probable entry routes. Below you can find several examples of vulnerabilities affecting virtualization environments that have been seen exploited by the attackers. For 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 into the SSH daemon. Note that these vulnerabilities are not related to the incident in question and they are provided merely as an initial access vector illustration, which could help defenders define their relevant attack surface and prioritize patching activities.
* Known Exploited Vulnerabilities database maintained by CISA. KEV status indicates that exploitation of a vulnerability has been observed in the wild, but does not by itself indicate ransomware use. Where ransomware use is documented, it is stated separately. Neither KEV status nor known exploitation by ransomware actors means that the vulnerability was used in the incident in question.
CVE-2024-37085 is a useful illustration of why it is crucial to authenticate to different systems separately even when the hypervisor itself is patched. The vulnerability affects ESXi hosts configured to use AD for user management. According to Microsoft, it is exploited by ransomware operators, including Akira and Black Basta, abusing the ESX Admins group behavior to obtain full ESXi administration. CISA lists the issue in their KEV catalog and notes that it has been used in ransomware incidents.
The vulnerability is fixed in ESXi 8.0 U3. For older systems, Broadcom recommends the following workaround:
These controls reduce exposure, but the architectural lesson is broader: domain compromise should not automatically allow the adversary to obtain hypervisor admin rights.
Avoid unnecessary direct Active Directory dependency on ESXi hosts. Where business requirements demand it, stick to the principle of least privilege: add only those accounts to administrative groups that really need this level of access, use separate admin accounts with separate credentials for the domain and for hypervisors, restrict access to the ESXi and vCenter management interfaces to only those network segments, accounts and workstations that are necessary to control it, and continuously validate ESXi permission changes. vCenter role-based access control (RBAC) and identity federation should be configured for virtualization administration, while ordinary enterprise credentials and broad domain groups should not be used to access vCenter or ESXi with high privileges.
The third path requires no vulnerability. Administrative credentials present on domain controllers, jump servers, backup systems, identity infrastructure or administrator workstations may provide access to vCenter or ESXi if the same admin accounts are used across different infrastructure segments. MITRE ATT&CK treats the Valid Accounts technique as applicable to ESXi and specifically notes that compromised default or domain accounts can provide privileged access to other systems.
In this incident , credentials obtained from non-virtualization systems inside the organization’s perimeter were used to reach the vCenter Server Appliances. Unlike vulnerability exploitation, successful authentication with a valid account may appear operationally normal. To reliably detect such activity, analysts must therefore evaluate the source host, account history, time, destination, subsequent administrative actions, and whether the authenticated account normally manages virtualization infrastructure.
Backup platforms are not passive storage. They commonly require service accounts, hypervisor credentials, repository access and broad network reach so they can protect and restore critical workloads. This makes the backup server a concentrated trust point. In this incident, the adversary extracted stored credentials after gaining administrative execution on backup infrastructure, creating a route toward other infrastructure tiers.
With the potential risk possibilities explained, let’s go back to our case study. The attackers managed to compromise via SSH the vCenter appliance managing virtualization disaster recovery where they established two layers of persistence. The first used MeshAgent, the endpoint component of the legitimate MeshCentral remote management platform. The second used Ligolo-ng as a reverse tunnel implemented as a systemd service. This activity maps to two ATT&CK techniques: Systemd Service (T1543.002) and Protocol Tunneling (T1572).
The timeline was as follows. The attackers authenticated on the appliance as root via SSH. Forty-three seconds later, they fetched and deployed MeshAgent through a shell script. The SSH session lasted 2 minutes and 26 seconds in total. After it ended, the adversary didn’t use SSH to access the compromised appliance anymore, thus reducing the usefulness of monitoring focused only on interactive SSH sessions. Roughly four hours later, they returned through MeshAgent and installed the Ligolo-ng tunnel as a persistent systemd unit.
VCSA persistence artifact: /etc/systemd/system/vmware-vdma.service
The unit uses a VMware-like prefix, places its binary under /opt/vmware/bin/, describes plausible appliance housekeeping functions, and requests Restart=always. A defender should not treat any unrecognized VMware-looking service as malicious by default, because custom integrations may exist, but a service absent from the list of services the organization defines as trusted is a high-confidence anomaly requiring immediate validation.
Beyond the incident in question, more advanced ESXi persistence techniques have also been documented. For example, Mandiant observed attackers using malicious vSphere Installation Bundles (VIBs) as a persistence mechanism on compromised ESXi hosts. This demonstrates that attackers with administrative access can establish persistent access at the hypervisor layer, including persistence that survives host restarts. However, this incident shows that common remote-management software and a systemd service can be sufficient when vCenter itself is trusted and poorly monitored.
One interesting technique observed in the incident was the use of vCenter Host Profiles. Host Profiles are intended to capture and enforce configuration across ESXi hosts. A Host Profile can be applied to separate hosts, clusters of hosts or all hosts associated with a profile. It also may contain subprofiles covering specific configuration aspects, e.g., authentication. Among other things, Host Profiles may contain configuration for Tech Support Mode (TSM) and TSM-SSH.
In this incident, the adversary used Host Profiles to change TSM-SSH service state to enable SSH on target ESXi hosts. The evidence recorded the following sequence:
Host Profile manipulation sequence observed before direct ESXi access
Note that the 33-second interval between the configuration push and TSM-SSH reaching RUNNING state is short enough for us to be able to quickly correlate these events by comparing logs from different sources. Overall, it took the attacker eleven minutes after the initial configuration read to reconfigure the host from policy-disabled SSH to direct remote access support. Subsequently, direct SSH access to the target ESXi hosts originated from the vCenter appliance IP, a source that would normally be considered highly trusted on the management network.
Compromise of the management plane converted a legitimate compliance mechanism into an access path to the managed hypervisor
Host hardening is important, but centrally administered controls should not be considered independent once the central management tool is compromised. If vCenter has authority to modify host state, an attacker controlling it may be able to make a malicious change look structurally similar to legitimate compliance activity: read configuration, apply a desired state, and observe the result. The distinguishing context becomes authorization, the timing, the source account, the change window, and whether the desired state itself weakens security.
This is why vCenter should be treated as a Tier 0 asset and provided with the highest possible level of protection. Management-plane administrative accounts should be isolated from ordinary enterprise administration, network access should be restricted to dedicated management paths, high-risk configuration changes should require strong authentication and monitoring, and vCenter-to-ESXi traffic should be thoroughly compared to a normal behavior baseline (connection patterns, ports, protocols, source and destination systems) rather than implicitly trusted. All significant discrepancies should be treated as suspicious and investigated.
An alert should be generated when Host Profile compliance (or remediation in VMware terms) changes TSM or TSM-SSH configuration outside an approved window, particularly when followed by a new SSH session from vCenter or another management appliance. This sequence is more precise than alerting on SSH alone because each step is legitimate in isolation but dangerous in combination.
Once an attacker can administer ESXi, many destructive actions require no exploit. LOLESXi project catalogs native ESXi binaries and scripts that have been abused by threat actors, including administrative utilities that enumerate VMs, control power state and alter configuration. This mirrors living-off-the-land behavior on Windows, but the target is the hypervisor control plane.
There are two ESXi hardening mechanisms, and changes to either can be viewed as highly suspicious. Host acceptance level controls which VIBs are allowed to install. The execInstalledOnly setting controls whether non-installed binaries may execute. Broadcom states that ESXi 8 enables the execInstalledOnly runtime option by default and warns that disabling it allows unknown non-installed binaries to execute, increasing ransomware risk. There is also a kernel enforcement setting with the same name, which is related to the runtime option, but distinct. Changes to that may require a reboot.
ESXi controls that the attackers may try to weaken
Mature ESXi lockers generally stop guest machines before modifying virtual-disk data because running VMs hold active state and file locks. Different families implement this in different ways, which creates useful behavioral detections. The families described below are not related to the incident in question, but these descriptions may be useful for ransomware protection in general.
How different ESXi locker families release VM state before starting destructive file operations
We don’t know the exact technique used to kill VMs in this incident. However, a rapid sequence of power-off or world-kill operations across many VMs is always a high-confidence pre-impact signal. In the case evidence, the disaster-recovery host showed all VMs stopping within 23 seconds, while vmksummary.log, which stores the number of running VMs each hour, showed it dropping from normal VM counts to zero.
The payload was delivered to ESXi via SFTP. The auth.log authentication log file exposed a client identifier associated with FlowSsh, Bitvise’s SSH client library for C, C++ and .NET. FlowSsh supports SFTP, remote execution requests, interactive shell sessions and tunneling. Those capabilities fit the observed delivery model, but the library identification should rest primarily on the recorded client identifier rather than on behavioral inference alone.
After the payload was delivered, the following series of commands was executed. We reconstructed this sequence primarily from the shell.log file.
Each command pair was preceded by a session executing only true. This repeating pattern is consistent with automated FlowSsh channel setup, but in isolation, it can’t be considered a reliable indicator of the tool in use. Human operators could have typed true as well, and other automation frameworks could have emitted reachability probes. The sequence should therefore be hunted as a behavioral fingerprint, not treated as a unique signature for FlowSsh. Its value increases when combined with an unusual SSH client identifier, SFTP staging to /tmp, chmod, and a subsequent self-test or payload execution.
The /selftest execution ran for approximately 16 seconds and occurred roughly three hours before final detonation. A pre-impact test run may suggest that the operator was validating compatibility with the target ESXi build before proceeding to destructive execution.
Treat unexpected executable staging under /tmp, followed by execution and subsequent access to /vmfs, as a critical pre-impact sequence. While individual indicators such as chmod +x may be ambiguous in isolation, unexpected execution of a newly staged executable from /tmp can itself be a strong indicator of malicious activity. The complete sequence provides stronger contextual evidence by linking payload staging, execution, validation, and subsequent access to the VM storage layer.
The attackers executed the following command to trigger the destructive activity.
Let’s break it down into separate parameters and analyze their forensic usefulness. Parameter interpretation is accompanied by confidence level, because exact implementation details cannot be reconstructed without the binary.
The forward-slash argument style resembles the Trigona and BlackNevas command-line family. SentinelOne describes BlackNevas as a Trigona derivative with ESXi-capable builds and specialized switches, including /p or /path, /wipe, /depth, and /detach. That comparison strengthens attribution but does not replace a binary hash or reverse-engineered match.
Incident artifacts indicated that approximately the first 2 KB of virtual disk files were overwritten. Damage to the beginning of a disk can destroy the protective MBR, primary GPT header, and other early boot or filesystem structures, which can immediately make a guest unbootable. However, the UEFI specification requires GPT media to keep both primary and backup GPT headers and partition-entry arrays in different locations. If the primary GPT is corrupt and the backup is valid, GPT-aware software should use the backup, which may help restore the primary. Therefore, an overwrite of the first 2 KB does not by itself mean that the partition metadata is unrecoverable. Practical recovery depends on whether additional boot records, filesystem metadata, volume structures, descriptors, or application data were also modified, and on the exact virtual-disk layout.
In this incident, backup infrastructure was not collateral damage. The attacker disabled antivirus protection on the backup environment days before the main attack, and later stopped backup services, encrypted the recovery infrastructure, and disrupted administrative access — all before ESXi detonation. The order of operations reduced the defenders’ ability to restore production when they needed it most.
Recovery capabilities were disrupted before the final ESXi impact. The relative timings are based on the incident sequence
This changes the definition of a resilient backup architecture. Storage immutability is valuable, but it does not protect the identities, management servers, repositories, network paths, credentials, or procedures required to perform system restoration. Recovery should be designed as a separate security boundary with independent administrative identities, restricted management paths, offline or logically isolated recovery options, tested restore procedures, and monitoring that does not depend on the production control plane.
Two recent vulnerabilities in Veeam are a perfect illustration of this. Although neither of these vulnerabilities was seen exploited in this case, they take advantage of weak privilege management policy, which may make them exploitable by any domain user, including those with the lowest privileges. CVE-2024-40711 is listed in CISA’s KEV database as a vulnerability exploited by ransomware. CVE-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. The general lesson is not vendor-specific: a recovery system that depends on the same identity plane as production infrastructure can be compromised and used to achieve the attackers’ goals.
There are a number of log files that document ESXi events. These sources can reconstruct a destructive hypervisor incident even when no endpoint agent exists on ESXi. The limitation is retention. Broadcom states that ESXi logs internally to a ramdisk, which has limited space and gets cleared at reboot, and that persistent scratch or remote syslog is required if logs must survive reboot and local storage loss. We recommend collecting logs to remote storage to maintain forensic visibility into ESXi incidents.
Virtualization-layer telemetry ranked by investigative value. Retention is environment-specific; remote forwarding reduces the risk of losing the evidence with the host
This section provides a summary of the most valuable behavioral detection notes derived from the incident. The strongest rules correlate legitimate actions into an abnormal sequence rather than alerting on any one administration command.
Below, we provide two examples of technology-neutral correlation logic that could be used to hunt for similar incidents. Note that they are not ready-made SIEM rules, but you can use them to develop your own rules. Example 1: Host Profile abuse leading to direct ESXi access:
This section contains recommended actions when responding to an incident involving ESXi ransomware.
Do not begin by rebooting ESXi merely to remove the attacker session. ESXi logging persistence depends on scratch and syslog configuration, and a reboot may destroy ramdisk-resident evidence. Confirm that critical logs have been copied or remotely retained before containing disruptive activity unless ongoing impact makes immediate shutdown unavoidable.
VMware vCenter is not merely an inventory console. It can hold the authority to configure hosts, manage identities, power VMs, apply Host Profiles, and mediate access across the virtual estate. The incident in question shows why compromise of vCenter can undermine controls enforced through the virtualization management plane, providing an attacker with sufficient privileges to configure hosts, control VMs, and modify security-relevant settings across the virtual estate, potentially enabling the entire virtualized environment to be disrupted or destroyed within minutes. Protect vCenter with dedicated administrative identities, phishing-resistant MFA through supported identity federation, restricted management-network access, monitored privileged sessions, and close monitoring of Host Profile and cluster-level change operations.
Avoid broad reuse of domain administrator or workstation admin credentials for virtualization. Where ESXi is domain-joined, apply the secure Active Directory configuration following Broadcom’s recommendations and continuously audit group mappings and permissions. Note that the Valid Accounts attacker technique is applicable to ESXi environments. Moreover, as an example of the Default Accounts subtechnique, MITRE specifically mentions the vpxuser account used by vCenter for host management.
SSH is useful for troubleshooting but should be treated as an exceptional administrative path rather than routine day-to-day access. Unauthorized SSH enablement on ESXi hosts both directly and through vCenter should be detected by monitoring TSM-SSH changes and treated as a suspicious event. To further harden ESXi hosts, use Lockdown Mode where operationally suitable, providing access only to a small set of explicitly authorized users, apply management-network filtering, and an approval and tracking policy for any changes, especially for enabling shell access.
Remote syslog from ESXi and vCenter should be stored on infrastructure outside the virtualization trust domain. Persistent scratch improves log survivability after reboot, but local evidence can still be lost if the data storage or host is destroyed. It is recommended to use centralized logging (e.g., SIEM logging), which should include authentication, shell, host management, Host Profile, and vCenter task telemetry. Proper logging should be configured before any incident happens, so the full picture is available to the response team in case of an emergency.
Use independent administrative identities for backup, minimize domain dependencies, isolate repositories and management interfaces, protect immutable copies from production credentials, and test recovery under the assumption that vCenter and production AD are unavailable. A backup design should be judged not only by whether data is immutable, but by whether a clean operator can authenticate, reach the repository, validate the data, and restore workloads after the production control plane is compromised.
Resilience improves when enterprise identity, virtualization administration and recovery authority are separated rather than chained through shared privileged credentials
The central lesson from the incident in question is not that ESXi needs another endpoint agent. It is that virtualization security depends on the integrity of the management plane, the identity plane, and the recovery plane at the same time. A hypervisor can remain fully patched and protected and still become the point of maximum ransomware impact when the system authorized to manage it has already been compromised. The adversary did not need to break VMware’s cryptography or escape from a guest. Once they accessed a privileged vCenter control, a legitimate compliance mechanism could be used to change host state, enable SSH, and create a path into ESXi that looked structurally similar to normal administration activities.
The case also shows why destructive ransomware incidents are often won or lost before encryption begins. The attacker established alternate persistence, validated the ESXi payload hours before detonation, disrupted backup capability first, and then executed disruptive activities from the layer least visible to guest controls. Each stage created a detection opportunity, but those opportunities existed in management, virtualization and recovery telemetry rather than in a conventional endpoint process tree.
The durable defense is therefore architectural. Treat vCenter as Tier 0. Separate virtualization identities from ordinary enterprise administration. Keep direct ESXi access narrow. Preserve native logs outside the affected platform. Detect high-risk configuration changes as sequences rather than isolated commands. Finally, design recovery so that compromise of production identity or virtualization management does not also provide the authority needed to destroy the systems required to restore them.
ATT&CK mappings selected conservatively from observed behavior and current ESXi-capable ATT&CK techniques
The following indicators were recovered during the investigation. They are incident-specific artifacts, not durable signatures for BlackNevas or any other ransomware family. Service names, filenames, domains, and VPS infrastructure can be changed or reassigned. No hashes are available for the ESXi encryptor, the Ligolo-ng binary, the agent installer script, or the credential-extraction script because those files were not available.
Incident indicators for retrospective hunting
Minimum acquisition set for a suspected virtualization-layer ransomware incident
Ransomware at the hypervisor layer: how attackers use ESXi and vCenter features for malicious purposes
Your email address will not be published. Required fields are marked *
This site uses Akismet to reduce spam. Learn how your comment data is processed.




