Last seven days
- First activity
- Jul 19, 2026
- Last activity
- Jul 19, 2026
- Feed role
- Distribution
- Host form
- 0 IP / 2 hostnames
DonutLoader is an in-memory shellcode loader and shellcode-generation framework used to wrap PE files, DLLs, .NET assemblies, and scripts into position-independent shellcode for memory-resident execution on Windows.
Profile source: Mallory opens in a new tabDonutLoader
DonutLoader is an in-memory shellcode loader and shellcode-generation framework used to wrap PE files, DLLs, .NET assemblies, and scripts into position-independent shellcode for memory-resident execution on Windows. It is commonly used as a staging component rather than a final payload, enabling operators to launch second-stage malware with minimal disk artifacts and reduced exposure to file-based detection. Reported use cases include delivery of backdoors, remote access trojans, infostealers, and credential theft malware such as SPECTRALVIPER, PureRAT, ValleyRAT, Beagle, AgentTesla, StealC v2, CASTLESTEALER, and other commodity or custom payloads.
Operationally, DonutLoader is associated with process injection and in-memory unpacking or execution of embedded payloads, often inside trusted Windows processes. It has appeared in intrusion chains involving DLL sideloading, LOLBin abuse, script-based droppers, PowerShell staging, and multi-stage loaders. Observed campaigns have used it after phishing, malvertising, fake software installers, fake AI or developer-tool download pages, WhatsApp-delivered scripts, and ClickFix-style social engineering. In several cases it was embedded in or launched by obfuscated loaders, malicious DLLs, JavaScript or batch droppers, or trojanized installers, then used to inject or execute the final malware entirely in memory.
DonutLoader has been observed across both espionage and financially motivated operations. It has been used in activity overlapping with APT32/OceanLotus tradecraft to stage a Windows backdoor, in Silver Fox- and ValleyRAT-linked activity, in campaigns delivering LummaStealer and AgentTesla, and in malvertising operations distributing CASTLESTEALER and Beagle. Because it is open source and broadly reusable, its presence alone is not sufficient for attribution. Its primary significance is as a flexible Windows loader that supports stealthy post-exploitation by enabling memory-only execution, process injection, and defense evasion in diverse intrusion chains.
Samples
Reported operators
It does not travel alone: the same set deploys P8LOADER (an obfuscated x64 PE loader), POWERSEAL (a .NET PowerShell runner with built-in AMSI/ETW evasion) and DONUTLOADER shellcode used to stage the backdoor.
On Windows systems, the hack of the Telnyx Python SDK resulted in the deployment of an executable named "msbuild.exe" that employs several obfuscation techniques to evade detection and extracts DonutLoader, a shellcode loader, from a PNG image present within the binary to load a full-featured trojan and a beacon associated with AdaptixC2, an open-source command-and-control (C2) framework.
...Velvet Tempest ... used a ClickFix lure ... to drop payloads like DonutLoader and CastleRAT.
Exploited software
MITRE ATT&CK
Derp wouldn't exist without the work these projects do for the security community. We rely on their data sources to improve the quality and depth of what we publish. Thank you, we're genuinely grateful.