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.

Known false positives

  • Antivirus, security products, browsers

MITRE ATT&CK coverage

TacticTechniques
Credential Access

Telemetry coverage

Rule body

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

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
SubjectUserNameends_with$excludes:SubjectUserName field:"SubjectUserName" value:"$"

Indicators

These rows show field, operator, and value matches.