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
- 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
- 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
- Phase 1
Collect and classify
The playbook extracts headers, sender, URLs, attachments and the reporter, then separates spam from suspected phishing.
- 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.
- 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.
- 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.
- 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
A purge that matches too much would delete legitimate mail.
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.
Phishing pages that hide behind captchas or geo-fencing defeated the URL analysis.
The isolated browser uses a realistic profile, and the verdict falls back on reputation and page structure when the page cannot be rendered.
The volume of spam reports drowned the real ones.
A classification step runs first and answers spam reports directly, so analysts see only suspected phishing.
05Results
| Measure | Before | After |
|---|---|---|
| Handling time per reported email | about 35 min | about 7 min |
| Report to purge | hours | minutes |
| Reporters who receive an answer | a minority | 100% |
| Exposure check on clicked links | rarely done | automatic |
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
- Microsoft 365
- Google Workspace
- The Phish Analyzer
VirusTotal
- urlscan


Cortex
Cortex XSOAR
Entra ID
Microsoft Defender