Windows Security: Hidden Local User Account Creation (Event ID 4720)
Alerts on Windows 4720 local user creation for hidden accounts (username ending with '$'), excluding 'HomeGroupUser$'.
- Product
- windows
- Service
- security
- Author
- Christian Burkard (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2021-05-03
- Updated
- 2026-07-31
ATT&CK techniques
PersistenceRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule identifies creation of a local Windows user account whose name ends with a dollar sign, which indicates a hidden account pattern. Attackers may create hidden accounts to persist on a system while reducing visibility to administrators. It relies on Windows Security audit event ID 4720 telemetry and the TargetUserName field, excluding one known HomeGroup account variant.
Reporting behind it
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: "Windows Security: Hidden Local User Account Creation (Event ID 4720)"
id: 794497ff-b1b1-4bc0-b0de-845766acf2c5
status: test
description: This rule identifies creation of a local Windows user account whose name ends with a dollar sign, which indicates a hidden account pattern. Attackers may create hidden accounts to persist on a system while reducing visibility to administrators. It relies on Windows Security audit event ID 4720 telemetry and the TargetUserName field, excluding one known HomeGroup account variant.
references:
- https://twitter.com/SBousseaden/status/1387743867663958021
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/builtin/security/win_security_hidden_user_creation.yml
author: Christian Burkard (Nextron Systems), Huntrule Team
date: 2021-05-03
modified: 2024-01-16
tags:
- attack.persistence
- attack.t1136.001
logsource:
product: windows
service: security
detection:
selection:
EventID: 4720
TargetUserName|endswith: $
filter_main_homegroup:
TargetUserName: HomeGroupUser$
condition: selection and not 1 of filter_main_*
falsepositives:
- Unknown
level: high
license: DRL-1.1
related:
- id: 7b449a5e-1db5-4dd0-a2dc-4e3a67282538
type: derived