Today's cybersecurity headlines are brought to you by ThreatPerspective


Ethical Hacking News

The Resurgence of CoffeeLoader: Unpacking the Malicious Evolution of a Notorious Malware




The CoffeeLoader malware has recently resurfaced to spread its malicious payload. The malware has undergone significant transformations since its initial discovery, with a new variant recently surfacing to spread the CoffeeLoader malware. This article delves into the recent resurgence of CoffeeLoader and explores its malicious evolution, highlighting key aspects of the malware and its relationship with other malware families.



  • CoffeeLoader is a malware family that has undergone significant transformations since its initial discovery in March 2025.
  • The malware is a loader family designed to deliver additional payloads to infected machines.
  • The Armoury packer is a self-decrypting shellcode used by CoffeeLoader, sharing source code similarities with SmokeLoader.
  • The packer continues to use the GPU but replaces OpenCL with the OpenGL library, delivering intermediate shellcode as a downloader.
  • The malware establishes persistence by copying '7z.dll' to subfolders of %PROGRAMDATA% or %LOCALAPPDATA% and using the Run registry key.
  • The malware injects itself into legitimate processes and downloads its payload from a hard-coded command-and-control server.
  • CoffeeLoader is distributed via Retadup, a Windows computer worm that spreads via infected USB drives.
  • The malware has been linked to other threats, including cryptocurrency miners, the Stop ransomware, and the Arkei password stealer.
  • Kaspersky blocked around 15,000 systems from being infected with the resurrected version of the worm.



  • The threat landscape has witnessed the cyclical resurgence of several malware families over the years, with CoffeeLoader being a prime example. Initially documented by Zscaler ThreatLabz in March 2025, CoffeeLoader has undergone significant transformations since its initial discovery, with a new variant recently surfacing to spread the CoffeeLoader malware. This article delves into the recent resurgence of CoffeeLoader and explores its malicious evolution, highlighting key aspects of the malware and its relationship with other malware families.

    The CoffeeLoader malware is a loader family designed to deliver additional payloads to infected machines. According to Kaspersky, the NSIS-based installer executable dropped a file named '7z.dll' into a temporary directory and ran it through rundll32.exe upon launch. The '7z.dll' file, a patched version of the original library of the popular 7-Zip archiver, contained malicious self-decrypting shellcode that turned out to be a new version of the Armoury packer.

    The Armoury packer is a self-decrypting shellcode that turns out to be a new version of the Armoury packer. CoffeeLoader shares source code similarities with another loader family tracked as SmokeLoader. Malware packed with Armory uses file names like "ArmouryAIOSDK.dll" and "ArmouryA.dll," with the packer hijacking some of the original Armoury Crate functionality with self-decrypting shellcode.

    The new version of the packer continues to use the GPU, but replaces OpenCL with the OpenGL library. In addition, the new version of the packer delivers intermediate shellcode instead of a DLL. This shellcode serves as a downloader responsible for fetching the main CoffeeLoader malware. The latest version of the packer extracts code that executes a decryption routine on a system's GPU by making use of the OpenCL library. The end goal is to install CoffeeLoader, establish persistence, and execute it by injecting it into a newly created "dllhost.exe" process.

    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 then injects itself into it, after which the malware shellcode is downloaded from a hard-coded command-and-control (C2) server. The shellcode then decrypts and runs the CoffeeLoader payload. It supports the same three commands to run the next-stage malware from the C2 server - Injecting it into a process, Saving it to disk as an executable and then running it, Saving it as a DLL and then running it via "rundll32.exe".

    The CoffeeLoader malware is distributed via Retadup, a Windows computer worm that was disrupted by French law enforcement authorities in August 2019. The malware, which spreads via infected USB drives, has been used to drop additional payloads like cryptocurrency miners, the Stop ransomware, and the Arkei password stealer.

    In 2025, someone began re-registering the domain names that Retadup had used as C2 servers and using them to issue commands to download third-party malware. At first, this was the SmokeLoader downloader packed using the 32-bit version of Armoury, but in early 2025, the same servers started serving CoffeeLoader. It remains unclear whether the worm's author or some other threat actor was instrumental in bringing the C2 servers back online.

    Kaspersky blocked around 15,000 systems from being infected with the resurrected version of the worm, most of them located in Peru, Angola, Russia, and Bolivia.



    Related Information:
  • https://www.ethicalhackingnews.com/articles/The-Resurgence-of-CoffeeLoader-Unpacking-the-Malicious-Evolution-of-a-Notorious-Malware-ehn.shtml

  • https://thehackernews.com/2026/11/retadup-worm-resurfaces-7-years-after.html


  • Published: Mon Nov 16 09:55:17 2026 by llama3.2 3B Q4_K_M













    © Ethical Hacking News . All rights reserved.

    Privacy | Terms of Use | Contact Us