Malicious Named Pipe kesknq for Token Impersonation (via pipe_created)

PremiumReviewedSigma · High · v1
Category
pipe_created
Author
HuntRule
Published
2026-06-11
Updated
2026-08-28

ATT&CK techniques

Priv Esc → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects creation of the named pipe kesknq used for privilege escalation and token impersonation in an Apache ActiveMQ exploitation leading to LockBit. The specific pipe name was reused across the getsystem routine and a service of the same name. Named pipe impersonation lets the operator elevate from a service context to SYSTEM.

Related detections9 linkedT1134.001 — drag to rearrange
Suspicious Command Shell Spawned by lmadmin License Manager via process_creation
Suspicious Potato Privilege Escalation Tool Execution via process_creation
Suspicious W32TIME Named Pipe Activity Linked to RPC Privilege Escalation (via pipe_created)
Suspicious Access To Chrome Elevation Service COM Object via Katz Stealer
Malicious Potato Family Privilege Escalation Tool Execution (via process_creation)
Masquerading Cobalt Strike GetSystem Named-Pipe Impersonation Pattern (via process_creation)
SharpDPAPI Tool Execution via Command-Line and PE Metadata on Windows
Windows Security: Detect NoFilter Tool Activity via RonPolicy Filtering Policy Indicators
SharpImpersonation Tool Execution on Windows
Malicious Named Pipe kesknq for Token Impersonation (via pipe_created)
Pivot detection · T1134.001 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.