This SOP covers phishing email incidents triggered by Microsoft Defender for Office (MDO) alerts, Security Email Gateway (SEG) detections, or direct user reports. It assumes the analyst has access to security.microsoft.com (Defender XDR portal) and portal.azure.com (Entra ID).
Target: alert assessed within 5 min, malicious emails purged and IOCs blocked within 30 min, post-click endpoint/identity check completed within 60 min if users clicked.
◈ Table of Contents
PHASE 00 — QUICK REFERENCE
METADATA| SOP ID | SOP-01 |
| Owner | T1 SOC Analyst |
| Trigger | MDO alert · SEG alert · User report ticket · Sentinel phishing rule fire |
| Time Targets | Alert assessed: < 5 min · Emails purged: < 30 min · Post-click check: < 60 min |
| Escalate To | T2 if any user credential compromise confirmed → trigger SOP-04 |
| Escalate To | T2 if endpoint process execution confirmed post-click → trigger SOP-03 |
| Tools Required | security.microsoft.com · portal.azure.com · Microsoft Sentinel |
| Portal Nav | Defender XDR: Email & Collaboration → Explorer (Threat Explorer) |
PHASE 01 — ALERT ASSESSMENT
TARGET: < 5 MIN- 1Open the alert source: MDO alert in
security.microsoft.com → Incidents & alerts → AlertsOR user ticket with forwarded email/header. - 2Record from the alert or email header: Sender address, Sender IP, Sender domain, Subject line, Delivery timestamp, Delivery action (Delivered/Junked/Blocked).
- 3Navigate to:
security.microsoft.com → Email & Collaboration → Explorer. Set time range to alert time ± 2 hours. - 4In Explorer, filter: Sender = sender address from alert. OR use Subject filter if sender spoofed. Hit Search.
- 5Note: Total results count (this is your initial recipient footprint), Delivery actions split (how many delivered vs junked vs blocked).
- 6Click any email row → Email entity page. Go to Authentication details tab. Record SPF/DKIM/DMARC result (fail = likely spoofed domain).
PHASE 02 — EMAIL ANALYSIS + KQL
TARGET: < 15 MIN- 1In Email entity page: click URLs tab. Copy every URL listed. Click Attachments tab. Copy SHA256 hash of any attachment.
- 2Run the following KQL in Sentinel or Defender Advanced Hunting to find every mailbox that received this email:
- 3Note total recipient count. Emails with
DeliveryAction = Deliveredare in inboxes and must be purged. - 4Run KQL to check if any recipient clicked a URL in the email:
- 5IsClickedThrough = True means the user passed through Safe Links and landed on the page. Record their
AccountUpnfor Phase 5. - 6If attachment hash present: In Defender, go to
security.microsoft.com → Threat Intelligence → Submissions → Submit file hashfor sandbox analysis (or search in Advanced Hunting first).
PHASE 03 — SCOPE DETERMINATION
CLASSIFY THE INCIDENT- 1From Phase 2 KQL: count total recipients, count
DeliveryAction = Delivered. These are your active-inbox targets. - 2Classify attack type:
— >50 recipients = mass spray (broad phishing campaign).
— <5 recipients, personalized subject = spear phishing (targeted, higher risk, escalate urgency).
— Same credential-harvest URL across many = credential stuffing setup. - 3From
UrlClickEventsKQL:
— 0 clicks: proceed directly to Phase 4 containment.
— 1+ clicks: proceed to Phase 4 AND Phase 5 simultaneously (trigger endpoint/identity check). - 4Determine page type from the URL: credential harvest page (fake M365/Google login), malware dropper, or redirect chain. Check in browser using a sandboxed VM or submit to Defender URL analysis.
If a credential harvest page is confirmed AND any user has IsClickedThrough = True, treat this as potential account compromise immediately. Run SOP-04 in parallel with this SOP.
PHASE 04 — CONTAINMENT
TARGET: < 30 MIN FROM ALERT- 1In Threat Explorer with your sender/subject filter active: select all results (check top checkbox). Click Remediate button (top-right).
- 2Choose Soft delete (recoverable, preserves evidence). Do NOT hard delete unless legal/compliance requires.
- 3In the remediation dialog: confirm email count matches your KQL recipient count. Enter a ticket/incident ID in the notes. Click Submit.
- 4Monitor remediation:
security.microsoft.com → Email & Collaboration → Explorer → Remediationtab. Wait for status = Completed.
- 5Block sender domain:
security.microsoft.com → Email & Collaboration → Policies & Rules → Threat Policies → Anti-spam → Edit inbound policy → Blocked Senders → Add domain. - 6If sender IP is dedicated malicious (not shared hosting): add to blocked sender IPs in the same Anti-spam policy.
- 7Block URL in Defender:
security.microsoft.com → Settings → Endpoints → Indicators → URLs/Domains → Add indicator → Block and generate alert. Paste the malicious URL. - 8Also block in Safe Links:
security.microsoft.com → Email & Collaboration → Policies & Rules → Threat Policies → Safe Links → Blocked URLs → Add URL.
If the phishing URL uses a URL shortener or redirector (bit.ly, t.co), block the FINAL destination domain, not just the shortener. Use Defender URL detonation to resolve the full redirect chain.
PHASE 05 — POST-CLICK: ENDPOINT + ENTRA ID
ONLY IF CLICKS CONFIRMED- 1For each user with
IsClickedThrough = True: go tosecurity.microsoft.com → Devices. Search for the user's device(s). - 2On the device page: check the Alerts tab for any existing endpoint alerts in the same time window. If alerts exist → escalate to T2 + trigger SOP-03.
- 3Run KQL to check for process execution initiated by the browser after the click:
- 4If suspicious process execution found → endpoint is compromised. Isolate device now via Defender and trigger SOP-03.
- 5For each user who clicked:
portal.azure.com → Microsoft Entra ID → Users → [user] → Sign-in logs. Filter to click timestamp ± 30 min. - 6Look for: new device, new country, Risk level = Medium or High, Conditional Access = Failure or Not applied.
- 7If sign-in from new/anomalous location after click timestamp: treat as credential compromise. Trigger SOP-04 now.
- 8If no anomalous login found but page was a credential harvest form: proactively force password reset anyway.
Entra ID → Users → [user] → Reset password → Require change on next sign-in = ON. - 9Revoke all active sessions:
Entra ID → Users → [user] → Revoke sessions.
PHASE 06 — DOCUMENT & CLOSE
FINAL STEPS- 1Submit IOCs to Defender TI:
security.microsoft.com → Threat Intelligence → Intel Profiles → Indicators → Add. Add sender domain, malicious URLs, attachment hashes with expiry date. - 2If the phishing pattern is new (new sender domain, new URL scheme): create or update a Sentinel analytics rule to auto-detect future instances.
- 3Notify affected users (those who received, especially those who clicked): brief, factual message — what happened, whether they need to reset password, who to contact.
- 4Document in ticket: total recipients, delivery count, click count, purge count, IOCs blocked, endpoint/Entra actions taken, classification.
- 5Close with one of: Phishing – Confirmed/Contained · Phishing – Credential Harvest, Escalated SOP-04 · Phishing – FP.
- Emails purged from all affected mailboxes (Delivered count = 0 after remediation)
- Sender domain blocked in EOP Anti-spam policy
- Malicious URLs blocked in Defender Indicators + Safe Links
- Attachment hash blocked in Defender Indicators (if attachment present)
- Post-click users: password reset + sessions revoked
- Ticket closed with classification and artifact list
Run the CyberHawk IOC Scanner to bulk-check extracted phishing IOCs against threat intelligence feeds: cyberhawkthreatintel.com/ioc-scanner
For additional SOC SOPs, detection playbooks, and threat hunting queries, visit the full SOP library at cyberhawkthreatintel.com/sops
◈ Stay Connected
Follow CyberHawk Threat Intel for threat intelligence, deployment guides and hands-on SOC tooling content.
"They can't exploit you if you are the Exploit."