Chinese Espionage Group Uses Zero-Day in BeyondTrust Remote Support

New intelligence reveals that a China-linked espionage group leveraged a zero-day vulnerability in BeyondTrust Remote Support appliances to gain root access and maintain persistent control. The flaw was disclosed by the vendor on October 15, 2026, but perensics show the intrusion occurred as early as late August. The vulnerability is catalogued as CVE-2026-102764. It allows unauthenticated attackers to perform file operations on vulnerable Remote Support appliances, making it a powerful entry point.

Break-in, Root Escalation, and Backdoors Deployed

The intruders, linked to a group dubbed ARMORY CASTLE (formerly known as UNC5221), used this zero-day to install malware, harvest credentials, escalate privileges, and move laterally through networks. Indicators show deployment of a custom webshell dubbed SAWFLY and a tunneling tool named BARECLAW. These tools were used in tandem with BeyondTrust’s inbuilt features to establish deeper and stealthier footholds. Because Remote Support appliances often connect to internal endpoints, compromised devices can lead to exposure far beyond the appliance itself.

Technical Path of Intrusion and How Persistence Was Achieved

Investigation uncovered that attackers sent POST requests to a scripted PHP endpoint, later creating a webshell file named mangoapi.php in the web root. The webshell required a specific HTTP parameter (_c94mfe) to execute, returning a standard error if the parameter was missing—this aided in evading detection. Post-exploit, they escalated privileges by copying the system shell to /usr/bin/dbus-authd and setting the file’s owner to root, enabling the Set User ID (SUID) flag to run commands as root.

With root access, the attackers accessed BeyondTrust’s secrets vault, deleted logs, amended administrative permissions, and modified configuration to keep control. They deployed a startup script, zz-root-persist, which granted an account passwordless sudo rights and manipulated sudoers files. For network escape, BARECLAW was used as a custom SOCKS5 proxy over WebSockets, listening locally, then exposed via HAProxy rerouting requests to a path /uidchanarge. These techniques reflect a growing trend of exploiting edge appliances as beachheads for deeper intrusion.

Patch, Mitigation, and Detection

BeyondTrust confirms that versions up through Remote Support 26.2.3 are impacted. The patch—designated BT26-05—was released on October 15, 2026 for both SaaS tenants (patched October 9) and for self-hosted customers, who also must upgrade older versions before applying the fix. However, patching stops future exploitation—it doesn’t erase any traces of previous compromise.

Organizations are urged to perform audits to detect possible breaches: preserve firewall, proxy, and external logs; look for unexpected files in web roots; check for SUID flags on binaries; examine startup scripts, sudoers file changes, credential vault access, and sudden elevation of administrator permissions. If compromise is confirmed or deemed likely, rebuilding the appliance from a clean, patched image is recommended over simply rebooting or resetting the system. Once defenses are reinforced, credentials should be rotated—doing so beforehand may allow attackers to capture replacements if a device remains under their influence.

Key Indicators of Compromise (IoCs): SHA-256 hashes of SAWFLY webshell and BARECLAW tunneler; filenames like mangoapi.php, ingredi_ws; paths such as /usr/bin/dbus-authd for the SUID shell; presence of the zz-root-persist script; local port 19800 listener; specific HTTP parameter _c94mfe; HAProxy path /uidchanarge.

This zero-day case raises alarms about how edge and remote support appliances are becoming ripe targets. As defenders quickly patch the known vulnerability, attackers already embedded may continue to harvest credentials or use backdoors unless organizations act aggressively to hunt and remediate these threats. For enterprises using BeyondTrust Remote Support, risk here extends past a simple vulnerability—it underscores the dangers of having critical infrastructure tools compromised, and how essential it has become to observe defense-in-depth, vigilant monitoring, and rapid incident response.