SecPod

Learn Search

Search across all Learn content

← Back to Security Research
Beyond the Hypervisor: ARMORY CASTLE's VMware vCenter Zero-Day Exploitation and Data Theft

Beyond the Hypervisor: ARMORY CASTLE's VMware vCenter Zero-Day Exploitation and Data Theft

ARMORY CASTLE, a suspected China-nexus espionage group, exploited vulnerabilities in BeyondTrust Remote Support and VMware vCenter to gain access to enterprise environments, compromise virtualization infrastructure, steal credentials, and extract virtual machine data. The operation involved custom malware, privilege escalation, SAML token forgery, and persistent access to compromised systems.

Nov 23, 2026By Rakshitha

Executive Summary

In September 2026, the China-nexus threat group ARMORY CASTLE (formerly tracked as UNC5221) targeted enterprise virtualization infrastructure by exploiting vulnerabilities in BeyondTrust Remote Support and VMware vCenter Server. The campaign involved CVE-2026-102764, which provided initial access, and CVE-2026-123890, an unauthenticated SRP session key disclosure vulnerability that enabled the attackers to obtain administrator access to vCenter.

The investigation uncovered a collection of six custom malware families and utilities, including BONESAW for vCenter exploitation, SAWSNAKE for SAML manipulation, BEARBONES for SSH-based persistence and credential collection, and LAZYBONES for command-and-control communications through Slack. These tools enabled the attackers to compromise authentication services, access ESXi hosts, and retrieve sensitive information from virtual machine disks.

The activity highlights the security risks associated with virtualization management infrastructure. By compromising vCenter and its connected ESXi hosts, attackers can gain access to sensitive data stored across multiple virtual machines, extending the impact of an intrusion beyond the initially compromised systems.

Background

ARMORY CASTLE is a suspected People's Republic of China (PRC)-nexus espionage group previously tracked as UNC5221. The group has been associated with targeting internet-facing infrastructure and security appliances to establish access to enterprise environments.

BeyondTrust Remote Support is used by organizations to provide remote technical assistance, while VMware vCenter Server provides centralized management of virtualized infrastructure, including ESXi hosts and virtual machines. Access to these management platforms can expose critical administrative functions and sensitive enterprise resources.

The campaign demonstrates the security implications of weaknesses in infrastructure management platforms, particularly when remote access systems and virtualization environments are connected to internal enterprise networks.

Vulnerability Details

CVE ID Affected Product Vulnerability Type CVSS EPSS
CVE-2026-102764 BeyondTrust Remote Support Authentication Bypass by Spoofing Vulnerability 9.8 57.90%
CVE-2026-123890 VMware vCenter Server Authentication Bypass Vulnerability 9.8 3.53%

Attack Methodology

Phase 1: Initial Access and Internal Reconnaissance

ARMORY CASTLE initially compromised the BeyondTrust Remote Support appliance by exploiting CVE-2026-102764. Following the initial compromise, the attackers established persistence and conducted reconnaissance within the environment.

They used Nmap to identify internal systems exposing VMware-related services, focusing on ports 9080, 5480, and 2012. They also accessed VMware-related URIs, including /sdk and /ui, to identify potential targets.

The attackers subsequently moved laterally to internal Linux appliances that lacked endpoint detection and response (EDR) tooling.

Phase 2: Webshell Deployment and Command Execution

The attackers deployed two JSP-based webshells on an internal Linux appliance:

  • SLIMSAVAGE (ActiveSer.jsp): Provided command execution through /bin/sh. It accepted commands through HTTP requests and returned command output and error messages.
  • CAGEMATCH (u.jsp): Supported file uploads through multipart/form-data requests and saved uploaded files under the /tmp directory.

SLIMSAVAGE enabled remote command execution, while CAGEMATCH allowed the attackers to stage additional tools and payloads on the compromised appliance.

Phase 3: Privilege Escalation and Tool Deployment

ARMORY CASTLE escalated privileges to root by modifying the Set User ID (SUID) permissions of /bin/env. The attackers used GNU Debugger (gdb) to make the modification, enabling commands executed through the binary to run with root privileges.

After obtaining root access, they downloaded a RAR utility and an encrypted archive from the Remote Support appliance. The archive contained BONESAW, a Golang-based remote exploitation utility designed to target VMware vCenter.

Phase 4: vCenter Exploitation and SSO Compromise

The attackers used BONESAW to exploit CVE-2026-123890 against an internal vCenter server.

