[New Rule] Entra ID Admin Registered MFA Method for User - #6680
Open
descambiado wants to merge 2 commits into
Open
[New Rule] Entra ID Admin Registered MFA Method for User#6680descambiado wants to merge 2 commits into
descambiado wants to merge 2 commits into
Conversation
Covers the persistence path where an administrator attaches an authentication method to another user's account, giving the adversary a second factor they control without touching the password. Existing MFA coverage keys on removal (Disable Strong Authentication, User deleted security info); the admin-initiated registration path is the inverse and is currently unobserved. Temporary Access Pass registration is excluded, as it is already covered by the dedicated TAP rule. Detection logic and the investigation guide are derived from audit events captured in a live tenant, including the dual-record behaviour where the Authentication Methods service carries the human actor and Core Directory carries the registered contact details.
The rule.threat mapping already declares both Persistence (TA0003) and Credential Access (TA0006) for T1556.006, matching the sibling rule persistence_entra_id_oauth_app_redirect_uri_modified.toml's convention, but the tags list only had Persistence. Added the missing tag.
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.
Summary
Adds a detection for an administrator registering or updating an MFA method on behalf of another Entra ID user.
Existing MFA coverage in the ruleset keys on removal:
Entra ID MFA Disabled for UsermatchesDisable Strong AuthenticationandUser deleted security info. The admin-initiated registration path is the inverse and is currently unobserved. An adversary with administrative access can attach a phone number they control to a victim account, obtaining a factor that satisfies MFA and Conditional Access without changing the password and without the account owner noticing.Entra ID Temporary Access Pass Created for Useralready covers the TAP case with a different tactic mapping, so this rule explicitly excludes*TemporaryAccessPass*to keep the two complementary rather than overlapping.Validation
Detection logic and the investigation guide are derived from audit events generated and captured in a live Entra ID tenant, not from documentation.
A single admin registration writes two audit records with the same timestamp and target:
1.
Authentication Methodsservice — the record this rule matches2.
Core Directoryservice — parallel record, not matched by this ruleTwo details worth carrying into the investigation guide came out of this and are documented in the rule's
note:Authentication Methodsrecord. TheUpdate usertwin is initiated by a Microsoft first-party service principal, so attributing from that record gives the wrong answer.result_reasondistinguishes the method type in plain language, which is what makes the TAP exclusion clean. Registering a Temporary Access Pass on the same account producedAdmin registered security infowith result reasonAdmin registered temporary access pass method for userandTemporaryAccessPass.*modified properties, confirming the exclusion clause matches only the intended case.Checks:
T1556.006rule_idverified unique against the repositoryAdmin registered security infooutside the TAP rule, which this one excludes by designseverity/risk_scoreset to medium/47, matchingEntra ID MFA Disabled for Useras the closest comparable ruleWhat I did not verify
Being explicit about the limits of the above:
Admin updated security infois included on the strength of it being a documented Entra operation name (it appears throughout Microsoft's own Azure-Sentinel content), but I did not trigger it in the tenant, so I have not seen itsmodifiedPropertiesshape first hand. Happy to drop it from the query if you would rather the rule only claim what was observed.detection_rules validate-rulelocally (missing toolchain dependencies), so the rule has only been checked by hand and by parsing. CI will be the first real run.Notes
Happy to adjust naming, severity, or the exclusion approach if you would rather see this folded into the existing MFA rule instead of standing alone.