Python Ransomware Encrypted VMware ESXi Virtual Disks After TeamViewer Access
Threat Actor Intelligence · 1 source · Updated 4mo ago · First seen Aug 14, 2026

Attackers used a custom Python ransomware script to encrypt virtual disks on a VMware ESXi hypervisor, taking the victim organization’s virtual machines offline after gaining access through a TeamViewer account that lacked multi-factor authentication on a system used by a Domain Administrator. Sophos said the intrusion moved from initial access to ransomware deployment in just over three hours, with the attackers scanning the network using Advanced IP Scanner and reaching the ESXi server through Bitvise after finding ESXi Shell enabled.
The script, fcker.py, was copied to the hypervisor and executed against multiple datastores, where it shut down VMs, encrypted datastore files with OpenSSL using per-file AES material, overwrote the originals, and tried to remove evidence. Sophos identified the malware as Troj/Ransom-GJR and reported that it generated unique key pairs for each datastore run, leaving encrypted private keys on disk because it had no built-in exfiltration capability; the company urged organizations to harden ESXi, disable ESXi Shell when not required, and enforce MFA on privileged remote-access accounts.
Why it matters
Impact assessment
This activity affects organizations running VMware ESXi, especially those exposing or relying on remote administration tools such as TeamViewer and maintaining privileged sessions on administrator workstations. The impact is severe: attackers shut down virtual machines and encrypted ESXi datastore contents, causing immediate service outages and likely major operational disruption across any workloads hosted on the hypervisor.
The exposure is targeted rather than indiscriminate, but the attack path is broadly relevant because it relies on common administrative weaknesses: remote-access accounts without MFA, Domain Administrator access on reachable systems, and ESXi Shell left enabled. Sophos reported a real-world intrusion with ransomware deployment occurring in just over three hours, demonstrating confirmed hands-on exploitation in the wild.
Supporting facts
- Affected platform: VMware ESXi hypervisors and their hosted virtual machines.
- Initial access vector: TeamViewer account without multi-factor authentication.
- Privilege context: compromised session was on a system used by a Domain Administrator.
- Operational effect: VMs were powered off before encryption, taking services offline.
- Scope in observed case: three ESXi datastores were targeted.
- Incident status: confirmed real-world ransomware attack investigated by Sophos.
- Business risks: outage of virtualized infrastructure, recovery costs, potential ransom pressure, and reputational damage from prolonged downtime.


