<!-- Source: https://www.socsimulator.com/event-ids/4738 -->

4738SecurityAccount ManagementSecurity tier 1

# Event ID 4738: A user account was changed

Event ID 4738 fires whenever an existing Windows account's attributes are modified: password state, account-control flags, delegation rights, and more. Comparing its OldUacValue and NewUacValue fields tells you exactly which control bit flipped, which is what turns a generic "account changed" event into an actionable privilege-escalation alert.

## What Triggers Event 4738

Event 4738 fires every time an existing user account's attributes change, in the Audit User Account Management subcategory, and it is intentionally broad: password resets, account-control flag changes, delegation-rights grants, profile-path edits, and dozens of other attribute writes all collapse into the same event ID with the same shape. That breadth is the event's defining characteristic and its main triage challenge: "an account changed" tells you almost nothing until you look at exactly which fields moved.

SubjectUserSid, SubjectUserName, and SubjectLogonId describe who made the change, the actor, correlating back to that actor's own 4624 logon. TargetUserName and TargetSid describe the account that was modified. As with account creation, conflating Subject and Target here is the most common analyst error: a help-desk technician resetting a forgotten-password flag produces the same event shape as an attacker with a stolen admin credential quietly granting themselves delegation rights, and the only field-level difference is what actually changed and who did it.

The two fields that matter most for detection are OldUacValue and NewUacValue, a before-and-after pair of the account-control bitmask. Neither value on its own tells you much; the diff between them tells you exactly which control bit flipped. A flag that flips from password required to password not required, or from password expires to password never expires, is a durability change to how that account can be authenticated against in the future, and those specific flips are worth alerting on regardless of who made them, because a legitimate admin rarely has a reason to disable expiry on a standard user account.

AllowedToDelegateTo is the field most incumbent references skip entirely, and it is one of the highest-value fields on this event. A non-empty value here means the account is now permitted to delegate to the listed service on behalf of other users, the mechanism behind constrained Kerberos delegation. Going from empty to populated is not a routine account edit; it is a privilege grant that hands the account impersonation rights it did not have before, and it is a documented step in several real-world Kerberos-abuse chains, MITRE T1098 Account Manipulation, precisely because delegation rights are easy to grant quietly and easy to overlook in a routine account-attribute audit.

PasswordLastSet appears in the event specifically when the change touched the password, which lets you separate a password-reset 4738 from an attribute-only 4738 without needing a second event. Other attributes commonly seen changing, home directory, profile path, logon script, workstation restrictions, are lower signal individually but worth tracking in aggregate: a batch of unrelated attribute changes on one account in a short window is a pattern worth a second look even when no single change looks alarming.

4738 relates closely to two sibling events: 4720, account created, which fires once at creation and never again for that account, and 4725/4726, disabled and deleted, which are themselves special cases of an account-state change that get their own dedicated event IDs rather than folding into 4738. If you are building a full account-lifecycle view, all four events need to be correlated by TargetSid to reconstruct the account's history in order.

## Event 4738 Fields

| Field                 | What it tells you                                                                                                         | Simulated value          |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| `SubjectUserSid`      | SID of the account that made the change.                                                                                  | `S-1-5-21-424242-1050`   |
| `SubjectUserName`     | Name of the admin or service account that made the change.                                                                | `adm.lopez`              |
| `SubjectLogonId`      | Logon session ID of the Subject, correlates back to their 4624.                                                           | `0x3f2a91`               |
| `TargetUserName`      | SAM account name of the account that was changed.                                                                         | `a.chen`                 |
| `TargetSid`           | SID of the account that was changed.                                                                                      | `S-1-5-21-424242-644878` |
| `OldUacValue`         | Bitmask of the account-control flags before the change.                                                                   | `0x10`                   |
| `NewUacValue`         | Bitmask of the account-control flags after the change; diff against OldUacValue to see exactly which flag flipped.        | `0x210`                  |
| `AllowedToDelegateTo` | List of services the account can now delegate to; a new non-empty value here is a constrained-delegation privilege grant. | `-`                      |
| `PasswordLastSet`     | Timestamp the account's password was last set, present when the change touched the password.                              | `-`                      |

## Inspect Event 4738 Values

Click a field to inspect the full simulated value, the way you would expand it in a SIEM event view.

* SubjectUserSidSID of the account that made the change.
* SubjectUserNameName of the admin or service account that made the change.
* SubjectLogonIdLogon session ID of the Subject, correlates back to their 4624.
* TargetUserNameSAM account name of the account that was changed.
* TargetSidSID of the account that was changed.
* OldUacValueBitmask of the account-control flags before the change.
* NewUacValueBitmask of the account-control flags after the change; diff against OldUacValue to see exactly which flag flipped.
* AllowedToDelegateToList of services the account can now delegate to; a new non-empty value here is a constrained-delegation privilege grant.
* PasswordLastSetTimestamp the account's password was last set, present when the change touched the password.

