Exercise 03: Monitor and investigate a medium severity alert
Exercise learning objectives
- Monitor and triage a medium-severity alert in Microsoft Defender XDR.
- Scope and validate the attack using Advanced Hunting (KQL) across identity and endpoint telemetry.
- Contain and remediate using Automated Investigation & Response (AIR).
- Verify containment by revoking sessions and enforcing password reset/MFA prompts.
Licensing and environment
-
An active Microsoft 365 tenant with security.microsoft.com access.
-
Licensing covering each workload:
-
Microsoft Defender XDR (via Microsoft 365 E5, Enterprise Mobility + Security E5).
-
Defender for Endpoint Plan 2, Defender for Office 365 Plan 2, Defender for Identity, Defender for Cloud Apps, Microsoft Entra ID P2 (for risk-based policies & Identity Protection)
-
-
At least 1–2 test users, mailboxes, and onboarded devices (Windows 10/11/Server) to produce real telemetry. Note: Lab uses seeded test activity data where required and at least one Azure Windows VM on boarded.
Roles and permissions
-
Lab environment: Global Admin role for the lab
-
Real-world deployments: granular RBAC assignments are recommended:
-
Security Reader (read-only) or Security Analyst / Security Administrator for M365 Defender.
-
Global Reader or Service Support Admin to view M365 Service Health.
-
Microsoft Sentinel Reader/Contributor on the Sentinel workspace (via Azure RBAC).
-
Exchange Admin/ Security Admin (read) for Email & Collaboration policy visibility.
-
Defender for Identity permissions (to view identity health & entities).
-
Cloud App Security Admin/Reader (for Defender for Cloud Apps).
-
Estimated exercise time (minutes) for a student: 70 minutes
Table of contents
- 01: Load sample data
- 02: Create the lab alert, incident with a custom detection rule, and detect password spray attempts
- 03: Create a custom detection rule
- 04: Create an incident
- 05: Investigate the incident with Attack Story
- 06: Validate spray patterns with Advanced Hunting
- 07: Contain the attack
- 08: Verify containment and close incident
- 09: Close the incident