Sigma rule: HackTool - Koh Default Named Pipe

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-3c32d0bdb516, updated 2023-08-07T00:00:00.000Z.

Rule

Title
HackTool - Koh Default Named Pipe
Status
test
Level
critical
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2022-07-08
Modified
2023-08-07
File
rules/windows/pipe_created/pipe_created_hktl_koh_default_pipe.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects creation of default named pipes used by the Koh tool

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:
        - '\imposecost'
        - '\imposingcost'
condition: selection

False positives (as the rule lists them)

  • Unlikely

Tags

  • attack.privilege-escalation
  • attack.credential-access
  • attack.stealth
  • attack.t1528
  • attack.t1134.001

MITRE ATT&CK ids this rule names

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_hktl_koh_default_pipe.yml

Sources and licences

  • SigmaHQ

    "HackTool - Koh Default Named Pipe" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/pipe_created/pipe_created_hktl_koh_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: HackTool - Koh Default Named Pipe",
entity page, dataset version ref-3c32d0bdb516, updated 2023-08-07T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/0adc67e0-a68f-4ffd-9c43-28905aad5d6a (accessed 2026-11-03).
Underlying source: SigmaHQ rule 0adc67e0-a68f-4ffd-9c43-28905aad5d6a, 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.