Chinese Espionage Campaign Used Reptile-Derived Linux Rootkits and Mélofée Malware
Threat Actor Intelligence · 3 sources · Updated 3mo ago · First seen Jul 20, 2023

Researchers linked multiple Linux intrusions to suspected Chinese state-sponsored activity using the open-source Reptile kernel rootkit and a custom implant known as Mélofée. ExaTrack reported that Mélofée targeted Linux servers with capabilities for file and directory operations, shell execution, persistence, and command-and-control over TCP, TLS, and UDP/KCP, while one 2022 sample embedded a kernel-mode rootkit derived from Reptile. The installer deployed components under the disguised path /etc/intel_audio/, loaded the malicious kernel module with insmod, and established persistence through startup files such as /etc/rc.modules, tying the activity to infrastructure and tooling associated with Winnti, ShadowPad, PlugX, Spark, HelloBot, StowAway, and Cobalt Strike.
AhnLab later documented a Korean intrusion that used Reptile in a nearly identical way, including installation under /etc/intel_audio/, manual kernel-module loading instead of the default loader flow, persistence via rc.local, and deployment alongside an ICMP backdoor called ISH. Reptile provides stealth features for files, directories, processes, file contents, and network traffic, and can activate a reverse shell through a Port Knocking mechanism using Magic Packets. The overlap in installation path and deployment method matched patterns previously highlighted by ExaTrack and reinforced assessments that Reptile-derived Linux rootkits were being operationalized in broader Chinese espionage campaigns, including activity Mandiant associated with exploitation of Fortinet zero-days and custom malware.


