Detection rules › Sigma

PsExec Service Execution

Status
test
Severity
medium
Log source
product windows, category process_creation
Author
Thomas Patzke, Romaissa Adjailia, Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects launch of the PSEXESVC service, which means that this system was the target of a psexec remote execution

MITRE ATT&CK coverage

TacticTechniques
ExecutionNo specific technique

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: PsExec Service Execution
id: fdfcbd78-48f1-4a4b-90ac-d82241e368c5
related:
    - id: fa91cc36-24c9-41ce-b3c8-3bbc3f2f67ba
      type: obsolete
status: test
description: Detects launch of the PSEXESVC service, which means that this system was the target of a psexec remote execution
references:
    - https://learn.microsoft.com/en-us/sysinternals/downloads/psexec
    - https://www.youtube.com/watch?v=ro2QuZTIMBM
author: Thomas Patzke, Romaissa Adjailia, Florian Roth (Nextron Systems)
date: 2017-06-12
modified: 2023-02-28
tags:
    - attack.execution
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - Image: 'C:\Windows\PSEXESVC.exe'
        - OriginalFileName: 'psexesvc.exe'
    condition: selection
falsepositives:
    - Legitimate administrative tasks
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - Image: 'C:\Windows\PSEXESVC.exe'
    - OriginalFileName: 'psexesvc.exe'

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
Imageeq
  • C:\Windows\PSEXESVC.exe
OriginalFileNameeq
  • psexesvc.exe corpus 4 (sigma 3, elastic 1)