Sigma rule: Privilege Escalation via Named Pipe Impersonation

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-89ff7222a15f, updated 2022-12-30T00:00:00.000Z.

Rule

Title
Privilege Escalation via Named Pipe Impersonation
Status
test
Level
high
Author
Tim Rauch, Elastic (idea)
Date
2022-09-27
Modified
2022-12-30
File
rules/windows/process_creation/proc_creation_win_susp_priv_escalation_via_named_pipe.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects a remote file copy attempt to a hidden network share. This may indicate lateral movement or data staging activity.

Log source

product
windows
category
process_creation

Detection

selection_name:
    - Image|endswith:
          - '\cmd.exe'
          - '\powershell.exe'
    - OriginalFileName:
          - 'Cmd.Exe'
          - 'PowerShell.EXE'
selection_args:
    CommandLine|contains|all:
        - 'echo'
        - '>'
        - '\\\\.\\pipe\\'
condition: all of selection*

False positives (as the rule lists them)

  • Other programs that cause these patterns (please report)

Tags

  • attack.lateral-movement
  • attack.t1021

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/process_creation/proc_creation_win_susp_priv_escalation_via_named_pipe.yml

Sources and licences

  • SigmaHQ

    "Privilege Escalation via Named Pipe Impersonation" by Tim Rauch, Elastic (idea) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_priv_escalation_via_named_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: Privilege Escalation via Named Pipe Impersonation",
entity page, dataset version ref-89ff7222a15f, updated 2022-12-30T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9bd04a79-dabe-4f1f-a5ff-92430265c96b (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9bd04a79-dabe-4f1f-a5ff-92430265c96b, 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.