Detection rules › Kusto Query Language

LaZagne Credential Theft

Source
upstream

LaZagne is a popular open-source tool used to recover passwords stored on a local computer. It has been used in ransomware attacks to steal credentials and escalate privileges. This query looks for the execution of LaZagne.

MITRE ATT&CK coverage

TacticTechniques
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

FileName eq "reg.exe"

Stage 3: where

ProcessCommandLine match ["save", "hklm", "sam"]

Stage 4: project

Stage 5: extend

Stage 6: 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
FileNameeq
  • reg.exe
ProcessCommandLinematch
  • hklm corpus 3 (sigma 3)
  • sam
  • save corpus 2 (sigma 2)