Detection rules › Sigma
LSASS credential dump with LSASSY (process)
Detects scenarios where an attacker remotely dump LSASS credentials using the LSASSY tool.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Credential Access | T1003.001 OS Credential Dumping: LSASS Memory |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
Rule body yaml
title: LSASS credential dump with LSASSY (process)
description: Detects scenarios where an attacker remotely dump LSASS credentials using the LSASSY tool.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0006-Credential%20Access/T1003-Credential%20dumping
- https://github.com/Hackndo/lsassy
tags:
- attack.credential_access
- attack.t1003.001
author: mdecrevoisier
status: experimental
logsource:
product: windows
category: process_creation
detection: # Full command: '"C:\Windows\System32\rundll32.exe" C:\Windows\System32\comsvcs.dll MiniDump 512 \Windows\Temp\76nivOxA.dmp full'
selection_process_native:
NewProcessName|endswith:
- \rundll32.exe
- \powershell.exe
CommandLine|contains|all:
- rundll32.exe
- comsvcs.dll
#- '.dmp' # Extension can be changed in source code
selection_sysmon_baseline:
Image|endswith:
- \rundll32.exe
- \powershell.exe
- \pwsh.exe # PowerShell v6
- \powershell_ise.exe # Development GUI
selection_sysmon_parent_process:
ParentCommandLine:
- rundll32.exe
- comsvcs.dll
#- '.dmp' # Extension can be changed in source code
selection_sysmon_process:
CommandLine|contains|all:
- rundll32.exe
- comsvcs.dll
#- '.dmp' # Extension can be changed in source code
condition: selection_process_native or (selection_sysmon_baseline and (selection_sysmon_parent_process or selection_sysmon_process))
falsepositives:
- None
level: high
Stages and Predicates
Stage 0: condition
selection_process_native or (selection_sysmon_baseline and (selection_sysmon_parent_process or selection_sysmon_process))Stage 1: selection_process_native
selection_process_native:
NewProcessName|endswith:
- \rundll32.exe
- \powershell.exe
CommandLine|contains|all:
- rundll32.exe
- comsvcs.dll
Stage 2: selection_sysmon_baseline
selection_sysmon_baseline:
Image|endswith:
- \rundll32.exe
- \powershell.exe
- \pwsh.exe
- \powershell_ise.exe
Stage 3: selection_sysmon_parent_process
selection_sysmon_parent_process:
ParentCommandLine:
- rundll32.exe
- comsvcs.dll
Stage 4: selection_sysmon_process
selection_sysmon_process:
CommandLine|contains|all:
- rundll32.exe
- comsvcs.dll
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.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|
NewProcessName | ends_with |
|
ParentCommandLine | eq |
|