Detection rules › Kusto Query Language
Certified Pre-Owned - backup of CA private key - rule 2
This query identifies someone that performs a backup of they CA key.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Defense Evasion | T1036 Masquerading |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Security-Auditing | 5059 | Key migration operation. |
Stages and Predicates
Stage 1: source
SecurityEvent
Stage 2: where
and
Computer contains "<YOUR CA MACHINE NAME>"
EventID eq "5059"
Stage 3: where
and
EventData contains "%%2464"
EventData contains "%%2499"
Stage 4: extend
Stage 5: mv-expand
Stage 6: mv-expand
Stage 7: parse
Stage 8: where
not
Computer starts_with "CleanAccount"
Exclusions
Top-level NOT(...) conjuncts — predicates this rule actively suppresses.
| Stage | Field | Kind | Excluded values |
|---|---|---|---|
| 1 | Computer | starts_with | CleanAccount |
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 |
|---|---|---|
Computer | contains |
|
EventData | contains |
|
EventID | eq |
|