Malware profile

China Chopper

Also known as caidao.exe

China Chopper is a small web shell that attackers place on a web server to get remote access to it.

In short

China Chopper is a small web shell that attackers place on a web server to get remote access to it. It has a client the attacker runs and a server part that sits on the victim server. UK and partner agencies describe it as a publicly available tool used by hostile actors to manage files and open a terminal on compromised web servers.

Profile MapMalware
  1. Names2names in public reportsChina Chopper · caidao.exe
  2. Techniques10ATT&CK techniques listedPersistence · Execution · Command and Control
  3. Infection Steps4in the delivery chainServer compromised · Web shell uploaded
  4. Linked Groups3groups that use itAPT40 threat group profile · APT41 · Mustang Panda

In one minute

What it is
A small web shell that gives an attacker remote control of a web server.
What it does
Lets the attacker run terminal commands, manage, upload and download files, and change file timestamps on the compromised server.
Who uses it
MITRE ATT&CK lists APT40, APT41 and Mustang Panda as users. CISA and the FBI, in advisory AA21-200A of 19 July 2021, name China Chopper among the tools used by APT40.
How it gets in
Installed after a web application flaw or weak configuration on a web server is abused, as described by CISA and the NCSC.
What to do first
Patch public-facing web servers and check them on the host for web shells and unexpected files, as the NCSC advises.

What it does

A web shell is a script placed on a web server so an attacker can control the machine from outside. China Chopper is one of the best known examples. Because it sits on the server, it does not need the infected machine to call back to a separate command server.

The UK National Cyber Security Centre says the tool is only about 4 Kb in size and its payload is easy to change. It says this makes detection and mitigation difficult for network defenders.

Names

Public sources use several names for this malware.

Names
NameWhere it appears
China ChopperMITRE ATT&CK software S0020 and the NCSC joint report on publicly available hacking tools[1, 2]
caidao.exeFile name of the China Chopper client in the NCSC joint report[2]

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.

Persistence

  • Server Software Component: Web Shell T1505.003

    The server component is itself a web shell payload that stays on the web server.[1]

Execution

  • Command and Scripting Interpreter: Windows Command Shell T1059.003

    The server component can open a command terminal for the attacker.[1, 2]

Command and Control

  • Application Layer Protocol: Web Protocols T1071.001

    The server component runs code that arrives in HTTP POST requests.[1, 2]

  • Ingress Tool Transfer T1105

    The server component can download remote files onto the server.[1, 2]

Collection

  • Data from Local System T1005

    The server component can upload local files from the server to the attacker.[1, 2]

Discovery

  • File and Directory Discovery T1083

    The server component can list the contents of directories.[1]

  • Network Service Discovery T1046

    The server component can spider authentication portals.[1]

Credential Access

  • Brute Force: Password Guessing T1110.001

    The server component can try many passwords against authentication portals.[1, 4]

Stealth

  • Indicator Removal: Timestomp T1070.006

    The server component can change the timestamp of files.[1, 2]

  • Obfuscated Files or Information: Software Packing T1027.002

    The client component is packed with UPX.[1]

How it spreads

China Chopper does not spread by itself. The NCSC says web shells are uploaded to a target host after an initial compromise. CISA says web shells are commonly installed through web application vulnerabilities or configuration weaknesses, such as SQL injection, file upload flaws and exposed admin interfaces. In summer 2018 the NCSC report describes attackers targeting public-facing servers with CVE-2017-3066 in Adobe ColdFusion and using China Chopper as the second-stage payload.

How an infection runs

The order of steps in a typical infection, as the sources describe it.

  1. Server compromised

    An attacker abuses a vulnerability on a public-facing web server. In summer 2018 the NCSC report names CVE-2017-3066 in Adobe ColdFusion.[2]

  2. Web shell uploaded

    The text-based China Chopper server file is placed on the victim web server.[2]

  3. Attacker connects

    The attacker uses the client application to reach the web shell at any time.[2]

  4. Files and data handled

    Once connected, the attacker manipulates files and data on the web server.[2]

