EXPLORE
← Back to Explore
sigmamediumHunting

New or Renamed User Account with '$' Character

Detects the creation of a user with the "$" character. This can be used by attackers to hide a user or trick detection systems that lack the parsing mechanisms.

MITRE ATT&CK

defense-evasion

Detection Query

selection_create:
  EventID: 4720
  SamAccountName|contains: $
selection_rename:
  EventID: 4781
  NewTargetUserName|contains: $
filter_main_homegroup:
  EventID: 4720
  TargetUserName: HomeGroupUser$
condition: 1 of selection_* and not 1 of filter_main_*

Author

Ilyas Ochkov, oscd.community

Created

2019-10-25

Data Sources

windowssecurity

Platforms

windows

Tags

attack.defense-evasionattack.t1036
Raw Content
title: New or Renamed User Account with '$' Character
id: cfeed607-6aa4-4bbd-9627-b637deb723c8
status: test
description: |
    Detects the creation of a user with the "$" character. This can be used by attackers to hide a user or trick detection systems that lack the parsing mechanisms.
references:
    - https://twitter.com/SBousseaden/status/1387743867663958021
author: Ilyas Ochkov, oscd.community
date: 2019-10-25
modified: 2024-01-16
tags:
    - attack.defense-evasion
    - attack.t1036
logsource:
    product: windows
    service: security
detection:
    selection_create:
        EventID: 4720 # create user
        SamAccountName|contains: '$'
    selection_rename:
        EventID: 4781 # rename user
        NewTargetUserName|contains: '$'
    filter_main_homegroup:
        EventID: 4720
        TargetUserName: 'HomeGroupUser$'
    condition: 1 of selection_* and not 1 of filter_main_*
falsepositives:
    - Unknown
level: medium