Skip to main content
Mallory
← Back to News
ransomware-group-operationoperational-disruptioninitial-access-methodidentity-authentication-vulnerability

Python Ransomware Encrypted VMware ESXi Virtual Disks After TeamViewer Access

Threat Actor Intelligence · 1 source · Updated 4mo ago · First seen Aug 14, 2026

Python Ransomware Encrypted VMware ESXi Virtual Disks After TeamViewer Access

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.
Know this adversaryTTPs, infrastructure, and targeting history in one profile.
Get the profile
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events
  1. Reported Jan 1, 202611mo ago

    Sophos recovers and analyzes the deleted ransomware script

    Sophos Rapid Response recovered a copy of the Python ransomware despite the attackers' attempts to overwrite and delete it. The analysis found the malware used OpenSSL-based per-file encryption, generated unique key pairs per datastore execution, and left encrypted private keys on disk because it lacked exfiltration capability.

    Python ransomware script targets ESXi server for encryption | SOPHOS
  2. Reported Jan 1, 202611mo ago

    Python ransomware script deployed against ESXi datastores

    Roughly three hours after the network scan, the attackers copied a Python script named fcker.py to the ESXi datastore and executed it once per targeted datastore. The script shut down virtual machines and encrypted files on three datastores, taking the victim's VMs offline.

    Python ransomware script targets ESXi server for encryption | SOPHOS
  3. Reported Jan 1, 202611mo ago

    Attackers use Bitvise to log into the ESXi server

    Just before 2 a.m., the attackers downloaded the Bitvise SSH client and used it to access the VMware ESXi server. They were able to do so because ESXi Shell had been enabled previously and not disabled afterward.

    Python ransomware script targets ESXi server for encryption | SOPHOS
  4. Reported Jan 1, 202611mo ago

    Attackers scan the network with Advanced IP Scanner

    About ten minutes after gaining access, the attackers downloaded and ran Advanced IP Scanner to identify targets on the victim network. The scan helped them locate the VMware ESXi server later used in the attack.

    Python ransomware script targets ESXi server for encryption | SOPHOS
  5. Reported Jan 1, 202611mo ago

    Attackers access victim network via unprotected TeamViewer account

    Sophos said the ransomware intrusion began when attackers logged into a TeamViewer account without multi-factor authentication on a computer used by a Domain Administrator. This initial access started the attack sequence that later reached the ESXi hypervisor.

    Python ransomware script targets ESXi server for encryption | SOPHOS
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Malware

1 linked

Affected products

1 linked
Vmware Esxi
Do you run this?See this adversary's TTPs, infrastructure, and targeting history, correlated against your exposure.
Get the Full Actor Profile
Source coverage

Sources

1 reference tracked. Mallory keeps watching after this page renders.

Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.