Detection rules › Sigma

LSASS Memory Access by Tool With Dump Keyword In Name

Status
test
Severity
high
Log source
product windows, category process_access
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects LSASS process access requests from a source process with the "dump" keyword in its image name.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1003.001 OS Credential Dumping: LSASS Memory

Event coverage

ProviderEventTitle
SysmonEvent ID 10ProcessAccess

Rule body yaml

title: LSASS Memory Access by Tool With Dump Keyword In Name
id: 9bd012ee-0dff-44d7-84a0-aa698cfd87a3
status: test
description: Detects LSASS process access requests from a source process with the "dump" keyword in its image name.
references:
    - https://twitter.com/_xpn_/status/1491557187168178176
    - https://www.ired.team/offensive-security/credential-access-and-credential-dumping/dump-credentials-from-lsass-process-without-mimikatz
author: Florian Roth (Nextron Systems)
date: 2022-02-10
modified: 2023-11-29
tags:
    - attack.credential-access
    - attack.t1003.001
    - attack.s0002
logsource:
    category: process_access
    product: windows
detection:
    selection:
        TargetImage|endswith: '\lsass.exe'
        SourceImage|contains: 'dump'
        GrantedAccess|endswith:
            - '10'
            - '30'
            - '50'
            - '70'
            - '90'
            - 'B0'
            - 'D0'
            - 'F0'
            - '18'
            - '38'
            - '58'
            - '78'
            - '98'
            - 'B8'
            - 'D8'
            - 'F8'
            - '1A'
            - '3A'
            - '5A'
            - '7A'
            - '9A'
            - 'BA'
            - 'DA'
            - 'FA'
            - '0x14C2'  # https://github.com/b4rtik/ATPMiniDump/blob/76304f93b390af3bb66e4f451ca16562a479bdc9/ATPMiniDump/ATPMiniDump.c
            - 'FF'
    condition: selection
falsepositives:
    - Rare programs that contain the word dump in their name and access lsass
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetImage|endswith: '\lsass.exe'
    SourceImage|contains: 'dump'
    GrantedAccess|endswith:
        - '10'
        - '30'
        - '50'
        - '70'
        - '90'
        - 'B0'
        - 'D0'
        - 'F0'
        - '18'
        - '38'
        - '58'
        - '78'
        - '98'
        - 'B8'
        - 'D8'
        - 'F8'
        - '1A'
        - '3A'
        - '5A'
        - '7A'
        - '9A'
        - 'BA'
        - 'DA'
        - 'FA'
        - '0x14C2'
        - 'FF'

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
GrantedAccessends_with
  • 0x14C2 corpus 4 (sigma 4)
  • 10 corpus 4 (sigma 4)
  • 18 corpus 4 (sigma 4)
  • 1A corpus 4 (sigma 4)
  • 30 corpus 4 (sigma 4)
  • 38 corpus 4 (sigma 4)
  • 3A corpus 4 (sigma 4)
  • 50 corpus 4 (sigma 4)
  • 58 corpus 4 (sigma 4)
  • 5A corpus 4 (sigma 4)
  • 70 corpus 4 (sigma 4)
  • 78 corpus 4 (sigma 4)
  • 7A corpus 4 (sigma 4)
  • 90 corpus 4 (sigma 4)
  • 98 corpus 4 (sigma 4)
  • 9A corpus 4 (sigma 4)
  • B0 corpus 4 (sigma 4)
  • B8 corpus 4 (sigma 4)
  • BA corpus 4 (sigma 4)
  • D0 corpus 4 (sigma 4)
  • D8 corpus 4 (sigma 4)
  • DA corpus 4 (sigma 4)
  • F0 corpus 4 (sigma 4)
  • F8 corpus 4 (sigma 4)
  • FA corpus 4 (sigma 4)
  • FF corpus 3 (sigma 3)
SourceImagematch
  • dump
TargetImageends_with
  • \lsass.exe corpus 16 (sigma 16)