Detection rules › Sigma

LSASS credential dump with LSASSY (kernel access)

Status
experimental
Severity
high
Log source
product windows, service security
Author
mdecrevoisier
Source
github.com/mdecrevoisier/SIGMA-detection-rules

Detects scenarios where an attacker remotely dump LSASS credentials using the LSASSY tool.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1003.001 OS Credential Dumping: LSASS Memory

Event coverage

Rule body yaml

title: LSASS credential dump with LSASSY (kernel access)
description: Detects scenarios where an attacker remotely dump LSASS credentials using the LSASSY tool.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0006-Credential%20Access/T1003-Credential%20dumping
- https://github.com/Hackndo/lsassy
tags:
- attack.credential_access
- attack.t1003.001
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID:
      - 4656 # A handle to an object was requested (Kernel object).
      - 4663 # An attempt was made to access an object (Kernel object).
    ObjectType: Process
    ObjectServer: Security
    ProcessName|endswith: '\rundll32.exe'
    ObjectName|endswith: '\lsass.exe'
  filter:
    SubjectUserName|endswith: '$'
  condition: selection and not filter
falsepositives:
- Antivirus, security products, browsers
level: high

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
  EventID:
    - 4656
    - 4663
  ObjectType: Process
  ObjectServer: Security
  ProcessName|endswith: '\rundll32.exe'
  ObjectName|endswith: '\lsass.exe'

Stage 2: not filter

filter:
  SubjectUserName|endswith: '$'

Exclusions

Top-level NOT(...) conjuncts: predicates this rule actively suppresses.

FieldKindExcluded values
SubjectUserNameends_with$

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
ObjectNameends_with
  • \lsass.exe corpus 4 (sigma 4)
ObjectServereq
  • Security corpus 5 (sigma 5)
ObjectTypeeq
  • Process corpus 4 (sigma 3, elastic 1)
ProcessNameends_with
  • \rundll32.exe