ARMORY CASTLE Exploits BeyondTrust Remote Support as Zero-Day
Mandiant reports that the suspected PRC-nexus threat actor ARMORY CASTLE exploited a zero-day vulnerability in BeyondTrust Remote Support appliances in late August 2026, establishing stealthy persistence.

Mandiant has identified evidence that the threat actor ARMORY CASTLE, previously tracked as UNC5221 and associated with the PRC, exploited a zero-day vulnerability in BeyondTrust Remote Support appliances. The exploitation occurred in late August 2026, prior to BeyondTrust's public disclosure of CVE-2026-102764 on October 15th. This vulnerability allows for arbitrary file uploads, and ARMORY CASTLE leveraged it to gain initial access and establish a persistent foothold.
BeyondTrust Remote Support is a critical enterprise solution for secure remote access, enabling IT teams to troubleshoot endpoints. The successful exploitation of CVE-2026-102764 allows attackers to upload malicious files to the appliance. Mandiant observed the exploitation within various log files, including access, syslog, and messages, accessible via a LUKS-encrypted partition. Affected organizations are urged to apply BeyondTrust's security patches immediately.
Following the initial exploitation, ARMORY CASTLE employed a sophisticated set of tactics, techniques, and procedures (TTPs) to escalate privileges and achieve lateral movement. The actor demonstrated a deep understanding of the BeyondTrust appliance's internal workings, utilizing proprietary command-line interface (CLI) utilities, startup configuration templates, and local reverse-proxy routing. This allowed them to operate with significant stealth and effectiveness.
Mandiant identified custom malware used by ARMORY CASTLE, including the SAWFLY webshell and the BARECLAW tunneler. The SAWFLY webshell, a PHP-based backdoor, was staged at the web root and communicated via encrypted C2 channels using a custom Base32 transport and RC4 stream cipher. It was designed to evade automated scanners by returning a 404 error if a specific obfuscated parameter was not present.
To escalate privileges from the unprivileged service account to root, ARMORY CASTLE copied the system shell executable (/bin/sh) to a new file named /usr/bin/dbus-authd. They then modified this file's ownership to root and enabled Set User ID (SUID) permissions. This technique effectively created a persistent root-level backdoor, allowing the actor to execute commands with the highest level of privilege on the appliance.
With root access, ARMORY CASTLE proceeded to harvest credentials directly from the appliance's native secrets management database. They used the proprietary /ns/sbin/bt-secrets CLI utility to dump the appliance's credential vault, attempting both site-specific and global credential extraction. To cover their tracks, the actor also deleted logs related to the bt-secrets binary.
Mandiant warns that organizations should anticipate widespread exploitation following this disclosure. ARMORY CASTLE and other threat actors have a history of broadly exploiting vulnerabilities once they become public. The combination of a zero-day exploit, sophisticated post-exploitation techniques, custom malware, and credential harvesting makes this a significant threat to organizations relying on BeyondTrust Remote Support for secure remote access.
This new report details the specific malware deployed by ARMORY CASTLE, including the SAWFLY webshell and BARECLAW tunneler, and outlines how the attackers escalated privileges to root access. It further elaborates on the methods used to maintain persistence, such as copying binaries with SUID permissions and creating startup scripts, and details the exfiltration of credentials from BeyondTrust's secrets store. The article also provides specific patch information for SaaS and self-hosted customers, urging a full rebuild of compromised systems rather than just patching.
The new article provides further technical details on the post-exploitation activities conducted by Armory Castle, including the deployment of the SAWFLY PHP web shell for remote access and C2 communication. It also elaborates on the threat actor's methods for privilege escalation, credential harvesting using proprietary BeyondTrust utilities, and lateral movement into downstream systems via compromised administrator credentials.
The vulnerability, tracked as CVE-2026-102764, affects BeyondTrust Remote Support versions up to 26.2.3 and was exploited by the suspected China-linked APT ARMORY CASTLE since August 29. BeyondTrust released a patch on October 8, with SaaS tenants updated by October 9, but self-hosted customers must apply the BT26-05-RS update manually. Mandiant attributes the activity to ARMORY CASTLE (also known as UNC5221 or WARP PANDA), a group known for targeting edge devices and remote-access products.
This new report from Google TAG provides critical details on the exploitation of CVE-2026-102764, a flaw in BeyondTrust Remote Support. It confirms that the Chinese espionage actor Armory Castle has been actively exploiting this vulnerability since August 2026 to gain long-term persistence, escalating privileges to root-level control and deploying tools like the Sawfly webshell and Bareclaw tunneler. Google urges immediate patching and outlines specific protective measures beyond just applying the vendor's fix.
This new report from The Record provides further details on the exploitation of BeyondTrust's Remote Support appliances by the suspected Chinese state-sponsored group, identified as Armory Castle or UNC5221. It confirms the vulnerability is CVE-2026-102764 and details the attackers' ability to escalate privileges, move laterally, and exfiltrate credentials using custom malware like Sawfly and Bareclaw. The article also highlights BeyondTrust's release of a patch and available mitigations, while warning that any internet-reachable vulnerable appliance should be considered compromised.
This SecurityWeek article provides further technical details on the exploitation of CVE-2026-102764 by the Chinese APT group Armory Castle, also known as UNC5221 and Warp Panda. It elaborates on the specific tools deployed, such as the Sawfly webshell and Bareclaw tunneler, and details how the attackers escalated privileges, exfiltrated data using the appliance's file transfer service, and systematically deleted logs to cover their tracks. The article also notes that BeyondTrust identified the vulnerability on September 28th and had a patch ready by September 30th, with SaaS customers receiving it by October 9th.
BeyondTrust has released a patch for a critical zero-day vulnerability (CVE-2026-102764) in its Remote Support and Privileged Remote Access appliances, which has been actively exploited by a China-linked APT group since late August. The vendor urges all self-hosted customers to apply the fix immediately, as the vulnerability allows for remote exploitation leading to host-level control and access to sensitive credentials stored on the appliance. While BeyondTrust has patched its SaaS instances, the risk remains for self-hosted deployments, with experts warning that other threat actors could reverse-engineer the patch to develop their own exploits.
This new report from CyberScoop provides additional details on the Armory Castle (UNC5221) exploitation of the BeyondTrust Remote Support zero-day, CVE-2026-102764. It highlights the threat actor's sophisticated tradecraft, including rotating infrastructure for each victim to evade detection, and notes that the first known exploitation occurred on August 29th, with BeyondTrust detecting and containing the activity by September 28th.
This new report from Dark Reading indicates that the exploitation of BeyondTrust Remote Support zero-days is part of a broader trend of attackers targeting internet-facing appliances. While the specific CVE for the BeyondTrust vulnerability has not yet been disclosed, its active exploitation underscores the ongoing threat landscape and the critical need for prompt patching of edge security solutions, following similar incidents involving Ivanti, Cisco, and Palo Alto Networks.
CISA has officially added CVE-2026-102764 to its Known Exploited Vulnerabilities (KEV) catalog, underscoring the active exploitation of this critical authentication bypass flaw in BeyondTrust Remote Support. The advisory urges immediate patching for affected self-hosted appliances, noting that organizations using BeyondTrust-hosted (SaaS) deployments have already received the necessary updates.