China-Linked Hackers Exploited BeyondTrust Zero-Day to Take Over Remote Support Servers
A China-linked cyber espionage group, Armory Castle, exploited a zero-day vulnerability (CVE-2026-102764) in BeyondTrust Remote Support in August 2026 to perform file operations on affected appliances.
Intelligence analysis by Gemini 2.5 Flash

The sophisticated threat actor, Armory Castle, known for exploiting zero-days in critical security products, leveraged an improper origin validation flaw in BeyondTrust's remote support software. This allowed them to gain administrative control, steal credentials, and establish persistence for long-term intelligence collection, prompting BeyondTrust to issue patches and an alert.
Imagine a special remote control that lets grown-ups fix computers from far away. A group of digital spies, called Armory Castle, found a secret, hidden flaw (like a secret back door) in this remote control program, called BeyondTrust. They used this secret door to sneak into some computers without anyone knowing, like a ninja. Once inside, they planted tiny secret agents, like a digital bug called SAWFLY, to steal important information and stay hidden, even after the company found and fixed the secret door.
Analysis
Armory Castle
Armory Castle, also tracked as UNC5221 or Warp Panda, is a China-nexus cyber espionage group with a documented history of exploiting zero-day vulnerabilities in widely used enterprise security products. Their modus operandi involves selectively targeting high-value organizations with newly discovered flaws, then moving to broad exploitation once the vulnerability becomes public. This strategy maximizes their intelligence collection efforts while minimizing the window for defenders to react.
The group's past activities include exploiting critical vulnerabilities in Citrix NetScaler and Ivanti Connect Secure appliances, demonstrating a consistent focus on network perimeter devices and remote access solutions. Their targets span a diverse range of sectors, including legal services, SaaS providers, business-process outsourcers, technology firms, and government entities, all indicative of a strategic intelligence gathering mandate. The sophistication of their attacks suggests significant resources and a deep understanding of targeted systems.
CVE-2026-102764
The vulnerability, identified as CVE-2026-102764 with a CVSS score of 9.3, is an improper origin validation flaw within an internal messaging component of BeyondTrust Remote Support. This critical flaw allowed a remote attacker to perform unauthorized file operations on an affected appliance, effectively granting them a foothold into the system. BeyondTrust confirmed that Armory Castle exploited this as a zero-day on August 29, 2026, targeting a single self-hosted appliance.
BeyondTrust has since released patches for this vulnerability, with SaaS customers automatically updated by October 9, 2026. Self-hosted customers running versions 24.3.1 through 26.2.3 are advised to apply the BT26-05-RS patch, while older versions require an upgrade before applying the fix. The rapid disclosure and patching efforts are crucial to mitigate the risk, especially given Armory Castle's tendency for widespread exploitation post-disclosure.
SAWFLY
Following a successful compromise via the BeyondTrust zero-day, Armory Castle deployed a lightweight PHP web shell codenamed SAWFLY. This web shell serves as a critical component for interactive remote access and encrypted command-and-control (C2) communication, allowing the attackers to maintain a persistent presence within the compromised environment. Mandiant's analysis indicates that SAWFLY facilitates privilege escalation, full administrative control, and persistence across reboots.
The post-exploitation activities observed include gaining root-level control, harvesting credentials from the appliance's native secrets management database using proprietary utilities like "/ns/sbin/bt-secrets", and abusing administrative access to pivot into downstream systems. The attackers also used a custom C-based SOCKS5 proxy tunneler, BARECLAW, to tunnel traffic through the BeyondTrust device and modified configuration files to ensure its internet accessibility. Furthermore, they systematically deleted system, web server, and application-level logs to hinder detection efforts, showcasing a profound understanding of the BeyondTrust appliance's internal workings.
Key points
- China-linked group Armory Castle exploited a zero-day (CVE-2026-102764) in BeyondTrust Remote Support.
- The vulnerability allowed remote attackers to perform file operations and gain administrative control over appliances.
- Exploitation occurred on August 29, 2026, targeting a single self-hosted system.
- Attackers deployed a PHP web shell, SAWFLY, for persistent remote access and command-and-control.
- Post-exploitation involved credential theft, privilege escalation, lateral movement, and log deletion to evade detection.
- BeyondTrust has released patches, urging self-hosted customers to update immediately.
The rapid release of patches for BeyondTrust Remote Support, both for SaaS and self-hosted customers, offers a clear path to remediation. This swift action, coupled with the public disclosure, allows organizations to defend against further exploitation by Armory Castle and similar threat actors, enhancing overall cybersecurity posture.
Despite the availability of patches, the sophisticated nature of Armory Castle's attacks, including their deep understanding of appliance internals and use of AI for exploit chain development, suggests a persistent and evolving threat. The group's tendency to broadly exploit unpatched systems post-disclosure means many organizations remain at high risk if updates are not applied immediately, potentially leading to widespread data exfiltration and long-term intelligence collection.