## Example Event 4738 Log

A representative Security entry for Event 4738, generated deterministically by our telemetry engine so every field holds a realistic, internally consistent value.

Simulated example generated by SOCSimulator Research

```
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" />
    <EventID>4738</EventID>
    <Version>0</Version>
    <Level>0</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8020000000000000</Keywords>
    <TimeCreated SystemTime="2025-07-22T03:38:53.000Z" />
    <EventRecordID>651291</EventRecordID>
    <Channel>Security</Channel>
    <Computer>WS-SIM-001.corp.socsimulator.example</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="SubjectUserSid">S-1-5-21-424242-1050</Data>
    <Data Name="SubjectUserName">adm.lopez</Data>
    <Data Name="SubjectLogonId">0x3f2a91</Data>
    <Data Name="TargetUserName">a.chen</Data>
    <Data Name="TargetSid">S-1-5-21-424242-644878</Data>
    <Data Name="OldUacValue">0x10</Data>
    <Data Name="NewUacValue">0x210</Data>
    <Data Name="AllowedToDelegateTo">-</Data>
    <Data Name="PasswordLastSet">-</Data>
  </EventData>
</Event>
```

## Detecting Event 4738

### UAC flag flip: a sensitive bit newly set or cleared (DONT\_EXPIRE\_PASSWORD set, SMARTCARD\_REQUIRED cleared, DONT\_REQ\_PREAUTH set)

Lucene is the base filter; the UAC bit diff runs in your SIEM (compare OldUacValue to NewUacValue).

Splunk SPLMicrosoft KQLElastic Lucene

```
index=wineventlog sourcetype=XmlWinEventLog source="XmlWinEventLog:Security" EventCode=4738
| where OldUacValue!=NewUacValue
| table _time, SubjectUserName, TargetUserName, OldUacValue, NewUacValue
```

### AllowedToDelegateTo newly populated (constrained delegation grant, T1098 privilege escalation path)

Splunk SPLMicrosoft KQLElastic Lucene

```
index=wineventlog sourcetype=XmlWinEventLog source="XmlWinEventLog:Security" EventCode=4738 AllowedToDelegateTo=*
| where isnotnull(AllowedToDelegateTo) AND AllowedToDelegateTo!="-"
| table _time, SubjectUserName, TargetUserName, AllowedToDelegateTo
```

### Account changed by someone other than the account itself or a known admin

Splunk SPLMicrosoft KQLElastic Lucene

```
index=wineventlog sourcetype=XmlWinEventLog source="XmlWinEventLog:Security" EventCode=4738
| lookup domain_admins.csv Subject_Account_Name AS SubjectUserName OUTPUT is_admin
| where isnull(is_admin) AND SubjectUserName!=TargetUserName
| table _time, SubjectUserName, TargetUserName
```

## True Positive vs False Positive

The overwhelming majority of 4738 volume in any organization is legitimate account administration: help-desk password resets, HR-driven profile updates, automated provisioning tools syncing attributes from an HR system or identity provider, and routine account-lifecycle management. The baseline pattern looks like a small, stable set of Subject accounts, help-desk staff, provisioning service accounts, a handful of IT admins, making changes during business hours, each change touching one or two attributes at a time.

The pattern worth escalating starts with the specific UAC bits involved rather than the mere fact that a UAC value changed. Password-never-expires and password-not-required flipping to enabled on any account outside a documented list of legitimate exceptions, some service accounts do need this, is a durable persistence mechanism: it removes a rotation cycle an attacker would otherwise have to survive. The same flip on a human user account, especially a privileged one, is close to always worth investigating immediately.

AllowedToDelegateTo going from empty to populated is the single highest-priority 4738 pattern on this page. Legitimate constrained-delegation grants are rare, deliberate, and usually tied to a specific application deployment a change-management ticket would document. An unexplained delegation grant, particularly one pointing at a service like cifs or ldap on a domain controller, is a credential-relay or lateral-movement setup step and should be treated as a high-confidence indicator pending explanation, not a routine attribute edit.

Subject identity is the other major triage axis. A change made by an account that has never touched account management before, or by a service account whose normal job has nothing to do with user administration, is inherently more suspicious than the same change made by a known help-desk identity, independent of which attribute changed. Pair this against an allowlist of accounts with legitimate account-management responsibilities; any 4738 from outside that list is an anomaly by construction and worth a look regardless of the specific field touched.

