BARECLAW is a tunneler written in C that Google Threat Intelligence Group says a suspected China-nexus espionage group ran on a BeyondTrust Remote Support appliance in 2026.
In short
BARECLAW is a tunneler written in C that Google Threat Intelligence Group says a suspected China-nexus espionage group ran on a BeyondTrust Remote Support appliance in 2026. It turns the appliance into a hidden SOCKS5 proxy into the victim network.
Last updated 19 October 2026
Profile MapMalware
Names1names in public reportsBARECLAW
Techniques3ATT&CK techniques listedCommand and Control · Defense Evasion
Infection Steps4in the delivery chainAppliance controlled · Tunneler started
In one minute
What it is
A C tunneler that GTIG tracks as BARECLAW. It relays TCP connections over a WebSocket SOCKS5 proxy.
What it does
It lets an attacker reach internal systems through the compromised appliance, with optional token login and XOR-based obfuscation of the data.
Who uses it
Attributed by Google Threat Intelligence Group (15 October 2026) to ARMORY CASTLE, a suspected PRC-nexus espionage actor formerly tracked as UNC5221.
How it gets in
Run on a BeyondTrust Remote Support appliance after exploitation of CVE-2026-102764, then exposed by an edit to the HAProxy configuration.
What to do first
Patch with BT26-05-RS, rebuild any appliance exposed while unpatched, and review the reverse proxy configuration against a clean baseline.
What it does
GTIG describes BARECLAW as a SOCKS5 proxy carried over WebSocket. It embeds the CivetWeb web server and OpenSSL. Operators can require a token, obfuscate traffic, limit reachable networks by CIDR range, chain to another proxy and change the listening ports. Authentication, filtering and TLS are off by default.
In the case GTIG describes, it listened on a local port and the attackers edited the appliance reverse proxy so one URL path led to it. That kept it hidden from outside port scans. The case is tied to CVE-2026-102764 and to ARMORY CASTLE. The same attackers dropped the SAWFLY web shell as a foothold on the appliance.
GTIG also ties this group to the BRICKSTORM backdoor, which it hides on VMware vCenter servers and network appliances.
Names
Public sources use several names for this malware.
Names
Name
Where it appears
BARECLAW
Name given by Google Threat Intelligence Group in October 2026[1]
What it can do
What MITRE ATT&CK lists this malware as doing, by tactic. Each id opens our technique page where one exists, otherwise MITRE.
A tunneler written in C that Google Threat Intelligence Group found on a compromised BeyondTrust Remote Support appliance. It acts as a SOCKS5 proxy over WebSocket.
Who used it?
GTIG attributes it to ARMORY CASTLE, a suspected China-nexus espionage actor. No government body has named the group.
Why was it hard to see from outside?
GTIG says it listened only on the local address, and a reverse proxy rule sent one URL path to it, so port scans would not show it.
What does GTIG advise?
Patch, isolate suspect appliances, restrict outbound traffic, and rebuild exposed appliances from a clean image.
Google Threat Intelligence Group attributes the zero-day exploitation of BeyondTrust Remote Support (CVE-2026-102764), which it dates to late August 2026, to ARMORY CASTLE, a suspected China-linked spying group it formerly tracked as UNC5221. No government has named the group.
In late 2024 a hacker gained access to the Departmental Offices network of the US Department of the Treasury, and the case became public in early January 2025.
SAWFLY is a small PHP web shell that Google Threat Intelligence Group says a suspected China-nexus espionage group used on BeyondTrust Remote Support appliances in 2026.
Read more →
Stay Ahead of Digital Threats
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.