A user forwards a strange email to the security mailbox with “probably nothing, but” at the top. How this goes is mostly decided in the next sixty minutes, and most of that time isn’t analysis. It’s a short list of questions answered in a fixed order. The order matters because it keeps you from spending forty minutes reverse engineering a macro while the credential it harvested is already in use.
I’ve worked these for years, and the same mistake keeps showing up: treating the email as the incident. The email is the delivery mechanism. The incident is what the recipient did with it, and who else got it.
Minutes 0 to 10: did anyone act on it

The flowchart is the order of operations described below, with rough time boxes for each stage.
Before you open a header, ask the reporter three things. Did you click the link, did you open the attachment, did you type anything into a page. People under-report because they feel stupid, so say plainly that clicking is normal and the only bad outcome is not telling you. If the answer is “I entered my password”, the clock changes. You’re no longer triaging a message. You’re responding to a probable credential compromise.
For that case, do the containment steps first and the forensics second:
- Revoke the user’s sessions and refresh tokens, not just reset the password. A stolen session cookie survives a password change in most setups.
- Reset the password and re-register MFA methods, then check for new MFA devices added in the last day.
- Look at mailbox rules. Attackers with mailbox access create forwarding or auto-delete rules within minutes, and that is the part that turns a phish into business email compromise.
If nobody clicked, you have time, and you should use it to find out who else got the message.
Minutes 10 to 25: scope before analysis
The most valuable query in the first half hour isn’t about the payload. It’s “who else received something like this”. Search your mail gateway or mail platform by sender, by subject, by the sending infrastructure and by the URL domain. Attackers send in waves, and the reporter is rarely the only target. I would rather know that 140 mailboxes got it and 6 clicked than know exactly what the JavaScript on the landing page does.
Then pull the message out. Most platforms let you do this in bulk: Microsoft 365 has Threat Explorer and the soft delete action, Google Workspace has the security investigation tool. Do the removal before you finish the analysis. A message that is sitting in 140 inboxes will get clicked by someone while you read the headers.
Then check proxy, DNS and endpoint logs for the URL domain across the whole fleet. That tells you who clicked, which matters more than who received.
Minutes 25 to 45: read the message like a machine would
Now the headers. The useful fields are Authentication-Results (RFC 8601), the Received chain read bottom to top, Return-Path against From, and Reply-To. A message that passes SPF and DKIM isn’t automatically safe. Attackers register their own domains and publish valid records for them, so a pass only tells you the sender controlled that domain. What you want to know is whether the authenticated domain matches the one the user sees in the From line. That’s what DMARC alignment checks.
A small script saves you from squinting at raw .eml files:
import email, sys, re, hashlib
from email import policy
msg = email.message_from_binary_file(open(sys.argv[1], "rb"), policy=policy.default)
for h in ("From", "Reply-To", "Return-Path", "Authentication-Results", "Message-ID"):
print(f"{h}: {msg.get(h)}")
body = msg.get_body(preferencelist=("html", "plain"))
text = body.get_content() if body else ""
print("URLs:")
for u in sorted(set(re.findall(r'https?://[^\s"\'<>]+', text))):
print(" ", u)
print("Attachments:")
for part in msg.iter_attachments():
data = part.get_payload(decode=True) or b""
print(" ", part.get_filename(), part.get_content_type(),
hashlib.sha256(data).hexdigest())
Do not click anything while you do this. Detonate URLs in an isolated browser or a sandbox service, and treat the hash as the thing you search for across the fleet. If your mail client auto-loads remote images, you’ve just told the attacker the message was opened, so view the file as text.
Look at the URL itself. Lookalike domains, a legitimate redirector wrapped around the real target, a URL shortener, or a link into a trusted file-sharing service are the four shapes I see most. The last is the most annoying, because the domain is genuinely clean and you can’t block it wholesale.
Minutes 45 to 60: block, record, decide
By now you should be able to answer four things: how many people got it, how many interacted, whether any credential or token was exposed, and what the payload does at a coarse level. Then act on the indicators:
Block: sender domain, sending IP if it's not shared infrastructure,
landing-page domain at DNS and proxy, attachment hash at EDR
Purge: the message from every mailbox, including already-read ones
Reset: sessions, tokens and passwords for anyone who submitted credentials
Hunt: sign-ins from new ASNs or countries for the affected accounts,
new inbox rules, new OAuth app consents, new MFA registrations
OAuth consent phishing deserves its own line. A link that asks the user to grant a malicious app access to their mailbox never touches a password, so MFA doesn’t help and a password reset does nothing. Revoking the app grant is the fix, and you’ll only think to look for it if the check is part of your routine.
Write down what you did in the ticket as you go, with timestamps. It costs thirty seconds each time, and it’s the only reason the postmortem isn’t a reconstruction from memory.
What makes the process work
Two things matter more than any tool. First, make reporting easy and safe. A report button in the mail client beats an address people have to remember, and a team that thanks reporters gets more reports than one that lectures. Second, close the loop. Tell the reporter what it was and what happened. That’s usually the only reward they get.
Phishing-resistant MFA, meaning FIDO2 or passkeys, removes the credential-theft branch of this runbook almost entirely, since the credential is bound to the real origin. It doesn’t remove the malware branch or the OAuth branch, and it does nothing for a user who gets talked into approving something. I’d still rank it the best single control. The runbook above covers everything it doesn’t.
Run it as a drill once a quarter with a harmless test message. The first time, someone will discover that nobody has the permission to purge mail across mailboxes. Better to find that out on a Tuesday afternoon than during the real one.

Leave a Reply
You must be logged in to post a comment.