BADFLICK
- Type
- Backdoor
- Capabilities
- ReconnaissanceExfiltrationDefense evasionPost exploitation
- Delivery
- Spearphishing
- Platforms
- Windows
BADFLICK is a Windows backdoor associated with the China-linked espionage group APT40, also tracked as Leviathan and GreenCrash. It has been observed as one of the group’s frequently used backdoors in intrusions targeting government, academic, research, maritime, and other strategic sectors aligned with APT40 collection priorities. BADFLICK has been delivered through spearphishing campaigns, including malicious Microsoft Word attachments that rely on user execution.
Functionally, BADFLICK supports remote access and post-compromise collection. Reported capabilities include generating a reverse shell, downloading files from command-and-control infrastructure, uploading files from victim systems, and searching the infected host for files of interest. It also performs host and network reconnaissance by collecting details such as the victim computer name, processor and memory information, and IP address information. BADFLICK has also been documented decoding shellcode with a custom rotating XOR routine and delaying outbound communication for several minutes, behavior consistent with defense evasion and staged execution.
Within APT40 operations, BADFLICK has been used alongside other malware and tooling to help establish footholds and support broader intrusion activity. Its observed tradecraft is consistent with espionage-oriented backdoors used for interactive access, victim profiling, file collection, and follow-on tasking on compromised Windows hosts.
Associated vulnerabilities
4 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
(Citation: FireEye Periscope March 2018)(Citation: Accenture MUDCARP March 2019)
Techniques & procedures
16 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
"APT40 has been observed leveraging a variety of techniques for initial compromise, including web server exploitation..."
[BADFLICK](https://attack.mitre.org/software/S0642) has been distributed via spearphishing campaigns containing malicious Microsoft Word documents.(Citation: Accenture MUDCARP March 2019)
Execution
2 techniques
Execution
has attempted to get victims to launch malicious Microsoft Word attachments delivered via spearphishing emails... has required user execution of a malicious MSI installer... has been executed through user installation of an executable disguised as a flash installer.
[BADFLICK](https://attack.mitre.org/software/S0642) has relied upon users clicking on a malicious attachment delivered through spearphishing.(Citation: Accenture MUDCARP March 2019)
Persistence
1 technique
Persistence
"APT40 relies heavily on web shells for an initial foothold... provide continued access... re-infect... and facilitate lateral movement."
Stealth
2 techniques
Stealth
[BADFLICK](https://attack.mitre.org/software/S0642) can decode shellcode using a custom rotating XOR cipher.(Citation: Accenture MUDCARP March 2019)
[BADFLICK](https://attack.mitre.org/software/S0642) has delayed communication to the actor-controlled IP address by 5 minutes.(Citation: Accenture MUDCARP March 2019)
Credential Access
1 technique
Credential Access
"...credential harvesting tools to escalate privileges and dump password hashes... ProcDump... Windows Credential Editor (WCE)..."
Discovery
4 techniques
Discovery
[BADFLICK](https://attack.mitre.org/software/S0642) has captured victim IP address details.(Citation: Accenture MUDCARP March 2019)
[BADFLICK](https://attack.mitre.org/software/S0642) has captured victim computer name, memory space, and CPU details.(Citation: Accenture MUDCARP March 2019)
[BADFLICK](https://attack.mitre.org/software/S0642) has searched for files on the infected host.(Citation: Accenture MUDCARP March 2019)
[BADFLICK](https://attack.mitre.org/software/S0642) has delayed communication to the actor-controlled IP address by 5 minutes.(Citation: Accenture MUDCARP March 2019)
Collection
2 techniques
Collection
[BADFLICK](https://attack.mitre.org/software/S0642) has uploaded files from victims' machines.(Citation: Accenture MUDCARP March 2019)
[BADFLICK](https://attack.mitre.org/software/S0642) has compressed data using the aPLib compression library.(Citation: Accenture MUDCARP March 2019)
Command and Control
2 techniques
Command and Control
"Common TCP ports 80 and 443 are used to blend in with routine network traffic."
[BADFLICK](https://attack.mitre.org/software/S0642) has download files from its C2 server.(Citation: Accenture MUDCARP March 2019)
Exfiltration
1 technique
Exfiltration
Many entries state malware or actors can upload, transfer, send, or exfiltrate files from compromised hosts to command-and-control servers or attacker infrastructure.
Recent activity
21 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.