Entra ID Password Reset of Another User

edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Entra ID Password Reset of Another User

edit

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.

Rule type: esql

Rule indices: None

Severity: medium

Risk score: 47

Runs every: 5m

Searches indices from: now-10m (Date Math format, see also Additional look-back time)

Maximum alerts per execution: 100

References:

Tags:

  • Domain: Cloud
  • Data Source: Azure
  • Data Source: Microsoft Entra ID Audit Logs
  • Domain: Identity
  • Platform: Azure
  • Platform: Microsoft Entra ID
  • Tactic: Persistence
  • Rule Type: ES|QL
  • Resources: Investigation Guide

Version: 1

Rule authors:

  • Elastic

Rule license: Elastic License v2

Investigation guide

edit

Triage and analysis

Disclaimer: This investigation guide was created using generative AI technology and has been reviewed to improve its accuracy and relevance. While every effort has been made to ensure its quality, we recommend validating the content and adapting it to suit your specific environment and operational needs.

Investigating Entra ID Password Reset of Another User

An administrator (or an identity with reset rights) resetting another user’s password is a routine helpdesk action, but it is also a direct account-takeover and BEC persistence primitive. This rule surfaces resets where the actor is not the target.

Possible investigation steps

  • Confirm the actor (Esql.actor) and target (Esql.target), and whether the reset was expected/ticketed.
  • Review source.ip and source.as.organization.name for the initiator; unusual networks warrant scrutiny.
  • Correlate with subsequent sign-ins to the target account, MFA changes, and mailbox-rule or app-consent activity.

False positive analysis

  • Helpdesk, IT admins, and self-service-delegated roles reset passwords routinely. Baseline known helpdesk/IDM principals and consider layering rareness (first-seen actor) to reduce volume.

Response and remediation

  • If unauthorized, re-reset the target’s password, revoke its sessions, review follow-on activity, and rotate the initiator’s credentials.

Rule query

edit
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.*

Framework: MITRE ATT&CKTM