BARECLAW
- Type
- Proxyware
- Capabilities
- Post exploitationLateral movementDefense evasion
- Platforms
- Network device
BARECLAW is a custom C-based SOCKS5-over-WebSocket proxy tunneler used by ARMORY CASTLE, a suspected China-nexus cyberespionage actor formerly tracked as UNC5221. It forwards network traffic through compromised appliances, providing covert access to downstream systems and supporting command-and-control communications. The tunneler uses token authentication and XOR obfuscation.
BARECLAW was deployed on BeyondTrust Remote Support appliances following zero-day exploitation of CVE-2026-102764 in activity dating to late August 2026. Attackers modified the appliances’ HAProxy configuration to forward selected external WebSocket requests to BARECLAW’s local listener, exposing the proxy through the legitimate public-facing web interface while concealing its listener from ordinary external scanning. It was deployed alongside the SAWFLY webshell during post-exploitation operations.
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.
They also deployed BARECLAW, a custom SOCKS5-over-WebSocket tunneler, and modified /ns/config/haproxy.conf to route incoming requests through /uidchanarge to a local listener on TCP port 19800.
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
27 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.