Skip to main content

GhostFrame ESXi Implant Linked to Settra Ransomware

3 min read Runtime Rebel Intel
Primary source: recordedfuture.com

This article was written by a language model from the source above and was not reviewed by a human before publication. Verify anything operational against the original. Editorial policy

Key points
  • Immediate impact: Threat actors are leveraging a new post-exploitation framework to maintain persistence and control over virtualized environments.
  • Affected systems: VMware ESXi hypervisors and hosted virtual machines compromised by TAG-218.
  • Remediation: Audit ESXi hosts for unauthorized modifications to startup scripts and monitor for anomalous multi-port TCP connection attempts.

Advertisement

Overview of GhostFrame ESXi Framework

Recent threat intelligence research published by Recorded Future details GhostFrame, a previously undocumented post-exploitation framework designed specifically for compromised VMware ESXi environments. Identified by Insikt Group, the framework is utilized by a threat activity group designated as TAG-218, whose operational patterns overlap with Settra ransomware deployments.

GhostFrame shifts the post-exploitation paradigm by operating directly from the virtualization layer. Rather than targeting individual virtual machines (VMs) separately, attackers who achieve initial root-level access to an ESXi host can deploy GhostFrame to manage hosted VMs, harvest credentials, and pivot deeper into victim networks from a single centralized interface.

Technical Analysis and Capabilities

GhostFrame consists of a web-based operator panel featuring “Sessions” and “Builder” sections, alongside the compiled ESXi implant designated as vmhostd-core. Operators must already possess root privileges on the target hypervisor, as the framework does not rely on a software vulnerability for initial access.

Persistence and Defense Evasion

Once deployed to a compromised ESXi host, the implant establishes persistence through several distinct mechanisms:

  • Binary Placement: The implant copies itself to /opt/vmhostd-core.
  • Startup Script Modification: It modifies the ESXi boot script located at /etc/rc.local.d/local.sh to execute the binary automatically upon boot.
  • Security Control Suppression: The startup script repeatedly disables the ESXi firewall and the execInstalledOnly security control—which normally restricts unsigned binaries—approximately every five seconds to neutralize administrative recovery attempts.
  • Configuration Backup: It executes /sbin/auto-backup.sh to preserve these modifications across system reboots.
  • Process Masquerading: The malware modifies its process name to vmhostd to mimic legitimate VMware daemons.

Command-and-Control and Network Behavior

When attempting to communicate with its command-and-control (C2) server, the implant executes a distinctive multi-port connection strategy. It attempts simultaneous Transmission Control Protocol (TCP) connections across six specific ports: 53, 2222, 3389, 4444, 8443, and 9443. The first successful connection is utilized for C2 traffic, while unsuccessful connections are closed. This behavior generates near-simultaneous TCP SYN packets from the hypervisor to a single destination IP address.

Functionally, the implant acts as an in-memory shellcode loader, executing received machine code directly in memory without writing payloads to disk. If memory allocation fails, it falls back to a conventional /bin/sh reverse shell.

Lateral Movement and VM Manipulation

GhostFrame provides comprehensive control over the hypervisor ecosystem:

  • VM Management: Operators can enumerate virtual machines, alter power states, create or delete snapshots, and enable Virtual Network Computing (VNC) access.
  • Network Pivoting: The framework includes a SOCKS5 proxy component named gfsox to route traffic through the hypervisor into restricted internal networks.
  • Credential Harvesting: Components such as sdkmon intercept credentials from Windows systems hosted on the hypervisor.

Actionable Mitigations and Detection

Defenders seeking how to detect GhostFrame ESXi implant activity should focus on hypervisor-level integrity monitoring and network telemetry.

  • Monitor Startup Scripts: Regularly inspect /etc/rc.local.d/local.sh and /opt/ directories for unauthorized modifications or unknown binaries mimicking legitimate daemon names.
  • Analyze Network Traffic: Hunt for anomalous multi-port connection attempts originating from ESXi management interfaces toward external IP addresses across ports 53, 2222, 3389, 4444, 8443, and 9443.
  • Harden Access Controls: Restrict root access to ESXi hypervisors, enforce strict multi-factor authentication for management planes, and monitor for changes to firewall states and security settings like execInstalledOnly.

Related: Weekly Threat Briefing: Trezor Supply Chain, LLMJacking & Flowise, Hackers Build Autonomous AI Frameworks for Credential Theft

Advertisement

Advertisement