1. Resources
  2. Detection sources
  3. Event ID 4723

Event ID 4723: An attempt was made to change an account's password

Written when an account changes a password and supplies the old one: on domain controllers for domain accounts, on member servers and workstations for local accounts. The counterpart of the reset event 4724.

Log source
Windows Security log
Detection value
Supporting
Volume
Low
Last updated
Audit subcategory
Audit User Account Management (Account Management, Success and Failure)
Logged on
All Windows computers
Event versions
0
Detects
1 attack (1 detection logic)
MITRE ATT&CK
1 technique in 2 tactics

When it is written

Windows writes 4723 each time an account attempts to change a password by giving the current one, usually its own: Microsoft notes that Subject and Target Account are normally the same account. Domain controllers write it for domain accounts, member servers and workstations for their local accounts. Setting a new password without the old one is a reset, event 4724.

A change that succeeds is an Audit Success event. The Failure event differs by account type. For a domain account it is written only when the new password does not meet the password policy; when the old password is wrong, the domain controller writes a Kerberos pre-authentication failure (4771) or a credential validation event (4776) instead, if those subcategories are audited. For a local account a Failure event covers both a policy refusal and a wrong old password.

No rule reads 4723. A detection logic hypothesis on the policy weakening page lists the password changes (4723) and resets (4724) made between a change of the domain password policy (4739) and its reversal.

How to turn it on

Advanced audit policy subcategory Audit User Account Management, Success and Failure. Set it in a Group Policy object linked to the computers that write the event:

Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > Account Management > Audit User Account Management
Microsoft's recommendation per computer role
ComputerAuditNote
Domain controllersSuccess and FailureMicrosoft's general and stronger baselines both recommend Success and Failure auditing. Microsoft calls the subcategory useful for watching critical domain accounts (domain admins, service accounts, database admins) and recommends Failure auditing mainly for invalid password change and reset attempts on domain accounts, failed changes of the DSRM password and failed SID History additions.
Member serversSuccess and FailureBoth baselines recommend Success and Failure auditing. Microsoft recommends watching every change to local user accounts, especially the built-in local Administrator and other critical accounts, and Failure auditing mainly for invalid password change and reset attempts on local accounts.
WorkstationsSuccess and FailureBoth baselines recommend Success and Failure auditing. Microsoft recommends watching every change to local user accounts, especially the built-in local Administrator and other critical accounts, and Failure auditing mainly for invalid password change and reset attempts on local accounts.
Check the current setting
auditpol /get /subcategory:"User Account Management"
Based on vendor documentation.
Turn it on (local policy; a domain GPO overrides it)
auditpol /set /subcategory:"User Account Management" /success:enable /failure:enable
Based on vendor documentation.
The same on a Windows in another display language
auditpol /get /subcategory:"{0CCE9235-69AE-11D9-BED3-505054503030}"
Based on vendor documentation.

Run the commands in an elevated prompt on a computer that writes the event. Subcategory settings take effect only when the security option Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings is enabled (the default), and a Group Policy object that sets advanced audit policy replaces local changes at its next refresh. Microsoft's advanced audit policy reference

Fields

In Event Viewer order. The field names are those of the event XML, from the event template that ships with Windows.

FieldWhat it holdsSince
Security IDSubjectUserSidSubjectSID of the account that attempted the change, usually the same as TargetSid. Event Viewer resolves it to a name when it can.v0
Account NameSubjectUserNameSubjectName of the account that attempted the change.v0
Account DomainSubjectDomainNameSubjectDomain of that account, or the computer name for a local account. NT AUTHORITY for well-known principals such as LOCAL SERVICE.v0
Logon IDSubjectLogonIdSubjectLogon ID of the session that attempted the change, in hexadecimal. The logon event of that session (4624) on the same computer carries the same value.v0
Security IDTargetSidTarget AccountSID of the account whose password was to be changed. Event Viewer resolves it to a name when it can. Its last part is the relative identifier (RID), 500 for the built-in Administrator.v0
Account NameTargetUserNameTarget AccountName of the account whose password was to be changed.v0
Account DomainTargetDomainNameTarget AccountDomain of that account, as a NetBIOS or DNS name. For a local account, the name of the computer it belongs to.v0
PrivilegeListPrivileges used for the operation. Usually a dash, because Windows does not always capture them.v0

