Skip to main content

From VPN Gateway to Hypervisor Root: Decoding the virtualization infrastructure attack chain of the TAG-218 group

Updated 14 min readMarkdown
Part of seriesNewsletters-eng
From VPN Gateway to Hypervisor Root: Decoding the virtualization infrastructure attack chain of the TAG-218 group

Campaign Overview

Imagine this scenario: every password for every account in Active Directory is stolen within minutes, yet your EDR/SIEM console records not a single alert. No unusual process appears in lsass.exe, and the Domain Controller keeps reporting a completely normal status.

That is exactly how GhostFrame operates. It is a sophisticated post-exploitation framework for VMware ESXi, linked to the Settra ransomware group (TAG-218).

The attackers break through edge VPN appliances and then take root on the hypervisor. From there, they never touch the Windows operating system of the virtual machines. Instead, they stay in the virtualization layer underneath and quietly read the .vmdk virtual disk files and memory snapshots directly to extract the NTDS.dit authentication database. The consequence: one compromised ESXi host means losing full control of the entire domain infrastructure, causing an average of 17 days of business disruption.

How did the attackers get past the ESXi firewall and the binary verification mechanism? What is their distinctive "6-port fan-out" network signature? And how can a SOC hunt for their traces when the guest operating system is completely "blind"?

Threat Actor Profile

In threat intelligence classification, Settra and TAG-218 are two sides of the same organized attack campaign:

  • Settra Ransomware: The public extortion brand (ransomware brand). The group first appeared in the cyber underground in June 2026. It runs an extortion portal (a Tor data leak site) that publishes victims' internal documents to apply financial pressure and damage their business reputation.
  • TAG-218 (Threat Activity Group 218): The identifier that Insikt Group (Recorded Future) assigned to the operator infrastructure cluster. This cluster scans and exploits edge network devices and plants backdoors before the encryption malware is triggered.

Targets and Victim Statistics

  • Attack frequency: The group carries out an average of 28.2 attacks per month, peaking at 35 attacks in August 2026.
  • Data leak rate: According to SOCRadar data, 94.3% of victims have been listed on the group's leak site (Claimed) and 2.1% are in ransom negotiations. The remaining 3.5% have had all their data dumped (Data Leaked) after refusing the financial demands.

Event Timeline and Intrusion Chain

According to tracking data from Insikt Group (Recorded Future), Huntress, and Wizard Cyber, the TAG-218 campaign unfolded across the following key milestones:

The paragraph ends with a colon but no milestones follow it. Paste the timeline and I'll translate it too.

Date Phase and Observed Actor Activity Source
June 2026 The Settra ransomware group emerges and adopts a double-extortion model with a data leak site on the Tor network. SOCRadar
Late August – October 2026 TAG-218 mass-exploits edge VPN appliances (SonicWall, Palo Alto Networks, Fortinet) in the United States and Europe, in a pattern consistent with exploitation of CVE-2026-0257. Recorded Future
October 12, 2026 A compromised Fortinet VPN appliance sends beacons simultaneously to the GhostFrame C2 and MeshCentral C2 server clusters, confirming the link between the edge device and the ESXi implant. Recorded Future
October – November 2026 Four organizations whose edge devices had been scanned appear on the Settra leak site. A GhostFrame ELF binary sample (vmhostd-core) is discovered that tampers with the ESXi kernel and reads NTDS.dit. Huntress, Wizard Cyber
November 10, 2026 Insikt Group publishes a technical report identifying GhostFrame and TAG-218. Recorded Future

Kill Chain: From the Edge VPN Appliance to the Hypervisor

