Skip to main content
Mallory
Malware5 associated actors5 associated CVEs

AntSword

Tracked since Nov 25, 2025 · Updated 8 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
Vulns5Associated
Actors5Associated
ATT&CK7Techniques
IOCs1Tracked
Type
Webshell
Capabilities
PersistencePost exploitationDefense evasionReconnaissanceLateral movementExfiltration
Platforms
WindowsLinux

AntSword is an open-source, Chinese-developed web shell management framework used to control compromised web servers through compatible server-side payloads. Although it has legitimate security-testing applications, threat actors widely abuse it for remote command execution, persistent backdoor access, reconnaissance, lateral movement, and additional malware deployment. Its implementations support PHP, ASP, ASP.NET, C#, and JSP environments, with command-execution interfaces for Windows and Linux.

AntSword provides a virtual terminal for issuing commands and retrieving their output. Its communications support HTTP form submissions, multipart requests, raw request bodies, and WebSockets. Configurable encoders and decoders transform requests and responses, while extensions add encrypted communications. Evasion features include randomized parameter names and User-Agent headers, junk-parameter injection, and variable-length request chunking that splits recognizable execution strings. PHP templates attempt to circumvent filesystem restrictions and select among available command-execution functions. The extension ecosystem adds host reconnaissance, security-product identification, reverse shells, and in-memory payload-loading functionality.

Attackers typically deploy AntSword-compatible web shells after exploiting or abusing exposed web applications and management interfaces. Observed environments include IIS, Apache Tomcat, vulnerable Cityworks installations, and servers accessed through unauthenticated phpMyAdmin interfaces. In one intrusion, MariaDB query-log poisoning created a PHP web shell subsequently operated through AntSword. Web shell command output has also been used to exfiltrate Base64-encoded archives.

Documented users include APT41, APT15, UAT-6382, and CL-UNK-1068. Associated operations have targeted U.S. local governments, Asian media and entertainment organizations, Latin American foreign affairs ministries, and critical-infrastructure organizations across Asia. AntSword has supported deployment of additional tooling such as DUSTPAN and Nezha. Its public availability and use by multiple actors mean its presence alone does not establish attribution.

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

5 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2014-6271via osint team blogShellshockThe content examines AntSword's source/core/ implementations, modules/request.js, command-execution templates, encoders, decoders, and transport options.View vulnerability →Source ↗
CVE-2025-0994via broadcomExploited in the wildAuthenticated remote code execution in Trimble CityworksThe attackers have been leveraging a Cityworks RCE vulnerability (CVE-2025-0994) to get access to the targeted environments and perform the initial reconnaissance.View vulnerability →Source ↗
CVE-2025-0944via talosintelligence otherExploited in the wildSQL Injection in itsourcecode Tailoring Management System 1.0 customerview.phpTalos has found intrusions in enterprise networks of local governing bodies in the United States (U.S.), beginning January 2025 when initial exploitation first took place. UAT-6382 successfully exploited CVE-2025-0944, conducted reconnaissance and rapidly deployed a variety of web shells and custom-made malware to maintain long-term access.View vulnerability →Source ↗
CVE-2019-0604via palo alto networks unit 42 blogExploited in the wildMicrosoft SharePoint XML Deserialization Remote Code ExecutionObserved unknown threat actors exploiting a vulnerability in SharePoint described in CVE-2019-0604 to install several webshells on the website of a Middle East government organization... publicly available exploit code suggests that CVE-2019-0604 is still a major attack vector. | "One of these webshells is the open source AntSword webshell freely available on Github, which is remarkably similar to the infamous China Chopper webshell."View vulnerability →Source ↗
CVE-2026-1731via palo alto networks unit 42 blogPre-authentication OS command injection in BeyondTrust Remote Support and Privileged Remote Access"...a signature trait of C2 tools like China Chopper or AntSword."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 →
UAT-6382

Rapidly deploys web shells, such as AntSword and chinatso, followed by Cobalt Strike and VShell malware.

via talos intelligence blogstorage.ghost.io
APT41

In recent campaigns, ANTSWORD and BLUEBEAM web shells were seen on exposed Tomcat Apache Manager server to execute certutil.exe and download the DUSTPAN dropper.

via imda singaporeimda.gov.sg
Threat Group-3390

"One of these webshells is the open source AntSword webshell freely available on Github, which is remarkably similar to the infamous China Chopper webshell."

via palo alto networks unit 42 blogunit42.paloaltonetworks.com
Ke3chang

Web shells – AntSword, Behinder, China Chopper, Godzilla , giving the hackers backdoor access to the breached systems.

via bleeping computerbleepingcomputer.com
CL-UNK-1068

We observed the attackers deploying the GodZilla web shell, and a variation of AntSword

via ctoatncsc substackctoatncsc.substack.com
MITRE ATT&CK

Techniques & procedures

7 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence4

ANTSWORD and BLUEBEAM web shells were seen on exposed Tomcat Apache Manager server.

Execution

1 technique
T1059.003Windows Command ShellEvidence1

In the above screenshot, an alert was raised, which shows that the Apache web server process (httpd.exe) had run a specific child process... the command run is identical to what would be seen when using the virtual terminal capability of AntSword.

Persistence

1 technique
T1505.003Web ShellEvidence10

"ANTSWORD and BLUEBEAM web shells were seen on exposed Tomcat Apache Manager server."

Discovery

1 technique
T1033System Owner/User DiscoveryEvidence1

The access afforded by the ANTSWORD web shell is then used to run the "whoami" command to determine the privileges of the web server

Command and Control

3 techniques
T1071.001Web ProtocolsEvidence3

« Couche protocole : support de Godzilla (AES-128), Behinder (AES-128), AntSword (Base64) »

T1105Ingress Tool TransferEvidence2

Web shells were used to execute certutil.exe and download the DUSTPAN dropper; DUSTTRAP may download additional plugins.

T1219Remote Access ToolsEvidence1

The access afforded by the ANTSWORD web shell is then used to run the "whoami" command to determine the privileges of the web server and deliver the open-source Nezha agent, which can be used to remotely commandeer an infected host by connecting to an external server

Indicators of compromise

Observables

1 indicator 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

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

View more in app →
+21 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 matching1Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors5Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities5CVEs 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 mapping7Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.