Skip to content
SIEMBench
100% Client-Side Tool • Inputs Never Sent to Our Servers

Event ID 4723

Event ID 4723: Password Change Attempt

An attempt was made to change an account's password

Log source
Security
How to enable it
Account Management > Audit User Account Management (Success and Failure)
Category
Account Management
Priority
Low
Typical volume
Medium
MITRE ATT&CK

What Event ID 4723 means

4723 records a password change, in which the person supplies the old password and chooses a new one. It differs from a reset (4724), in which an administrator sets a password without knowing the old one. Mixing the two up leads to wrong conclusions about who had what.

A successful change by the account owner is routine. It becomes evidence when the timing is wrong: a change minutes after a suspicious logon means that whoever logged in knew the current password and has now shut out the owner.

Failures tell their own story. They are written when the new password violates policy. A wrong old password, by contrast, shows up as a failed authentication instead, so the absence of 4723 does not prove that nobody tried.

Key fields to inspect

FieldMeaningSuspicious when
TargetUserName Account whose password was to change. A service account, whose password should be changed only by its owner's process.
SubjectUserName Account that made the attempt. A name different from TargetUserName, or ANONYMOUS LOGON.
SubjectLogonId Session that made the attempt. A session that began moments earlier from a new location.
TargetDomainName Domain, or computer for a local account. A server's local account database.
TargetSid Security identifier of the account. -500, the built-in Administrator.

Detection queries

Find changes made by someone other than the account itself. Adjust names and thresholds to your environment. About these queries.

Splunk SPL

index=windows source="XmlWinEventLog:Security" EventCode=4723
| where lower(SubjectUserName)!=lower(TargetUserName)
| table _time Computer SubjectUserName TargetUserName SubjectLogonId Keywords

Microsoft Sentinel KQL

SecurityEvent
| where EventID == 4723
| where SubjectUserName !~ TargetUserName
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, SubjectLogonId, Keywords

PowerShell

Get-WinEvent -FilterHashtable @{ LogName = 'Security'; Id = 4723; StartTime = (Get-Date).AddDays(-7) } |
  ForEach-Object { $d = @{ Time = $_.TimeCreated }; ([xml]$_.ToXml()).Event.EventData.Data | ForEach-Object { $d[$_.Name] = $_.'#text' }; [pscustomobject]$d } |
  Select-Object Time, SubjectUserName, TargetUserName, TargetDomainName | Format-Table -AutoSize

Attack scenarios

Account takeover

A phished password is used from a new address and then changed to lock the owner out. The sequence is 4624, 4723 with the same account as subject and target, and then failed logons from the owner's own devices.

Restoring a password after abuse

Tools that use the SamrChangePasswordUser or SetNTLM functions can set a temporary hash and later restore the original. Two changes for one account within minutes, both over the network, deserve a close look.

Denial of access

During destructive attacks, intruders change passwords of administrators to slow the response. A burst across privileged accounts is an emergency.

Investigation checklist

  1. Compare the subject's session (SubjectLogonId) with the owner's usual computer.
  2. Ask the user directly, by phone, whether they changed the password.
  3. Check for a suspicious logon in the hour before.
  4. Look for two or more changes to one account in a short period.

Common benign causes

Event ID 4723 FAQ

What is the difference between 4723 and 4724?

4723 is a change by someone who supplied the old password, normally the user. 4724 is a reset by someone with rights over the account, who does not need the old password.

Does a wrong old password create a 4723 failure?

Generally not. Failure events appear when the new password does not meet policy. A wrong old password appears as a failed authentication, such as 4625, 4771 or 4776.

Can an attacker change a password with only the NTLM hash?

Yes. Some protocol functions accept the old hash as proof instead of the password. The result looks like a user change, so an unexpected 4723 after NTLM logons can be a sign of this.

Techniques follow MITRE ATT&CK® v20.1. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation (license). Field names were checked against Microsoft documentation and provider schemas.