The attack does not begin with a zero-day vulnerability in ESXi. Instead, it uses a sequential stepping-stone approach:

  1. Initial Access: The attackers exploit weaknesses in remote access appliances. The authentication bypass vulnerability CVE-2026-0257 in Palo Alto Networks GlobalProtect allows them to establish a full VPN session without a valid account or MFA.
  2. Internal Reconnaissance & MeshCentral Staging: The attackers deploy the MeshCentral remote management tool (IP: 193.5.65.114) in the internal Windows environment to set up a stable backup access channel.
  3. Escalation to Hypervisor Root: Using ESXi administrator credentials left exposed on the network, or an exposed vCenter/ESXi Shell management interface, the attackers authenticate to the ESXi host as root.
  4. Implant Deployment & Persistence: The GhostFrame ELF binary is deployed through the web-based management console.
  5. Hypervisor-Level Pivoting & Credential Access: The attackers activate the covert gfsox proxy and run the VMkatz utility to harvest credentials from the Domain Controller virtual machine disks.
  6. Ransomware Execution & Data Leak: Using the newly decrypted Domain Admin account, the attackers distribute Settra ransomware across the entire enterprise. They publish the stolen data if the victim refuses to pay the ransom.

Detailed Technical Analysis of the GhostFrame Implant

C2 Architecture and Web Panel

GhostFrame is a complete C2 framework. It consists of a management server and a web panel with two main components:

  • Builder: An interface where the operator sets the C2 server IP/port. It automatically compiles and packages the ELF malware binary for the ESXi architecture under the standard file name vmhostd-core.
  • Sessions: Central management of all compromised hypervisors. It shows the list of virtual machines, their power state, a command-line console, and graphical sessions.

Persistence and Defense Impairment

After the binary is uploaded to the ESXi datastore, the implant runs a strict persistence sequence:

  1. It copies its executable to a static path: /opt/vmhostd-core.
  2. It silently inserts execution code into the startup file /etc/rc.local.d/local.sh.
  3. It starts a hidden background loop that runs every 5 seconds:
    • Disables the ESXi host's built-in firewall (esxcli network firewall set --enabled false).
    • Overwrites the security setting execInstalledOnly = 0, which allows the hypervisor to run binaries without a VMware digital signature. Because this repeats every 5 seconds, the malware immediately turns these settings off again if an administrator re-enables them manually through the vSphere Client.
  4. It calls the ESXi script /sbin/auto-backup.sh to save the modified configuration into the boot archive state.tgz. This lets the malware survive a reboot of the physical server.
  5. Process Masquerading: The implant changes its process arguments and command line in the system process table so that it appears as vmhostd. This imitates the legitimate vmware-hostd process, VMware's core host management daemon.

The Signature "6-Port Fan-Out" Network Technique

GhostFrame does not connect sequentially. It opens TCP connections simultaneously (simultaneous TCP SYN fan-out) to a single C2 server IP address on 6 different ports:

TCP Ports: 53, 2222, 3389, 4444, 8443, 9443

The implant keeps the first TCP connection that completes the 3-way handshake as its main C2 channel. It then immediately sends RST/FIN packets to release the other 5 ports. If none of the 6 ports connect within 30 seconds, the implant sleeps for a random interval of 5 to 12 seconds before trying again.

This creates a very clear network signature: 6 TCP SYN packets leaving the ESXi network interface at almost the same instant, all going to one public IP.

In-Memory Shellcode Loader and Internal Proxy

  • Diskless shellcode loader: Once the C2 channel is up, the C2 server pushes raw machine code directly to the implant. GhostFrame allocates an executable memory region (PROT_READ | PROT_WRITE | PROT_EXEC) on ESXi and jumps straight into it to run the payload. No intermediate file is written to disk, so static file scanning on the datastore does not detect it. If the memory allocation fails, the implant falls back to a standard /bin/sh reverse shell.
  • gfsox pivot proxy: GhostFrame includes a SOCKS5 module called gfsox. When it is activated, the ESXi host becomes a traffic relay point (pivot proxy). The operator can then route attack tools from the external C2 server straight into core network segments (databases, ERP, Domain Controllers) that are normally blocked from Internet access.
  • VM Control: Through native ESXi APIs, the operator can list all VMs, power them on or off, and create or delete snapshots. The operator can also open a VNC session directly to a VM's console and create an HTTP reverse proxy tunnel to reach the ESXi HTML Host Client without logging in again.

Credential Theft Mechanism: A Dangerous Breakthrough from the Virtualization Layer

GhostFrame's most serious technical threat goes beyond controlling the hypervisor. It lies in the implant's ability to harvest high-privilege identity data that traditional security solutions cannot detect.

The sdkmon Module

