Watch for new ASPX files, especially non-standard pages that resemble web shells, and review PowerShell activity for suspicious execution patterns. Patching does not prove the server is clean if attackers already established persistence. Defenders should also look for unusual mailbox access, unexpected outbound email behavior, and evidence of lateral movement to adjacent systems or domain services.
What post-patch compromise looks like on an Exchange server
Patching closes the known vulnerability, but it does not erase an attacker who already used it. The first clue is often persistence: unexpected ASPX files, strange web-accessible pages, or PowerShell activity that does not fit normal administration. A patched server can still host a web shell, a scheduled task, a service change, or another foothold that survives remediation.
Exchange is a high-value target because it sits at the center of email, directory trust, and admin workflows. If an attacker gained code execution before patching, they may keep operating through the mail stack, local scripts, or adjacent systems. Review the server as a compromise investigation, not just a patch compliance check. CISA Known Exploited Vulnerabilities Catalog is useful here because it frames patched-but-exploited flaws as active exploitation problems, not theoretical exposure.
Mailbox anomalies matter too. Unusual mailbox access, mailbox export activity, suspicious inbox rules, and outbound email bursts can indicate an attacker using Exchange for collection, fraud, or follow-on delivery. If the server is only looked at from the perimeter, those signs are easy to miss. A compromised Exchange host can also become a pivot point into domain services, so the investigation should include authentication traces, admin logons, and nearby systems that the server can reach.
Why web shells, PowerShell, and mailbox abuse are the strongest indicators
Web shells are common because they give durable command execution through an HTTP endpoint that blends into normal web traffic. A new ASPX file under an unusual path, or a page that does not belong to the Exchange application set, is a strong indicator that patching alone is not enough. PowerShell deserves equal attention because Exchange compromises often use it for discovery, lateral movement, and staged cleanup. The question is not whether PowerShell exists on the server, but whether the command line, parent process, timing, and network behaviour match normal administration.
Mailbox abuse is the other major signal because Exchange is both a server and a message distribution platform. Attackers may read mail, create forwarding rules, send internal phishing, or trigger relay-like behaviour to external recipients. Those actions are often more revealing than the initial exploit. For broader attack-pattern mapping, MITRE ATT&CK Enterprise Matrix helps teams connect web shell persistence, PowerShell execution, credential access, and lateral movement into a single incident chain.
Network and host evidence should be viewed together. A file drop without any follow-on execution may be suspicious but inconclusive. A file drop plus PowerShell, mailbox tampering, and outbound connections to unfamiliar hosts is a much stronger compromise pattern. If one control plane looks clean but the others show irregularities, assume the attacker is still active until proven otherwise.
What to verify before you trust the patch
Verify that the patch was applied, but do not stop there. Confirm whether suspicious files are present, whether they execute, whether any scheduled tasks or services were added, and whether the Exchange server made unexpected outbound connections. Check administrative logons, mailbox audit records, and directory activity around the same time window as the original exploit. The goal is to determine whether the patch removed the vulnerability, not whether the host was ever compromised.
Investigation should also cover the adjacent trust boundary. If the server touched domain services, password reset workflows, or privileged accounts, look for evidence of credential theft or reuse. Compromise may have happened once, but the impact can persist through stolen credentials and delegated access. For teams that want to anchor the investigation in formal control thinking, NIST SP 800-53 Rev 5 Security and Privacy Controls provides the right control families for audit, integrity, account monitoring, and configuration review.
If you need a vulnerability-first view of whether the environment is still exposed elsewhere, pair the host investigation with exploitability triage. That means asking which related CVEs were publicly exploited, which companion systems were not patched, and whether the same attack path could have been reused elsewhere in the environment. NIST National Vulnerability Database helps validate the affected software surface, while FIRST EPSS helps prioritise which unresolved exposures deserve immediate attention.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1059 — Command and Scripting Interpreter | PowerShell execution is a core post-compromise execution path on Exchange hosts. |
| T1505.003 — Server Software Component: Web Shell | New ASPX files on Exchange often indicate web shell persistence after exploitation. | |
| T1021 — Remote Services | Lateral movement from Exchange into adjacent systems is a common compromise consequence. | |
| Recommendation — Map suspicious PowerShell activity to T1059 and hunt for command-line abuse around the patch window. Map unexpected ASPX files to T1505.003 and isolate the server for forensic review. Trace remote service access from the Exchange server and block suspicious east-west movement. | ||
| NIST SP 800-53 Rev 5 | AU-6 — Audit Record Review, Analysis, and Reporting | Mailbox, PowerShell, and admin telemetry must be reviewed for compromise indicators. |
| SI-4 — System Monitoring | Compromise detection depends on monitoring host, file, and network indicators after patching. | |
| AC-6 — Least Privilege | Post-compromise lateral movement and mailbox abuse are constrained by privilege minimisation. | |
| Recommendation — Review logs for anomalous Exchange and mailbox activity and escalate confirmed deviations. Correlate file, process, and network telemetry to detect surviving Exchange persistence. Limit Exchange service and admin privileges to reduce post-exploit blast radius. | ||
Practitioner Guidance
What to prioritise: Treat a recently patched Exchange server as potentially live-compromised until host, mailbox, and directory evidence all line up. The highest-value checks are web-accessible file changes, PowerShell telemetry, mailbox forwarding or export artefacts, and outbound connections from the server to unknown destinations.
What to verify: Confirm whether the attacker had time to establish persistence before patching, because that determines whether remediation is incomplete. If you only validate the patch level, you can miss a surviving foothold that continues to read mail or pivot into the domain.
Decision rule: If you find a new ASPX file, suspicious PowerShell, or abnormal mailbox behaviour together, treat the host as compromised and move to containment plus credential review before assuming the patch resolved the issue.
Practitioner takeaway: In Exchange incidents, patching is a prerequisite for recovery, not evidence of clean state, so the decisive question is whether any post-exploit persistence or mailbox abuse remains reachable.
Related resources from NHI Mgmt Group
- What are the signs that a compromised router may still contain attacker persistence after patching?
- What are the signs that a webmail platform is becoming unsafe to operate even after patching?
- What are the signs that an Exchange server has already been compromised by Hafnium activity?
- What are the signs that an organisation may still be exposed to compromised SSH keys after patching vulnerable clients?