A suspected China-linked espionage group exploited a critical BeyondTrust Remote Support zero-day to compromise appliances, target privileged credentials, and access downstream systems.
Disclosed on October 15, the vulnerability, CVE-2026-102764, is associated with security advisory BT26-05 and attacks attributed to ARMORY CASTLE, previously tracked as UNC5221.
BeyondTrust reported exploitation on August 29 against one BeyondTrust-hosted Remote Support instance and one self-hosted appliance. Its threat hunters identified the hosted compromise on September 28 and contained that instance within 27 minutes.
Critical BeyondTrust Zero-Day
According to BeyondTrust, CVE-2026-102764 allows unauthenticated remote attackers to perform file operations, including arbitrary uploads, potentially enabling host-level compromise.
It affects all supported Remote Support versions through 26.2.3. BeyondTrust is withholding detailed vulnerability mechanics while customers patch exposed appliances.
Remote Support is confirmed vulnerable. BeyondTrust also released a precautionary patch for Privileged Remote Access because it shares affected code, although internal testing had not identified an exploitation path in that product.
Self-hosted customers should urgently apply the appropriate BT26-05 update. Mandiant identified SAWFLY, an obfuscated PHP web shell deployed as mangoapi.php, as a principal foothold.
It processes specially formatted HTTP POST requests using Base32 encoding and RC4 encryption, returning HTTP 404 responses when its expected parameter is missing to evade routine scanning.
After gaining access, the attackers obtained root-level control and established persistence. Investigators found a copied shell at /usr/bin/dbus-authd configured with root ownership and SUID permissions, alongside startup modifications that restored passwordless administrative privileges through appliance configuration templates.
The operators invoked BeyondTrust’s native bt-secrets utility with multiple command variations to retrieve vault contents. Mandiant describes this activity as attempted credential harvesting; root access nevertheless exposed credentials stored or brokered by the compromised appliance.
The attackers also abused compromised application administrator credentials, raising Jump Item and Team permissions to Administrator.
This enabled remote sessions to internal endpoints, where the attackers used native file-transfer capabilities to exfiltrate reconnaissance documents, including software inventories.
Another tool, BARECLAW, provided SOCKS5 tunneling over WebSockets. The attackers modified HAProxy routing to direct a specific public-facing request path to the tunneler’s local listener, blending their access channel into the appliance’s existing web infrastructure.
BeyondTrust said its sensors detected privilege escalation in real time, but a third-party automated triage system incorrectly closed the alerts as false positives.
Independent threat hunting subsequently uncovered the intrusion. The company is changing controls to prevent automated closure of high-severity signals without additional verification.
Security teams should patch immediately, restrict administrative interfaces, limit outbound connectivity, and preserve externally forwarded logs. Investigators observed extensive log deletion, which may have left appliance-local evidence incomplete or manipulated.
Where compromise is suspected, preserve forensic evidence before rebuilding and rotate exposed credentials after securing the appliance. Review unauthorized permission changes, unusual support sessions, and gaps in log forwarding.
Mandiant warns that ARMORY CASTLE could expand exploitation following disclosure, consistent with its previous campaigns against vulnerable internet-facing edge appliances worldwide.
Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team