Detection rules › Splunk

Rename System Utilities (Windows Event Log)

Group by
_time, host
Source
github.com/anvilogic-forge/armory

Adversaries may rename legitimate system utilities to try to evade security mechanisms concerning the usage of those utilities

MITRE ATT&CK coverage

References

Event coverage

Rule body yaml

id: '5858.6156'
title: Rename System Utilities
description: 'Adversaries may rename legitimate system utilities to try to evade security
  mechanisms concerning the usage of those utilities. - Threat Actor Association:
  APT29/Nobelium/Cozy Bear, FIN6, FIN6, Lockean, TA551 - Software Association: IcedID,
  Nokoyawa'
logic_format: Splunk
logic: '`get_endpoint_data` `get_endpoint_data_winevent` (TERM(EventCode=4663) OR
  "<EventID>4663<") TERM(Execute/Traverse) | rename Object_Name as object_name | table
  _time, host, user process, process_*, signature_id, parent_*, object_name | bin
  span=1s | stats values(*) as * by _time, host '
techniques:
- defense-evasion:masquerading:rename system utilities
technique_id:
- T1036.003
data_category:
- Windows event logs
references:
- https://blog.talosintelligence.com/2017/06/worldwide-ransomware-variant.html

Stages and Predicates

Stage 1: search

`get_endpoint_data` `get_endpoint_data_winevent` (TERM(EventCode=4663) OR "<EventID>4663<") TERM(Execute/Traverse)

Stage 2: rename

| rename Object_Name as object_name

Stage 3: table

| table _time, host, user process, process_*, signature_id, parent_*, object_name

Stage 4: bucket

| bin span=1s

Stage 5: stats

| stats values(*) as * by _time, host

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.

FieldKindValues
EventCodeeq
  • 4663 corpus 34 (splunk 29, kusto 5)

Search terms

Bare-string tokens in the SPL search body. Splunk matches each token against _raw (the untyped raw event text) anywhere it appears, not against a specific field. These don't surface in the Indicators table because they aren't predicates on a known field.

StageTerm
1TERM
1"<EventID>4663<"
1"Execute/Traverse"