Kaspersky Details CoffeeLoader Variant Distributed Through Resurrected Retadup C2 Servers

· Original article ↗

Summary

Kaspersky says a new CoffeeLoader variant is delivered through reactivated Retadup C2 servers. It uses an Armoury packer with OpenGL-based shellcode decryption, persistence mechanisms and process injection; the actor behind the servers is unknown.

Key points

  • The new CoffeeLoader variant is delivered through Retadup C2 servers that were re-registered and began issuing commands to download third-party malware, according to Kaspersky.
  • Its Armoury packer uses OpenGL for GPU-based shellcode decryption and delivers intermediate shellcode that downloads CoffeeLoader.
  • The malware establishes persistence using a Run registry key and copies 7z.dll into a subfolder of %PROGRAMDATA% or %LOCALAPPDATA%.
  • It launches a legitimate process, such as dllhost.exe or svchost.exe, and injects itself before downloading and running the CoffeeLoader payload.
  • Retadup is a worm that spreads through infected USB drives; it was disrupted by French law enforcement in 2019.
  • Kaspersky says it blocked around 15,000 systems from infection by the resurrected worm, most in Peru, Angola, Russia and Bolivia. The identity of the actor who reactivated the C2 servers remains unclear.

Article Details

Attack Vectors
  • Retadup spreads through infected USB drives and was used to distribute CoffeeLoader.
  • A NSIS-based installer drops a modified 7z.dll containing malicious self-decrypting shellcode and runs it through rundll32.exe.
  • The shellcode uses GPU-related code execution—OpenCL in an earlier packer version and OpenGL in the newer version—to decrypt and run payloads.
  • The malware establishes persistence through a Windows Run registry key and launches into legitimate processes, including dllhost.exe, WerFault.exe, svchost.exe, OpenWith.exe, or AtBroker.exe, before injecting itself.
  • A downloader retrieves CoffeeLoader shellcode from a hard-coded C2 server; re-registered Retadup C2 domains were used to issue commands and deliver third-party malware.
Defensive Notes
  • Kaspersky said it blocked around 15,000 systems from being infected with the resurrected worm; the article provides no specific defensive recommendations.

MITRE ATT&CK

Malware

Products

Tools

Countries

Related Articles