Cybersecurity experts have unveiled a fresh iteration of CoffeeLoader, a malware engineered to deploy additional harmful software onto compromised systems. This revelation highlights the persistent threat posed by sophisticated malware variants and the ongoing challenges in cybersecurity.
Understanding the Malware’s Operation
The newly identified variant operates by initially utilizing a NSIS-based installer executable to introduce a file known as ‘7z.dll’ into a temporary directory, which is then executed through rundll32.exe, according to a recent Kaspersky analysis. This ‘7z.dll’ is a modified version of a 7-Zip library, embedded with malicious self-decrypting shellcode to serve as a component of the Armoury packer.
First documented by Zscaler ThreatLabz in March 2025, CoffeeLoader employs the Armoury packer to evade analysis and execute Rhadamanthys shellcode. The malware shares its code foundation with another loader family, SmokeLoader, suggesting a network of interconnected threats.
Technical Insights into Persistence Strategies
The Armoury-packed malware utilizes file names such as “ArmouryAIOSDK.dll” and “ArmouryA.dll,” hijacking original functionalities with self-decrypting shellcode. This shellcode deciphers data using the system’s GPU, with the ultimate aim of installing CoffeeLoader and achieving persistence by injecting itself into a new “dllhost.exe” process.
Unlike its predecessors, the latest packer version opts for the OpenGL library over OpenCL and delivers intermediate shellcode that acts as a downloader for the main CoffeeLoader payload. The Trojan ensures persistence by copying ‘7z.dll’ to specific system folders and using the Run registry key for autorun.
Distribution Pathways and Global Impact
Distribution of CoffeeLoader is facilitated by Retadup, a Windows worm previously neutralized by French authorities in 2019. Retadup propagates through infected USB devices, dropping additional payloads like cryptocurrency miners and ransomware.
Intriguingly, as per Kaspersky’s findings, there was a resurgence in the registration of domains once used by Retadup as command-and-control (C2) servers. This resurgence saw the servers initially distributing SmokeLoader, later shifting to CoffeeLoader in early 2025. The origin of this renewed activity remains uncertain, yet it underscores the persistent nature of cyber threats.
Kaspersky reported blocking attempts to infect approximately 15,000 systems with the revived worm, with significant concentrations in Peru, Angola, Russia, and Bolivia. This reflects the widespread reach and potential impact of such malware.
The discovery of this CoffeeLoader variant not only emphasizes the evolving landscape of malware threats but also underscores the necessity for robust cybersecurity defenses and continuous monitoring to mitigate the risks associated with sophisticated cyber attacks.
