---
title: Hunting ARMORY CASTLE in vSphere: BONESAW, SAWSNAKE, BEARBONES and LAZYBONES, from port-2012 scans to Golden SAML and NTDS theft off VMFS | ctxsec
url: https://ctxsec.com/items/hunt-armory-castle-bonesaw-sawsnake-vcenter-port-2012-sso-admin-golden-saml
description: "GTIG's write-up traces ARMORY CASTLE from a compromised BeyondTrust Remote Support appliance to internal Linux appliances without EDR, then to vCenter and ESXi. The group scanned for VMware ports, dropped two JSP webshells, used gdb to set SUID on /bin/env for root, exploited CVE-2026-123890 with BONESAW to copy vCenter's directory database and steal the STS signing key, forged SAML tokens with SAWSNAKE, briefly enabled SSH on vCenter through the VAMI API to take the master key and PostgreSQL credentials, then pulled Active Directory databases straight out of guest VM disks on ESXi."
status: "official (Google Threat Intelligence Group / Mandiant, Nov 19, 2026)"
published: 2026-11-19
---

> GTIG's write-up traces ARMORY CASTLE from a compromised BeyondTrust Remote Support appliance to internal Linux appliances without EDR, then to vCenter and ESXi. The group scanned for VMware ports, dropped two JSP webshells, used gdb to set SUID on /bin/env for root, exploited CVE-2026-123890 with BONESAW to copy vCenter's directory database and steal the STS signing key, forged SAML tokens with SAWSNAKE, briefly enabled SSH on vCenter through the VAMI API to take the master key and PostgreSQL credentials, then pulled Active Directory databases straight out of guest VM disks on ESXi.

[← Threat Hunting](/hunting) · [markdown](/items/hunt-armory-castle-bonesaw-sawsnake-vcenter-port-2012-sso-admin-golden-saml.md)

official (Google Threat Intelligence Group / Mandiant, Nov 19, 2026)

2026-11-19 3:37 PM ET

### Hunting ARMORY CASTLE in vSphere: BONESAW, SAWSNAKE, BEARBONES and LAZYBONES, from port-2012 scans to Golden SAML and NTDS theft off VMFS

- **Recon:** nmap SYN scans for TCP 443, 2012, 389, 5480 and 9080 across /24s from an internal appliance; visits to `/sdk` and `/ui`.
- **Webshells:** SLIMSAVAGE (`ActiveSer.jsp`, parameter `pwd=123`, runs `/bin/sh -c`) and CAGEMATCH (`u.jsp`, multipart upload to `/tmp`).
- **Privilege escalation:** base64 gdb script written to `/tmp/gdb_file` and run with `gdb -pid … --command=/tmp/gdb_file` to set SUID on `/bin/env`.
- **Tool staging:** `curl -k` pulls of `/content/r.js` from the Remote Support appliance to `/tmp/rar` and `/tmp/123.rar`; BONESAW at `/tmp/123` (internal name `vcenter-db-teamcheck-go`), SAWSNAKE at `/tmp/sss`, BEARBONES Dropbear-based backdoor at `/tmp/dbr` listening on TCP 53 or 33992 with host keys under `/tmp`.
- **vCenter signs:** a new local admin named like `sps-…@vsphere.local`; SSH turned on then off via `PUT /rest/appliance/access/ssh`; reads of the master crypto key and PostgreSQL password file; BONESAW output files named `extracted_tenant_signer_*` and `*-tenantcredential-*.key.pem`.
- **ESXi signs:** WinSCP sessions as root, a new key in root's `authorized_keys`, `vmfs_browser.py` extracting `Windows/NTDS`, `SYSTEM` and `SECURITY` from `-flat.vmdk` files, and an `o.tar.gz` copied out with scp.
- **Persistence:** LAZYBONES Go backdoor at `/usr/bin/vmtoolscs` using Slack API calls for C2, run from a systemd unit that restarts every 50 minutes. GTIG publishes YARA rules (including `G_Hunting_Backdoor_LAZYBONES_1`) in the report.

Sources: [Google Threat Intelligence Group / Mandiant: ARMORY CASTLE Exploits vSphere (Nov 19, 2026)](https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-vsphere) · [Broadcom VMSA-2026-0009: VMware vCenter, Tools, and SDDC Manager updates address multiple vulnerabilities (Nov 19, 2026)](https://support.broadcom.com/web/ecx/support-content-notification/-/external/content/SecurityAdvisories/0/39495)
