BARECLAW
- Type
- Proxyware
- Capabilities
- Post exploitationLateral movementDefense evasion
- Platforms
- Network device
BARECLAW is a custom C-based SOCKS5 proxy tunneler used by ARMORY CASTLE, formerly tracked as UNC5221, a suspected China-nexus cyberespionage actor. It forwards network traffic through compromised BeyondTrust Remote Support appliances, transporting SOCKS5 connections over WebSockets. The tool supports token authentication and XOR traffic obfuscation and provides a covert channel for command-and-control communications and access to downstream systems.
BARECLAW was deployed during post-exploitation activity following zero-day exploitation of CVE-2026-102764 in BeyondTrust Remote Support, with intrusions traced to late August 2026. Attackers modified the appliance's HAProxy configuration to forward selected incoming web requests to BARECLAW's local listener, exposing the tunnel through the appliance's public-facing web infrastructure while making it less apparent to ordinary external scanning. It was deployed alongside the SAWFLY PHP webshell. Credential-access attempts, privilege escalation, persistence mechanisms, and log deletion were also observed in these intrusions, but are distinct from BARECLAW's traffic-tunneling functionality.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Mandiant also attributed the hacking crew to the zero-day exploitation of a critical improper origin validation in BeyondTrust Remote Support (CVE-2026-102764, CVSS score: 9.3) to deliver malware families like SAWFLY and BARECLAW.
Mandiant also attributed the hacking crew to the zero-day exploitation of a critical improper origin validation in BeyondTrust Remote Support (CVE-2026-102764, CVSS score: 9.3) to deliver malware families like SAWFLY and BARECLAW.
Mandiant also attributed the hacking crew to the zero-day exploitation of a critical improper origin validation in BeyondTrust Remote Support (CVE-2026-102764, CVSS score: 9.3) to deliver malware families like SAWFLY and BARECLAW.
Attackers also modified the device’s HAProxy configuration to expose the BARECLAW WebSocket-based SOCKS5 proxy over the appliance’s public-facing interface for command and control (C2).
Techniques & procedures
3 distinct techniques documented for this family, organized by ATT&CK tactic.
Command and Control
3 techniques
Command and Control
Attackers also modified the device’s HAProxy configuration to expose the BARECLAW WebSocket-based SOCKS5 proxy over the appliance’s public-facing interface [T1090].
BARECLAW ( ingredi_ws ) Tunneler C Proxy SOCKS5 sur WebSocket
Proxy SOCKS5 sur WebSocket, obfuscation XOR
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
26 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.