BONESAW obtained an authenticated administrator session by exploiting the SRP session key disclosure vulnerability. Its capabilities included:

  • Extracting the vCenter data.mdb database for offline analysis.
  • Obtaining the SAML Security Token Service (STS) private RSA signing key.
  • Creating unauthorized SSO administrator accounts.
  • Creating backdoor machine accounts through vmdir.
  • Forging administrative SAML 2.0 assertion tokens.
  • Assigning Global Administrator privileges on the vCenter root folder.

Mandiant observed BONESAW successfully creating an SSO administrator account and extracting the LMDB database.

Forensic evidence indicated that BONESAW was executed in early September 2026 against a vCenter server that had already been patched against CVE-2026-59309. The recovered Go binary contained a build timestamp of July 13, 2026, which preceded the July 29 disclosure of CVE-2026-59309. However, Go build metadata can be modified before compilation.

Phase 5: SAML Token Forgery and Credential Theft

Following the successful exploitation of vCenter, ARMORY CASTLE deployed SAWSNAKE (/tmp/sss), a Golang utility designed to manipulate SAML authentication.

SAWSNAKE extracted Identity Provider signing keys and trusted certificates from the vCenter database. It then used the extracted material to generate signed SAML assertions and obtain administrative session cookies.

This enabled Golden SAML attacks, allowing the attackers to forge authentication tokens, bypass multi-factor authentication (MFA), and impersonate users.

The attackers also deployed BEARBONES (/tmp/dbr), a backdoor based on the Dropbear SSH server. It modified password authentication to bypass normal system password validation and capture plaintext credentials. BEARBONES was configured to listen on TCP ports 53 and 33992 during the observed activity.

Using the compromised administrator account, ARMORY CASTLE enabled SSH on vCenter through the VAMI API endpoint /rest/appliance/access/ssh. The attackers then accessed the appliance over SSH and extracted the vCenter master cryptographic key and PostgreSQL database credentials before disabling SSH.

Phase 6: ESXi Access and Virtual Machine Data Extraction

After compromising vCenter, ARMORY CASTLE accessed ESXi hosts using the vpxuser account and the root account.

The attackers used WinSCP to enumerate the ESXi file system, attached disks, and mounted VMFS volumes. They also added an SSH public key to the ESXi root account's authorized_keys file to maintain access.

A VMware-specific utility named vmfs_browser.py was used to inspect virtual machine disk files and extract sensitive data, including:

  • Active Directory NTDS database files.
  • Windows SYSTEM and SECURITY registry hives.
  • Windows DNS-related files.

The extracted data was staged in a hidden .a directory on a VMFS volume, archived, and transferred using SCP. The attackers subsequently removed the staging directory.

Phase 7: Persistence and Data Exfiltration

ARMORY CASTLE used the compromised Linux appliance as an intermediate system to transfer staged archives back to the Remote Support appliance. The report indicates that the attackers likely exfiltrated the data from there.

The attackers also deployed LAZYBONES (/usr/bin/vmtoolscs), a Golang-based backdoor that communicates with its command-and-control infrastructure through Slack over HTTPS.

LAZYBONES used a systemd service configured to restart every 50 minutes. Its capabilities included command execution, file uploads, file downloads, and beacon interval modification. The malware encrypted messages using AES-256-CTR before Base64 encoding them and polled a designated Slack channel at intervals of 150 to 450 seconds.

Campaign Impact and Research Findings

The campaign resulted in the compromise of multiple systems across the targeted environment, including Remote Support appliances, internal Linux systems, vCenter servers, and ESXi hosts.

The attackers obtained unauthorized administrative access to vCenter, extracted sensitive authentication material, and gained access to virtual machine data.

The recovered BONESAW build timestamp suggests that the utility may have been developed before the public disclosure of CVE-2026-59309. However, the timestamp alone does not establish the exact development date.

Visual Attack Flow

Initial compromise of BeyondTrust Remote Support
CVE-2026-102764
↓
Internal reconnaissance and lateral movement
Nmap scanning and access to Linux appliances
↓
Webshell deployment
SLIMSAVAGE and CAGEMATCH
↓
Privilege escalation and BONESAW deployment
↓
VMware vCenter exploitation
CVE-2026-123890
↓
SSO compromise and SAML token forgery
SAWSNAKE and BEARBONES deployment
↓
ESXi host access and virtual machine disk enumeration
↓
Extraction of Active Directory databases and Windows registry hives
↓
Data staging and exfiltration through the compromised Linux appliance
↓
Persistent access through LAZYBONES Slack-based command-and-control

Indicators of Compromise (IoCs)

Network Indicators

