Phishing response

A reported email goes from the user's inbox to a verdict, a mailbox-wide cleanup and an answer to the reporter. An analyst steps in only when the analysis is unsure.

  • −80%handling time per reported email
  • Minutesfrom report to purge, instead of hours
  • 100%of reporters get an answer

01Framing the project

Employees reported suspicious emails through a report button and an abuse mailbox. Each report needed header analysis, link and attachment checks, a search for other recipients, a purge and an answer to the reporter. Done by hand, the email stayed in other mailboxes for hours.

Objectives and success criteria

  • Remove a confirmed phishing email from every mailbox without a manual search.
  • Identify who clicked or opened an attachment, and contain those accounts.
  • Answer every reporter.

Scope

In scope
  • Collection of reports from the button and the abuse mailbox
  • Analysis of headers, URLs, attachments and indicators
  • Purge across Microsoft 365 and blocking at the mail gateway, proxy and EDR
  • Exposure check and account containment through Entra ID
Out of scope
  • Email security gateway tuning
  • Awareness training
  • Takedown of the phishing site

02Starting point

Handling time per reported email
about 35 min
Search for other recipients
mailbox by mailbox
Reporters who received an answer
a minority
Exposure check on clicked links
rarely done

A large share of reports turned out to be spam or newsletters. Sorting them first was the cheapest way to free analyst time before any deeper analysis.

03Design and integration

  1. Phase 1

    Collect and classify

    The playbook extracts headers, sender, URLs, attachments and the reporter, then separates spam from suspected phishing.

  2. Phase 2

    Analyze

    SPF, DKIM and DMARC are checked, URLs open in an isolated browser, files are detonated in a sandbox and indicators go through threat intelligence.

  3. Phase 3

    Decide

    Rules settle the clear cases. An LLM reads the message and the technical results for the borderline ones and writes a verdict with reasons. An analyst confirms them.

  4. Phase 4

    Contain

    The playbook finds the same message in every mailbox, purges it, and blocks the sender, domain and URLs at the gateway, the proxy and the EDR.

  5. Phase 5

    Check exposure and answer

    Users who clicked or opened the file get their sessions revoked and their password reset through Entra ID, with approval where policy requires it. The reporter receives a clear answer.

04Difficulties we solved

Difficulty

A purge that matches too much would delete legitimate mail.

What we did

Purges match on message identifiers inside a defined scope. A new deployment starts in dry-run mode and lists the recipients before deleting anything. Internal senders and the phishing simulation platform are on an allow-list.

Difficulty

Phishing pages that hide behind captchas or geo-fencing defeated the URL analysis.

What we did

The isolated browser uses a realistic profile, and the verdict falls back on reputation and page structure when the page cannot be rendered.

Difficulty

The volume of spam reports drowned the real ones.

What we did

A classification step runs first and answers spam reports directly, so analysts see only suspected phishing.

05Results

MeasureBeforeAfter
Handling time per reported emailabout 35 minabout 7 min
Report to purgehoursminutes
Reporters who receive an answera minority100%
Exposure check on clicked linksrarely doneautomatic

Analysts see only the borderline cases. The Phish Analyzer I built covers the same workflow for the manual ones.

06Guardrails in production

  • Purges match on message identifiers and are limited to the scope the policy defines. A new deployment starts in dry-run mode and lists the affected recipients before it deletes anything.
  • Internal senders and phishing-simulation platforms sit on an allow-list, so a training email is never purged.
  • Reply templates to reporters are reviewed by the security team.
  • Every action is logged in the case with its timestamp and its input.

07Stack

Email
  • Microsoft 365
  • Google Workspace
Analysis
  • The Phish Analyzer
  • VirusTotal
  • urlscan
  • Recorded Future
Cases and responders
  • TheHive
  • Cortex
  • Cortex XSOAR
Identity and endpoint
  • Entra ID
  • Microsoft Defender
  • CrowdStrike

Related use cases

Want this result on your stack?

Book a call and leave with where I would start.