CVE-2026-102764: BeyondTrust Remote Support Unauthenticated Origin Spoofing & File Operations Zero-Day (BT26-05)
Critical pre-authentication origin validation zero-day (BT26-05) added to CISA KEV on October 16, 2026. Exploited in the wild since August 29, 2026 by the China-nexus espionage cluster ARMORY CASTLE (UNC5221 / Warp Panda) to write the SAWFLY PHP web shell, escalate to root via SUID /usr/bin/dbus-authd, dump credentials via bt-secrets, and establish BARECLAW SOCKS5 tunnels.
HERMES THREAT SCORE & TIER-0 PRIVILEGED ACCESS GATEWAY EVALUATION
Target:BeyondTrust Remote Support โ Internal Messaging Subsystem & Credential Broker (<= 26.2.3) While CVSS v4.0 assigns a base score of 9.3 (Critical) with Subsequent System metrics rated None (SC:N/SI:N/SA:N), the Hermes Threat Score elevates CVE-2026-102764 to 99 (EXTREME) with a Hermes Agentic Security Score (HASS) of 82 (HIGH). BeyondTrust Remote Support (formerly Bomgar) operates as a Tier-0 enterprise privileged access gateway holding vaulted credentials and pre-authorized Jump Item conduits into thousands of internal domain controllers, hypervisors, and production servers. Confirmed zero-day exploitation by ARMORY CASTLE (UNC5221 / Warp Panda) added to the CISA KEV catalog on October 16, 2026 proves that unauthenticated file operations on the appliance immediately cascade into root escalation (/usr/bin/dbus-authd), vault exfiltration (bt-secrets), and downstream enterprise compromise.
CVE-2026-102764: BeyondTrust Remote Support Unauthenticated Origin Spoofing & File Operations Zero-Day (BT26-05)VULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in BeyondTrust Remote Support documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
Executive Summary
Section titled โExecutive SummaryโOn October 16, 2026, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) added CVE-2026-102764 (vendor advisory BT26-05) to its Known Exploited Vulnerabilities (KEV) Catalog following joint disclosures by BeyondTrust, Google Threat Intelligence Group (GTIG), and Mandiant. Rated 9.3 (Critical) under CVSS v4.0, CVE-2026-102764 is a pre-authentication Authentication Bypass by Spoofing / Improper Origin Validation vulnerability (CWE-290 / CWE-346) affecting all versions of BeyondTrust Remote Support up to and including 26.2.3.
Joint incident response investigations by Mandiant revealed that ARMORY CASTLEโa suspected China-nexus cyber espionage threat actor formerly tracked as UNC5221 and Warp Pandaโexploited CVE-2026-102764 as a zero-day in the wild starting at least August 29, 2026. By spoofing trusted origin headers and internal message routing attributes on the applianceโs messaging bus, unauthenticated remote attackers bypass boundary verification to perform arbitrary file operations on the underlying appliance. ARMORY CASTLE leveraged this primitive to drop the encrypted SAWFLY PHP web shell into the web root, establish persistent root access via a rogue SUID binary (/usr/bin/dbus-authd), dump vaulted secrets using the native bt-secrets CLI utility, and expose a custom C-based SOCKS5 proxy (BARECLAW) through modified HAProxy rules (haproxy.conf).
Technical Vulnerability Mechanics & Post-Exploitation Chain
Section titled โTechnical Vulnerability Mechanics & Post-Exploitation ChainโRoot Cause Analysis: Internal Messaging Component Origin Spoofing (CWE-290)
Section titled โRoot Cause Analysis: Internal Messaging Component Origin Spoofing (CWE-290)โBeyondTrust Remote Support appliances utilize a multi-tier architecture where an external reverse proxy (HAProxy / web frontend) routes client, representative, and Jump Client sessions to internal messaging daemons and PHP/CGI backend handlers. Certain high-privilege internal messaging operationsโincluding diagnostic bundle handling, session staging, and file synchronization primitivesโare intended to be invoked exclusively by local loopback services or authenticated internal broker processes.
In versions <= 26.2.3, the internal messaging dispatcher failed to cryptographically bind or strictly validate the transport-layer origin of incoming IPC/HTTP messages (CWE-290). Instead, the component trusted caller-manipulable origin metadata (such as spoofed local routing headers and internal message envelope attributes) forwarded across the web gateway. Under these conditions, an unauthenticated remote attacker can craft a spoofed message request that the internal messaging handler treats as an authoritative local system instruction, unlocking arbitrary file write and copy operations under the web/application service context.
flowchart TD subgraph Attacker["ARMORY CASTLE (UNC5221 / Warp Panda)"] Spoof["Crafted Unauthenticated Request<br/>(Spoofed Internal Message Origin Metadata)"] end
subgraph Appliance["BeyondTrust Remote Support Appliance (<= 26.2.3)"] HAProxy["HAProxy Edge Listener & Web Gateway"] Spoof --> HAProxy HAProxy --> MsgBus{"Internal Messaging Component<br/>Improper Origin Validation (CWE-290)"} MsgBus -- "Arbitrary File Operations" --> Sawfly["1. Web Root Drop: SAWFLY<br/>(Obfuscated Encrypted PHP Web Shell)"] Sawfly --> Privesc["2. Root Escalation & Persistence<br/>cp /bin/sh /usr/bin/dbus-authd (SUID 4755)<br/>& Passwordless Sudo Injection"] Privesc --> Vault["3. Credential Vault Harvesting<br/>/usr/bin/bt-secrets Dump"] Privesc --> Bareclaw["4. Network Tunneling<br/>BARECLAW C SOCKS5 Proxy + haproxy.conf Edit"] end
subgraph Enterprise["Downstream Customer Enterprise Network"] Vault --> Jump["5. Lateral Movement via Jump Items<br/>& Log Wiping in LUKS Partitions"] Bareclaw --> Jump end
style MsgBus fill:#ff4d4d,stroke:#990000,color:#ffffff style Privesc fill:#ff1a1a,stroke:#800000,color:#ffffffVulnerable vs. Patched Origin Verification Logic
Section titled โVulnerable vs. Patched Origin Verification LogicโThe architectural flaw and the remediation introduced in the BT26-05-RS security patch can be represented by the following message origin verification model:
// VULNERABLE PATTERN: BeyondTrust Remote Support <= 26.2.3 (Internal Messaging Handler)int handle_internal_file_message(http_request_t *req, ipc_msg_t *msg) { // FLAW (CWE-290): Trusts spoofable origin header / envelope attribute from external request const char *msg_origin = get_header_or_envelope(req, "X-BT-Internal-Origin");
if (msg_origin != NULL && strcmp(msg_origin, "local-appliance-broker") == 0) { // Executes privileged file staging/write operation without session authentication return execute_file_operation(msg->op_type, msg->src_path, msg->dst_path, msg->payload); } return ERR_UNAUTHORIZED;}
// PATCHED PATTERN: BeyondTrust Remote Support with BT26-05-RS Appliedint handle_internal_file_message(http_request_t *req, ipc_msg_t *msg) { // 1. Strip all internal origin headers at the external HAProxy / edge boundary // 2. Enforce peer socket verification (AF_UNIX / SO_PEERCRED) and HMAC message signing if (!is_verified_unix_domain_peer(req->socket_fd) || !verify_internal_hmac(msg)) { log_security_violation("Blocked spoofed internal messaging origin attempt"); return ERR_FORBIDDEN; } return execute_file_operation(msg->op_type, msg->src_path, msg->dst_path, msg->payload);}ARMORY CASTLE (UNC5221) Tradecraft & Malware Ecosystem
Section titled โARMORY CASTLE (UNC5221) Tradecraft & Malware EcosystemโMandiant and GTIG forensic investigations of compromised self-hosted and cloud appliances documented a highly disciplined, multi-stage post-exploitation playbook executed by ARMORY CASTLE:
- Initial Foothold via
SAWFLYWeb Shell: Immediately after exploiting CVE-2026-102764 to perform arbitrary file operations, the adversary writes SAWFLYโa lightweight, heavily obfuscated PHP web shellโdirectly into the applianceโs web-accessible directory. SAWFLY implements bidirectional encrypted command-and-control (C2) within legitimate-looking HTTPS traffic. - Privilege Escalation & Reboot-Persistent Root Backdoor (
/usr/bin/dbus-authd): After escalating torooton the Linux-based appliance, ARMORY CASTLE copies the system shell (/bin/sh) to a masqueraded path at/usr/bin/dbus-authd, assignsroot:rootownership, and sets the SUID bit (chmod 4755 /usr/bin/dbus-authd). To ensure persistence across firmware or service restarts, the actor modifies startup scripts and injects passwordlesssudorules for the web service account. - Credential Vault Exfiltration via
bt-secrets: With root execution established, the threat actor invokes BeyondTrustโs native command-line secret management utility,bt-secrets, to decrypt and dump stored administrative passwords, OAuth/API tokens, Active Directory bind credentials, and Jump Item endpoint keys from the appliance vault. - Covert SOCKS5 Tunneling via
BARECLAW&haproxy.confTampering: To pivot into isolated internal customer subnets without triggering outbound firewall alerts, the adversary deploys BARECLAW, a custom C-based SOCKS5 proxy tunneler. Crucially, ARMORY CASTLE modifies the applianceโshaproxy.confconfiguration so that inbound connections carrying specific characteristics on the standard HTTPS port (443) are silently routed by HAProxy directly to the local BARECLAW listener. - Anti-Forensics & Log Wiping on LUKS Partitions:
Before initiating lateral movement through compromised Jump Items, the operator selectively truncates or deletes entries in
syslog, web access logs, and session recordings stored within the applianceโs LUKS-encrypted storage volumes.
Forensic Analysis & Detection Engineering
Section titled โForensic Analysis & Detection EngineeringโDefenders investigating BeyondTrust Remote Support appliances (or inspecting forensic disk images of LUKS-encrypted appliance partitions) should hunt for the SAWFLY web shell, the rogue /usr/bin/dbus-authd SUID binary, BARECLAW processes, and unauthorized invocations of bt-secrets. Refer to our guides on Linux Filesystem Analysis and Linux Process Memory Analysis for memory acquisition and deleted inode recovery.
title: BeyondTrust Remote Support Zero-Day Post-Exploitation & ARMORY CASTLE Activity (CVE-2026-102764)id: 7c3a91e4-1027-464a-b91e-beyondtrust2605status: experimentaldescription: Detects post-exploitation tradecraft associated with ARMORY CASTLE (UNC5221) exploitation of CVE-2026-102764 on BeyondTrust Remote Support appliances, including SUID /usr/bin/dbus-authd creation, bt-secrets vault dumping, and haproxy.conf tampering.references: - https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2026-102764 - https://www.beyondtrust.com/trust-center/security-advisoriesauthor: Hermes Threat Intelligencedate: 2026/10/17logsource: product: linux category: process_creationdetection: selection_suid_backdoor: Image|endswith: - '/usr/bin/dbus-authd' CommandLine|contains: - 'dbus-authd' selection_vault_dump: CommandLine|contains: - 'bt-secrets' ParentImage|endswith: - '/php-fpm' - '/php-cgi' - '/httpd' - '/apache2' - '/sh' - '/bash' - '/dbus-authd' selection_haproxy_tamper: CommandLine|contains|all: - 'haproxy.conf' Image|endswith: - '/sed' - '/awk' - '/cp' - '/mv' - '/tee' condition: 1 of selection_*falsepositives: - Legitimate appliance upgrade scripts invoking bt-secrets under verified vendor update daemonslevel: criticaltags: - attack.initial_access - attack.t1190 - attack.privilege_escalation - attack.t1548.001 - attack.credential_access - attack.t1555 - attack.command_and_control - attack.t1090 - cve.2026-102764rule APT_ArmoryCastle_BeyondTrust_Artifacts_CVE_2026_102764 { meta: description = "Detects ARMORY CASTLE (UNC5221) SAWFLY PHP webshell, BARECLAW SOCKS5 tunneler, and SUID persistence markers on BeyondTrust appliances" author = "Hermes Threat Intelligence" cve = "CVE-2026-102764" date = "2026-10-17" severity = "CRITICAL" strings: // SAWFLY obfuscated PHP web shell & encrypted C2 markers $sawfly_1 = "openssl_decrypt" ascii nocase $sawfly_2 = "eval(gzinflate(" ascii nocase $sawfly_3 = "$_SERVER['HTTP_" ascii
// BARECLAW C-based SOCKS5 proxy tunneler indicators $bareclaw_1 = { 05 01 00 05 01 00 01 } // SOCKS5 handshake byte sequence $bareclaw_2 = "dbus-authd" ascii $bareclaw_3 = "bt-secrets" ascii condition: (filesize < 500KB and all of ($sawfly_*)) or (uint32(0) == 0x464c457f and 2 of ($bareclaw_*))}#!/usr/bin/env bash# Hermes Forensic Triage Script for CVE-2026-102764 (BeyondTrust Remote Support BT26-05)set -euo pipefail
echo "[*] 1. Checking for rogue ARMORY CASTLE SUID root shell (/usr/bin/dbus-authd)..."if [ -f "/usr/bin/dbus-authd" ]; then echo "[!] CRITICAL ALERT: /usr/bin/dbus-authd exists!" ls -la /usr/bin/dbus-authd sha256sum /usr/bin/dbus-authd /bin/shfi
echo "[*] 2. Auditing all SUID/SGID binaries modified in the last 90 days..."find / -perm /6000 -type f -mtime -90 -exec ls -la {} + 2>/dev/null || true
echo "[*] 3. Inspecting HAProxy configuration for unauthorized BARECLAW backend routing..."find /etc /opt /var -name "haproxy.conf" -exec grep -HnE "(backend|use_backend|server|127\.0\.0\.1)" {} + 2>/dev/null || true
echo "[*] 4. Hunting for recently modified PHP files (SAWFLY web shell) in web directories..."find /var/www /opt -name "*.php" -mtime -90 -exec ls -la {} + 2>/dev/null || true
echo "[*] 5. Checking sudoers for unauthorized passwordless entries..."grep -rnE "NOPASSWD" /etc/sudoers /etc/sudoers.d/ 2>/dev/null || trueActionable Indicators of Compromise (IOCs)
Section titled โActionable Indicators of Compromise (IOCs)โ| Indicator Type | Observable / Indicator | Attribution & Role | Status | Source |
|---|---|---|---|---|
| IPv4 Address | 45.76.102[.]44 | ARMORY CASTLE (UNC5221) C2 ingress / BARECLAW controller | ACTIVE | Mandiant GTIG |
| IPv4 Address | 104.238.159[.]78 | Compromised egress probe delivering origin-spoofed HTTP requests | ACTIVE | CISA KEV Advisory |
| IPv4 Address | 198.199.112[.]5 | Secondary staging host for SAWFLY webshell drops | ACTIVE | BeyondTrust IR |
| File SHA-256 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 | sawfly.php (Obfuscated encrypted PHP webshell) | CRITICAL | Mandiant Forensic Dump |
| File SHA-256 | 9f83c68a49c95b6c2780e0c90c74be59c38234850d999f8d9fa89f7f02b37812 | bareclaw (ELF 64-bit SOCKS5 proxy binary) | CRITICAL | Appliance Forensics |
| File Artifact | /usr/bin/dbus-authd (SUID root permissions) | Persistent SUID backdoor binary | MALICIOUS | Incident Response |
| HTTP Header | X-BT-Internal-Origin: local-appliance-broker | Spoofed messaging origin header on external requests | MALICIOUS | Perimeter Ingress |
| Binary Execution | /usr/bin/bt-secrets executed outside maintenance | Credential vault dumping attempt | CONFIRMED | Auditd Telemetry |
Remediation & Incident Response Directives
Section titled โRemediation & Incident Response DirectivesโVersion Matrix & Patch Engineering
Section titled โVersion Matrix & Patch EngineeringโBeyondTrust released security bulletin BT26-05 and patch package BT26-05-RS to remediate this zero-day. The patch revamps the appliance message origin handler:
- Strips incoming
X-BT-Internal-Originheaders at the external HAProxy edge before requests enter application queues. - Enforces strict POSIX peer credential validation (
SO_PEERCRED) on UNIX domain sockets (AF_UNIX) and verifies HMAC signatures for all inter-process file operations. - Automatically revokes SUID root permissions on
/usr/bin/dbus-authdand hardens file permissions across the appliance.
| Product Branch | Vulnerable Versions | Fixed Release / Patch | Patch Status |
|---|---|---|---|
| BeyondTrust Remote Support 26.x | 26.2.0 โ 26.2.3 | 26.2.4 or BT26-05-RS | Mandatory Vendor Fix |
| BeyondTrust Remote Support 25.x | 25.1.0 โ 25.3.x | BT26-05-RS | Security Patch Package |
| BeyondTrust Remote Support 24.x | 24.3.1 โ 24.3.x | BT26-05-RS | Security Patch Package |
| Legacy Releases | < 24.3.1 | Upgrade to 24.3.1+ then apply BT26-05-RS | Upgrade Required |
- Apply the
BT26-05-RSPatch Immediately:- BeyondTrust SaaS Instances: Patched automatically by BeyondTrust by October 9, 2026; still audit Jump Item session logs for suspicious activity dating back to late August 2026.
- Self-Hosted Appliances (
24.3.1through26.2.3): Apply theBT26-05-RSpatch immediately via the/applianceadministrative interface (or upgrade to version 26.2.4+). - Legacy Deployments (
< 24.3.1): Upgrade immediately to a supported release branch (>= 24.3.1) before applyingBT26-05-RS.
- Perform Full Compromise Assessment Before Re-Trusting the Appliance:
Inspect the underlying filesystem and LUKS-encrypted partitions for
/usr/bin/dbus-authd, unauthorized PHP files in the web root (SAWFLY), anomalous C binaries running in memory (BARECLAW), modifiedhaproxy.confrouting directives, and unexpected gaps insyslogor session audit trails. - Rotate All Vaulted Credentials & Audit Jump Items:
If any indicator of compromise is identified, rebuild the appliance from a clean golden image, rotate every credential stored in the BeyondTrust vault (
bt-secrets), revoke active Jump Client certificates, and audit all downstream Windows and Linux servers accessed via Jump Items since August 29, 2026. - Restrict Administrative Interface Exposure:
Place the
/appliancemanagement interface behind strict IP allow-lists or Zero-Trust Network Access (ZTNA) boundaries and enforce hardware-backed MFA for all representative accounts.