Cybersecurity researchers have disclosed details of a new variant of CoffeeLoader, a malware designed to deliver additional payloads to infected machines. The campaign leverages a resurrected version of the Retadup worm that was taken down by French law enforcement in August 2019.
On launch, the NSIS-based installer executable dropped a file named 7z.dll into a temporary directory and ran it through rundll32.exe. The 7z.dll file was a patched version of the original library of the popular 7-Zip archiver. Part of its code had been replaced with malicious self-decrypting shellcode that turned out to be a new version of the Armoury packer.
Technical Evolution of the Armoury Packer
CoffeeLoader was first documented by Zscaler ThreatLabz in March 2025. The malware shares source code similarities with SmokeLoader. Malware packed with Armoury uses file names like ArmouryAIOSDK.dll and ArmouryA.dll. The latest version continues to use the GPU but replaces the OpenCL library with OpenGL. In addition, the new packer delivers intermediate shellcode instead of a DLL; this shellcode acts as a downloader for the main CoffeeLoader payload.
Persistence and Execution Techniques
To establish persistence, the Trojan copies 7z.dll to subfolders of %PROGRAMDATA% or %LOCALAPPDATA%. The Run registry key is used for autorun. The subfolder, library, and registry value are named with eight hexadecimal digits generated from system volume information. To protect itself, the downloader creates a registry key that prevents the user from disabling autorun through Task Manager.
Once persistence is successful, the malware launches one of the legitimate processes (e.g., dllhost.exe, WerFault.exe, svchost.exe, OpenWith.exe, or AtBroker.exe) and injects itself into it. The malware shellcode is then downloaded from a hard-coded command-and-control server. The shellcode decrypts and runs the CoffeeLoader payload, which supports three commands: injecting the next-stage malware into a process, saving it to disk as an executable and running it, or saving it as a DLL and executing it via rundll32.exe.
Distribution via Revived Retadup Infrastructure
Distribution occurs via Retadup, a Windows worm that spreads through infected USB drives and was previously used to drop cryptocurrency miners, the Stop ransomware, and the Arkei password stealer. Two years ago, unknown actors began re-registering the domain names that Retadup had used as C2 servers. At first these servers delivered SmokeLoader packed with the 32-bit version of Armoury; in early 2025 they began serving CoffeeLoader. It remains unclear whether the worm's original author or another threat actor revived the infrastructure.
Kaspersky blocked around 15,000 systems from being infected, most of them located in Peru, Angola, Russia, and Bolivia.


