Azazel
- Type
- Rootkit
- Capabilities
- PersistenceDefense evasionProcess injection
- Platforms
- Linux
Azazel is an open-source Linux user-space rootkit with backdoor capabilities. It abuses dynamic linker preloading to inject a malicious shared library into dynamically linked processes and interpose standard library functions. These hooks manipulate application-visible results to conceal processes, files, directories, network connections, and listening ports without removing the underlying artifacts. Dynamic linker hijacking also supports persistence and helps maintain unauthorized access.
A modified Azazel library has been used as the concealment component of Winnti for Linux, hiding the activity of a separate main backdoor. The Winnti-derived implementation adds configuration decoding and uses explicit process and network-connection lists in place of Azazel’s standard port-range-based hiding. This operational use associates Azazel-derived code with Chinese-attributed Winnti activity, but Azazel itself is publicly available rather than exclusive to that threat actor. Its user-space interception primarily affects dynamically linked applications that load the malicious library.
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.
Techniques & procedures
5 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
1 technique
Execution
“Setting LD_PRELOAD=/path/to/rootkit.so allows the malicious shared object to override libc functions when the target binary executes.” | “By intercepting standard libc functions such as opendir, readdir, and fopen, these rootkits could manipulate the output of diagnostic tools like ps, ls, and netstat.”
Persistence
1 technique
Persistence
Attackers can introduce custom modules or modify existing configurations to manipulate authentication flows, capture credentials, grant unauthorized access, or execute malicious code.
Stealth
4 techniques
Stealth
“Rootkits are stealthy malware designed to conceal malicious activity, such as files, processes, network connections, kernel modules, or accounts.”
Stripping binaries and appending a single null byte significantly degraded static detections; limited XOR string/configuration encoding and lightweight packing were also used.
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.
“Setting LD_PRELOAD=/path/to/rootkit.so allows the malicious shared object to override libc functions when the target binary executes.” | “By intercepting standard libc functions such as opendir, readdir, and fopen, these rootkits could manipulate the output of diagnostic tools like ps, ls, and netstat.”
Defense Impairment
1 technique
Defense Impairment
Attackers can introduce custom modules or modify existing configurations to manipulate authentication flows, capture credentials, grant unauthorized access, or execute malicious code.
Credential Access
1 technique
Credential Access
Attackers can introduce custom modules or modify existing configurations to manipulate authentication flows, capture credentials, grant unauthorized access, or execute malicious code.
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.