Detection rules › Sigma

Potential Credential Dumping Attempt Via PowerShell

Status
test
Severity
medium
Log source
category process_access, product windows
Author
oscd.community, Natalia Shornikova
Source
github.com/SigmaHQ/sigma

Detects a PowerShell process requesting access to "lsass.exe", which can be indicative of potential credential dumping attempts

MITRE ATT&CK coverage

TacticTechniques
Credential Access

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 10: ProcessAccess

Rule body

title: Potential Credential Dumping Attempt Via PowerShell
id: 0f920ebe-7aea-4c54-b202-9aa0c609cfe5
related:
    - id: 3f07b9d1-2082-4c56-9277-613a621983cc
      type: obsolete
    - id: fb656378-f909-47c1-8747-278bf09f4f4f
      type: similar
status: test
description: Detects a PowerShell process requesting access to "lsass.exe", which can be indicative of potential credential dumping attempts
references:
    - https://speakerdeck.com/heirhabarov/hunting-for-powershell-abuse
author: oscd.community, Natalia Shornikova
date: 2020-10-06
modified: 2023-11-28
tags:
    - attack.credential-access
    - attack.t1003.001
    - detection.threat-hunting
logsource:
    product: windows
    category: process_access
detection:
    selection:
        SourceImage|endswith:
            - '\powershell.exe'
            - '\pwsh.exe'
        TargetImage|endswith: '\lsass.exe'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    SourceImage|endswith:
        - '\powershell.exe'
        - '\pwsh.exe'
    TargetImage|endswith: '\lsass.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
SourceImageends_with
  • \powershell.exe corpus 4 (sigma 4)
  • \pwsh.exe corpus 4 (sigma 4)
field:"SourceImage" kind:ends_with
TargetImageends_with
  • \lsass.exe corpus 16 (sigma 16)
field:"TargetImage" kind:ends_with value:"\lsass.exe"