Timing compounds both signals. A privilege-relevant attribute change, a delegation grant, an expiry-flag flip, made within minutes of the acting account's own suspicious logon, an unfamiliar source IP, an off-hours timestamp, or immediately preceding a burst of other account-management activity on the same or a different Target, moves the finding from worth a look to escalate now. A single off-pattern field in isolation is common operational noise; a privilege-relevant flag change stacked with an unusual Subject and unusual timing is the combination that should never wait for a scheduled review.

## MITRE ATT\&CK® Techniques

Event 4738 telemetry feeds detections for these ATT\&CK® techniques:

* [T1098Account Manipulation](/techniques/T1098)

## Practice Investigating Event 4738

Reading about a user account was changed is one thing. Working the detection inside a live console is another. These free SOCSimulator operations cover the attack techniques Event 4738 helps you detect:

[![Account Takeover: Impossible-Travel Sign-In](https://hwdvmwkuqlqdtudgknyh.supabase.co/storage/v1/object/public/room-covers/covers/2defa6d6-43a3-4add-9c2e-4937cb870388/20fc9e9b-677d-45d8-9883-03c3208b1849.webp?v=1782225428009)](/explore/operations/suspicious-signin-impossible-travel)

### [Account Takeover: Impossible-Travel Sign-In](/explore/operations/suspicious-signin-impossible-travel)

[A finance analyst's Microsoft Entra account is accessed without MFA from Moldova 18 minutes after their normal London sign-in. Impossible travel confirmed. The unauthorized session reads the inbox via Graph and adds an external recovery address. Work the Entra audit trail to identify the attacker IP, the compromised mailbox, and the persistence mechanism.](/explore/operations/suspicious-signin-impossible-travel)

[25m·256 tasks](/explore/operations/suspicious-signin-impossible-travel)

[View Operation](/explore/operations/suspicious-signin-impossible-travel)

[![Cisco IOS XE Web UI: Implant and Rogue Admin (CVE-2023-20198)](https://hwdvmwkuqlqdtudgknyh.supabase.co/storage/v1/object/public/room-covers/covers/7bfdb39f-4f68-4d07-af0d-417fd08de01c/d0cb3b06-51ae-4c24-beea-b06c9a2691ec.webp?v=1782148739191)](/explore/operations/cisco-ios-xe-webui-implant)

### [Cisco IOS XE Web UI: Implant and Rogue Admin (CVE-2023-20198)](/explore/operations/cisco-ios-xe-webui-implant)

[The Cisco IOS XE Web UI management interface on AXFORD-RTR-01 was inadvertently exposed to the internet. An attacker exploited CVE-2023-20198 to create an unauthenticated privilege-15 local account, then chained CVE-2023-20273 to drop a Lua implant on the device flash filesystem. The implant hooked the HTTP server and beaconed to an external C2 address. Reconstruct the full compromise chain from the router syslog and the perimeter firewall.](/explore/operations/cisco-ios-xe-webui-implant)

[40m·506 tasks](/explore/operations/cisco-ios-xe-webui-implant)

[View Operation](/explore/operations/cisco-ios-xe-webui-implant)

[![Cloud Identity Under Siege](https://hwdvmwkuqlqdtudgknyh.supabase.co/storage/v1/object/public/room-covers/covers/d534b57c-7907-4cc5-8036-6f3404cc87f9/c3d15963-6774-4b97-a8fa-7da684286eeb.webp?v=1782148741750)](/explore/operations/cloud-token-theft-identity-under-siege)

### [Cloud Identity Under Siege](/explore/operations/cloud-token-theft-identity-under-siege)

[Nine days of telemetry from a cloud-first Azure estate: Entra ID sign-ins, Windows endpoints, a Kubernetes cluster, an Azure Function and the storage accounts behind them all report into one SIEM. Something inside that window does not fit the shape the estate normally has. Work the SIEM, XDR, firewall and cloud panels together, pin each observation to a host and a principal you can name, and rebuild the sequence from the records themselves.](/explore/operations/cloud-token-theft-identity-under-siege)

[1h·508 tasks](/explore/operations/cloud-token-theft-identity-under-siege)

[View Operation](/explore/operations/cloud-token-theft-identity-under-siege)

[Start investigating free](/explore/operations/suspicious-signin-impossible-travel)

## Frequently Asked Questions

* What does event ID 4738 mean?

  It means an existing user account's attributes were changed: password reset flag, account-control bits, delegation settings, home directory, and similar. It carries both OldUacValue and NewUacValue so you can see exactly which control flag changed, not just that something changed.

* What is the AllowedToDelegateTo field in event 4738?

  It lists the services the account is now permitted to delegate to on behalf of other users. A new non-empty value here is how constrained delegation is granted, and it is one of the higher-value fields to alert on because it hands the account impersonation rights it did not have before.

* What is the difference between event 4738 and event 4720?

  4720 fires once, when the account is first created. 4738 fires every time an existing account's attributes are modified afterward, which is why 4738 is the event to watch for privilege changes made long after an account's creation.

## Sources

> “Field schema (SubjectUserSid/SubjectLogonId/TargetUserName/TargetSid/OldUacValue/NewUacValue/AllowedToDelegateTo/PasswordLastSet) for the User Account Changed event”
>
> — [learn.microsoft.com (accessed 2026-09-27)](https://learn.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4738)

> “T1098 Account Manipulation is the current MITRE ATT\&CK Enterprise technique covering modification of account permissions and delegation rights to maintain access”
>
> — [attack.mitre.org (accessed 2026-09-27)](https://attack.mitre.org/techniques/T1098/)

## Related SOC Training Resources

[Event ID](/event-ids/4723)

### [Event ID 4723: When a User Changes Their Own Password](/event-ids/4723)

[In event ID 4723 Subject and Target share one SID: the account changed its own password, unlike a 4724 reset. Pivot Subj…](/event-ids/4723)

[Read more ](/event-ids/4723)[Event ID](/event-ids/4724)

### [Event ID 4724: Who Reset Another Account's Password?](/event-ids/4724)

[Event ID 4724 names the Subject who reset and the Target whose password changed. Catch resets on privileged accounts and…](/event-ids/4724)

[Read more ](/event-ids/4724)[Event ID](/event-ids/4728)

### [Event ID 4728: Global Group Member Added (Domain Admins)](/event-ids/4728)

[Event ID 4728, "A member was added to a security-enabled global group": why Enterprise Admins log as 4756, add-then-remo…](/event-ids/4728)

[Read more ](/event-ids/4728)[Glossary](/glossary/persistence)

### [What is Persistence? SOC Glossary](/glossary/persistence)

[Persistence is the set of techniques an adversary uses to keep access to a compromised system after whatever gave them t…](/glossary/persistence)

[Read more ](/glossary/persistence)[Glossary](/glossary/least-privilege)

### [What is Least Privilege? SOC Glossary](/glossary/least-privilege)

[The principle of least privilege states that users, processes, and systems should hold only the minimum access rights re…](/glossary/least-privilege)

[Read more ](/glossary/least-privilege)[Glossary](/glossary/siem)

### [What is SIEM? SOC Glossary](/glossary/siem)

[Security Information and Event Management (SIEM) is a platform that aggregates, normalizes, and correlates log data from…](/glossary/siem)

[Read more ](/glossary/siem)[Career Path](/careers/paths/soc-analyst-tier-1)

### [SOC Analyst (Tier 1) Career Guide: Salary & Skills](/careers/paths/soc-analyst-tier-1)

[Tier 1 SOC Analysts are the front line. You monitor alert queues, triage incoming detections, classify them as true or f…](/careers/paths/soc-analyst-tier-1)

[Read more ](/careers/paths/soc-analyst-tier-1)[Career Path](/careers/paths/incident-responder)

### [Incident Responder Career Guide: Salary & Skills](/careers/paths/incident-responder)

[Incident Responders lead the technical response when confirmed breaches happen. You coordinate containment, run forensic…](/careers/paths/incident-responder)

[Read more ](/careers/paths/incident-responder)[Technique](/techniques/T1098)

### [Account Manipulation (T1098): Detection Training](/techniques/T1098)

[Account Manipulation keeps an already-compromised account usable by changing its properties rather than creating a new o…](/techniques/T1098)

[Read more ](/techniques/T1098)[Comparison](/compare/vs-letsdefend)

### [SOCSimulator vs. LetsDefend: Platform Comparison](/compare/vs-letsdefend)

[SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…](/compare/vs-letsdefend)

[Read more ](/compare/vs-letsdefend)[Event ID](/event-ids)

### [Windows Event ID Library: SOC Reference](/event-ids)

[Windows Security and Sysmon event IDs with simulated log samples, field tables, and tested detection queries.](/event-ids)

[Read more ](/event-ids)[Feature](/features/shift-mode)

### [Shift Mode: Real-Time SOC Simulation](/features/shift-mode)

[Practice alert triage under realistic time pressure with SLA timers and noise injection.](/features/shift-mode)

[Read more](/features/shift-mode)
