Detection rules › Sigma
User account creation disguised in a computer account
Detects scenarios where an attacker creates a user account that fakes a computer account.
Known false positives
- None
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Persistence |
Telemetry coverage
Rule body
title: User account creation disguised in a computer account
description: Detects scenarios where an attacker creates a user account that fakes a computer account.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0003-Persistence/T1136-Create%20account
- https://www.securonix.com/blog/securonix-threat-labs-security-advisory-threat-actors-target-mssql-servers-in-dbjammer-to-deliver-freeworld-ransomware/
tags:
- attack.persistence
- attack.t1098 # account manipulation
- attack.t1136 # user creation
- attack.defense_evesion
- attack.t0136 # masquerading
author: mdecrevoisier
status: experimental
logsource:
product: windows
service: security
detection:
selection_creation:
EventID: 4720 # User account creation
TargetUserName|endswith: '$'
selection_renamed:
EventID: 4781 # User account name change
NewTargetUserName|endswith: '$'
filter:
OldTargetUserName|endswith: '$'
condition: selection_creation or (selection_renamed and not filter)
falsepositives:
- None
level: high
Stages and Predicates
Stage 0: condition
selection_creation or (selection_renamed and not filter)Stage 1: selection_creation
selection_creation:
EventID: 4720
TargetUserName|endswith: '$'
Stage 2: selection_renamed
selection_renamed:
EventID: 4781
NewTargetUserName|endswith: '$'
Stage 3: not filter
filter:
OldTargetUserName|endswith: '$'
Exclusions
The rule actively suppresses these predicates.
| Field | Kind | Excluded values | Search |
|---|---|---|---|
OldTargetUserName | ends_with | $ | excludes:OldTargetUserName field:"OldTargetUserName" value:"$" |
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
NewTargetUserName | ends_with |
| field:"NewTargetUserName" kind:ends_with value:"$" |
TargetUserName | ends_with |
| field:"TargetUserName" kind:ends_with value:"$" |