Retadup Worm Back from Dormancy: CoffeeLoader Malware Resurfaces

After vanishing in 2019, the Retadup worm has returned. Security researchers have detected a revived campaign using Retadup to distribute a fresh variant of the CoffeeLoader malware—a loader built to drop more malicious payloads on compromised machines. This reemergence underlines how dormant threats can reawaken with upgraded capabilities.

CoffeeLoader’s New Tricks: Packer Switch and Loader Tactics

The recently uncovered CoffeeLoader installer is based on NSIS and begins by dropping a file named 7z.dll into a temporary directory, then launching it via rundll32.exe. Although it uses the familiar 7-Zip DLL library for disguise, the dropped file is altered: parts of it replaced by a malicious, self-decrypting shellcode wrapped in what’s called the Armoury packer. Malware variants using this packer often change legitimate library code into trojanized versions to evade detection.

Previously the packer made use of the OpenCL graphics library, but in this new variant it has switched to OpenGL. Instead of immediately installing a DLL, the updated shellcode acts first as a downloader: pulling in the main CoffeeLoader payload from its command-and-control (C2) infrastructure.

Persistence, Injection, and Spread via Retadup

To maintain its foothold once inside a system, the malware copies 7z.dll into subfolders within %PROGRAMDATA% or %LOCALAPPDATA%. To ensure it launches on startup, it sets entries in the Windows Run registry key using names defined by system volume data. It also creates a registry key to block users from disabling autorun through Task Manager.

After persistence is established, the malware activates by launching a legitimate Windows process—examples include dllhost.exe, svchost.exe, and others—and injecting itself into that process. From there, decrypted shellcode is fetched from the hard-coded C2 server and used to run CoffeeLoader. It can either inject the payload into another process, drop it as an executable, or install it as a DLL to be launched via rundll32.exe.

Since its takedown in August 2019 by French law enforcement, Retadup had spread via infected USB drives and carried payloads such as crypto miners, the Stop ransomware, and the Arkei password stealer. In recent times, Retadup’s domain names—previously used as C2 servers—have been brought back online. Initially serving SmokeLoader variants, these servers began pushing CoffeeLoader in early 2025.

Kaspersky estimates that it prevented around 15,000 infections of this revived Retadup worm, with most in Peru, Angola, Russia, and Bolivia. It is yet unknown if the same authors who built Retadup are behind this resurrection or if others are repurposing its infrastructure.

The CoffeeLoader first came to light in March 2025, when it was identified using Armoury packer techniques to obfuscate its codebase and evade security analysis. It also shares code similarities with a loader family known as SmokeLoader. These pieces hint at evolving techniques in malware development where packers, shellcode, and graphics APIs are leveraged in new combinations to stay ahead of defenders.

This resurgence of Retadup with upgraded CoffeeLoader functions is a wake-up call. Dormant malware families, considered defeated, may lie in wait—untouched domains, old C2 infrastructure, ready to be reactivated. For security teams, that means keeping watch not only on new threats but also on what was once thought dead. Expect more attacks using resurrected infrastructure, packer innovations, and stealthier infection methods. Detection will depend on close monitoring of unusual registry behavior, DLL hijacking strategies, and processes that launch under normal names but load suspicious payloads.