Detection rules › Sigma

Credential Dumping Activity By Python Based Tool

Severity
high
Author
Bhabesh Raj, Jonhnathan Ribeiro
Source
upstream

Detects LSASS process access for potential credential dumping by a Python-like tool such as LaZagne or Pypykatz.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1003.001 OS Credential Dumping: LSASS Memory

Event coverage

ProviderEvent IDTitle
Sysmon10ProcessAccess

Stages and Predicates

Stage 1: selection

or:
CallTrace|contains: 'python27.dll+'
CallTrace|contains: 'python3*.dll+'
CallTrace|contains: ':\Windows\SYSTEM32\ntdll.dll+'
CallTrace|contains: ':\Windows\System32\KERNELBASE.dll+'
CallTrace|contains: '_ctypes.pyd+'
GrantedAccess: 0x1FFFFF
TargetImage|endswith: '\lsass.exe'

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
CallTracematch
  • :\Windows\SYSTEM32\ntdll.dll+
  • :\Windows\System32\KERNELBASE.dll+
  • _ctypes.pyd+
  • python27.dll+
  • python3*.dll+
GrantedAccesseq
  • 0x1FFFFF corpus 3 (sigma 3)
TargetImageends_with
  • \lsass.exe corpus 13 (sigma 13)

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.