Winnti for Linux
- Type
- Backdoor
- Capabilities
- Defense evasion
- Platforms
- Linux
Winnti for Linux is a Chinese-attributed Linux malware family comprising a main backdoor and a user-mode rootkit. The rootkit is heavily based on the open-source Azazel rootkit and abuses LD_PRELOAD dynamic-linker functionality to conceal the main backdoor’s activity. This user-space approach allows malicious shared libraries to interpose functions used by dynamically linked applications, supporting defense evasion without a kernel-mode rootkit.
The malware has used ICMP, UDP, custom TCP, and HTTP for outbound communications. Its custom TCP command-and-control protocol uses four-byte XOR encoding. It also stores configuration strings in XOR-encoded form and decodes them during execution.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
(Citation: TrendMicro EarthLusca 2022) | [Aquatic Panda](https://attack.mitre.org/groups/G0143) used [Winnti for Linux](https://attack.mitre.org/software/S0430) for access to victim Linux hosts during intrusions(Citation: Crowdstrike HuntReport 2022).
Techniques & procedures
13 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
1 technique
Execution
LD_PRELOAD enables users to load shared objects into a process's address space before any other shared library and prior to execution; threat actors leverage it to overwrite existing functions used by dynamically linked programs.
Persistence
1 technique
Persistence
[Winnti for Linux](https://attack.mitre.org/software/S0430) has used a passive listener, capable of identifying a specific magic value before executing tasking, as a secondary command and control (C2) mechanism.(Citation: Chronicle Winnti for Linux May 2019)
Stealth
7 techniques
Stealth
[Winnti for Linux](https://attack.mitre.org/software/S0430) has used a modified copy of the open-source userland rootkit Azazel, named libxselinux.so, to hide the malware's operations and network activity.(Citation: Chronicle Winnti for Linux May 2019)
The content repeatedly describes payloads, strings, configuration files, scripts, URLs, and binaries being obfuscated or encoded using Base64, XOR, RC4, AES, RSA, hex encoding, custom algorithms, and other methods across many malware families and threat actors.
[Winnti for Linux](https://attack.mitre.org/software/S0430) can encode its configuration file with single-byte XOR encoding.(Citation: Chronicle Winnti for Linux May 2019)
[Winnti for Linux](https://attack.mitre.org/software/S0430) has decoded XOR encoded strings holding its configuration upon execution.(Citation: Chronicle Winnti for Linux May 2019)
[Winnti for Linux](https://attack.mitre.org/software/S0430) has used a passive listener, capable of identifying a specific magic value before executing tasking, as a secondary command and control (C2) mechanism.(Citation: Chronicle Winnti for Linux May 2019)
The readdir function is modified to skip a file named "malicious_file," effectively hiding that file from the ls output. Azazel is used to hide processes, network connections, files, and directories.
LD_PRELOAD enables users to load shared objects into a process's address space before any other shared library and prior to execution; threat actors leverage it to overwrite existing functions used by dynamically linked programs.
Command and Control
7 techniques
Command and Control
Many entries describe XOR, XOR/ADD, bitwise NOT and XOR, ROR plus XOR, hexadecimal encoding after encryption, and custom encoding/obfuscation of HTTP traffic or beacons.
[Winnti for Linux](https://attack.mitre.org/software/S0430) has used HTTP in outbound communications.(Citation: Chronicle Winnti for Linux May 2019)
[Winnti for Linux](https://attack.mitre.org/software/S0430) has used ICMP, custom TCP, and UDP in outbound communications.(Citation: Chronicle Winnti for Linux May 2019)
[Winnti for Linux](https://attack.mitre.org/software/S0430) has the ability to deploy modules directly from command and control (C2) servers, possibly for remote command execution, file exfiltration, and socks5 proxying on the infected host. (Citation: Chronicle Winnti for Linux May 2019)
[Winnti for Linux](https://attack.mitre.org/software/S0430) has used a passive listener, capable of identifying a specific magic value before executing tasking, as a secondary command and control (C2) mechanism.(Citation: Chronicle Winnti for Linux May 2019)
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
[Winnti for Linux](https://attack.mitre.org/software/S0430) has used a custom TCP protocol with four-byte XOR for command and control (C2).(Citation: Chronicle Winnti for Linux May 2019)
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.