Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
MalwareUsed by 8 actorsExploits 4 CVEs

AntSword

AntSword is an open-source Chinese web shell and web shell management framework used to manage compromised web servers and provide backdoor access. The content describes it as similar to China Chopper and notes it can be used to send commands from an attacker-controlled system to a compromised host, including through a virtual terminal. It has been observed deployed on IIS and other web servers after exploitation of internet-facing applications and vulnerabilities, including exposed phpMyAdmin instances, misconfigured web servers, Trimble Cityworks exploitation, SharePoint exploitation, and attacks exploiting SharePoint flaws CVE-2025-49706 and CVE-2025-53770. Reported post-compromise use includes command execution, persistence, lateral movement to additional hosts and SQL servers, and support for staging or exfiltration of data.

The malware/tool has been associated in reporting with multiple China-nexus intrusion sets and campaigns, including APT41/DUST, APT15, Cisco Talos-tracked UAT-6382, and Unit 42-tracked CL-UNK-1068. In these contexts it was used alongside other web shells and malware such as China Chopper, Behinder, Godzilla, BLUEBEAM, Ghost RAT/Gh0st RAT, DUSTPAN, BEACON, FRP, and Xnote. Targeting described in the content includes local governing bodies in the United States, Middle Eastern government organizations, and organizations across aviation, energy, government, law enforcement, pharmaceutical, technology, and telecommunications sectors in South, Southeast, and East Asia. High-confidence artifacts and behaviors mentioned include AntSword web shells written with English and Simplified Chinese messaging, operation through AntSword Shell Manager or AntSword virtual terminal, and one observed AntSword variant deployed as bitreeview.aspx that executed base64-decoded content from an HTTP POST parameter named Darr1R1ng via JScript eval. In one SharePoint case, the sample hash for the AntSword web shell was SHA256 15ecb6ac6c637b58b2114e6b21b5b18b0c9f5341ee74b428b70e17e64b7da55e.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

EXPLOITED CVES

Vulnerabilities exploited

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

4 CVES
CVE-2025-0994Remote Code Execution in Trimble Cityworks DeserializationExploited in the wild

Cisco Talos has observed exploitation of CVE-2025-0994, a remote-code-execution vulnerability in Cityworks, a popular asset management system. The Cybersecurity and Infrastructure Security Agency (CISA) and Trimble have both released advisories pertaining to this vulnerability... | Post-compromise activity involves the rapid deployment of web shells such as AntSword and chinatso/Chopper on the underlying IIS web servers.

via talosintelligence otherblog.talosintelligence.com
CVE-2025-0944SQL Injection in itsourcecode Tailoring Management System 1.0 customerview.phpExploited in the wild

Talos 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.

via talosintelligence otherblog.talosintelligence.com
CVE-2019-0604Microsoft SharePoint Remote Code Execution VulnerabilityExploited in the wild

Observed 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."

via palo alto networks unit 42 blogunit42.paloaltonetworks.com
CVE-2026-1731Pre-auth OS Command Injection RCE in BeyondTrust Remote Support and Privileged Remote Access

"...a signature trait of C2 tools like China Chopper or AntSword."

via palo alto networks unit 42 blogunit42.paloaltonetworks.com
THREAT ACTORS

Groups observed using it

8 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
UAT-6382

Post-compromise activity involves the rapid deployment of web shells such as AntSword and chinatso/Chopper on the underlying IIS web servers.

via talosintelligence otherblog.talosintelligence.com
suspected_chinese_threat_actors

Initial access facilitated by an internet-exposed phpMyAdmin panel enabled attackers to access the server SQL query interface and execute multiple SQL commands, resulting in the deployment of the ANTSWORD web shell.

via scworldscworld.com
china_nexus_apt

Huntress said Nezha was used in tandem with other families of malware and web shell management tools, such as Ghost RAT and AntSword. One of the first clues leading them to attribute the incident to Chinese actors was that, upon accessing the administrative interface of the compromised system, the hacker set the language to simplified Chinese. Minton added that even though Huntress stopped short of formally attributing the campaign to a specific Chinese threat actor, the use of Ghost RAT and AntSword was a clue because they both have been used before in activity publicly attributed to Chinese APT groups.

via the record mediatherecord.media
China-linked hackers (suspected)

Huntress reported attackers “gaining control of target servers via the AntSword web shell.”

via bank info securitybankinfosecurity.com
China-affiliated hackers

"...moved to issue commands via AntSword’s virtual terminal. AntSword is an open-source Chinese web shell management framework... to manage compromised web servers."

via cso onlinecsoonline.com
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
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence3

"Misconfigured web servers have been exploited by CL-UNK-1068 to distribute the Godzilla and ANTSWORD webshells..."

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 ShellEvidence9

The attacker first enabled general query logging... They then issued a query containing their one-liner PHP web shell... Crucially, they set the log file’s name with a .php extension, allowing it to be executed directly by sending POST requests to the 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 ProtocolsEvidence2

Each of these POST requests represents the attacker’s C2 server sending instructions to the compromised web server via the deployed web shell.

T1105Ingress Tool TransferEvidence1

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

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

IOCs tracked for this family

1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Hashes
1 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

TypeValueLatest sighting
hash.sha256●●●●●●●●●●●●View more in app9 months ago
What this page doesn’t show

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 matching1

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution8

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities4

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping7

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.