Skip to main content
Mallory
← Back to News
phishing-campaign-intelligenceloader-delivery-mechanisminitial-access-methodinternet-facing-service-vulnerability

Squirrelwaffle Hijacked Exchange Email Threads to Deliver QakBot and Cobalt Strike

Social Engineering & Fraud · 5 sources · Updated 4mo ago · First seen Dec 17, 2021

Squirrelwaffle Hijacked Exchange Email Threads to Deliver QakBot and Cobalt Strike

Attackers exploited unpatched on-premises Microsoft Exchange servers using ProxyLogon and ProxyShell flaws, including CVE-2021-26855, CVE-2021-34473, and CVE-2021-34523, to hijack legitimate email conversations and send phishing replies from real user accounts. Investigations found the activity on compromised Exchange servers in multiple intrusions, with attackers accessing mailbox data, impersonating users, and distributing links to ZIP archives containing malicious Word or Excel documents. In several cases, the emails were sent internally or from trusted accounts, helping the campaign bypass normal mail defenses; one investigation also identified attacker-created Outlook items marked with the unusual IPM.Blabla class.

The phishing chain delivered Squirrelwaffle, a loader that used malicious Office files and Excel 4.0 macros to fetch DLL payloads, often executed with regsvr32, leading to follow-on infections including QakBot, Cobalt Strike, and fileless registry-based stagers with scheduled-task persistence. Researchers linked the campaign to compromised WordPress infrastructure, anti-analysis controls, and command-and-control traffic that exfiltrated obfuscated host data, while one incident escalated beyond malware delivery into attempted payment redirection through a typo-squatted domain in a business email compromise-style fraud scheme. Defenders were urged to patch Exchange comprehensively, hunt for post-exploitation artifacts such as web shells and malicious mailbox activity, and harden email authentication controls including SPF, DKIM, and DMARC.

Why it matters

Impact assessment

Unpatched on-premises Microsoft Exchange servers are the primary exposure, with downstream impact extending to any users who trust internal or thread-reply email traffic. The campaign creates both malware risk and business fraud risk by abusing legitimate mailboxes and existing conversations, enabling delivery of Squirrelwaffle, QakBot, and Cobalt Strike as well as payment-redirection scams.

The impact is high because attackers can bypass normal email defenses, impersonate real users, access mailbox contents, and trigger follow-on compromise on endpoints. Scope appears broader than a single victim: multiple investigations across organizations identified the same Exchange-to-thread-hijack pattern, and at least one case progressed to attempted financial fraud in addition to malware delivery.

Supporting details

  • Affected products: on-premises Microsoft Exchange Server exposed to ProxyLogon and ProxyShell vulnerabilities.
  • Affected populations: organizations operating vulnerable Exchange servers; internal users, external correspondents, finance teams, and customers receiving trusted thread-reply emails.
  • Industries/regions: multiple intrusions were reported; Trend Micro specifically observed cases in the Middle East, but the tradecraft is not region-limited.
  • Business impact:
    • Malware delivery to internal and external recipients from trusted accounts.
    • Mailbox theft and impersonation.
    • Potential endpoint compromise leading to QakBot and Cobalt Strike access.
    • Attempted business email compromise-style payment diversion via typo-squatted domain.
  • Operational impact:
    • Internal mail flow can bypass gateway filtering and quarantine controls.
    • Exchange compromise may require incident response, mailbox review, web shell hunting, and server remediation.
  • Known exploitation in the wild: yes. Multiple incident-response investigations found active exploitation and post-compromise abuse.
  • Known incident outcome: one victim initiated a fraudulent transfer, but the bank blocked completion.
Is your org in this campaign?Get the infrastructure and lures behind it.
Hunt this campaign
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

