Skip to content

Lesson 10 of 14 · 15m

Phishing Triage End to End

From user report to remediated campaign: headers bottom-up, detonation in a sandbox, scope via gateway and proxy, and why 'entered a password' means more than a reset.

A user forwards a suspicious email to the phishing inbox. What happens next is a pipeline with a fixed order — extract, detonate, scope, remediate — and analysts who skip ahead miss the part that matters, which is never the email itself.

Extract: the header is the evidence

Pull the raw message and read the Received: chain bottom-up — each server prepends its hop, so the deepest entry is the origin. The fields that decide attribution: Authentication-Results (spf= / dkim= / dmarc= pass-or-fail per identity), Return-Path (the bounce address — often the real sender domain), Reply-To (where replies actually go), Message-ID (domain of the sending system), and X-Originating-IP when present.

The traps have names. Display-name spoofing: From: "CEO <ceo@gmail.com>" — nothing authenticates display names. Cousin domains: cornpany.com instead of company.com — and here's the part that surprises juniors — DMARC passes on cousin domains because the attacker owns the domain and configured the records correctly. dmarc=pass proves the mail is authentically from cornpany.com; it says nothing about whether that domain is yours. Reply-To mismatch: From claims the company, Reply-To is a freemail account. Extract every URL and attachment hash, and defang everything (hxxp://, evil[.]com) before it goes in a ticket or a chat — a clickable IOC is how analysts phish themselves.

Detonate: never on your own box

URLs go to urlscan.io — it renders the page, screenshots it, lists domains contacted, and shows you the credential-harvesting form without touching your network. Attachments detonate in a sandbox: ANY.RUN, Hybrid Analysis, tria.ge, Joe Sandbox. The detonation tells you what the lure does, which is what you're actually triaging — a credential-harvesting page, an HTML attachment with smuggled JavaScript, a QR code (quishing) that routes the victim's phone around your email controls entirely.

Scope: the email is never the incident

The reported message is one specimen of a campaign. Scope questions, in order: who else received it — the mail gateway's tooling answers this (Defender for Office's Threat Explorer, Proofpoint/Mimecast search, or message-ID/domain searches across gateway logs); who clicked — proxy and DNS logs for the URL/landing domain, which the gateway can't see; who entered credentials — usually self-reported or visible via the phish kit's backend on urlscan's transacted requests; and whether the same sender/infrastructure hit before — search your ticket history and the gateway by sender and domain.

Remediate

  • Purge the message fleet-wide — hard delete from every mailbox, not just the reporter's (Threat Explorer's remediation or eDiscovery-based purge in M365; equivalent tooling elsewhere).
  • Block sender, cousin domain, and URLs at the gateway and proxy.
  • Burned credentials: "entered password and MFA code" is full compromise. Reset the password AND revoke every session and refresh token — adversary-in-the-middle kits like Evilginx and Tycoon relay the login live and steal session cookies, which survive a password change. Check for OAuth consent grants and inbox rules the session may have created.

The evidence

August 2022's 0ktapus campaign texted ~135 organizations links to lookalike Okta pages and walked out with credentials and MFA codes — Twilio among them. Cloudflare was hit by the same kit and survived: hardware FIDO2 keys can't be relayed, and they published the postmortem. September 2023's MGM breach started lower-tech still — Scattered Spider called the help desk and talked their way into a reset. The lesson for triage isn't "users are dumb"; it's that the click isn't the kill — the stolen session is, and remediation that stops at password reset leaves the attacker's access intact.

The practice

Run the pipeline in order; treat "clicked" and "entered creds" as different severities; and write the campaign ticket with every recipient and clicker enumerated — that's the blast radius Tier 2 works from. The reported email is the invitation, not the incident.

Was this lesson helpful?

Sign in to rate

Keep reading

Related articles from the SudoSecurity blog.