SquirrelWaffle Loader Delivered Cobalt Strike Through Macro-Based Phishing
Malware Intelligence · 4 sources · Updated 4mo ago · First seen Sep 20, 2021

SquirrelWaffle was used in phishing campaigns that delivered malicious ZIP archives containing Word or Excel documents, then relied on VBA or XLM macros to launch a multi-stage infection chain. In documented cases, the documents dropped a VBS script or invoked PowerShell to download DLL payloads, which were executed with rundll32 or regsvr32 and ultimately fetched follow-on malware including Cobalt Strike and, in some campaigns, Qakbot. Traffic analysis of one observed intrusion showed the loader arriving from an email-delivered ZIP file, infecting a Windows host, and then transitioning into Cobalt Strike activity on the network.
Reverse-engineering reports show the SquirrelWaffle DLL loader used a custom packer and several anti-analysis measures, including manual rebasing, junk API padding, in-memory decryption, and remapping of a second-stage PE into the current process. The main loader decoded hardcoded C2 URLs, collected host data such as computer name, username, domain, local IP address, and APPDATA path, and sent that information in HTTP POST requests before acting on server responses. Depending on the returned tasking, it could drop and register executables, run payloads from TEMP, execute shellcode through a threadpool wait callback, or write and launch an operator-specified executable path.
Why it matters
Impact assessment
SquirrelWaffle primarily affects Windows enterprise users exposed to phishing email campaigns that deliver malicious ZIP archives containing macro-enabled Word or Excel documents. The impact is high because the loader enables follow-on delivery of Cobalt Strike and, in some campaigns, Qakbot, creating risk of credential theft, lateral movement, ransomware staging, and broader operational disruption.
The exposure was historically widespread through malspam distribution rather than narrowly targeted intrusion sets, and the story describes confirmed in-the-wild infections and observed network transitions from SquirrelWaffle to Cobalt Strike activity. Organizations with users who can open legacy Office documents and enable VBA or XLM macros face the greatest risk.
Supporting facts
- Affected platforms: Windows hosts.
- Initial access: phishing emails with malicious links to ZIP archives.
- User populations at risk: users who open Office attachments and enable macros.
- Follow-on malware observed: Cobalt Strike; some campaigns also delivered Qakbot.
- Confirmed real-world activity: documented infection chain observed on 2021-09-17 with SquirrelWaffle followed by Cobalt Strike.
- Business impact: likely post-compromise hands-on-keyboard activity, persistence, payload staging, and potential downstream ransomware or data theft operations.


