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.
What it does
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.
Names
Public sources use several names for this malware.
What it can do
The ATT&CK techniques the cited sources map to this tool, by tactic. Each id opens our technique page where one exists, otherwise MITRE.
Command and Control
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]
Discovery
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]
Stealth
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]
Collection
How it spreads
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.
Timeline
- 16 September 2020
FBI and CISA alert on APT 41 indictment
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]
- 19 July 2021
CISA advisory on APT40
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]
Who uses it
- Threat group APT40 threat group profile APT40 (tracked by MITRE as Leviathan) is attributed by the US and UK governments (2021) and by agencies in eight countries (2024) to China's Ministry of State Security. China · Since 2009
- Threat group APT41 MITRE describes APT41 as a Chinese state-sponsored espionage group, as researchers have assessed it, that also runs financially motivated operations. China · Since 2012
Detection and defense
Patch internet-facing systems
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]
Protect accounts
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]
Watch DNS and disk use
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]
Use baselines and reputation services
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]
What Brandefense can do
- Scan your domain in Brandefense Atlas, free
Atlas checks public sources for leaked credentials, phishing domains, dark web mentions and data sales, then gives your domain a risk grade. Free, no sign-up.
- Cyber Threat Intelligence
Brandefense Cyber Threat Intelligence tracks malware families and the infrastructure they use, and shares indicators your team can check against its own systems.
Frequently Asked Questions
What is Derusbi?
MITRE ATT&CK describes it as malware used by multiple Chinese APT groups, with Windows and Linux variants.
What is PHOTO?
MITRE lists PHOTO as an associated name, and CISA writes "Derusbi/PHOTO" in its APT40 advisory.
Who uses Derusbi?
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.
What can it do?
MITRE records keylogging, screen, audio and video capture, a remote Bash shell, file listing and deletion, and command traffic hidden with XOR keys.
How do defenders reduce the risk?
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.
Sources
- Derusbi, Software S0021MITRE ATT&CK · Supports: Description, alias PHOTO, platforms, dates, techniques and groups.
- Tactics, Techniques, and Procedures of Indicted APT40 Actors Associated With China's MSS Hainan State Security Department, AA21-200ACISA · Supports: 19 July 2021 advisory listing Derusbi/PHOTO among APT40 malware, plus mitigations.
- Indictment of China-Based Cyber Actors Associated with APT 41 for Intrusion Activities, Alert AC-000133-TTFBI with CISA · Supports: 16 September 2020 alert listing Derusbi among malware used by the group.
- Leviathan, Group G0065MITRE ATT&CK · Supports: MITRE lists Derusbi as software of Leviathan (APT40), attributed to MSS Hainan State Security Department.
- APT41, Group G0096MITRE ATT&CK · Supports: MITRE lists Derusbi as software of APT41.
