Detection rules › Sigma

LSASS dump via process access

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

Detects scenarios where an attacker attempt to dump LSASS process with tools like Mimikatz.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1003.001 OS Credential Dumping: LSASS Memory

Event coverage

ProviderEventTitle
SysmonEvent ID 10ProcessAccess

Rule body yaml

title: LSASS dump via process access
description: Detects scenarios where an attacker attempt to dump LSASS process with tools like Mimikatz.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0006-Credential%20Access/T1003-Credential%20dumping
- https://threathunterplaybook.com/notebooks/windows/06_credential_access/WIN-191030201010.html
- https://medium.com/threatpunter/detecting-attempts-to-steal-passwords-from-memory-558f16dce4ea
- https://cyberwardog.blogspot.com/2017/03/chronicles-of-threat-hunter-hunting-for_22.html
tags:
- attack.credential_access
- attack.t1003.001
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  category: process_access
detection:
  selection:
    EventID: 10 # process accessed
    TargetImage|endswith: '\system32\lsass.exe'
    GrantedAccess:
      - '0x1410'
      - '0x1010'
      - '0x1438' # could refers to misc::memssp
      - '0x143a'
      - '0x1418'
      - '0x1fffff' # ProcDump
  filter:
    SourceImage:
      - '*\ProgramData\Microsoft\Windows Defender\Platform\*'
      - '*\Program Files\Windows Defender Advanced Threat Protection\*'
      - '*\system32\csrss.exe'
      - '*\system32\wininit.exe'
  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: 10
  TargetImage|endswith: '\system32\lsass.exe'
  GrantedAccess:
    - '0x1410'
    - '0x1010'
    - '0x1438'
    - '0x143a'
    - '0x1418'
    - '0x1fffff'

Stage 2: not filter

filter:
  SourceImage:
    - '*\ProgramData\Microsoft\Windows Defender\Platform\*'
    - '*\Program Files\Windows Defender Advanced Threat Protection\*'
    - '*\system32\csrss.exe'
    - '*\system32\wininit.exe'

Exclusions

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

FieldKindExcluded values
SourceImageends_with\system32\csrss.exe
SourceImageends_with\system32\wininit.exe
SourceImagematch\Program Files\Windows Defender Advanced Threat Protection\
SourceImagematch\ProgramData\Microsoft\Windows Defender\Platform\

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
GrantedAccesseq
  • 0x1010 corpus 2 (sigma 1, splunk 1)
  • 0x1410 corpus 2 (sigma 1, splunk 1)
  • 0x1418
  • 0x1438
  • 0x143a corpus 2 (sigma 2)
  • 0x1fffff corpus 9 (sigma 7, splunk 1, kusto 1)
TargetImageends_with
  • \system32\lsass.exe