GhostFrame's frontend source code confirms that a module called sdkmon exists. This component tampers with the configuration files of the ESXi host management service (for example, the hostd reverse proxy). It monitors and records user credentials when administrators log in to ESXi through the vSphere Client or the Web UI, which lets it capture the original passwords in plaintext.

VMkatz Integration: Extracting NTDS.dit Directly from Virtual Disks

GhostFrame directly embeds the open-source tool VMkatz to harvest Windows credentials from outside the operating system:

Collection method: VMkatz does not inject malicious code into lsass.exe inside Windows, which would trigger EDR alerts. Instead, it parses the following directly:

  • VM memory snapshots (.vmsn or .vmem).
  • VMware virtual disk files (.vmdk) stored on the VMFS datastore.

Stolen data:

  • NTLM password hashes and cleartext credentials from WDigest.
  • Kerberos authentication tickets (TGT/TGS) used for Golden Ticket / Silver Ticket attacks.
  • SAM records and LSA secrets.
  • The NTDS.dit database file and the SYSTEM registry hive (which holds the decryption key) from virtual machines acting as Domain Controllers (Active Directory).

When the attackers copy or extract data from .vmdk files at the hypervisor layer, the Windows guest operating system does not open any abnormal I/O handle through the Windows API. As a result, Microsoft Defender for Identity, Defender for Endpoint, and EDR agents installed on the Domain Controller have no visibility into the fact that every domain password has been copied out.

IOCs

C2 Servers - GhostFrame (TAG-218)

  • 45.158.196.81
  • 45.158.196.141
  • 193.5.65.114

Network Traffic Signature (GhostFrame Implant)

  • Simultaneous Outbound TCP SYN to Ports: 53, 2222, 3389, 4444, 8443, 9443

File Paths on VMware ESXi

  • /opt/vmhostd-core
  • /etc/rc.local.d/local.sh (Modified with persistence loop)

Process Names & Masquerading

  • vmhostd
  • vmhostd-core
  • gfsox
  • sdkmon
  • meshagent (Windows endpoints)

File Hashes

  • a05eae6d07b82e2e5451a72266f21fbaf76486ef4920a820988de93e15353a10
  • ca72b6a4cc683973bbe5fd4931179eab
  • 40cbe3364429a9c7fb18e73ca1a0b7b611f916f6

MITRE ATT&CK

Tactic Technique ID Technique Name Observed Behavior in the GhostFrame Campaign
Initial Access T1190 Exploit Public-Facing Application Exploited authentication vulnerabilities in VPN appliances (Palo Alto CVE-2026-0257, SonicWall, Fortinet).
Initial Access T1078 Valid Accounts Used a legitimate root account to log in to ESXi management.
Execution T1059.004 Unix Shell Executed shell commands on ESXi through a /bin/sh reverse shell and boot scripts.
Execution T1106 Native API Allocated memory to execute shellcode directly in RAM (in-memory loader).
Persistence T1543 Create or Modify System Process Added implant launch code to the boot script /etc/rc.local.d/local.sh and persisted it via auto-backup.sh.
Privilege Escalation T1611 Escape to Host Reached from the hypervisor layer down into the resources and virtual disk data of all guest virtual machines.
Defense Evasion T1562.001 Disable or Modify Tools Repeatedly disabled the ESXi firewall and set execInstalledOnly = 0 every 5 seconds.
Defense Evasion T1036.005 Match Legitimate Name or Location Renamed the process to vmhostd to imitate the standard vmware-hostd daemon.
Credential Access T1552 Unsecured Credentials Used sdkmon to intercept ESXi administrator login credentials.
Credential Access T1003.003 NTDS.dit Used VMkatz to read the NTDS.dit authentication database and SAM/LSA data directly from .vmdk files.
Discovery T1046 Network Service Discovery Enumerated virtual machines, resource configurations, and network services on the hypervisor.
Lateral Movement T1090.002 External Proxy Used the gfsox module (SOCKS5 proxy) to route attack traffic into the internal network.
Command and Control T1071.001 Web Protocols Communicated with the C2 server via HTTP/HTTPS tunneling and a shellcode stream.
Impact T1486 Data Encrypted for Impact Deployed Settra ransomware to cripple the organization's server infrastructure.

