Skip to content

Windows Event ID 4738: A user account was changed

Written when a user object’s attributes are changed. It captures setting changes that can lead to abuse, such as changes to the account control flags (UAC).

Overview

The subcategory is Audit User Account Management. It is generated whenever a user object is changed, recorded on domain controllers, member servers, and workstations alike. It includes the main attributes after the change and the state of the User Account Control flags.

How it is triggered

  • Changes to user attributes (display name, account control flags, expiration, UPN, and so on).
  • Password change/reset are separate events (4723/4724), but a 4738 may also appear in relation.

Security review points

  • Watch for dangerous changes to the User Account Control flags. For example, “password not required (PASSWD_NOTREQD),” “password never expires (DONT_EXPIRE_PASSWORD),” and “trusted for delegation (TRUSTED_FOR_DELEGATION)” can lead to authentication bypass or delegation abuse.
  • A change to “do not require pre-authentication (DONT_REQUIRE_PREAUTH)” is a foothold for AS-REP roasting (an attack that obtains the response of a pre-auth-disabled account and cracks the password offline).

Notes for log review

  • Attribute changes are frequent in legitimate operation. Focus on the type of attribute changed (especially UAC flags) and alert narrowed to enabling of dangerous flags.
  • Knowing the before/after values is helpful, but 4738 centers on the post-change state. Reconcile the prior state with other records or directory auditing.

MITRE ATT&CK mapping

TechniqueTacticWhat this event shows
T1558.004 AS-REP RoastingCredential AccessChanges to DONT_REQUIRE_PREAUTH (no pre-authentication)
T1098 Account ManipulationPersistence, Privilege EscalationSetting risky flags such as PASSWD_NOTREQD, DONT_EXPIRE_PASSWORD, and TRUSTED_FOR_DELEGATION

Mapping as of ATT&CK v19.2. ATT&CK detection strategy DET0096 (T1098) also lists this event ID as a log source. To search by technique, see the ATT&CK reverse lookup.

Detection rules

SigmaHQ has 3 and Microsoft Sentinel has 1 public detection rules that use this event ID as a condition.

RuleTypeSeverity
Active Directory User BackdoorsSigmaHigh
Weak Encryption Enabled and KerberoastSigmaHigh
Addition of SID History to Active Directory ObjectSigmaMedium
AD account with Don’t Expire PasswordSentinel analytics ruleLow

Rules are collected from SigmaHQ r2026-07-01 and from Azure-Sentinel as of 2026-10-09, limited to those whose conditions include this event ID. Sentinel rules are limited to those that query the SecurityEvent or WindowsEvent table. “Threat-specific” rules target a particular threat group or malware, and “needs setup” rules require values for your environment. Severity is the value each rule’s author assigned.

Key fields

FieldMeaning
Target Account\Account NameThe changed account
User Account ControlThe change to the account control flags
Subject\Account NameThe subject that made the change

Glossary

  • UAC flags (userAccountControl) — a set of bits representing an account’s nature (disabled, password never expires, trusted for delegation, and so on). Dangerous combinations are abused in attacks.

References