Article
APT27
APT27 is a China-aligned APT active since 2012, targeting government, defense, and critical infrastructure using advanced espionage tactics.
Quick links
Press Enter to search, Esc to close
Malware profile
Derusbi is malware that MITRE ATT&CK says is used by multiple Chinese APT groups.
In short
Derusbi is malware that MITRE ATT&CK says is used by multiple Chinese APT groups. Both Windows and Linux variants have been observed. MITRE records abilities such as logging keystrokes, capturing screen, audio and video, running a remote shell and deleting files.
MITRE says Derusbi is used by several Chinese APT groups, so it is not tied to one actor. It records both a Windows and a Linux version.
US government documents list it among the tools of two groups: the one behind the 2020 APT 41 indictment and the APT40 actors indicted in 2021.
Public sources use several names for this malware.
| Name | Where it appears |
|---|---|
| Derusbi | MITRE ATT&CK software S0021, CISA advisory AA21-200A ("Derusbi/PHOTO") and FBI alert AC-000133-TT[1, 2, 3] |
| PHOTO | MITRE ATT&CK Associated Software, and written "Derusbi/PHOTO" in CISA advisory AA21-200A[1, 2] |
What MITRE ATT&CK lists this malware as doing, by tactic. Each id opens our technique page where one exists, otherwise MITRE.
Fallback Channels T1008
It has a backup way to talk to its operators, using an HTTP beacon.[1]
Non-Application Layer Protocol T1095
It binds to a raw socket on a random source port between 31800 and 31900 for command traffic.[1]
Non-Standard Port T1571
It has sent unencrypted HTTP over port 443 for command traffic.[1]
Encrypted Channel: Symmetric Cryptography T1573.001
It hides command traffic with variable 4-byte XOR keys.[1]
Query Registry T1012
It can list Registry keys and values.[1]
System Owner/User Discovery T1033
The Linux version checks it runs as root and will not run otherwise. It also collects the username.[1]
Process Discovery T1057
It collects the current and parent process IDs.[1]
System Information Discovery T1082
It gathers the host name, the GCC version and details of the CPU, machine and operating system.[1]
File and Directory Discovery T1083
It can list directories, files and drives.[1]
Process Injection: Dynamic-link Library Injection T1055.001
It injects itself into the secure shell (SSH) process.[1]
Indicator Removal: File Deletion T1070.004
It can delete files. MITRE says it has loaded a Linux kernel module, then deleted it from disk and overwritten the data with null bytes.[1]
Indicator Removal: Timestomp T1070.006
It can change file timestamps.[1]
The sources we could open do not describe how Derusbi reaches a victim. The CISA advisory on APT40 says that group got in through stolen credentials, exposed services, phishing and public-facing applications, but it does not say which of these delivered Derusbi.
The FBI, with CISA, published alert AC-000133-TT on the US indictment of five China-based actors. It lists Derusbi among the malware the group has used.[3]
CISA published advisory AA21-200A on the DOJ indictment of four APT40 actors, unsealed on 19 July 2021. It lists Derusbi/PHOTO among the malware and tools the group used.[2]
CISA advises installing verified vendor patches, putting internet-connected servers first, and using compensating controls where patching is not possible. It also advises routine audits of patch management.[2]
CISA advises strong credentials, regular password changes and multi-factor authentication, especially for webmail and VPN, and logging use of administrator commands such as net, ipconfig and ping.[2]
CISA advises logging DNS queries, considering blocking outbound DNS not from approved servers, monitoring DNS for command traffic, and watching server disk use for big changes.[2]
CISA advises network and system baselines to spot unusual activity, auditing logs, and multi-sourced reputation services for files, DNS, URLs, IPs and email addresses.[2]
MITRE ATT&CK describes it as malware used by multiple Chinese APT groups, with Windows and Linux variants.
MITRE lists PHOTO as an associated name, and CISA writes "Derusbi/PHOTO" in its APT40 advisory.
CISA, in July 2021, listed it among malware and tools used by APT40 actors. The FBI, with CISA, listed it in 2020 among malware used by the group tied to the APT 41 indictment. MITRE also lists Axiom and Deep Panda.
MITRE records keylogging, screen, audio and video capture, a remote Bash shell, file listing and deletion, and command traffic hidden with XOR keys.
CISA advises prompt patching of internet-facing servers, multi-factor authentication, logging and monitoring DNS, and baselines to spot unusual activity. These are APT40 advice, not Derusbi-only advice.
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.