Detection rules › Sigma

Potential Invoke-Mimikatz PowerShell Script

Severity
high
Author
Tim Rauch, Elastic (idea)
Source
upstream

Detects Invoke-Mimikatz PowerShell script and alike. Mimikatz is a credential dumper capable of obtaining plaintext Windows account logins and passwords.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1003 OS Credential Dumping

Event coverage

ProviderEvent IDTitle
PowerShell4104Creating Scriptblock text (MessageNumber of MessageTotal).

Stages and Predicates

Stage 1: 1 of selection_1

ScriptBlockText|contains: DumpCerts
ScriptBlockText|contains: DumpCreds

Stage 2: 1 of selection_2

ScriptBlockText|contains: 'sekurlsa::logonpasswords'

Stage 3: 1 of selection_3

ScriptBlockText|contains: CERT_SYSTEM_STORE_LOCAL_MACHINE
ScriptBlockText|contains: 'crypto::certificates'

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
ScriptBlockTextmatch
  • CERT_SYSTEM_STORE_LOCAL_MACHINE
  • DumpCerts corpus 2 (sigma 2)
  • DumpCreds corpus 2 (sigma 2)
  • crypto::certificates
  • sekurlsa::logonpasswords

Neighbors

Broader alternatives (more inclusive than this rule)

These rules match a superset of what this rule catches. They cover the same events plus more. Use them if you want wider coverage and can absorb more false positives.