Detection rules › Sigma

PsExec Service Execution

Status
test
Severity
medium
Log source
category process_creation, product windows
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

Known false positives

  • Legitimate administrative tasks

MITRE ATT&CK coverage

TacticTechniques
ExecutionNo specific technique

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule body

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

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageeq
  • C:\Windows\PSEXESVC.exe
field:"Image" kind:eq value:"C:\Windows\PSEXESVC.exe"
OriginalFileNameeq
  • psexesvc.exe corpus 4 (sigma 3, elastic 1)
field:"OriginalFileName" kind:eq value:"psexesvc.exe"