Skip to content
Threat Feed
critical threat exploited

ARMORY CASTLE Exploitation of BeyondTrust Remote Support

The PRC-nexus actor ARMORY CASTLE is exploiting the arbitrary file upload vulnerability CVE-2026-102764 in BeyondTrust Remote Support appliances to deploy web shells, escalate privileges, and harvest credentials.

CVE search metadata

CVE search record: CVE-2026-102764. KEV: no. Product: Remote Support. Brief: ARMORY CASTLE Exploitation of BeyondTrust Remote Support. Brief link: https://feed.craftedsignal.io/briefs/2026-10-armory-castle-beyondtrust/

In late August 2026, the threat actor ARMORY CASTLE (formerly tracked as UNC5221) began exploiting a zero-day vulnerability, CVE-2026-102764, in BeyondTrust Remote Support appliances. This vulnerability allows for arbitrary file uploads, enabling the actor to achieve remote code execution. Upon gaining an initial foothold, the actor deployed the custom SAWFLY PHP webshell to interact with the device. ARMORY CASTLE demonstrated extensive knowledge of the appliance's internals, utilizing proprietary binaries such as 'bt-secrets' to extract sensitive credentials from the native vault. The actor maintains persistence and ensures root-level control by manipulating SUID permissions and modifying startup configuration templates. These intrusions represent a sophisticated effort to gain persistent access to enterprise remote support infrastructure, facilitating potential lateral movement and long-term espionage within target organizations.

Attack Chain

  1. Attacker exploits the arbitrary file upload vulnerability CVE-2026-102764 by initiating POST requests to the endpoint '/app_84304470.php'.
  2. The SAWFLY webshell ('mangoapi.php') is written to the web root path '/%SITE_SERVICE_ACCOUNT%/ingredi/app/laravel/public/'.
  3. The actor executes commands via the webshell under the unprivileged site service account.
  4. Privilege escalation is achieved by copying '/bin/sh' to '/usr/bin/dbus-authd' and setting the SUID bit on the file.
  5. The actor leverages the administrative CLI utility '/ns/sbin/bt-secrets' to dump administrative passwords and API keys from the appliance vault.
  6. Persistence is established by creating a startup script 'zz-root-persist' in the '/home/bomgar/sbin/post_boot.d' directory.
  7. Artifacts are cleaned up by deleting logs in '/home/bomgar/log/bt-secrets.log' to evade detection.

Impact

Successful exploitation grants attackers full administrative control over the BeyondTrust Remote Support appliance. This exposure includes the potential compromise of all managed credentials, persistent backdoor access, and the ability to intercept remote support sessions, impacting the security of all downstream endpoints managed by the compromised device.

Recommendation

  • Apply the security patches provided by BeyondTrust for CVE-2026-102764 immediately.
  • Monitor for the creation of files with SUID permissions in /usr/bin/ or other non-standard directories.
  • Audit logs for execution of the '/ns/sbin/bt-secrets' utility, particularly with arguments like 'get' or 'vault'.
  • Monitor for the creation of files within the '/home/bomgar/sbin/post_boot.d' directory.
  • Deploy the provided Sigma rules to detect the SAWFLY webshell traffic and SUID manipulation.

Immediate actions

Patch BeyondTrust Remote Support appliances to the version specified in BT26-05

IT Operations 24h

Mitigations

Upgrade BeyondTrust Remote Support appliance firmware

immediate IT Operations

CVE-2026-102764

Detection coverage 2

Detect SAWFLY Webshell Execution

critical

Detects potential SAWFLY webshell activity by identifying the specific parameter _c94mfe in incoming HTTP requests

sigma tactics: initial_access techniques: T1505.003 sources: webserver

Detect SUID File Manipulation

high

Detects the creation or modification of SUID files, a technique used by ARMORY CASTLE for privilege escalation

sigma tactics: privilege_escalation techniques: T1548.001 sources: process_creation, linux

Detection queries are available on the platform. Get full rules →