After the AiTM: close the door in Entra ID
Remove the MFA method the attacker left behind, invalidate the stolen sessions and require phishing-resistant MFA with Conditional Access, without locking yourself out of the tenant.
The problem
Fictional tenant. The policy "Require MFA for all users" (classic MFA) already exists. breakglass-01 is the emergency access account: it must stay out of any policy that could lock you out. The malicious inbox rule is handled in Exchange and is not part of this lab.
Mission
The (fictional) AiTM investigation at fabrikam.example is over: the attacker stole Marta’s and Pablo’s session cookies and registered their own Microsoft Authenticator on Marta’s account. Fix the root cause: push MFA can be relayed through a proxy.
3 objectives inside the lab. You meet them as you play: no steps or solutions are shown here.
What you will learn
- Removing identity persistence
- Revoking sessions
- Conditional Access with authentication strength
- Emergency access accounts
Specialty and certification
Cloud Defense · SC-200, AZ-104
Official objectives it practices (2)
- SC-200: Investigate Microsoft 365 activities to identify threats
- AZ-104: Manage Microsoft Entra users and groups
Aligned with public exam objectives. Not official material and no complete coverage is implied.
On the roadmap Microsoft Azure · Security, identity and compliance
With a planCheck the stage: domain testThe SC-900 domain test needs a paid plan. Free: SC-900 diagnostic or the lab Stop lateral movement: segment the desktop subnet.
What it is and is not
Deterministic JG Labs model: rules and errors based on official documentation. Not the real cloud. The scenario is fictional: it does not describe any real incident or any company’s data.
Official documentation
- Overview of Conditional Access authentication strengths — Microsoft Learn (reviewed 2026-11-18)
- Create conditionalAccessPolicy — Microsoft Graph v1.0 (reviewed 2026-11-18)
- List authenticationStrengthPolicies — Microsoft Graph v1.0 (reviewed 2026-11-18)
- user: revokeSignInSessions — Microsoft Graph v1.0 (reviewed 2026-11-18)
- Delete microsoftAuthenticatorAuthenticationMethod — Microsoft Graph v1.0 (reviewed 2026-11-18)
- az rest — Azure CLI reference (reviewed 2026-11-18)