Values to know

Security ID SubjectUserSid

ValueMeaningSignal
Same as TargetSidThe account changed its own passwordWhat Microsoft describes as the normal case.Expected
Different from TargetSidAnother account changed the password, knowing the old oneNot a reset: the subject supplied the current password. Possible through the Microsoft Entra Connect connector account where password writeback is enabled; otherwise find out how the subject knew the password.Worth knowing

Security ID TargetSid

ValueMeaningSignal
Ends with -500The built-in Administrator accountMatched by SID so that a renamed account is covered. Microsoft recommends watching every password change attempt of high-value accounts.Worth knowing
A service account or another account whose password should not changeAn unplanned changeMicrosoft suggests watching these accounts by SID. A change outside a planned rotation can break the services that use the account and should be explained.Worth knowing
Any other accountAn ordinary password changeExpected

Volume and noise

Microsoft rates the volume of the subcategory as low. Most 4723 events are users changing their own password when it expires or when an administrator required a change at the next sign-in. Failures for domain accounts are new passwords the policy refused, for example too short or used before.

Keeping it manageable

  • Collect 4723 from every domain controller: the change is written only by the domain controller that handled it, and the hypothesis needs the changes made between two policy changes.
  • As Microsoft recommends, watch every change attempt for high-value accounts and for accounts whose password should never change, such as some service accounts, by TargetSid.
  • Do not look for password guessing in 4723 failures of domain accounts: a wrong old password is written as 4771 or 4776, which the guessing rules count.
  • Review the events whose SubjectUserSid differs from TargetSid. Where password writeback is enabled the Microsoft Entra Connect connector account holds the Change password right; otherwise an account changing another account's password with its old password should be explained.

Sample event

Version 0, with made-up values.

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
    <EventID>4723</EventID>
    <Version>0</Version>
    <Level>0</Level>
    <Task>13824</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8020000000000000</Keywords>
    <TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
    <EventRecordID>1048576</EventRecordID>
    <Correlation />
    <Execution ProcessID="712" ThreadID="2408" />
    <Channel>Security</Channel>
    <Computer>DC01.corp.example.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="TargetUserName">alice</Data>
    <Data Name="TargetDomainName">CORP</Data>
    <Data Name="TargetSid">S-1-5-21-1004336348-1177238915-682003330-1104</Data>
    <Data Name="SubjectUserSid">S-1-5-21-1004336348-1177238915-682003330-1104</Data>
    <Data Name="SubjectUserName">alice</Data>
    <Data Name="SubjectDomainName">CORP</Data>
    <Data Name="SubjectLogonId">0x2c4e81</Data>
    <Data Name="PrivilegeList">-</Data>
  </EventData>
</Event>

Attacks this event reveals

Detection logic (hypotheses that join this event with others) for:

Frequently asked questions

What is the difference between 4723 and 4724?

4723 is a password change: the caller supplies the old password, and Subject and Target are usually the same account. 4724 is a reset: one account sets a new password on another without knowing the old one. A change by an account other than the owner is the rarer case and worth a look.

Why is there no 4723 failure when a domain user types the wrong old password?

Microsoft documents the failure variant for domain accounts only for a new password that breaks the policy. A wrong old password is checked like a sign-in, so the domain controller writes a Kerberos pre-authentication failure (4771) or a credential validation event (4776), provided Audit Kerberos Authentication Service or Audit Credential Validation is enabled. For local accounts a wrong old password is a 4723 failure.

Which 4723 events should I alert on?

Microsoft suggests watching every attempt against high-value accounts and against accounts whose password should never be changed, by Target Account Security ID. For everything else 4723 is context: who changed which password, and when, next to the logons and resets around it.

References