← Lab /Security & privacy

ARMORY CASTLE used a zero-day in BeyondTrust Remote Support to gain persistent root access

ARMORY CASTLE exploited CVE-2026-102764 as a zero-day to obtain persistent root control over BeyondTrust Remote Support appliances.

Security & privacy Mandiant / GTIG 15 Oct 2026 Attack Real-world evidence

Published as “ARMORY CASTLE Exploits BeyondTrust”

Why it matters

Organizations must assume compromise of any internet-exposed BeyondTrust appliance and apply patches and mitigations immediately.

Summary

Mandiant observed ARMORY CASTLE exploiting CVE-2026-102764 to upload a custom SAWFLY PHP webshell onto BeyondTrust Remote Support appliances. The actors then escalated to root by creating a SUID-enabled copy of /bin/sh and modified sudoers templates for persistent privilege. They also deployed a custom BARECLAW SOCKS5 tunneler, altered haproxy.conf for hidden access, and deleted logs to cover tracks. Evidence comes from log files recovered from an encrypted partition of a compromised appliance.

What they found 1

  1. ARMORY CASTLE leveraged CVE-2026-102764 to upload files and gain host-level control.

    “The successful exploitation of this vulnerability results in the arbitrary upload of files.”

Caveats 1

  • Mandiant was unable to recover the file associated with the POST requests.

What’s new here 4

  • Identification of the custom SAWFLY PHP webshell that uses Base32 and RC4 for encrypted C2.
  • Discovery of the BARECLAW custom SOCKS5 tunneler deployed on the appliance.
  • Detailed description of post-exploitation techniques: SUID privilege escalation, sudoers template persistence, and systematic log deletion.
  • Comprehensive remediation and hardening guidance for BeyondTrust Remote Support.