19 events · 2007 – Dec 17, 2021
  1. Reported Jan 1, 202611mo ago

    Attackers use typo-squatted domain for payment fraud

    In the Sophos case, attackers stole a legitimate payment-related email thread, registered a typo-squatted domain, and continued the conversation outside the victim's infrastructure to redirect a customer payment. The transfer was nearly completed but was stopped after a financial institution flagged it as fraudulent.

    Vulnerable Exchange server hit by Squirrelwaffle and financial fraud | SOPHOS
  2. Reported Jan 1, 202611mo ago

    Sophos investigates Exchange compromise tied to fraud attempt

    Sophos Rapid Response investigated an incident in which attackers exploited an unpatched Exchange server with ProxyLogon and ProxyShell, then used thread hijacking to mass distribute Squirrelwaffle to internal and external recipients.

    Vulnerable Exchange server hit by Squirrelwaffle and financial fraud | SOPHOS
  3. Dec 17, 20215y ago

    Trend Micro publishes fileless QAKBOT stager analysis

    On December 17, 2021, Trend Micro published analysis of a fileless QAKBOT stager that used PowerShell, registry-stored payloads, scheduled-task persistence, and flexible remote tasking.

    Staging a Quack: Reverse Analyzing a Fileless QAKBOT Stager | Trend Micro (US)
  4. Reported Dec 17, 20215y ago

    Trend Micro links fileless stager to Squirrelwaffle payloads

    Trend Micro's incident response and XDR teams found that one of Squirrelwaffle's payloads included QAKBOT, and assessed the newly analyzed fileless stager as possibly connected to that campaign. The stager could also fetch and execute additional malware families, including potentially ransomware.

    Staging a Quack: Reverse Analyzing a Fileless QAKBOT Stager | Trend Micro (US)
  5. Reported Dec 17, 20215y ago

    Trend Micro discovers a fileless QAKBOT stager

    During a threat hunting initiative, Trend Micro researchers found a fileless stager that stored encoded commands and payload components in the Windows registry, achieved persistence via a scheduled task, and dropped a QAKBOT DLL via regsvr32.exe. They said it was the first time they had encountered this kind of fileless stager with persistence.

    Staging a Quack: Reverse Analyzing a Fileless QAKBOT Stager | Trend Micro (US)
  6. Nov 19, 20215y ago

    Trend Micro publishes Exchange hijacking findings

    On November 19, 2021, Trend Micro published research detailing how Squirrelwaffle operators exploited ProxyLogon and ProxyShell on Exchange servers in the Middle East to hijack internal email chains and distribute malware.

    Squirrelwaffle Exploits ProxyShell and ProxyLogon to Hijack Email Chains | Trend Micro (US)
  7. Reported Nov 19, 20215y ago

    SQUIRRELWAFFLE emails deliver Qbot-related DLLs

    Trend Micro observed malicious emails linking to ZIP archives containing Excel 4.0 macro spreadsheets that downloaded a DLL related to Qbot. The DLL was executed with regsvr32.exe, injected into mobsync.exe, and communicated with 24.229.150.54:995.

    Squirrelwaffle Exploits ProxyShell and ProxyLogon to Hijack Email Chains | Trend Micro (US)
  8. Reported Nov 19, 20215y ago

    Attackers exploit Exchange flaws to hijack email chains

    Investigators found evidence that attackers exploited CVE-2021-26855, CVE-2021-34473, and CVE-2021-34523 on compromised Exchange servers to access mailbox data, obtain user SIDs and email addresses, and send malicious replies within legitimate threads.

    Squirrelwaffle Exploits ProxyShell and ProxyLogon to Hijack Email Chains | Trend Micro (US)
  9. Reported Nov 19, 20215y ago

    Trend Micro investigates Exchange-based Squirrelwaffle intrusions

    Trend Micro Incident Response investigated several Squirrelwaffle-related intrusions in the Middle East involving on-premises Exchange servers vulnerable to ProxyLogon and ProxyShell. In one case, all internal users received malicious replies sent through compromised internal Exchange infrastructure.

    Squirrelwaffle Exploits ProxyShell and ProxyLogon to Hijack Email Chains | Trend Micro (US)
  10. Reported Nov 1, 20215y ago

    Certitude links Exchange abuse to Squirrelwaffle-like activity

    Certitude's investigation found an unpatched Exchange server exposed to ProxyLogon and ProxyShell, with IIS logs showing SSRF exploitation of CVE-2021-26855 and attacker-created emails marked with the Outlook ItemClass value "IPM.Blabla." The phishing links matched patterns associated with attacks assessed as related to the Squirrelwaffle campaign.

    Unpatched Exchange servers distribute phishing links (squirrelwaffle) - Certitude Blog
  11. Nov 2021

    Customer reports suspicious self-sent emails

    Certitude reported that in early November 2021, a customer discovered internal and external users receiving suspicious reply emails sent from their own legitimate mail accounts through an on-premises Exchange server.

    Unpatched Exchange servers distribute phishing links (squirrelwaffle) - Certitude Blog
  12. Oct 26, 20215y ago

    Trend Micro publishes SQUIRRELWAFFLE campaign analysis

    On October 26, 2021, Cisco Talos published analysis describing SQUIRRELWAFFLE's malspam delivery, compromised WordPress infrastructure, and use as an initial access loader for Qakbot and Cobalt Strike.

    SQUIRRELWAFFLE Leverages malspam to deliver Qakbot, Cobalt Strike
  13. Sep 13, 20215y ago

    SQUIRRELWAFFLE spam activity ramps up

    Talos observed campaign volume begin ramping up on September 13, 2021, followed by daily malicious spam runs distributing the loader.

    SQUIRRELWAFFLE Leverages malspam to deliver Qakbot, Cobalt Strike
  14. Sep 10, 20215y ago

    Earliest SQUIRRELWAFFLE files reach public repositories

    Talos reported that the earliest files associated with the SQUIRRELWAFFLE campaigns were believed to have been submitted to public malware repositories on September 10, 2021.

    SQUIRRELWAFFLE Leverages malspam to deliver Qakbot, Cobalt Strike
  15. Sep 8, 20215y ago

    ANTIBOT appears on a SQUIRRELWAFFLE distribution server

    Cisco Talos observed one distribution server with ANTIBOT deployed on September 8, 2021, shortly before SQUIRRELWAFFLE campaigns launched from that server.

    SQUIRRELWAFFLE Leverages malspam to deliver Qakbot, Cobalt Strike
  16. Sep 2021

    SQUIRRELWAFFLE malspam campaigns begin

    Researchers reported that SQUIRRELWAFFLE emerged in mid-September 2021 as a malware loader spread through hijacked email threads and malicious Office documents. It was observed delivering follow-on payloads including Qakbot and Cobalt Strike.

    SQUIRRELWAFFLE Leverages malspam to deliver Qakbot, Cobalt Strike
  17. May 2021

    Exchange updates issued for ProxyShell protection

    Trend Micro said Microsoft stated that May or July 2021 updates were needed to protect Exchange servers from ProxyShell vulnerabilities.

    Squirrelwaffle Exploits ProxyShell and ProxyLogon to Hijack Email Chains | Trend Micro (US)
  18. Mar 2021

    Microsoft releases ProxyLogon patches

    Trend Micro noted that Microsoft released patches for the ProxyLogon vulnerabilities affecting Exchange Server in March 2021.

    Squirrelwaffle Exploits ProxyShell and ProxyLogon to Hijack Email Chains | Trend Micro (US)
  19. 2007

    Qakbot begins being used by cybercriminals

    Trend Micro described QAKBOT as a banking trojan and infostealer that cybercriminals have used since 2007.

    Staging a Quack: Reverse Analyzing a Fileless QAKBOT Stager | Trend Micro (US)
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Observables

8 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Get the infrastructure, lures, and IOCs behind this campaign, ready to push into your email and identity stack.
Hunt This Campaign
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.