Skip to content
SIEMBench
100% Client-Side Tool • Inputs Never Sent to Our Servers

Event ID 4720

Event ID 4720: User Account Created

A user account was created

Log source
Security
How to enable it
Account Management > Audit User Account Management (Success)
Category
Account Management
Priority
High
Typical volume
Low
MITRE ATT&CK

What Event ID 4720 means

4720 appears when a user object is created, on a domain controller for domain accounts and on the computer itself for local accounts. The distinction matters: a local account created on a member server is almost never part of normal business, while new domain accounts arrive with every new employee.

Attackers create accounts because they survive password resets. An account named like a support tool or a vendor blends into a list of hundreds, and one that is made on a single forgotten server may never be reviewed at all.

Creation is rarely a single event. Windows writes 4720, then 4722 when the account is enabled, 4724 when its first password is set and 4738 for attribute changes, usually within the same second. The next one to look for is 4732 or 4728, which grants it power.

Key fields to inspect

FieldMeaningSuspicious when
TargetUserName Name of the new account. A trailing $, which hides the account from net user, or a near copy of a real name.
TargetDomainName Domain, or computer name for a local account. The name of a member server or workstation.
SubjectUserName Who created it. A machine account, a service account such as the web application pool, or a help desk account outside its scope.
SubjectLogonId Session of the creator. A network session that came from a workstation.
SamAccountName Logon name of the new account. Random letters, or a name that imitates a Microsoft component.
NewUacValue Account flags after creation, in hexadecimal. 0x200 (password never expires) or 0x4 (no password required) from the start.
PasswordLastSet When the password was set, or never. A value that shows the account is usable at once.

Detection queries

Find local accounts created on members, and domain accounts created by someone outside the usual team. Adjust names and thresholds to your environment. About these queries.

Splunk SPL

index=windows source="XmlWinEventLog:Security" EventCode=4720
| eval kind=if(upper(mvindex(split(Computer, "."), 0))=upper(TargetDomainName), "local", "domain")
| where kind="local" OR match(TargetUserName, "\$$")
| table _time Computer kind SubjectUserName TargetUserName NewUacValue

Microsoft Sentinel KQL

SecurityEvent
| where EventID == 4720
| extend Local = tostring(split(Computer, ".")[0]) =~ TargetDomainName
| where Local or TargetUserName endswith "$"
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, NewUacValue, SubjectLogonId

PowerShell

Get-WinEvent -FilterHashtable @{ LogName = 'Security'; Id = 4720; StartTime = (Get-Date).AddDays(-30) } |
  ForEach-Object { $d = @{ Time = $_.TimeCreated }; ([xml]$_.ToXml()).Event.EventData.Data | ForEach-Object { $d[$_.Name] = $_.'#text' }; [pscustomobject]$d } |
  Select-Object Time, SubjectUserName, TargetUserName, TargetDomainName, NewUacValue | Format-Table -AutoSize

Attack scenarios

Local backdoor administrator

net user creates an account and net localgroup adds it to Administrators. The result is 4720, 4722, 4724 and 4732 on one host within seconds, with a SubjectLogonId that belongs to a remote session.

Hidden account

Appending a dollar sign keeps the name out of net user output, and a registry value under SpecialAccounts\UserList removes it from the sign-in screen. A user object whose name ends in $ is not a computer account and stands out in 4720.

Account created by a service

When a web server's application pool or a database service appears as SubjectUserName, code execution has been obtained in that service. Treat the host as compromised.

Investigation checklist

  1. Ask the owner of SubjectUserName for the ticket or request behind the account.
  2. Use SubjectLogonId to find where the session came from.
  3. Check for group additions (4732 and 4728) and the first 4624 of the new account.
  4. Disable rather than delete the account while you investigate, so that its SID stays resolvable.
  5. Search other hosts for the same account name.

Common benign causes

Event ID 4720 FAQ

How can I tell a local account from a domain account in 4720?

Compare TargetDomainName with the computer that logged the event. If they match, it is a local account. Domain accounts are logged on a domain controller with the domain's short name.

Is 4720 logged for computer accounts?

No. Creating a computer account produces 4741. A 4720 whose name ends in a dollar sign is a user object with a misleading name.

Which events follow 4720 when an account is created normally?

Typically 4722 (enabled), 4724 (password set) and 4738 (attributes changed), all by the same subject in the same second. Group membership changes follow if the account is given access.

Techniques follow MITRE ATT&CK® v20.1. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation (license). Field names were checked against Microsoft documentation and provider schemas.