CoffeeLoader
- Type
- Loader
- Capabilities
- PersistenceDefense evasionProcess injection
- Delivery
- USB
- Platforms
- Windows
CoffeeLoader is a Windows malware loader designed to establish a persistent foothold and download and execute additional malicious payloads. It supports injecting downloaded payloads into processes, saving and launching executables, and executing downloaded DLLs through a legitimate Windows utility. It uses the Armoury packer to perform GPU-assisted decryption, complicating analysis and sandbox-based detection.
A variant identified in August 2026 uses an NSIS installer containing a maliciously modified 7-Zip library whose original code is partially replaced with self-decrypting shellcode. This represents abuse of a modified library rather than exploitation of a demonstrated 7-Zip vulnerability. The updated Armoury implementation uses OpenGL for GPU-based decryption instead of the OpenCL interface used previously. An intermediate downloader handles installation, persistence, process injection, and retrieval of CoffeeLoader's main module. It establishes registry-based startup persistence, modifies startup-approval settings to resist disabling through Task Manager, and injects into legitimate Windows processes. Downloaded shellcode is retrieved over HTTPS, decrypted, and checked using a digital signature and checksum before execution in memory. The main module also uses encrypted command-and-control communications and response-signature verification.
CoffeeLoader has been distributed through surviving Retadup worm infections. Retadup spreads through removable drives using hidden files and malicious Windows shortcuts that require user interaction. Unidentified operators reactivated former Retadup command-and-control infrastructure beginning in 2024 and began distributing CoffeeLoader through it in early 2025. This distribution relationship does not make CoffeeLoader itself a worm.
Observables
29 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.