Detection rules › Kusto Query Language
Fake computer account created
'This query detects domain user accounts creation (event ID 4720) where the username ends with $. Accounts that end with $ are normally domain computer accounts and when they are created the event ID 4741 is generated instead.'
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Defense Evasion | T1564 Hide Artifacts |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Security-Auditing | 4720 | A user account was created. |
Stages and Predicates
Stage 1: source
SecurityEvent
Stage 2: where
and
EventID eq "4720"
TargetUserName ends_with "$"
Stage 3: summarize
Stage 4: extend
Stage 5: extend
Stage 6: project-away
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
EventID | eq |
|
TargetUserName | ends_with |
|