Virtual Event: Threat Detection and Incident Response Summit - Watch Sessions
Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

Chinese Cyberspies Use ‘Melofee’ Linux Malware for Stealthy Attacks

The recently identified Melofee Linux implant allowed Chinese cyberespionage group Winnti to conduct stealthy, targeted attacks.

A recently identified stealthy Linux implant has allowed Chinese cyberespionage group Winnti to conduct targeted attacks under the radar, French cybersecurity firm ExaTrack warns.

Dubbed ‘Melofee’ and targeting Linux servers, the malware is accompanied by a kernel mode rootkit and is installed using shell commands, a behavior like that of other Winnti Linux rootkits.

The identified Melofee samples are likely dated April/May 2022 and share a common code base, but show small changes in communication protocol, encryption, and functionality. The main change between observed samples is the inclusion of a kernel mode rootkit in the newest version.

The rootkit is a modified version of an open-source project called Reptile and has limited functionality, mainly installing a hook to hide itself and another to ensure communication with the userland component.

The infection chain involves the use of shell commands to fetch an installer and a custom binary from an attacker-controlled server. Written in C++, the installer deploys both the rootkit and the server implant and ensures that both are executed at boot time.

The implant supports commands to kill its process and remove persistence, update itself and relaunch, create a new socket for interaction, harvest and exfiltrate system information, read/write files, launch a shell, and list/create/delete directories.

The malware supports communication over TCP, using a custom packet format, can use a TLS encrypted channel to exchange data with the command-and-control (C&C) server, and can send data using the KCP protocol.

Advertisement. Scroll to continue reading.

Analysis of the Melofee infrastructure revealed connections with C&C servers used by ShadowPad, Winnti, and HelloBot, and with domains that PlugX, Spark, Cobalt Strike, StowAway, and the toDesk remote control tool have used as C&C servers.

ExaTrack also discovered a Linux implant called ‘AlienReverse’, which showed code similarities with Melofee, but which they consider a different malware family.

“The capabilities offered by Melofee are relatively simple, but may enable adversaries to conduct their attacks under the radar. These implants were not widely seen, showing that the attackers are likely limiting its usage to high value targets,” ExaTrack concludes.

Also known as APT41, Barium, Blackfly, Bronze Atlas, Double Dragon, Wicked Spider, and Wicked Panda, and believed to be sponsored by the Chinese government, Winnti has been actively launching cyberespionage and financially motivated attacks since at least 2007.

Related: Two Hacking Groups Seen Targeting Materials Sector in Asia

Related: China’s Winnti Group Seen Targeting Governments in Sri Lanka, Hong Kong

Related: China’s Winnti Group Hacked at Least 13 Organizations in 2021: Security Firm

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

SecurityWeek’s Threat Detection and Incident Response Summit brings together security practitioners from around the world to share war stories on breaches, APT attacks and threat intelligence.

Register

Securityweek’s CISO Forum will address issues and challenges that are top of mind for today’s security leaders and what the future looks like as chief defenders of the enterprise.

Register

Expert Insights

Related Content

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Cybercrime

No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.

Malware & Threats

Threat actors are increasingly abusing Microsoft OneNote documents to deliver malware in both targeted and spray-and-pray campaigns.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.

Malware & Threats

A vulnerability affecting IBM’s Aspera Faspex file transfer solution, tracked as CVE-2022-47986, has been exploited in attacks.

Cybercrime

The recent ransomware attack targeting Rackspace was conducted by a cybercrime group named Play using a new exploitation method, the cloud company revealed this...

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...