Defender for Office 365
Investigate a Business Email Compromise (BEC)
Walk through a complete BEC incident investigation using Threat Explorer, analyse email flows and compromised mailbox rules, identify impacted recipients, contain the threat, deploy email authentication (SPF/DKIM/DMARC), implement Conditional Access, and build a reusable BEC response playbook.
Where it fits: lab 4 of 4
Stop email threats with Defender for Office 365. Configure Safe Attachments, Safe Links and anti-phishing, run attack simulations and investigate a business email compromise.
- Configure Safe Attachments & Safe Links 90 min
- Attack Simulation Training & Security Awareness 90 min
- Configure Anti-Phishing & Zero-Hour Auto Purge 100 min
- Investigate a Business Email Compromise (BEC) 2.5 h
What this lab covers
Business Email Compromise (BEC) is a sophisticated attack where an adversary compromises or impersonates a legitimate business email account to conduct fraudulent wire transfers, redirect payments, or steal sensitive data. This lab simulates a real-world BEC scenario: an executive’s account is compromised via credential phishing, the attacker creates inbox forwarding rules, and sends fraudulent wire transfer requests to the finance team.
You will use Threat Explorer, message trace, sign-in logs, and unified audit log to reconstruct the full attack timeline from initial phishing email to account compromise to fraudulent activity. The lab covers the complete incident lifecycle: detection, investigation, containment, eradication, recovery, and post-incident improvements.
The enterprise scenario
Contoso’s SOC receives a high-severity alert: “Suspicious inbox forwarding rule detected” on the CFO’s mailbox. All emails are being forwarded to an external Gmail address. Initial investigation reveals three fraudulent wire transfer request emails sent from the CFO’s account to the Accounts Payable team in the past 48 hours. One wire transfer of $185,000 was executed by AP before the alert fired.
The bank must be notified within 24 hours for potential recovery. The security team must simultaneously contain the compromise, investigate the full scope, notify affected parties, preserve evidence, and implement controls to prevent recurrence.
What you will learn
- Triage a BEC alert and assess immediate risk and financial impact
- Investigate the compromised mailbox using Threat Explorer and message trace
- Review and remove malicious inbox rules and OAuth application consents
- Reconstruct the attack timeline from initial phishing to compromise to fraud
- Execute containment: password reset, token revocation, MFA enforcement
- Conduct email header analysis and extract IOCs for threat intelligence
- Hunt for additional compromised accounts across the organisation
- Deploy email authentication (SPF, DKIM, DMARC) as a preventive control
Before you start
- Completed Labs 01-03 (Safe Links, Attack Simulation, Anti-Phishing)
- Security Operator or Security Administrator role
- Threat Explorer access (Defender for Office 365 Plan 2)
- Microsoft Entra ID P2 for sign-in log analysis
- Exchange Online PowerShell access for mailbox investigation
- Understanding of BEC attack patterns and wire fraud procedures
The 12 steps
- Triage the BEC Alert
- Execute Immediate Containment
- Reconstruct the Attack Timeline
- Analyse Sign-In Logs for Compromise Evidence
- Identify Impacted Recipients and Financial Exposure
- Conduct Email Header Analysis and Extract IOCs
- Hunt for Additional Compromised Accounts
- Preserve Evidence
- Deploy Email Authentication (SPF, DKIM, DMARC)
- Implement Conditional Access for Executives
- Configure Ongoing BEC Monitoring
- Build the BEC Response Playbook