Sigma rule: PUA - CSExec Default Named Pipe

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-3395016cdf85, updated 2023-11-30T00:00:00.000Z.

Rule

Title
PUA - CSExec Default Named Pipe
Status
test
Level
medium
Author
Nikita Nazarov, oscd.community, Nasreddine Bencherchali (Nextron Systems)
Date
2023-08-07
Modified
2023-11-30
File
rules/windows/pipe_created/pipe_created_pua_csexec_default_pipe.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects default CSExec 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|contains: '\csexecsvc'
condition: selection

False positives (as the rule lists them)

  • Legitimate Administrator activity

Tags

  • attack.lateral-movement
  • attack.t1021.002
  • attack.execution
  • attack.t1569.002

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/pipe_created/pipe_created_pua_csexec_default_pipe.yml

Sources and licences

  • SigmaHQ

    "PUA - CSExec Default Named Pipe" by Nikita Nazarov, oscd.community, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/pipe_created/pipe_created_pua_csexec_default_pipe.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: PUA - CSExec Default Named Pipe",
entity page, dataset version ref-3395016cdf85, updated 2023-11-30T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/f318b911-ea88-43f4-9281-0de23ede628e (accessed 2026-11-03).
Underlying source: SigmaHQ rule f318b911-ea88-43f4-9281-0de23ede628e, 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.