Detection rules › Sigma

LSASS Access Detected via Attack Surface Reduction

Status
test
Severity
high
Log source
product windows, service windefend
Author
Markus Neis
Source
github.com/SigmaHQ/sigma

Detects Access to LSASS Process

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1003.001 OS Credential Dumping: LSASS Memory

Event coverage

Rule body yaml

title: LSASS Access Detected via Attack Surface Reduction
id: a0a278fe-2c0e-4de2-ac3c-c68b08a9ba98
status: test
description: Detects Access to LSASS Process
references:
    - https://learn.microsoft.com/en-us/defender-endpoint/attack-surface-reduction
author: Markus Neis
date: 2018-08-26
modified: 2022-08-13
tags:
    - attack.credential-access
    - attack.t1003.001
logsource:
    product: windows
    service: windefend
    definition: 'Requirements:Enabled Block credential stealing from the Windows local security authority subsystem (lsass.exe) from Attack Surface Reduction (GUID: 9e6c4e1f-7d60-472f-ba1a-a39ef669e4b2)'
detection:
    selection:
        EventID: 1121
        Path|endswith: '\lsass.exe'
    filter_thor:
        ProcessName|startswith: 'C:\Windows\Temp\asgard2-agent\'
        ProcessName|endswith:
            - '\thor64.exe'
            - '\thor.exe'
    filter_exact:
        ProcessName:
            - 'C:\Windows\System32\atiesrxx.exe'
            - 'C:\Windows\System32\CompatTelRunner.exe'
            - 'C:\Windows\System32\msiexec.exe'
            - 'C:\Windows\System32\nvwmi64.exe'
            - 'C:\Windows\System32\svchost.exe'
            - 'C:\Windows\System32\Taskmgr.exe'
            - 'C:\Windows\System32\wbem\WmiPrvSE.exe'
            - 'C:\Windows\SysWOW64\msiexec.exe'
    filter_begins:
        ProcessName|startswith:
            - 'C:\Windows\System32\DriverStore\'
            - 'C:\WINDOWS\Installer\'
            - 'C:\Program Files\'
            - 'C:\Program Files (x86)\'
    condition: selection and not 1 of filter_*
falsepositives:
    - Google Chrome GoogleUpdate.exe
    - Some Taskmgr.exe related activity
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_*

Stage 1: selection

selection:
    EventID: 1121
    Path|endswith: '\lsass.exe'

Stage 2: not filter_*

filter_thor:
    ProcessName|startswith: 'C:\Windows\Temp\asgard2-agent\'
    ProcessName|endswith:
        - '\thor64.exe'
        - '\thor.exe'
filter_exact:
    ProcessName:
        - 'C:\Windows\System32\atiesrxx.exe'
        - 'C:\Windows\System32\CompatTelRunner.exe'
        - 'C:\Windows\System32\msiexec.exe'
        - 'C:\Windows\System32\nvwmi64.exe'
        - 'C:\Windows\System32\svchost.exe'
        - 'C:\Windows\System32\Taskmgr.exe'
        - 'C:\Windows\System32\wbem\WmiPrvSE.exe'
        - 'C:\Windows\SysWOW64\msiexec.exe'
filter_begins:
    ProcessName|startswith:
        - 'C:\Windows\System32\DriverStore\'
        - 'C:\WINDOWS\Installer\'
        - 'C:\Program Files\'
        - 'C:\Program Files (x86)\'

Exclusions

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

FieldKindExcluded values
ProcessNameends_with\thor.exe
ProcessNameends_with\thor64.exe
ProcessNamestarts_withC:\Windows\Temp\asgard2-agent\
ProcessNameeqC:\Windows\SysWOW64\msiexec.exe
ProcessNameeqC:\Windows\System32\CompatTelRunner.exe
ProcessNameeqC:\Windows\System32\Taskmgr.exe
ProcessNameeqC:\Windows\System32\atiesrxx.exe
ProcessNameeqC:\Windows\System32\msiexec.exe
ProcessNameeqC:\Windows\System32\nvwmi64.exe
ProcessNameeqC:\Windows\System32\svchost.exe
ProcessNameeqC:\Windows\System32\wbem\WmiPrvSE.exe
ProcessNamestarts_withC:\Program Files (x86)\
ProcessNamestarts_withC:\Program Files\
ProcessNamestarts_withC:\WINDOWS\Installer\
ProcessNamestarts_withC:\Windows\System32\DriverStore\

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
Pathends_with
  • \lsass.exe