Entra ID Password Reset of Another User

Last updated 9 days ago on 2026-11-12
Created 9 days ago on 2026-11-12

About

Identifies an Entra ID administrative password reset where the initiating principal differs from the target user ("Reset user password" / "Update PasswordProfile"). Adversaries and business email compromise operators reset another user's password to hijack the account or establish persistence. This ES|QL rule compares the initiator to the target and normalizes the initiator across user- and app-initiated operations.
Tags
Domain: CloudData Source: AzureData Source: Microsoft Entra ID Audit LogsDomain: IdentityPlatform: AzurePlatform: Microsoft Entra IDTactic: PersistenceRule Type: ES|QLLanguage: esql
Severity
medium
Risk Score
47
MITRE ATT&CK™

Persistence (TA0003)(external, opens in a new tab or window)

License
Elastic License v2(external, opens in a new tab or window)

Definition

Integration Pack
Prebuilt Security Detection Rules
Related Integrations

azure(external, opens in a new tab or window)

Query
text code block:
FROM logs-azure.auditlogs-* METADATA _id, _version, _index | WHERE event.dataset == "azure.auditlogs" AND event.action IN ("Reset user password", "Update PasswordProfile") AND event.outcome == "success" AND azure.auditlogs.properties.initiated_by.app.displayName != "Microsoft password reset service" | EVAL Esql.actor = COALESCE(azure.auditlogs.properties.initiated_by.user.userPrincipalName, azure.auditlogs.properties.initiated_by.app.displayName), Esql.target = `azure.auditlogs.properties.target_resources.0.user_principal_name` | WHERE Esql.actor IS NOT NULL AND Esql.target IS NOT NULL AND Esql.actor != Esql.target | KEEP _id, _version, _index, @timestamp, Esql.*, event.*, source.*, azure.*

Install detection rules in Elastic Security

Detect Entra ID Password Reset of Another User in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).