Confirm the SSPR event
The reset establishes the first reliable investigation anchor.
View query
Q-01Recover the SSPR reset sequence
What this checks
Find successful self-service password-reset activity for the affected identity and preserve the reset flow and correlation context.
KQL
let target_user = "denis@example.com";
AuditLogs
| where TimeGenerated >= ago(7d)
| where LoggedByService =~ "Self-service Password Management"
| where OperationName in~ (
"Reset password (self-service)",
"Self-service password reset flow activity progress",
"Blocked from self-service password reset"
)
| extend
InitiatingUser = tolower(tostring(InitiatedBy.user.userPrincipalName)),
TargetUser = tolower(tostring(TargetResources[0].userPrincipalName)),
TargetId = tostring(TargetResources[0].id)
| where InitiatingUser == tolower(target_user) or TargetUser == tolower(target_user)
| project
TimeGenerated,
OperationName,
Result,
ResultReason,
InitiatingUser,
TargetUser,
TargetId,
AdditionalDetails,
CorrelationId
| order by TimeGenerated ascSPL
index=<entra_audit_index> sourcetype=<entra_audit_sourcetype>
earliest=-7d
(
OperationName="Reset password (self-service)"
OR OperationName="Self-service password reset flow activity progress"
OR OperationName="Blocked from self-service password reset"
)
| eval
user=lower(coalesce(user, userPrincipalName, InitiatingUserPrincipalName, TargetUserPrincipalName)),
operation=coalesce(operation, OperationName, ActivityDisplayName),
result=lower(coalesce(result, Result)),
correlation_id=coalesce(correlation_id, CorrelationId)
| where user="denis@example.com"
| fields _time user operation result ResultReason correlation_id AdditionalDetails
| sort 0 _timeWhat to look for
A successful self-service reset for denis@example.com together with the surrounding reset-flow events.
Technical details
Tested signal
Successful self-service password reset and related flow-progress events for the affected user.
Assumptions
- Microsoft Entra AuditLogs includes Self-service Password Management events.
- The target user can be recovered from the target-resource object or initiating user context.
Data requirements and relevant fields
- identity
Microsoft Entra audit events for self-service password reset and authentication-method changes.
TimeGeneratedLoggedByServiceCategoryOperationNameResultResultReasonInitiatedByTargetResourcesAdditionalDetailsCorrelationId
KQL schema
Validate connector availability, nested-field shape, retention, and licensing before operational use.
SPL schema
Replace index/sourcetype placeholders and map the documented identity, Graph, and Azure control-plane concepts to local fields.
Limitations
- Legitimate users can complete SSPR during normal recovery.
- The reset event alone does not establish social engineering.
KQL uses Microsoft Entra / Azure Monitor telemetry. SPL is a normalized raw-event scaffold and requires local field mapping.
More reasoning
Observation
The incident begins with an unexpected password-recovery event for a cloud identity.
Working explanation
The user may have been socially engineered into completing an attacker-initiated password reset.
What was checked
Recover the self-service reset and surrounding flow-progress events for the affected identity.
Interpretation
SSPR is legitimate; the security question is what changed around it and whether the user intended the recovery.