Detection rules › Sigma

LSASS Dump Keyword In CommandLine

Status
test
Severity
high
Log source
product windows, category process_creation
Author
E.M. Anhaus, Tony Lambert, oscd.community, Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the presence of the keywords "lsass" and ".dmp" in the commandline, which could indicate a potential attempt to dump or create a dump of the lsass process.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1003.001 OS Credential Dumping: LSASS Memory

Event coverage

Rule body yaml

title: LSASS Dump Keyword In CommandLine
id: ffa6861c-4461-4f59-8a41-578c39f3f23e
related:
    - id: a5a2d357-1ab8-4675-a967-ef9990a59391
      type: derived
status: test
description: |
    Detects the presence of the keywords "lsass" and ".dmp" in the commandline, which could indicate a potential attempt to dump or create a dump of the lsass process.
references:
    - https://github.com/Hackndo/lsassy
    - https://medium.com/@markmotig/some-ways-to-dump-lsass-exe-c4a75fdc49bf
    - https://github.com/elastic/detection-rules/blob/c76a39796972ecde44cb1da6df47f1b6562c9770/rules/windows/credential_access_lsass_memdump_file_created.toml
    - https://www.whiteoaksecurity.com/blog/attacks-defenses-dumping-lsass-no-mimikatz/
    - https://github.com/helpsystems/nanodump
    - https://github.com/CCob/MirrorDump
author: E.M. Anhaus, Tony Lambert, oscd.community, Nasreddine Bencherchali (Nextron Systems)
date: 2019-10-24
modified: 2023-08-29
tags:
    - attack.credential-access
    - attack.t1003.001
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - CommandLine|contains:
              - 'lsass.dmp'
              - 'lsass.zip'
              - 'lsass.rar'
              - 'Andrew.dmp'
              - 'Coredump.dmp'
              - 'NotLSASS.zip'  # https://github.com/CCob/MirrorDump
              - 'lsass_2'  # default format of procdump v9.0 is lsass_YYMMDD_HHmmss.dmp
              - 'lsassdump'
              - 'lsassdmp'
        - CommandLine|contains|all:
              - 'lsass'
              - '.dmp'
        - CommandLine|contains|all:
              - 'SQLDmpr'
              - '.mdmp'
        - CommandLine|contains|all:
              - 'nanodump'
              - '.dmp'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - CommandLine|contains:
          - 'lsass.dmp'
          - 'lsass.zip'
          - 'lsass.rar'
          - 'Andrew.dmp'
          - 'Coredump.dmp'
          - 'NotLSASS.zip'
          - 'lsass_2'
          - 'lsassdump'
          - 'lsassdmp'
    - CommandLine|contains|all:
          - 'lsass'
          - '.dmp'
    - CommandLine|contains|all:
          - 'SQLDmpr'
          - '.mdmp'
    - CommandLine|contains|all:
          - 'nanodump'
          - '.dmp'

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
CommandLinematch
  • .dmp corpus 10 (sigma 8, chronicle 2)
  • .mdmp corpus 2 (sigma 1, chronicle 1)
  • Andrew.dmp corpus 2 (sigma 1, chronicle 1)
  • Coredump.dmp corpus 2 (sigma 1, chronicle 1)
  • NotLSASS.zip corpus 2 (sigma 1, chronicle 1)
  • SQLDmpr corpus 2 (sigma 1, chronicle 1)
  • lsass corpus 9 (sigma 6, kusto 2, chronicle 1)
  • lsass.dmp corpus 2 (sigma 1, chronicle 1)
  • lsass.rar corpus 2 (sigma 1, chronicle 1)
  • lsass.zip corpus 2 (sigma 1, chronicle 1)
  • lsass_2 corpus 2 (sigma 1, chronicle 1)
  • lsassdmp corpus 2 (sigma 1, chronicle 1)
  • lsassdump corpus 2 (sigma 1, chronicle 1)
  • nanodump corpus 2 (sigma 1, chronicle 1)