Sigma Rule Library

Hidden Local User Creation

Detects the creation of a local hidden user account which should not happen for event ID 4720.

View on GitHubOpen raw file

Detection logic

selection

EventID: 4720
TargetUserName|endswith: $

filter_main_homegroup

TargetUserName: HomeGroupUser$

Condition

selection and not 1 of filter_main_*

Raw YAML

title: Hidden Local User Creation
id: 7b449a5e-1db5-4dd0-a2dc-4e3a67282538
status: test
description: Detects the creation of a local hidden user account which should not happen for event ID 4720.
references:
    - https://twitter.com/SBousseaden/status/1387743867663958021
author: Christian Burkard (Nextron Systems)
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

False positives

  • Unknown

References

Similar rules