Event ID 4738: A user account was changed
Event ID 4738, "A user account was changed", is written to the Security log when attributes of a user account change, listing the account that made the change, the account changed, and the new value of each attribute that changed, with a dash for those that did not.
What event 4738 records
Most account changes are routine: a display name corrected, a home drive set, a password expiry date reached. A few are among the most effective ways to make an account more useful to an attacker without creating anything new. 4738 records them all in one event type, so the work is in reading the Changed Attributes section.
Microsoft documents that unchanged attributes show a dash, so the interesting values stand out. The attributes reported are: SAM Account Name, Display Name, User Principal Name, Home Directory, Home Drive, Script Path, Profile Path, User Workstations, Password Last Set, Account Expires, Primary Group ID, AllowedToDelegateTo, Old UAC Value, New UAC Value, User Account Control, User Parameters, SID History and Logon Hours.
Changes that signal an attack
| Attribute change | Why attackers make it | ATT&CK |
|---|---|---|
| User Account Control: "Don't Require Preauth" enabled | Makes the account's password crackable offline through AS-REP roasting | T1558.004 |
| User Account Control: "Password Not Required" or "Don't Expire Password" enabled | Keeps a backdoor account usable indefinitely | T1098 |
| User Account Control: "Account Disabled" removed | Revives a dormant account (also logged as 4722) | T1098 |
| SID History set | Gives the account the privileges of another SID, such as Domain Admins, without group membership | T1134.005 |
| AllowedToDelegateTo set | Constrained delegation: the account can impersonate users to the listed services | T1134 |
| Script Path set | A logon script that runs whenever the user logs on | T1037.001 |
| Primary Group ID changed | Hides privileged membership from group membership lists | T1098 |
| User Workstations or Logon Hours cleared | Removes restrictions that limited where or when an account could be used | T1098 |
The User Account Control line lists flag changes in words ("'Don't Require Preauth' - Enabled"), while Old UAC Value and New UAC Value give the raw bit masks. Compare the two when the text line is truncated in a viewer.
Reading 4738 with its neighbours
4738 rarely arrives alone. Account creation produces 4720 and then 4738 as defaults are applied; a password reset (4724) is followed by a 4738 with a new Password Last Set; enabling an account produces 4722 and a 4738 with the UAC change. Group membership changes are not in 4738 at all: they appear as 4728, 4732 or 4756. Group all events with the same Subject Logon ID and second to see one administrative action as one row.
Microsoft also notes that changing an account's permissions (its DACL) produces a 4738 in which every attribute is a dash. Those events say "something about this account's security changed" without saying what; on a domain controller, 5136 with directory service change auditing gives the detail.
Event 4738 fields
The fields an investigator reads first, what they mean, and where Arcsentry stores them.
| Field | Meaning | Arcsentry field |
|---|---|---|
| Subject: Account Name, Account Domain, Logon ID | The account that made the change, and its session. | user_name, event_log_logon_id |
| Target Account: Security ID, Account Name, Account Domain | The account that was changed. | user_target_name, user_target_domain |
| Changed Attributes | New values of the attributes that changed; a dash for the rest. | event data |
| Old UAC Value, New UAC Value, User Account Control | Account flags before and after, and the flags that changed in words. | $olduacvalue, $newuacvalue, $useraccountcontrol |
| SID History, AllowedToDelegateTo, Script Path | High-risk attributes; any non-dash value deserves a look. | $sidhistory, $allowedtodelegateto, $scriptpath |
What event 4738 proves, and what it does not
It shows
- That this account changed these attributes of that account at this time.
It does not show
- Group membership changes; those are 4728, 4732 and 4756.
- What a permissions change was, when every attribute is a dash.
- That the person behind the Subject account made the change.
Attacker activity it reveals
Preparing AS-REP roasting
Switching on "Don't Require Preauth" for an account lets anyone request data encrypted with its password and crack it offline. Domain controllers then log 4768 requests without pre-authentication for that account. MITRE ATT&CK T1558.004
Hidden privilege
Setting SID History to a privileged group's SID, or changing the Primary Group ID, grants privileges that do not show in ordinary membership lists. MITRE ATT&CK T1134.005
Backdoor accounts
A newly created or revived account set to never expire, not require a password, or run a logon script, made by an account that does not normally administer users. MITRE ATT&CK T1098
Finding event 4738 in Arcsentry
Arcsentry parses every channel in Windows\System32\winevt\Logs, whether it comes from an Arcsentry Collector archive, a KAPE or Velociraptor collection, or a disk image. Security log records are the event type evtx_security. In Hunt, with that event type selected:
filter event_code == "4738"
derive {by = user_name, target = user_target_name, uac = $useraccountcontrol, sidh = $sidhistory, deleg = $allowedtodelegateto, script = $scriptpath}
filter uac ~= "(?i)preauth|password not required|don.t expire" || (sidh != "-" && sidh != "") || (deleg != "-" && deleg != "") || (script != "-" && script != "")
select {timestamp, by, target, uac, sidh, deleg, script}
sort {timestamp} Account changes that touch the high-risk attributes and flags, with who made each one.
Or ask in plain English, for example "show event 4738 on every host, oldest first", and Arcsentry shows the AQL it wrote before it runs. The AQL reference lists the operators used here, and the AI investigator reads the same events, citing each one by its event ID when it reports a finding.
Related event IDs
- Event ID 4720: User account created
- Event ID 4724: Password reset
- Event ID 4728: Added to a global group
- Event ID 4732: Added to local group
- Event ID 5136: Directory object modified
All events by investigation question: Windows security event IDs for incident response. Logon types in full: Windows logon types. The log files themselves: Windows event logs.
Frequently asked
What does event ID 4738 mean?
A user account's attributes were changed. The event names who made the change, which account was changed, and the new value of each changed attribute; unchanged attributes show a dash.
Does event 4738 show group membership changes?
No. Additions to groups are logged as 4728 (global groups), 4732 (local and domain local groups) and 4756 (universal groups).
Why does event 4738 show all attributes as a dash?
Because the change was to the account's permissions (its DACL) rather than to an attribute listed in the event. Directory service change auditing (5136) on domain controllers records the detail.
Which 4738 changes are suspicious?
Enabling "Don't Require Preauth", "Password Not Required" or "Don't Expire Password", setting SID History, AllowedToDelegateTo or a Script Path, and re-enabling disabled accounts, especially by accounts that do not normally administer users.
Sources
- Microsoft Learn: 4738(S) A user account was changed; Audit User Account Management
- MITRE ATT&CK: T1098 Account Manipulation; T1134.005 SID-History Injection; T1558.004 AS-REP Roasting; T1037.001 Logon Script (Windows)
Checked 2 December 2026 by Venema Labs against Microsoft's audit documentation and, where an example is shown, the named lab case. Field availability varies by Windows version.
Find event 4738 across every host in minutes.
Load your collections, ask what happened, and check every finding against the event behind it. Free for 7 days.
Request a trial