Conditional Access (CA) policies are the primary enforcement layer for MFA, device compliance, and location-based access controls in Entra ID. An attacker who gains Conditional Access Administrator, Security Administrator, or Global Administrator access will often modify or delete CA policies as the first step — removing the requirement for MFA so they can sign in cleanly from any IP without triggering prompts.
Microsoft Sentinel surfaces these events via AuditLogs operations Delete conditional access policy, Update conditional access policy, and Add conditional access policy. A policy state change from enabled to disabled or a grant control change removing mfa is equally dangerous as outright deletion.
◈ Table of Contents
Background
CONTEXT| Technique | MITRE | AuditLogs OperationName |
|---|---|---|
| Delete CA policy entirely | T1562.001 | Delete conditional access policy |
| Disable CA policy (state: disabled) | T1562.001 | Update conditional access policy — state field changed to disabled |
| Remove MFA from grant controls | T1562.001 | Update conditional access policy — grantControls.builtInControls no longer contains mfa |
| Exclude attacker account from policy | T1562.001 | Update conditional access policy — excludedUsers or excludedGroups modified |
| Add trusted IP location to bypass MFA | T1562.001 | Update named location — attacker IP added to trusted network list |
| Create new CA policy with permissive rules | T1562.001 | Add conditional access policy — all-users, all-apps, no controls |
Identification
INVESTIGATEIf a CA policy enforcing MFA for all users is deleted or disabled, ALL sign-ins immediately become single-factor until the policy is restored. An attacker can chain this with any credential they already hold — no token theft required. Check for new sign-ins from unknown IPs within the tamper window immediately.
After restoring the CA policy, check the Named Locations list: Entra ID → Security → Named locations. Attackers frequently add their IP as a "trusted" named location and then configure CA to skip MFA for trusted locations — a subtle bypass that persists even after the policy is restored unless the location is also removed.
Containment
STOP IT- 1Re-enable or recreate the deleted/disabled CA policy immediately: Entra ID → Security → Conditional Access → Policies. For deleted policies — recreate from the OldValue captured in AuditLogs, or restore from a documented baseline (Entra ID does not have native policy rollback).
- 2Block initiator account and revoke sessions (see SOP-18 containment steps). If the initiator is an admin account, contain both the initiator and any accounts it interacted with.
- 3Review and clean Named Locations: Entra ID → Named locations — remove any IP ranges added by the attacker.
- 4Force MFA re-registration for all users who signed in during the unprotected window using single-factor authentication. Issue TAPs.
Eradication
CLEAN UP- 1Audit all CA policies against your documented baseline: state, grant controls, included/excluded users, and named locations. Confirm every policy matches the expected configuration.
- 2Export current CA policy set as JSON for future comparison: Entra ID → Conditional Access → Policies → Export. Store in a versioned configuration repository.
- 3Enable the Sentinel analytic rule for CA policy changes — configure to alert immediately on any delete or state change without waiting for the 5-minute alert aggregation window.
- 4Restrict Conditional Access Administrator role to break-glass accounts only. Use PIM with approval gates for any CA policy modifications.
- 5Audit sign-ins that occurred without MFA during the unprotected window — treat each one as potentially malicious. Revoke sessions for all such sign-ins.
- All CA policies restored and verified against baseline
- No untrusted named locations in the Named Locations list
- All single-factor sign-ins during tamper window audited and sessions revoked
- Initiator account contained and credentials rotated
- Sentinel alert for CA policy changes set to near-real-time
Escalation
TIERS| Tier | Trigger | Action |
|---|---|---|
| L1 → L2 | Single non-critical CA policy modified; no sign-ins without MFA detected; change ticket missing but no confirmed attacker activity | Restore policy, document initiator, escalate for admin account review |
| L2 → IR + CISO | MFA-enforcing policy deleted/disabled; subsequent single-factor sign-ins confirmed; initiator account compromised via AiTM or brute force | Full incident. Audit all accounts that signed in without MFA during window. CISO notification. |
| IR → Security Engineering | Multiple CA policies wiped; no backup/baseline available; entire CA posture destroyed; break-glass accounts compromised | Full tenant recovery. Engage Microsoft DART. Consider emergency tenant-wide CA redeployment from DR baseline. |
Authorized security research & penetration testing only. Unauthorized use is illegal. Authored by Rudra Verma | Senior Security Architect | CyberHawk Consultancy.