Sigma rule: PsExec Default Named Pipe
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-65e31b64fbad, updated 2022-10-09T00:00:00.000Z.
Rule
- Title
- PsExec Default Named Pipe
- Status
- test
- Level
- low
- Author
- Thomas Patzke
- Date
- 2017-06-12
- Modified
- 2022-10-09
- File
- rules-threat-hunting/windows/pipe_created/pipe_created_sysinternals_psexec_default_pipe.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects PsExec service default pipe creation
Log source
- product
- windows
- category
- pipe_created
- definition
- Note that you have to configure logging for Named Pipe Events in Sysmon config (Event ID 17 and Event ID 18). The basic configuration is in popular sysmon configuration (https://github.com/SwiftOnSecurity/sysmon-config), but it is worth verifying. You can also use other repo, e.g. https://github.com/Neo23x0/sysmon-config, https://github.com/olafhartong/sysmon-modular. How to test detection? You can check powershell script from this site https://svch0st.medium.com/guide-to-named-pipes-and-hunting-for-cobalt-strike-pipes-dc46b2c5f575
Detection
selection:
PipeName: '\PSEXESVC'
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.execution
- attack.t1569.002
- attack.s0029
- detection.threat-hunting
MITRE ATT&CK ids this rule names
Related rules
References
- https://www.jpcert.or.jp/english/pub/sr/ir_research.html
- https://jpcertcc.github.io/ToolAnalysisResultSheet
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-threat-hunting/windows/pipe_created/pipe_created_sysinternals_psexec_default_pipe.yml
Sources and licences
SigmaHQ
"PsExec Default Named Pipe" by Thomas Patzke (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-threat-hunting/windows/pipe_created/pipe_created_sysinternals_psexec_default_pipe.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: PsExec Default Named Pipe",
entity page, dataset version ref-65e31b64fbad, updated 2022-10-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/f3f3a972-f982-40ad-b63c-bca6afdfad7c (accessed 2026-11-03).
Underlying source: SigmaHQ rule f3f3a972-f982-40ad-b63c-bca6afdfad7c, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.