Detection rules › Kusto Query Language

Credential Dumping Tools - Service Installation

Source
upstream

'This query detects the installation of a Windows service that contains artifacts from credential dumping tools such as Mimikatz.'

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1003.001 OS Credential Dumping: LSASS Memory

Event coverage

ProviderEvent IDTitle
Service-Control-Manager7045

Stages and Predicates

Stage 1: source

Event

Stage 2: where

and
  EventID eq "7045"
  Source eq "Service Control Manager"

Stage 3: parse

Stage 4: where

or
  ImagePath match "MaliciousServiceArtifacts"
  ServiceName match "MaliciousServiceArtifacts"

Stage 5: parse

Stage 6: summarize

Stage 7: 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
EventIDeq
  • 7045 corpus 12 (splunk 12)
ImagePathmatch
  • MaliciousServiceArtifacts
ServiceNamematch
  • MaliciousServiceArtifacts
Sourceeq
  • Service Control Manager