Skip to main content
Mallory
Malware5 associated actors1 associated CVE

SAWFLY

Tracked since Oct 16, 2026 · Updated 24 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
Vulns1Associated
Actors5Associated
ATT&CK1Technique
IOCs2Tracked
Type
Webshell
Capabilities
Post exploitationPersistenceDefense evasion
Platforms
LinuxNetwork device

SAWFLY is a lightweight, obfuscated PHP webshell used by ARMORY CASTLE, a suspected China-linked cyberespionage actor formerly tracked as UNC5221 and also known as Warp Panda. It was deployed on BeyondTrust Remote Support appliances following zero-day exploitation of CVE-2026-102764 in late August 2026. Attackers placed the webshell in the appliance’s Laravel web root and used it as their primary interactive post-exploitation foothold, initially operating with the privileges of the web-service account.

SAWFLY accepts instructions through HTTP POST requests containing a designated command parameter. It decodes a custom Base32 transport format, decrypts instructions using RC4, executes the resulting PHP code through eval, and encrypts and encodes the results before returning them. This provides bidirectional encrypted command-and-control communications and interactive code execution. Requests lacking the expected parameter receive an HTTP 404 response, helping conceal the webshell’s presence.

In observed intrusions, operators used SAWFLY to interact with compromised appliances and establish a separate root-level backdoor through a root-owned, SUID-enabled shell. The broader operation included startup-based persistence, attempted extraction of appliance-managed credentials, deletion of logs, deployment of the BARECLAW tunneler, and abuse of native Remote Support functionality to access internal endpoints and collect documents. These additional activities involved operator actions and separate tools rather than dedicated SAWFLY modules.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

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.

CVE-2026-102764via loginsoft researchExploited in the wildAuthentication Bypass and File Upload in BeyondTrust Remote SupportARMORY CASTLE, formerly UNC5221, exploited the vulnerability as a zero-day in late August 2026. Post-exploitation activity included SAWFLY deployment, credential-vault theft, persistent root access and BARECLAW tunneling. | “ARMORY CASTLE ... exploited CVE-2026-102764 ... After exploitation, the actor staged the SAWFLY webshell (mangoapi.php) in the Laravel web root.”View vulnerability →Source ↗
Threat actors

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.

View more details →
UNC5221

“ARMORY CASTLE ... exploited CVE-2026-102764 ... After exploitation, the actor staged the SAWFLY webshell (mangoapi.php) in the Laravel web root.”

via loginsoft researchloginsoft.com
WARP PANDA

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.

via the hacker newsthehackernews.com
Storm-2416

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.

via the hacker newsthehackernews.com
VerdantBamboo

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.

via the hacker newsthehackernews.com
ARMORY CASTLE (formerly UNC5221)

The SAWFLY PHP-based web shell and BARECLAW SOCKS5 proxy tunneler are novel strains of malware observed during post-exploitation activity.

via greenbonegreenbone.net
MITRE ATT&CK

Techniques & procedures

1 distinct technique documented for this family, organized by ATT&CK tactic.

Persistence

1 technique
T1505.003Web ShellEvidence2

Dépôt du webshell SAWFLY ( mangoapi.php ) dans le répertoire web de l’appliance

Indicators of compromise

Observables

2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

24 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
cryptika blogNews · Nov 2, 2026Critical BeyondTrust Vulnerability Faces Fresh Exploitation Probes as Hackers Prepare for Mass Scanning | Cryptika CybersecurityPHP web shell deployed during earlier successful exploitation of BeyondTrust Remote Support. The article links those intrusions to ARMORY CASTLE and describes arbitrary file uploads, root privilege escalation, and attempts to access stored credentials and managed systems. SAWFLY deployment is not confirmed in the newly reported probes.Read more ↗the hacker newsNews · Oct 29, 2026China-Linked Hackers Exploited VMware ESX Zero-Day to Reduce Audit Trail VisibilityMalware delivered through Warp Panda's exploitation of BeyondTrust Remote Support. The content does not describe its capabilities.Read more ↗loginsoft researchNews · Oct 23, 2026Patched Months Ago, Exploited Today: This Week’s KEV Listings and the Malware Behind Them | Weekly Reports | LoginsoftObfuscated PHP webshell deployed on compromised BeyondTrust Remote Support appliances. It uses a custom Base32 transport layer and RC4 encryption for command-and-control communications, and executes attacker-supplied PHP through @eval(). The deployed filename was mangoapi.php.Read more ↗linuxsecurityNews · Oct 19, 2026BeyondTrust Remote Support Zero-Day Leaves Root BackdoorsPHP webshell deployed during an intrusion into BeyondTrust Remote Support attributed to ARMORY CASTLE. It decoded encrypted instructions and executed the resulting code on the Linux host, initially with the limited privileges of the web-service account.Read more ↗
+18 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching2Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors5Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities1CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping1Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.