Cybersecurity researchers have disclosed details of a new variant of CoffeeLoader, a malware designed to deliver additional payloads to infected machines.
"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 in an analysis published today.
"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."
CoffeeLoader was first documented by Zscaler ThreatLabz in March 2025, detailing its use of the Armoury packer to resist analysis and ultimately run Rhadamanthys shellcode. The malware is assessed to share 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.
Notably, the shellcode 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.
The latest 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.
Source link







