Skip to content
WETNav
SecurityAccount ManagementIn-depth analysis

Event ID 4720: A user account was created

Event 4720 logs the creation of new user accounts on Windows systems or Active Directory. Attackers create accounts for persistence and backdoor access. Monitoring this event helps detect unauthorized account creation, especially accounts added to privileged groups.

Channel
Security
Logged by default
Yes
Written on
Any host
Volume
Low
Audit subcategory
User Account Management
Needs a SACL
No

To have this event

  • Enable User Account Management: auditpol /set /subcategory:"User Account Management" /success:enable /failure:enable

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

TargetUserNameName of the created account
TargetDomainNameDomain where account was created
TargetSidSID of the new account
SubjectUserNameAccount that created the new user
SubjectDomainNameDomain of the creating account
SubjectLogonIdLogon ID for correlation
SamAccountNameSAM account name
UserPrincipalNameUPN of the new account
UserAccountControlAccount control flags (hex value)
Have one of these events? Paste it into the decoder

Analyst notes

  • 01Monitor creations outside of standard procedures or by non-admin users.
  • 02Check SubjectUserName (who created it) and TargetUserName (what was created).
  • 03Often seen during legitimate admin activity, but also by attackers for persistence.

In an investigation

Event 4720 is generated whenever a new user account is created in Windows, whether locally on a workstation or in Active Directory domain services. This event captures who created the account, the new account name, and account attributes such as the SAM account name, UPN, UserAccountControl flags and primary group ID; it does not record group memberships. For enterprise environments, this event is critical for detecting unauthorized account creation, which is a common persistence technique used by threat actors to maintain long-term access to compromised networks. Attackers often create accounts with innocuous names that blend in with legitimate service accounts or user accounts, sometimes mimicking naming conventions to avoid detection. Whether the new account was then added to sensitive groups shows up in separate events: 4728 for Domain Admins, 4756 for Enterprise Admins, and 4732 for local or built-in Administrators. Security teams should establish strict baselines for account creation, as in mature environments new accounts are typically created through formal provisioning processes tied to HR systems or ticketing workflows. Any account creation outside these processes, especially accounts created during off-hours or by non-HR administrative accounts, should trigger immediate investigation. The combination of Event 4720 with subsequent logon activity (4624) from the new account helps analysts identify whether created accounts are actually being used for malicious purposes.

What it can reveal

  • Accounts created outside normal business hours or without corresponding provisioning tickets indicate backdoor account creation
  • New accounts immediately added to privileged groups suggest attacker-created administrator backdoors
  • Account names that mimic legitimate system accounts or services ('svc-backup2', 'admin$') are typical attacker tactics
  • Multiple accounts created in rapid succession may indicate automated attack tools or mass compromise
  • Service account creation from non-standard administrative accounts can signal unauthorized access

How to detect with it

Implement alerting for all account creation events and correlate with authorized change management processes. Flag any account created outside standard provisioning tools or by unauthorized administrators. Monitor for accounts added to sensitive groups within minutes of creation. Alert on accounts created with suspicious names, especially those with special characters or names similar to existing privileged accounts. Track accounts that are created but never used for logon, as these may be dormant backdoors. Cross-reference new account creation with HR onboarding data to identify illegitimate accounts. For domain environments, ensure all 4720 events on domain controllers are logged and alerted. Comprehensive detection rules for various SIEM platforms will be added in future releases.

Attack patterns

  • APT41 consistently creates accounts named after system services to establish persistence in compromised environments
  • Hafnium threat group created administrator accounts on Exchange servers during their 2021 campaign exploiting ProxyLogon vulnerabilities
  • Ransomware pre-deployment attack pattern: operators create a new account on a domain controller, which makes it a domain account (domain controllers have no local accounts), then add it to Domain Admins (4728) to support domain-wide deployment

Compared withEvent 4720 often precedes Event 4732 (Member Added to Security Group) when attackers escalate privileges of newly created accounts.

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4720)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

Where it shows up

Investigations, attack signals and lateral movement techniques that rely on this event.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Also relevant, depending on field values

Common questions

What does Windows event ID 4720 mean?
Event 4720 logs the creation of new user accounts on Windows systems or Active Directory. Attackers create accounts for persistence and backdoor access. Monitoring this event helps detect unauthorized account creation, especially accounts added to privileged groups.
Is event 4720 logged by default?
Yes, a default Windows installation records it. It is controlled by the "User Account Management" Advanced Audit Policy subcategory (Account Management).
Where is event 4720 recorded?
In the Security channel on the any host.

Event 4720 logs the creation of new user accounts on Windows systems or Active Directory. Attackers create accounts for persistence and backdoor access. Monitoring this event helps detect unauthorized account creation, especially accounts added to privileged groups.