Expert Assessment

Technical Sophistication

GhostFrame marks a notable tactical advance for extortion groups. Earlier ransomware families targeting ESXi (such as LockBit-ESXi and ESXiArgs) were mostly simple file-encryption binaries: they shut down VMs with the vim-cmd command and then encrypted the .vmdk files. GhostFrame, by contrast, is a full-featured post-exploitation framework. The attackers turn the hypervisor into a hidden radar station that monitors activity, steals identities, and relays traffic, all without installing malware on each application server.

The "Guest OS" Blind Spot in Enterprise Thinking

Based on the FPT IS SOC analysis team's real-world monitoring and incident response experience, most organizations in Vietnam focus all their monitoring resources on the guest operating system (Guest OS) through EDR, SIEM, and antivirus. Meanwhile, the underlying ESXi platform is treated as a "black box" infrastructure device:

  • ESXi syslog is not forwarded to the SOC monitoring center.
  • The ESXi Web Client management interface (port 443/9443) often sits on the same network range as users or VPN devices, without strict Access Control Lists (ACLs).
  • The root administrator account often uses a static password shared among multiple infrastructure engineers, with no multi-factor authentication (MFA).

GhostFrame turns this blind spot into a critical danger. Once attackers control ESXi, they have full power to copy the Domain Controller's disks out of the environment, and no EDR sensor on Windows will raise an alert.

Defensive Recommendations

Immediate Actions (0–24 hours)

  • Check ESXi host integrity: Log in directly to the console (DCUI, or SSH enabled temporarily) and inspect the startup script:

    cat /etc/rc.local.d/local.sh
    

    The host is compromised if the file contains lines that reference /opt/vmhostd-core, set execInstalledOnly to 0, or disable the firewall.

  • Check processes and binaries:

    ps -ef | grep vmhostd
    ls -la /opt/vmhostd*
    
  • Block C2 connections at the perimeter firewall: Immediately add the IP addresses 45.158.196.81, 45.158.196.141, and 193.5.65.114 to an absolute block list (Deny/Drop).

  • Isolate the ESXi management segment: Block all access to ports 443, 22, and 902 on the ESXi interface. Allow connections only from a dedicated jump-host IP range protected by MFA.

Short-Term Actions (1–7 days)

  • Fully remediate infected hosts: Do not try to remove the malware by editing local.sh, because the implant may have installed additional backdoors in memory or in other components. The standard procedure is:
    • Safely migrate critical virtual machines to an isolated, clean host.
    • Back up the virtual machine configuration data, then completely reinstall ESXi from the original installation media (clean reinstall).
  • Trigger the full Active Directory domain compromise response procedure:
    • If GhostFrame is found on a host that runs a Domain Controller, assume the entire Active Directory database has been exposed.
    • Reset the krbtgt account password twice. Leave enough time between the two resets for the data to replicate across all Domain Controllers, typically 10–12 hours. This invalidates any Kerberos Golden Tickets.
    • Require password changes for all domain administrator accounts (Domain Admins, Enterprise Admins) and all service accounts.

Long-Term Architectural Hardening

  • Place hypervisors in Tier 0: Apply the Microsoft Active Directory Tiering Model. Manage all ESXi hosts, vCenter Server, SAN storage, and virtualization administrator accounts at the same level as Domain Controllers (Tier 0). vCenter administrator accounts must not be allowed to log in on Tier 1 or Tier 2 workstations.
  • Enable UEFI Secure Boot and TPM 2.0: Turn on Secure Boot on the physical servers so that ESXi enforces kernel integrity verification and prevents the execInstalledOnly setting from being modified at runtime.
  • Centralize ESXi log monitoring: Configure Remote Syslog on every host in the ESXi cluster to forward logs to the SIEM (Sentinel/Splunk) over TLS-encrypted transport.

References

GhostFrame: A new ESXi Implant Linked to Settra Ransomware

GhostFrame ESXi Implant | Settra Ransomware & TAG-218 Analysis

GhostFrame ESXi Implant: Hunting Credential Theft From VM Disks

Settra Ransomware Group: Victims, Leak Site, TTPs & IOCs

No comments yet. Be the first to comment.

More from this blog