Incident Response

BEC on Microsoft 365: How an AI SOC Investigates It in 90 Seconds

16 May 2026 11 min read By Bazam

At 14:22:06 UK time, Microsoft Sentinel fires an impossible-travel alert on [email protected]. She signed into Outlook from London at 14:13. Four minutes later, a successful login arrives from Lagos, Nigeria.

Industry statistics tell you this will be a BEC attempt 92% of the time. Business Email Compromise is now the most common threat vector for UK SMEs, and the M365 environment is where most of it plays out. The FBI's IC3 reports put global BEC losses at over $50 billion since 2013. For UK MSPs, it's the incident type most likely to produce a catastrophic client outcome.

This post walks through exactly what happens next — step by step, with timings — when that alert is picked up by an agentic AI SOC.

The scenario

Step 1–4 — Triage and initial enrichment (0:00–0:04)

Step 1: Alert ingestion (0:00)

SocSage ingests the Sentinel incident via the workspace API. The raw alert JSON contains the source IP (41.203.64.12), timestamps, user principal name, device ID, and Sentinel's generated severity.

Step 2: MITRE classification (0:01)

The triage agent maps the alert to MITRE ATT&CK technique T1078.004 — Valid Accounts: Cloud Accounts. This isn't a generic mapping; the agent uses the alert's evidence to decide between T1078 (Valid Accounts), T1586 (Compromised Accounts), and T1586.002 (Compromise Accounts: Email Accounts). Impossible-travel with no prior device compromise signals → T1078.004.

Step 3: Identity context (0:02)

The identity-enrichment agent queries Microsoft Graph API:

Step 4: IOC enrichment (0:04)

The IOC agent calls VirusTotal and AbuseIPDB on 41.203.64.12. Results:

What this step replaces: this is the phase where a Tier 1 analyst normally spends 10–15 minutes — opening tabs, copy-pasting IPs, logging into VirusTotal, checking AbuseIPDB, reading comments. Here it takes 3 seconds and the result is logged as part of the incident record.

Step 5–8 — Lateral movement and privilege (0:04–0:16)

Step 5: Lateral-movement scan (0:08)

The lateral-movement agent queries Entra ID sign-in logs for the last 24 hours, filtered to j.patel:

The last event is the critical signal: a forwarding rule to an external address. This is a classic BEC indicator — attackers use inbox rules to silently exfiltrate financial correspondence.

Step 6: Email assessment (0:11)

The email agent reviews message headers and M365 Defender verdicts from the preceding 48 hours. Finds a phishing precursor: at 10:14 the same morning, Jaya received an email claiming to be from "Microsoft 365 Security" asking her to reauthenticate via a linked URL. Defender for Office 365 verdict: "suspicious, not blocked." URL resolved to a lookalike domain — login-microsoft365.co.

Step 7: EDR interrogation (0:14)

The EDR agent queries SentinelOne across Jaya's three registered devices. All devices return clean — no suspicious processes, no credential-theft indicators, no persistence artefacts. The attack is cloud-only; her endpoints were never touched. This is typical of BEC: the attacker doesn't need the laptop, they only need the session token.

Step 8: Privilege-scope calculation (0:16)

The privilege agent computes blast radius:

The blast radius is significant — shared accounts-payable mailbox is an ideal position for invoice fraud — but contained. This is not a domain-admin compromise.

Step 9–13 — Timeline and narrative (0:16–1:02)

Step 9: Timeline reconstruction (0:28)

All events are assembled into a chronology:

  1. 10:14 — Phishing email delivered (Defender verdict: suspicious)
  2. 10:23 — User clicks link (inferred from browser proxy log)
  3. 10:24 — Credentials submitted to lookalike site (inferred)
  4. 14:13 — Legitimate London sign-in (MacBook Pro)
  5. 14:17 — Lagos sign-in successful (MFA via SMS)
  6. 14:18 — SharePoint access: 4 acquisition documents viewed
  7. 14:19 — Blocked login attempt from Lagos
  8. 14:22 — Inbox forwarding rule created
  9. 14:22 — Sentinel fires impossible-travel alert

Step 10: D3FEND countermeasure mapping (0:45)

Recommended actions, ranked by effectiveness:

Step 11: Risk score (0:58)

92% malicious. The residual 8% accounts for: legitimate travel (ruled out via calendar), VPN (ruled out via ISP type), and shared credentials (possible but unlikely given device registration patterns).

Step 12–13: Evidence packaging and narrative (1:02)

A 340-token incident summary is generated: two paragraphs of plain-English narrative, followed by a machine-readable evidence block (timestamps, IOCs, ATT&CK mapping, blast radius, recommended actions, confidence score). Everything is cross-referenced by event ID so a human reviewer can follow any claim back to source.

Step 14 — The HITL gate (1:02)

A Slack Block Kit card arrives in the MSP's #soc-contoso channel:

🚨 HITL APPROVAL — INC-2026-04817
Impossible Travel · [email protected] · 1m 02s investigation
Verdict: 92% malicious — confirmed BEC attempt
ATT&CK: T1078.004 → T1556.007 (MFA SMS abuse) → T1114.003 (Email Forwarding Rule)
Blast radius: mailbox + shared AP mailbox + SharePoint Finance + SMS MFA weakness
Evidence: 14 events · IOC 72/89 VT · phishing precursor at 10:14 · forwarding rule active
Recommended action:
Revoke sessions · Reset password · Remove inbox rule · Enforce authenticator MFA
Approve all (recommended) Quarantine only Reject
The HITL card after 62 seconds of autonomous investigation.

The MSP analyst reviews the evidence for 47 seconds, confirms with a glance at Jaya's Outlook calendar that she is not travelling, and clicks Approve all. SocSage executes the four actions in parallel:

Total time from alert to remediation: 2 minutes 17 seconds.

What would have happened without AI triage

Under a traditional Tier 1 model, the alert sits in the queue. The analyst picks it up at 16:47 — 2h 25m later — because the queue is already 340 alerts deep from the morning. By then:

This isn't hypothetical. The Verizon DBIR puts median BEC dwell time before detection at 197 days. The reason isn't that attackers are clever; it's that Tier 1 is drowning.

See SocSage investigate your first alert — in 3 minutes.

Run 330+ compliance checks on your Microsoft 365 or Google Workspace tenant. No credit card, no agents. See a real AI-triaged alert before lunch.

Start free scan