Timeline

  1. 2012

    In widespread use

    The NCSC report says China Chopper has been in widespread use since 2012.[2]

  2. 10 November 2015

    CISA web shell alert

    CISA issued alert TA15-314A with UK, Australian, Canadian and New Zealand partners. It names China Chopper as a web shell frequently chosen by adversaries.[4]

  3. Summer 2018

    ColdFusion attacks

    The NCSC report says threat actors targeted web servers with CVE-2017-3066 and used China Chopper as the second-stage payload.[2]

  4. 11 October 2018

    Joint report on hacking tools

    The NCSC published a joint report from agencies of five nations that covers China Chopper.[3]

  5. 19 July 2021

    APT40 advisory

    CISA and the FBI published AA21-200A on APT40 after the US Department of Justice unsealed an indictment against four APT40 actors. China Chopper is in the malware list.[5]

Detection and defense

  1. Patch public-facing web servers

    Keep all software on public-facing web servers up to date and audit custom web applications for common flaws, since the best defense is to stop the server being compromised.[2, 4]

    Counters: T1505.003

  2. Look for the web shell on the host

    The NCSC says the most effective detection is on the host itself, on public-facing web servers. TLS makes network-based detection harder.[2]

    Counters: T1505.003 T1071.001

  3. Watch web server behavior

    Look for web server processes starting other processes, and for outbound connections from web servers that break their usual pattern.[2]

    Counters: T1059.003 T1105

  4. Restrict what the web server can write

    Stop web server processes from writing to folders where PHP can run, and from changing existing files. Apply least privilege on the web server.[2, 4]

    Counters: T1505.003 T1070.006

  5. Use web logs and file checks

    Monitor web access logs for new unexpected pages or traffic changes. CISA lists files with unusual timestamps and files in the web root as signs of a web shell. Every China Chopper action is an HTTP POST.[2, 4]

    Counters: T1071.001 T1070.006

  6. Protect logins

    Use strong credentials and multi-factor authentication, and audit remote logins, as AA21-200A advises.[5]

    Counters: T1110.001

  7. Use the official detection resources

    CISA alert TA15-314A gives web shell detection guidance and CISA and FBI advisory AA21-200A carries indicators in STIX format. The NCSC joint report on publicly available hacking tools covers China Chopper detection.[2, 4, 5]

    Counters: T1505.003

Questions

What is China Chopper?

A web shell, a script on a web server that gives an attacker remote access. MITRE describes it as hosted on web servers and not relying on an infected system calling back to a command server.

How big is China Chopper?

The NCSC says it is just 4 Kb in size and has an easily modifiable payload, which makes detection difficult.

Who uses China Chopper?

MITRE ATT&CK lists several groups, including APT40, APT41 and Mustang Panda. CISA and the FBI list it among the tools used by APT40 in advisory AA21-200A.

How is China Chopper detected?

The NCSC says the most effective way is on the host itself, on public-facing web servers. Every action generates an HTTP POST, which can be spotted in logs, though TLS makes network tools less effective.

In our research

  1. Software Shared Across ATT&CK Groups: Reuse Study October 2026
  2. APT27 threat group profile Threat group
  3. APT40 threat group profile Threat group
  4. APT41 Threat group
  5. HAFNIUM Threat group
  6. Mustang Panda Threat group

Sources

  1. China Chopper, Software S0020 MITRE ATT&CKSupports: Description, platform, techniques and groups listed for China Chopper.
  2. Joint report on publicly available hacking tools (PDF) NCSC UK with ACSC, CCCS, NZ NCSC and US partnersSupports: Use since 2012, size, capabilities, CVE-2017-3066 use in 2018 and detection advice.
  3. Joint report on publicly available hacking tools NCSC UKSupports: Publication date of 11 October 2018.
  4. TA15-314A Compromised Web Servers and Web Shells CISASupports: Web shell delivery, prevention and detection guidance, and the November 2015 release.
  5. AA21-200A Tactics, Techniques, and Procedures of Indicted APT40 Actors CISA and FBISupports: China Chopper listed among APT40 tools, July 2021 indictment and mitigations.
  6. APT41, Group G0096 MITRE ATT&CKSupports: MITRE lists APT41 as a user of China Chopper.
  7. Mustang Panda, Group G0129 MITRE ATT&CKSupports: MITRE lists Mustang Panda as a user of China Chopper.
  8. Leviathan, Group G0065 MITRE ATT&CKSupports: MITRE lists Leviathan, the MITRE name for APT40, as a user of China Chopper.