Privileged Credential Reuse and Over‑Privileged Monitoring Enable Ransomware in ESXi and Proxmox Virtual Environments
What Happened — Kaspersky’s GERT team investigated two ransomware incidents that leveraged privileged credential reuse and over‑privileged monitoring accounts to compromise VMware ESXi and Proxmox environments. In the first case, a PRTG monitoring server stored the same root password used on multiple ESXi hosts; attackers who breached the monitoring platform used that credential to gain SSH root access, disable the execInstalledOnly protection, and run ransomware binaries. In the second case, plain‑text notes on a compromised administrator workstation revealed the Proxmox root password, allowing the threat actor to open VNC web‑socket sessions and encrypt the entire virtual cluster.
Kaspersky’s GERT research team disclosed that two ransomware incidents targeting virtual‑infrastructure environments were traced to a combination of weak access controls, insufficient network segregation and mishandled privileged credentials. The first case involved the BlackNevas ransomware family, which was first observed on a Windows system serving as a domain controller in a virtualized segment. Forensic analysis of UserAssist data revealed the presence of the AnyDesk remote‑management tool and the GMER debugging utility, while the environment relied on PRTG Network Monitor to oversee its ESXi hosts.
Investigators found that the PRTG deployment stored the same root password for multiple ESXi nodes, granting the monitoring platform unrestricted administrative access. After compromising the monitoring server, the threat actor leveraged the reused credential to open SSH sessions directly to the hypervisors. “The monitoring server became a privileged gateway once it held the shared root password,” the GERT team noted, emphasizing that the attack required no VM‑escape technique—ordinary admin rights were sufficient to move laterally across the hosts.
On the ESXi host addressed as 192.168.., the intrusion timeline began on 18 October 2025 with repeated connection attempts from the same internal IP range. On 19 October 2025 the attacker, logged in as root, uploaded a binary named esx, initially receiving the error “Execution of non‑installed file prevented.” The adversary then changed the file’s permissions (chmod 777 esx) and executed it with the argument /log. To bypass the built‑in protection, the intruder disabled the execInstalledOnly setting via the command esxcli system settings advanced set -o /User/execInstalledOnly -i 0, after which the malware ran and opened a new wave of connections from the same source.
A second ESXi host on the 172.16.. subnet showed a parallel compromise on 19 October 2025. The attacker again logged in as root over SSH, granted the malicious file full execution rights (chmod a+x esx && chmod 777 esx), and launched a series of commands to test and propagate the payload: ./esx /selftest, nohup ./esx /p /vmfs/ /depth 5 /log /wipe, and finally ./esx /depth 5 /log /wipe. Log files were cleared after each execution, indicating an anti‑forensic effort to erase traces of the intrusion.
GERT disclosed that a ransomware campaign attributed to the “Gentlemen” group leveraged information gathered during a prolonged dwell period to breach a Proxmox environment. After compromising a system‑administrator workstation, the attackers uncovered plain‑text notes containing privileged credentials and connection details, which they used to log in to Proxmox as the root user. With the root account, they activated the VNC web socket and issued a series of API calls that gave them full control over the virtual infrastructure; the logs show root‑initiated GET requests to /api2/json/nodes/*/vncwebsocket?port=5900&vncticket=* at 00:28:36, 00:30:17, 00:31:19, 00:43:38 and 00:44:49 on 01/08/2026 (‑0400). The compromised session was then used to download and execute ransomware across the cluster, encrypting the entire virtual environment.
The incident underscores the danger of storing privileged credentials in unsecured locations. Once the administrator workstation was taken, the saved root password enabled lateral movement from a single endpoint to the virtualization management layer, dramatically expanding the attack surface. GERT’s response emphasized that privileged secrets should be kept in an approved password manager or privileged‑access‑management system, protected with multifactor authentication, and rotated immediately if any workstation is suspected of compromise.
The broader analysis identified several unsafe misconfiguration practices that amplified the impact. In the first case, a monitoring platform possessed credentials capable of reaching ESXi directly, turning a compromise of the monitoring system into a takeover of the management plane; the recommendation is to assign monitoring identities only the minimal permissions required. Password reuse further magnified the breach, converting a single recovered secret into farm‑wide access, prompting advice to employ unique, named identities for each host and enforce strict password‑storage hygiene. Direct SSH access allowed the threat actor to authenticate as root, upload a malicious binary and alter security settings without passing through vCenter role controls—Broadcom, VMware’s parent company, advises managing vSphere exclusively via vCenter, disabling SSH in normal operation, and enabling Lockdown Mode where appropriate. An initial block by the execInstalledOnly policy was bypassed because the attacker could disable it; Broadcom’s documentation recommends coupling execInstalledOnly with UEFI Secure Boot and TPM‑backed configuration protection, and monitoring any changes to these settings.
To close the attack path, the report recommends separating monitoring from administration by creating dedicated, least‑privilege monitoring identities and prohibiting interactive admin sessions on monitoring servers unless an approved workflow is followed. All static root passwords embedded in monitoring tools, scripts, scheduled tasks, connection managers and service configurations should be replaced with vault‑retrieved secrets, brokered identities, or limited API tokens, with each retrieval logged and the secret rotated after emergency use or suspected compromise. Finally, normal ESXi administration should be routed through vCenter with Lockdown Mode enabled after thorough testing; ESXi Shell and SSH must remain disabled by default, and any temporary SSH activation should be time‑boxed, source‑restricted, and generate alerts on service start, root logins, or changes to the allowed‑user list.
Kaspersky Cloud Workload Security (KCWS) bundles two products—Kaspersky Hybrid Cloud Security (KHCS) and Kaspersky Container Security (KCS)—to protect virtualized and containerized workloads. KHCS is engineered for virtual infrastructures, private data centers and hybrid clouds, using a patented Light Agent architecture that keeps resource consumption low while a unified console provides full‑stack visibility. KCS secures every phase of a container’s lifecycle and includes a dedicated scanner that examines images, file systems and repositories for IaC artefacts such as Terraform, CloudFormation, Azure ARM templates, Helm charts and Dockerfiles.
The guidance stresses treating any configuration change as a security event. Alerts should fire when settings such as execInstalledOnly, Secure Boot enforcement, Lockdown Mode, SSH, local accounts, exception users, firewall rules or remote‑logging configurations are altered. Administrators are urged to baseline the expected state and verify that the security team can detect unauthorized modifications, because a configuration that is set once does not stay enforced automatically. Management traffic must be isolated on restricted networks, with hypervisors, monitoring, backup, storage and cluster‑admin services reachable only by explicitly allowed sources and destinations; administrative workstations should access these zones through hardened jump hosts that require named identities and multi‑factor authentication. Log and backup data from ESXi, vCenter and Proxmox, as well as identity and network logs, should be forwarded to tamper‑proof storage that a compromised administrator cannot erase, and backup platforms must operate under separate identities with recovery copies stored outside ordinary administrative reach.
A set of concrete checks is recommended for any virtualization‑monitoring deployment. Monitoring should run under a dedicated service account or token limited to read‑only polling rights, with roles reviewed and sensors tested without root or global‑admin privileges. Credential stores must contain no recoverable host‑root passwords on monitoring or general‑purpose servers, and all tool configurations, scripts and scheduled tasks should be inspected for embedded secrets. Network paths must restrict monitoring traffic to required polling services while administrative access goes through a jump host; testing should include probing management ports from monitoring servers, user segments and untrusted networks. Direct host access should be locked down where possible, with SSH and ESXi Shell disabled by default, and attempts to reach the host via routine accounts should be blocked. Secure Boot and execInstalledOnly enforcement need to be enabled where supported, and a test change through the approved process must generate an alert. All host, management, identity, monitoring, firewall and PAM logs should be stored remotely, and successful and failed login events must be verified for source, account, host, timestamp and action.
Even with those controls, the attack surface remains broad because virtualization depends on isolation boundaries, trusted images, management APIs, virtual networks, storage and backups. A VM escape—illustrated by VMware CVE‑2025‑22224—allowed an attacker with administrator rights inside a guest to execute code as the VMX process on the host, and Broadcom confirmed that this vulnerability had been exploited in the wild. Container escapes can arise from kernel bugs such as Copy Fail (CVE‑2026‑31431), where code running in a container leveraged a Linux AF_ALG crypto socket to modify shared kernel page‑cache pages, affecting the host and other containers; the remedy was a kernel update and Docker Engine 29.4.3, which hardened default security profiles. Mis‑configurations also break isolation—runc CVE‑2024‑21626 leaked file descriptors that exposed the host filesystem to a malicious image or container. Investigators must therefore treat VMs as separate computers with their own kernel, memory and disk, while containers require host‑level evidence such as processes, sockets and control‑plane data; collecting only a container’s filesystem can miss critical artefacts. Compromised “golden” VM or base‑image templates can propagate through automation, especially when unofficial public images, mutable tags, over‑privileged build tokens, recoverable secrets in older layers or stale templates are used. Scanning alone cannot prove provenance, so organisations are advised to employ controlled builders, provenance records, signature verification and scheduled rebuilds from trusted sources.
A stolen vCenter identity, an exposed Docker API, an over‑privileged Portainer role or a compromised backup console can give an attacker a foothold that is far simpler than exploiting a VM‑escape flaw. The Portainer advisory GHSA‑7fw3‑x4r2‑g7wc demonstrated that the proxy correctly validated one bind‑mount syntax but failed to recognise an equivalent API representation, allowing an authenticated user with only container‑creation rights to traverse to host file‑system paths. The request was processed after the management layer had already denied authorization, effectively bypassing the control check.
Docker addressed three archive‑ and mount‑handling bugs in CVE‑2026‑41567, CVE‑2026‑41568 and CVE‑2026‑42306. Exploitation required specific conditions together with operator or API activity, underscoring the need to keep the daemon patched and to log every file‑copy operation: the initiator, the container involved, source and destination paths, and the outcome.
East‑west traffic between virtual workloads can remain on a single host and evade physical network sensors, so management, migration, storage and workload traffic should be placed in distinct zones with filtering between them. Snapshots and memory dump files may embed credentials, and lax datastore permissions can expose entire virtual disks. Because backup systems must have wide‑ranging access to restore services, they become attractive targets for attackers seeking to delete recovery points or pivot across multiple hosts.
The article’s mitigation matrix groups the attack surface by layer: protect credentials and configuration with vaulted secrets, segmentation and continuous monitoring; patch hypervisors and limit risky virtual devices to curb VM‑escape routes; harden kernels and runtimes and remove privileged container settings; enforce immutable image digests, controlled builds and provenance checks; secure management APIs with MFA, least‑privilege roles and full validation; and segment networks, apply least‑privilege storage policies and monitor backup traffic.
The GERT cases described did not require breaking the VM boundary; instead, an over‑privileged monitoring relationship, insecure password storage, a reusable root credential, broad management‑network reachability and direct SSH administration combined to let a single compromise reach hypervisor hosts and their workloads. “Each element was legitimate on its own, but together they allowed one compromise to reach virtualization hosts and their workloads,” the authors note, concluding that misconfiguration must be treated with the same rigor as vulnerability management, with clear visibility of privileged credentials, their usage paths and corresponding logs, and that closing the known administrative route should be the first priority.
Why It Matters for Trust & Control Assurance — The incidents illustrate how weak privileged‑credential management and insecure monitoring configurations break the “least‑privilege” control objective, a core element of NIST CSF 2.0’s Protect function.
Who Is Affected — Enterprises operating private data‑center virtualization, managed‑service providers, cloud‑infrastructure teams, and any organization that relies on hypervisor‑based workloads.
Recommended Actions
- Audit all monitoring and automation tools for stored hypervisor credentials; replace static passwords with vault‑retrieved secrets or limited‑scope API tokens.
- Enforce unique, strong passwords (or key‑based auth) for each ESXi/Proxmox host and rotate them immediately after any suspected compromise.
- Restrict direct root/SSH access to hypervisors; route routine administration through a centralized management plane (vCenter, Proxmox UI) and enable lockdown or equivalent mode.
- Enable and continuously monitor security settings such as
execInstalledOnly, Secure Boot, and TPM‑backed configuration protection; generate alerts on any change. - Store privileged credentials in approved password‑manager or PAM solutions, protected by multifactor authentication, and audit access logs for anomalous use.
Technical Notes
- Attack vectors: credential reuse, over‑privileged monitoring account, plain‑text credential notes, SSH root access, disabling of
execInstalledOnly. - Affected platforms: VMware ESXi (multiple hosts), Proxmox VE (cluster).
- Malware executed via uploaded binary
esxthat bypassed execution policy. - Ransomware family: BlackNevas (ESXi case) and The Gentlemen (Proxmox case).