Detection rules › Kusto Query Language

Dev-0228 File Path Hashes November 2021

Author
Microsoft Security Research
Source
upstream

'This hunting query looks for file paths/hashes related to observed activity by Dev-0228. The actor is known to use custom version of popular tool like PsExec, Procdump etc. to carry its activity. The risk score associated with each result is based on a number of factors, hosts with higher risk events should be investigated first.'

MITRE ATT&CK coverage

TacticTechniques
ExecutionT1569 System Services
Credential AccessT1003 OS Credential Dumping

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.
Defender-DeviceProcessEvents9001000Process activity (any)

Stages and Predicates

Stage 1: source

DeviceProcessEvents

Stage 2: where

or
  and
    FolderPath match "files1"
    SHA256 match "FileHash1"
  and
    FolderPath match "files2"
    SHA256 match "FileHash2"

Stage 3: extend

Stage 4: join

Stage 5: extend

Stage 6: extend

Stage 7: extend

Stage 8: extend

Stage 9: extend

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
FolderPathmatch
  • files1
  • files2
SHA256match
  • FileHash1
  • FileHash2