Skip to content
SOC Analyst Role
  • Loading index…

↑↓ navigate · ↵ open · Esc close

en

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.

medium prioritySecurity logAccountMITRE T1098

Where it is logged

Domain accounts: Security log on the domain controller. Local accounts: Security log on the machine. Requires Audit User Account Management for Success. Changes to attributes like servicePrincipalName are not shown in 4738; use Directory Service Changes (5136) for those.

Key fields to read

FieldWhat it tells you
TargetUserNameAccount that was changed.
SubjectUserNameAccount that made the change.
UserAccountControlFlag changes, e.g. %%2096 Don't Require Preauth enabled, %%2089 password never expires enabled, %%2048 account disabled.
OldUacValuePrevious UAC bitmask (hex).
NewUacValueNew UAC bitmask; compare with OldUacValue to decode the change.
PasswordLastSetUpdated when a password is changed or reset.
AllowedToDelegateToConstrained delegation targets; unexpected values can enable privilege escalation.
SidHistoryA populated SID History can grant hidden privileges.

Sample event

4738 — synthetic example
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

  1. 1Identify which fields changed (anything not -) and decode OldUacValue/NewUacValue to see exactly which flags flipped.
  2. 2Prioritize risky changes: Don't Require Preauth (0x400000), password never expires, password not required, delegation, and SID History.
  3. 3Check who made the change and from where (SubjectLogonId to 4624), and whether a ticket exists.
  4. 4For preauth disabled, look for 4768 requests with pre-authentication type 0 for that account (AS-REP roasting) from unusual hosts.
  5. 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

Splunk SPL
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_Value
Sentinel KQL
SecurityEvent
| where TimeGenerated > ago(30d)
| where EventID == 4738
| where EventData has "%%2096" or EventData has "%%2082" or EventData has "%%2089"
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, EventData

Field 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.

More SOC interview questions

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.