Sigma rule: HackTool - DiagTrackEoP Default Named Pipe
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-0df8fe3b40cd, updated 2023-08-07T00:00:00.000Z.
Rule
- Title
- HackTool - DiagTrackEoP Default Named Pipe
- Status
- test
- Level
- critical
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-08-03
- Modified
- 2023-08-07
- File
- rules/windows/pipe_created/pipe_created_hktl_diagtrack_eop.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects creation of default named pipe used by the DiagTrackEoP POC, a tool that abuses "SeImpersonate" privilege.
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: 'thisispipe' # Based on source code
condition: selectionFalse positives (as the rule lists them)
- Unlikely
Tags
- attack.privilege-escalation
References
- https://github.com/Wh04m1001/DiagTrackEoP/blob/3a2fc99c9700623eb7dc7d4b5f314fd9ce5ef51f/main.cpp#L22
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_diagtrack_eop.yml
Sources and licences
SigmaHQ
"HackTool - DiagTrackEoP Default Named Pipe" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/pipe_created/pipe_created_hktl_diagtrack_eop.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: HackTool - DiagTrackEoP Default Named Pipe",
entity page, dataset version ref-0df8fe3b40cd, updated 2023-08-07T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1f7025a6-e747-4130-aac4-961eb47015f1 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1f7025a6-e747-4130-aac4-961eb47015f1, 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.