Detection rules › Sigma

LSASS process dump by a non system account

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

Detects scenarios where an attacker will dump the LSASS memory content using tools like Mimikatz, ProcDump, TaskMgr, ...

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1003.001 OS Credential Dumping: LSASS Memory

Event coverage

Rule body yaml

title: LSASS process dump by a non system account
description: Detects scenarios where an attacker will dump the LSASS memory content using tools like Mimikatz, ProcDump, TaskMgr, ...
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0006-Credential%20Access/T1003-Credential%20dumping
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
    ObjectName|endswith: '\System32\lsass.exe'
    # AccessMask:
      #- '0x1410'
      #- '0x1010'
      #- '0x1438' # could refers to misc::memssp
      #- '0x143a'
      #- '0x1418'
  filter:
    SubjectUserName|endswith: '$'
    ProcessName:
      - '*\\AppData\Local\Google\Chrome\User Data\SwReporter\\*\software_reporter_tool.exe' # Google Chrome Security tool
      - '*\ProgramData\Microsoft\Windows Defender\Platform\*'
      - '*\Program Files\Windows Defender Advanced Threat Protection\*'
      - '*\system32\csrss.exe'
      - '*\system32\wininit.exe'
      - '*\Windows\System32\rundll32.exe' # See LSASSY dedicated rule
  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
  ObjectName|endswith: '\System32\lsass.exe'

Stage 2: not filter

filter:
  SubjectUserName|endswith: '$'
  ProcessName:
    - '*\\AppData\Local\Google\Chrome\User Data\SwReporter\\*\software_reporter_tool.exe'
    - '*\ProgramData\Microsoft\Windows Defender\Platform\*'
    - '*\Program Files\Windows Defender Advanced Threat Protection\*'
    - '*\system32\csrss.exe'
    - '*\system32\wininit.exe'
    - '*\Windows\System32\rundll32.exe'

Exclusions

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

FieldKindExcluded values
ProcessNameends_with\Windows\System32\rundll32.exe
ProcessNameends_with\system32\csrss.exe
ProcessNameends_with\system32\wininit.exe
ProcessNamematch\Program Files\Windows Defender Advanced Threat Protection\
ProcessNamematch\ProgramData\Microsoft\Windows Defender\Platform\
ProcessNamewildcard*\\AppData\Local\Google\Chrome\User Data\SwReporter\\*\software_reporter_tool.exe
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
  • \System32\lsass.exe
ObjectServereq
  • Security corpus 5 (sigma 5)
ObjectTypeeq
  • Process corpus 4 (sigma 3, elastic 1)