[New Rule] Entra ID Potential Conditional Access MFA Bypass via First-Party Microsoft Graph Access#6325
Open
terrancedejesus wants to merge 5 commits into
Open
[New Rule] Entra ID Potential Conditional Access MFA Bypass via First-Party Microsoft Graph Access#6325terrancedejesus wants to merge 5 commits into
terrancedejesus wants to merge 5 commits into
Conversation
…-Party Microsoft Graph Access
Contributor
Rule: New - GuidelinesThese guidelines serve as a reminder set of considerations when proposing a new rule. Documentation and Context
Rule Metadata Checks
New BBR Rules
Testing and Validation
|
terrancedejesus
commented
Jun 23, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Microsoft Entra ID (Azure sign-in logs) New Terms detection rule to identify likely Conditional Access “resource exclusion” MFA bypass behavior when a Microsoft first-party public client obtains a Microsoft Graph token via password-only auth, plus supporting schema updates.
Changes:
- Introduces a new
new_termsrule targeting first-seen(user, app, source ASN)sign-ins to Microsoft Graph via first-party Microsoft apps where MFA grant controls were not applied. - Extends
non-ecs-schema.jsonto include additionalazure.signinlogs.properties.applied_conditional_access_policies.*fields used by the rule.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| rules/integrations/azure/defense_evasion_entra_id_ca_mfa_bypass_first_party_graph.toml | New Entra ID sign-in logs New Terms rule for potential CA MFA bypass via first-party Graph access. |
| detection_rules/etc/non-ecs-schema.json | Adds missing schema entries for Conditional Access per-policy fields referenced by the new rule. |
Comment on lines
+88
to
+93
| data_stream.dataset: "azure.signinlogs" and | ||
| event.outcome: "success" and | ||
| azure.signinlogs.properties.user_type: "Member" and | ||
| azure.signinlogs.properties.authentication_requirement: "singleFactorAuthentication" and | ||
| azure.signinlogs.properties.conditional_access_status: ("success" or "notApplied") and | ||
| azure.signinlogs.properties.authentication_details.authentication_method: "Password" and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Issue link(s):
Summary - What I changed
Identifies the first observed instance of a Microsoft first-party public client application acquiring a Microsoft Graph
token using single-factor (password-only) authentication while an MFA Conditional Access grant control went unenforced, for a given user, application, and source autonomous system (ASN). This pattern is associated with the Conditional Access "resource exclusion" bypass: when a tenant's "all resources" Conditional Access policy contains at least one application exclusion, Entra ID issues tokens for low-privilege baseline scopes (User.Read, openid, profile, email) to any resource, including Microsoft Graph, without enforcing the policy's grant controls (such as MFA). An adversary holding only a stolen password can therefore obtain a Graph token through a trusted first-party public client (for example, Microsoft Bing Search) and enumerate directory objects, even though the tenant requires MFA. Critically, the overall conditional_access_status is never "failure" for this technique (the sign-in is not blocked); it is reported as "success" or "notApplied" depending on what other policies exist in the tenant, so detections that key on Conditional Access failures will not observe it.
How To Test
Checklist
bug,enhancement,schema,maintenance,Rule: New,Rule: Deprecation,Rule: Tuning,Hunt: New, orHunt: Tuningso guidelines can be generatedmeta:rapid-mergelabel if planning to merge within 24 hoursContributor checklist