This month a set of flaws in on-premises mail servers went from vendor advisory to indiscriminate mass exploitation faster than most organizations could schedule a change window. By the time many teams applied the patch, the relevant question had already changed from "are we vulnerable" to "were we already visited".
Those are different questions with different work attached, and conflating them is the most expensive mistake available right now.
Why the patch does not close the incident
A patch removes the vulnerability. It does not remove the attacker.
In the pattern we and everyone else have been seeing, exploitation was used to write a web shell — a small script placed in a directory the web server will execute — and that shell persists happily on a fully patched server. It does not need the vulnerability again. It is a door the attacker installed, and patching is the equivalent of fixing the lock they picked while leaving the one they fitted.
Worse, the initial mass exploitation and the follow-on activity were often days or weeks apart, run by different operators with different intentions. The first wave established access at scale. What came afterwards depended on who bought or claimed the foothold.
So the sequence is: patch, then investigate, then assume the investigation may find nothing and still act on the possibility.
The order of work
Patch first, and completely. Get to a supported, fully updated build. Partial mitigations that were reasonable on day two are not a destination.
Then look for what was left behind. For this class of incident, that means:
- Web-accessible directories on the mail server, checked for files that do not belong. Compare against a known-good build if you have one; sort by modification time if you do not. Anything created around the exploitation window deserves a hard look.
- Server logs for requests to unusual paths, especially POST requests to files with recent creation dates, and requests from addresses that have no business talking to that server.
- Scheduled tasks, new services and new local accounts on the host.
- Outbound connections from the mail server to destinations it has no reason to reach.
Preserve before you remediate. The instinct to delete a suspicious file immediately is strong and usually wrong. Copy it, note where it was and when it appeared, and record the log context. You may need it for a notification decision, an insurance claim or a regulator, and you will not be able to recreate it after the rebuild.
Rotate what the host could reach. Service accounts, application credentials, certificates, machine account passwords, and any administrative credentials used on that server during the exposure window. A mail server is usually well-connected to the directory; treat its secrets as spent.
If you find something
Slow down and escalate. The failure mode here is a well-meaning administrator cleaning up over a weekend and destroying both the attacker's foothold and the evidence needed to understand what was taken.
Three decisions need a named owner before you touch anything:
- Isolate or observe. Pulling the server offline stops further activity and may also tip off an operator who is still in your environment elsewhere. There is no universal right answer; there is only an answer you have thought about.
- Scope. A web shell on a mail server is a starting point, not the whole incident. Look for lateral movement immediately: authentication from the mail server to other hosts, new privileged group membership, unusual directory queries.
- Notification. Whether this is reportable depends on what was accessible, and that determination should involve counsel early rather than being reverse-engineered later.
The uncomfortable structural point
Organizations that got through this month well shared something, and it was not budget. It was that somebody could answer three questions quickly:
- What internet-facing systems do we run, and what version is each on?
- Who is authorised to take one of them down at 11pm without a meeting?
- Where are the logs, and how far back do they go?
Every hour spent answering those questions during the emergency is an hour the attacker spends unmolested. Every one of them is answerable in advance, cheaply, on an ordinary Tuesday.
What this changed for us
We have been running business-hours monitoring with an on-call rotation. The exploitation waves this month peaked outside those hours, repeatedly, and we spent one night calling clients rather than acting on their behalf because the authority to act had not been agreed in advance.
That has settled an internal argument. We are moving to a continuously staffed watch floor, and we are asking clients to pre-authorise a defined set of containment actions — isolate a host, disable an account, block an address — so that the SOC can act at 3am instead of writing an email that gets read at 9.
Measure twice, cut once is good advice for architecture. During an active mass-exploitation event it is not advice, it is a delay. The measuring has to happen beforehand.