Indicator Description
103.147.251.5Suspected obfuscation network IP
103.190.38.3Suspected obfuscation network IP
118.174.128.34Suspected obfuscation network IP
118.174.128.36Suspected obfuscation network IP
118.174.128.38Suspected obfuscation network IP
176.9.89.66Suspected obfuscation network IP
185.71.15.109Suspected obfuscation network IP
220.121.128.41Suspected obfuscation network IP
222.108.77.44Suspected obfuscation network IP
61.216.56.127Suspected obfuscation network IP
81.45.89.43Suspected obfuscation network IP

File Indicators

Filename or Path Associated Malware Description
ActiveSer.jspSLIMSAVAGECommand execution webshell
u.jspCAGEMATCHFile staging webshell
/tmp/123BONESAWvCenter exploitation utility
/tmp/sssSAWSNAKESAML authentication utility
/tmp/dbrBEARBONESSSH backdoor
/usr/bin/vmtoolscsLAZYBONESSlack-based backdoor

MITRE ATT&CK Mapping

Tactic Technique IDs
Discovery Network Service Discovery T1046
Execution Command and Scripting Interpreter: Unix Shell T1059.004
Persistence Server Software Component: Web Shell T1505.003
Credential Access Forge Web Credentials: SAML Tokens T1606.002
Persistence Create or Modify System Process: Systemd Service T1543.002

Mitigation and Recommendations

Organizations using affected VMware vCenter deployments should apply the security patches released for CVE-2026-123890.

  • Restrict access to vCenter management interfaces and RPC services to trusted systems and networks.
  • Implement granular inbound and outbound firewall policies instead of relying solely on default VAMI firewall configurations.
  • Monitor access to TCP ports 2012, 443, 5480, and 22 for suspicious activity.
  • Forward operating system, firewall, and command execution logs to a remote SIEM to improve visibility and reduce the impact of local log deletion.
  • Monitor unexpected SSH enablement through the VAMI API and investigate unauthorized administrator account creation.
  • Use the VCSA Hardening & Logging Tool referenced in the original investigation to implement additional firewall and logging controls, following appropriate testing and change-control procedures.

Instantly Fix Risks in Endpoints & Cloud with Saner

Saner is a continuous and integrated vulnerability & exposure management platform that instantly fixes risks in endpoints and cloud.

Featured Posts

Open Adobe Animate CVE-2026-114938: Dependency Patch and Exploitation Analysis - November 19, 2026
Adobe Animate CVE-2026-114938: Dependency Patch and Exploitation Analysis - November 19, 2026

CVE Research

Adobe Animate CVE-2026-114938: Dependency Patch and Exploitation Analysis - November 19, 2026

Adobe APSB26-208 addresses CVE-2026-114938 through an Oracle JDK dependency update in Adobe Animate. This analysis covers affected Windows and macOS versions, the Java4Shell proof of concept, reported probing, technical prerequisites, and verified patch guidance - without assuming an Adobe-specific exploit.

Nov 20, 2026

Open Four Critical CVEs on 19 November Enable Remote Code Execution in JetBrains TeamCity CI/CD Servers
Four Critical CVEs on 19 November Enable Remote Code Execution in JetBrains TeamCity CI/CD Servers

CVE Research

Four Critical CVEs on 19 November Enable Remote Code Execution in JetBrains TeamCity CI/CD Servers

Nov 20, 2026

Open PHP November 2026: 7 Critical-Priority Vulnerabilities and Remote Code Execution Risks
PHP November 2026: 7 Critical-Priority Vulnerabilities and Remote Code Execution Risks

CVE Research

PHP November 2026: 7 Critical-Priority Vulnerabilities and Remote Code Execution Risks

PHP's November 2026 security update addresses 7 vulnerabilities affecting Remote Code Execution Risks, and fixes.

Nov 20, 2026

Open Critical RCE CVE-2026-132891 Threatens JetBrains TeamCity Through External Pull Requests in November 19, 2026 Disclosure
Critical RCE CVE-2026-132891 Threatens JetBrains TeamCity Through External Pull Requests in November 19, 2026 Disclosure

CVE Research

Critical RCE CVE-2026-132891 Threatens JetBrains TeamCity Through External Pull Requests in November 19, 2026 Disclosure

JetBrains TeamCity faces a broad set of 181 CVE disclosures, led by critical CVE-2026-132891 (CVSS 9.8), an unauthenticated remote code execution flaw involving external pull requests. Explore affected versions, CI/CD security risks, and fixes.

Nov 20, 2026