Key facts
- A new variant of CoffeeLoader malware was disclosed by researchers; it delivers additional payloads to infected machines.
- CoffeeLoader is distributed through Retadup, a Windows computer worm disrupted by French law enforcement in August 2019.
- The dropped 7z.dll file used a modified copy of the original 7-Zip archiver library.
- The Run registry key enables autorun.
Kaspersky said on Nov. 16, 2026 that researchers have disclosed a new variant of CoffeeLoader, malware that delivers payloads to infected machines, and that CoffeeLoader is spreading through Retadup, a Windows computer worm that French law enforcement disrupted in August 2019. The Hacker News reported the researchers’ analysis.
An NSIS-based installer executable drops 7z.dll into a temporary directory and runs it through rundll32.exe, a Windows tool that executes code inside a dynamic-link library—a file that holds code shared by programs, Kaspersky said. “On launch, the NSIS-based installer executable dropped a file named ‘7z.dll’ into a temporary directory and ran it through rundll32.exe,” Kaspersky said.
The dropped library is a modified version of the original 7-Zip archiver library, a file-compression program, with part of its code replaced by malicious self-decrypting shellcode, Kaspersky said. The shellcode—a small block of code that runs in memory—is a new iteration of the Armoury packer, a tool that obscures code so security tools cannot inspect it.
Kaspersky said the operation aims to install CoffeeLoader and create persistence—the ability to keep running after a reboot—then runs the payload inside a newly created dllhost.exe process, a Windows program that runs code inside a DLL. To establish persistence, the Trojan—a program that disguises itself as legitimate software—copies 7z.dll into subfolders beneath %PROGRAMDATA% or %LOCALAPPDATA%, and the Run registry key—a Windows setting that starts a program at boot—enables autorun.
The subfolder, the library file, and the registry value all receive names of eight digits in hexadecimal form—a numbering system using zero through nine and A through F—drawn from system volume information, Kaspersky said. The malware also creates a registry key that stops the user from turning off autorun through Task Manager, the Windows tool for managing running programs.
Once persistence succeeds, Kaspersky said, the malware launches one legitimate process such as dllhost.exe, WerFault.exe, svchost.exe, OpenWith.exe, or AtBroker.exe and injects itself into it, a technique that runs code inside another process. After injection, shellcode downloads from a command-and-control server whose address is hard-coded—built into the code so it cannot be changed—a machine that sends instructions to infected computers, and then decrypts and executes the CoffeeLoader payload.
Kaspersky said the shellcode accepts three commands to launch the next-stage payload from the command-and-control server. One of the commands injects the malware into a running process. Another command writes the malware out to disk as an executable file and then runs it. A third command stores the malware in the form of a DLL—a file that holds code shared by programs—and starts it with rundll32.exe.
Zscaler ThreatLabz first documented CoffeeLoader in March 2025 and said its Armoury packer blocks analysis and runs Rhadamanthys shellcode. Researchers assess that CoffeeLoader shares source-code similarities—meaning parts of the underlying code look alike—with the SmokeLoader loader family; a loader is malware whose sole job is to install other malicious code on a machine.
Kaspersky said programs packed with Armory give malicious files names such as ArmouryAIOSDK.dll and ArmouryA.dll. Those programs also take over parts of the Armoury Crate system tool with self-decrypting shellcode.
The shellcode pulls out code that carries out decryption on the GPU using OpenCL, a framework for running computing tasks on graphics hardware, Kaspersky said. In the latest packer version, the routine continues to use the GPU while replacing OpenCL with the OpenGL graphics library. The newer packer ships intermediate shellcode instead of a DLL, and that shellcode serves as a downloader that fetches the main CoffeeLoader malware.
Retadup spreads through infected USB drives, Kaspersky said. The worm delivered cryptocurrency miners, software that mines cryptocurrency, the Stop ransomware, software that locks files and demands payment, and the Arkei password stealer, software that harvests stored login credentials.
An unknown actor re-registered Retadup command-and-control domains, internet addresses the worm uses to receive instructions, two years ago and used them to send commands for downloading third-party malware, Kaspersky said. At first those servers served the SmokeLoader downloader, packed using the 32-bit version of Armoury, and in early 2025 the same servers started serving CoffeeLoader. No one knows whether the person behind the worm or another threat actor brought the C2 servers back.
Around 15,000 systems were blocked from infection by the worm, Kaspersky said. Most of the blocked systems were in Peru, Angola, Russia, and Bolivia.

Join the discussion