Skip to content

Commit aef70db

Browse files
committed
feat(rules): Hidden local account creation
Identifies the creation of a hidden local account. Adversaries can create hidden accounts by appending the dollar sign to the account name. This technique renders the account name hidden to user enumeration tools such as net user and effectively bypasses detections.
1 parent 9219478 commit aef70db

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Hidden local account creation
2+
id: bfa83754-3730-4c46-a0fd-cc71365f64df
3+
version: 1.0.0
4+
description: |
5+
Identifies the creation of a hidden local account. Adversaries can create hidden accounts by
6+
appending the dollar sign to the account name. This technique renders the account name hidden
7+
to user enumeration tools such as `net user` and effectively bypasses detections.
8+
labels:
9+
tactic.id: TA0003
10+
tactic.name: Persistence
11+
tactic.ref: https://attack.mitre.org/tactics/TA0003/
12+
technique.id: T1136
13+
technique.name: Create Account
14+
technique.ref: https://attack.mitre.org/techniques/T1136/
15+
subtechnique.id: T1136.001
16+
subtechnique.name: Local Account
17+
subtechnique.ref: https://attack.mitre.org/techniques/T1136/001/
18+
19+
condition: >
20+
set_value and registry.key.name imatches
21+
(
22+
'HKEY_LOCAL_MACHINE\\SAM\\SAM\\Domains\\Account\\Users\\Names\\*$\\',
23+
'HKEY_LOCAL_MACHINE\\SAM\\SAM\\Domains\\Account\\Users\\*$\\'
24+
)
25+
26+
severity: high
27+
28+
min-engine-version: 2.0.0

0 commit comments

Comments
 (0)