Skip to main content
Mallory
← Back to News
initial-access-methodpersistence-methodcredential-access-methodlateral-movement-method

ProxyShell Attacks on Exchange Delivered QBot and Enabled Mailbox Impersonation

Attack Tradecraft · 2 sources · Updated 3mo ago · First seen Aug 14, 2026

ProxyShell Attacks on Exchange Delivered QBot and Enabled Mailbox Impersonation

Attackers exploited unpatched on-premises Microsoft Exchange servers vulnerable to ProxyShell to gain initial access, deploy web shells and malicious .NET payloads, and abuse the compromised mail environment. In one intrusion, the Exchange server was used to send phishing replies from hijacked legitimate email threads to internal and external recipients, delivering DatopLoader followed by QBot; the activity then expanded into reconnaissance, persistence, command-and-control traffic, credential theft via registry hive dumping, and lateral movement with Cobalt Strike across the victim domain.

Separate analysis of ProxyShell post-exploitation found threat actors loading DLLs in memory from Exchange web processes, enumerating Exchange and Active Directory assets, testing domain controllers for Zerologon, extracting hashed credentials, and using pass-the-hash for persistence. One payload, Thor.dll, created domain accounts disguised as healthmailbox users and granted them the ApplicationImpersonation role, allowing covert access to and sending of email from any mailbox in the organization, underscoring how Exchange compromise can be turned into both malware delivery and long-term mailbox takeover.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

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

11 events · 2021 – May 2021
  1. Reported Sep 14, 20215y ago

    FortiEDR detects and blocks in-memory DLL activity

    FortiEDR detected suspicious activity when w3wp.exe injected into vbc.exe and loaded malicious DLLs in memory; Fortinet said protection mode blocked the malicious actions and prevented creation of domain accounts or further activity.

    More ProxyShell? Web Shells Lead to ZeroLogon and Application Impersonation Attacks | FortiGuardLabs
  2. Reported Sep 14, 20215y ago

    Actor creates fake healthmailbox accounts with impersonation rights

    Using credentials obtained via Zerologon, Thor.dll created domain accounts masquerading as healthmailbox accounts and assigned them the Exchange ApplicationImpersonation role, enabling access to and sending of email from any mailbox in the organization.

    More ProxyShell? Web Shells Lead to ZeroLogon and Application Impersonation Attacks | FortiGuardLabs
  3. Reported Sep 14, 20215y ago

    Threat actor tests domain controllers for Zerologon

    In the FortiGuard-observed campaign, a DLL module probed specified domain controllers for Zerologon exposure and, when successful, returned usernames and hashed passwords before restoring the original computer hash.

    More ProxyShell? Web Shells Lead to ZeroLogon and Application Impersonation Attacks | FortiGuardLabs
  4. Reported Sep 14, 20215y ago

    FortiGuard analyzes ProxyShell web-shell post-exploitation campaign

    FortiGuard Labs reported a separate ProxyShell campaign in which an unidentified actor used web shells on compromised Exchange servers to load 22 malicious .NET DLLs in memory for reconnaissance and follow-on actions.

    More ProxyShell? Web Shells Lead to ZeroLogon and Application Impersonation Attacks | FortiGuardLabs
  5. May 2021

    Microsoft patches third ProxyShell vulnerability

    Microsoft released KB5003435 to patch CVE-2021-31207, completing fixes for the three Exchange vulnerabilities known as ProxyShell.

    Threat Analysis Report: DatopLoader Exploits ProxyShell to Deliver QBOT and Cobalt Strike
  6. Apr 2021

    Microsoft patches two ProxyShell Exchange vulnerabilities

    Microsoft released KB5001779 to patch CVE-2021-34473 and CVE-2021-34523, two vulnerabilities later grouped as part of ProxyShell affecting on-premises Exchange Server.

    Threat Analysis Report: DatopLoader Exploits ProxyShell to Deliver QBOT and Cobalt Strike
  7. 2021

    Attackers move laterally with Cobalt Strike and steal credentials

    The intrusion progressed to lateral movement across victim domains using Cobalt Strike Jump psexec and psexec_psh, while attackers also dumped SYSTEM, SECURITY, and SAM registry hives to obtain credentials.

    Threat Analysis Report: DatopLoader Exploits ProxyShell to Deliver QBOT and Cobalt Strike
  8. 2021

    QBot establishes persistence and conducts reconnaissance

    After execution, QBot injected into explorer.exe, created scheduled-task persistence, contacted command-and-control servers, and performed host, network, and Active Directory reconnaissance using Adfind.exe and native Windows tools.

    Threat Analysis Report: DatopLoader Exploits ProxyShell to Deliver QBOT and Cobalt Strike
  9. 2021

    DatopLoader infection leads to QBot execution

    Victims who enabled macros in malicious Excel files triggered DatopLoader, which created the C:\Datop folder, downloaded DLL payloads, and executed them via regsvr32.exe, after which QBot took control of the host.

    Threat Analysis Report: DatopLoader Exploits ProxyShell to Deliver QBOT and Cobalt Strike
  10. 2021

    Attackers abuse compromised Exchange to send phishing replies

    In a highlighted intrusion, attackers used the compromised Exchange server to send phishing emails as replies to legitimate stolen email threads, targeting internal and external recipients with DatopLoader-laced ZIP archives.

    Threat Analysis Report: DatopLoader Exploits ProxyShell to Deliver QBOT and Cobalt Strike
  11. 2021

    Cybereason investigates 2021 ProxyShell intrusions on Exchange

    Cybereason investigated multiple 2021 compromises in which attackers exploited ProxyShell vulnerabilities on unpatched on-premises Microsoft Exchange servers for initial access.

    Threat Analysis Report: DatopLoader Exploits ProxyShell to Deliver QBOT and Cobalt Strike
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 →

Affected products

1 linked
Exchange Server

Organizations

1 linked
Microsoft Corporation

Observables

11 linked

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

Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
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.