Security · Account
4738 · A user account was changed
Event 4738 is logged when a user account's attributes are changed, showing the new values of changed fields such as UserAccountControl flags, password-last-set, home directory or delegation settings. Most changes are routine admin work, but some flags are favored by attackers, such as enabling "Don't require Kerberos preauthentication" to make an account AS-REP roastable or setting password never expires. Unchanged fields show -, which makes it easier to see what actually changed.
Where it is logged
servicePrincipalName are not shown in 4738; use Directory Service Changes (5136) for those.Key fields to read
| Field | What it tells you |
|---|---|
| TargetUserName | Account that was changed. |
| SubjectUserName | Account that made the change. |
| UserAccountControl | Flag changes, e.g. %%2096 Don't Require Preauth enabled, %%2089 password never expires enabled, %%2048 account disabled. |
| OldUacValue | Previous UAC bitmask (hex). |
| NewUacValue | New UAC bitmask; compare with OldUacValue to decode the change. |
| PasswordLastSet | Updated when a password is changed or reset. |
| AllowedToDelegateTo | Constrained delegation targets; unexpected values can enable privilege escalation. |
| SidHistory | A populated SID History can grant hidden privileges. |
Sample event
EventID: 4738
TimeCreated: 2026-03-14T02:44:51.207Z
Computer: NW-DC-01.northwind.local
SubjectUserName: adm.jlopez
SubjectDomainName: NORTHWIND
SubjectLogonId: 0x8D3E21A
TargetUserName: p.nguyen
TargetDomainName: NORTHWIND
OldUacValue: 0x10
NewUacValue: 0x400010
UserAccountControl: %%2096 (Don't Require Preauth - Enabled)
PasswordLastSet: -
AllowedToDelegateTo: -
SidHistory: -How to triage it
- 1Identify which fields changed (anything not
-) and decodeOldUacValue/NewUacValueto see exactly which flags flipped. - 2Prioritize risky changes: Don't Require Preauth (
0x400000), password never expires, password not required, delegation, and SID History. - 3Check who made the change and from where (
SubjectLogonIdto 4624), and whether a ticket exists. - 4For preauth disabled, look for 4768 requests with pre-authentication type 0 for that account (AS-REP roasting) from unusual hosts.
- 5Revert unauthorized changes and escalate; investigate the operator account for compromise.
Benign vs suspicious
Usually benign
- Helpdesk updating profile attributes, resetting passwords (which also updates
PasswordLastSet), or unlocking accounts. - Identity management sync tools writing attribute updates.
- Admins setting password never expires on documented service accounts.
Red flags
- "Don't Require Preauth" enabled on a user account (AS-REP roasting preparation).
- "Password not required" or "password never expires" set on human or admin accounts.
- New constrained delegation entries or SID History values outside a migration project.
- Changes to privileged accounts by operators outside the AD admin team, or out of hours.
Hunt for it: Splunk & KQL
index=wineventlog EventCode=4738
| search "Don't Require Preauth - Enabled" OR "Password Not Required - Enabled" OR "Don't Expire Password - Enabled"
| table _time, host, src_user, Target_Account_Name, Old_UAC_Value, New_UAC_ValueSecurityEvent
| where TimeGenerated > ago(30d)
| where EventID == 4738
| where EventData has "%%2096" or EventData has "%%2082" or EventData has "%%2089"
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, EventDataField names depend on your add-on and table. More translations in the Splunk vs KQL cheat sheet.
Interview question
“Which changes in Event 4738 would you consider high risk?”
✓ Strong answer sketch
Most 4738s are routine, so I focus on the UserAccountControl changes and sensitive attributes. Enabling "Don't Require Preauth" makes the account AS-REP roastable, so its hash can be requested and cracked offline. Setting password not required or password never expires on human accounts weakens controls, and new delegation settings or SID History values can grant hidden privilege. For any of those I check who made the change, whether there is a ticket, and whether 4768 shows the account being targeted afterwards.
Frequently asked questions
What does Event ID 4738 mean?
Event ID 4738 means a user account was changed. The event lists the account's attributes, with - for unchanged values, so you can see which properties or UserAccountControl flags were modified.
How do I detect AS-REP roasting setup with Event ID 4738?
Look for 4738 events where UserAccountControl shows "Don't Require Preauth - Enabled" (%%2096), meaning the 0x400000 flag was set. Then check 4768 events for that account with pre-authentication type 0.