Detection rules › Sigma
PsExec Service Execution
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
| Tactic | Techniques |
|---|---|
| Execution | No specific technique |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Sysmon | Event 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
selectionStage 1: selection
selection:
- Image: 'C:\Windows\PSEXESVC.exe'
- OriginalFileName: 'psexesvc.exe'
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
Image | eq |
| field:"Image" kind:eq value:"C:\Windows\PSEXESVC.exe" |
OriginalFileName | eq |
| field:"OriginalFileName" kind:eq value:"psexesvc.exe" |