Detection rules › Sigma

Psexec Execution

Status
test
Severity
medium
Log source
product windows, category process_creation
Author
omkar72
Source
github.com/SigmaHQ/sigma

Detects user accept agreement execution in psexec commandline

MITRE ATT&CK coverage

TacticTechniques
ExecutionT1569 System Services
Lateral MovementT1021 Remote Services

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: Psexec Execution
id: 730fc21b-eaff-474b-ad23-90fd265d4988
status: test
description: Detects user accept agreement execution in psexec commandline
references:
    - https://www.fireeye.com/blog/threat-research/2020/10/kegtap-and-singlemalt-with-a-ransomware-chaser.html
author: omkar72
date: 2020-10-30
modified: 2023-02-28
tags:
    - attack.execution
    - attack.lateral-movement
    - attack.t1569
    - attack.t1021
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - Image|endswith: '\psexec.exe'
        - OriginalFileName: 'psexec.c'
    condition: selection
falsepositives:
    - Administrative scripts.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - Image|endswith: '\psexec.exe'
    - OriginalFileName: 'psexec.c'

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
Imageends_with
  • \psexec.exe corpus 2 (sigma 2)
OriginalFileNameeq
  • psexec.c corpus 6 (sigma 2, elastic 2, splunk 2)