Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› How do attackers use named pipes?
Threats, Abuse & Incident Response

How do attackers use named pipes?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 18, 2026 Domain: Threats, Abuse & Incident Response

Attackers use named pipes as an inter-process communication channel to pass commands, move data between components, or hide traffic inside normal-looking local communication. Defenders should monitor for unusual pipe names, unexpected server or client processes, and pipes used by services that do not normally communicate that way.

How named pipes help attackers blend in

Named pipes are a legitimate local communication mechanism, so they can let malware pass data between processes without opening an obvious network connection. Attackers often prefer them when they want a quieter channel for command relay, payload staging, or process-to-process coordination that looks like normal operating-system activity rather than a suspicious socket conversation.

That makes named pipes useful both for moving instructions and for reducing the visibility of a malicious chain. In practice, the pipe itself is rarely the whole tactic, it is the control point that lets one component talk to another while blending into ordinary host behaviour.

What defenders should look for in pipe-based activity

Detection is strongest when you compare pipe behaviour to the host baseline. Unusual pipe names, short-lived pipes created and consumed quickly, and server processes that do not normally expose named pipes are all useful signals. The same is true when a service starts acting as a pipe server or client in a way that does not match its usual role.

Context matters more than any single indicator. A named pipe can be benign on its own, but a rare pipe name plus an unexpected parent-child process chain, unusual timing, or pipe traffic tied to a newly dropped binary is much more suspicious than any one artefact in isolation. MITRE D3FEND Guide is useful here because it maps named-pipe artefacts to defensive detection and process-lineage analysis.

How named pipes fit into intrusion chains

Named pipes are most valuable to attackers after initial access, when they need a local communications path that supports coordination, data transfer, or staging without relying on outward network traffic. That makes them attractive for payload handoff between components, command relay inside a host, and in some cases lateral movement support when one process can reach another through a service interface.

Because pipe use is local and often asynchronous, it can be harder to spot than direct network exfiltration. Attackers can exploit the assumption that local inter-process communication is inherently trustworthy, so monitoring has to focus on which processes are talking, not just whether communication exists. MITRE ATT&CK Enterprise Matrix is a good companion reference for understanding where pipe-based communication often sits in the broader attack chain, especially around execution and lateral movement. CISA cyber threat advisories help practitioners correlate those local behaviours with real-world intrusion patterns and active threat reporting.

Risk and Threat Considerations

Named pipes are risky because they can conceal malicious coordination inside a channel defenders often treat as low priority. If pipe activity is not baselined, attackers can use it to move commands or data between components while avoiding controls that are tuned primarily for network traffic.

Failure mechanism: Security teams miss the abnormal relationship between the processes at each end of the pipe, so malicious IPC looks like ordinary local software communication and survives triage.

Impact: The attacker gains a stealthier way to orchestrate payloads, stage data, and sometimes maintain footholds with less obvious telemetry than a visible network beacon.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1021.003 — SMB/Windows Admin SharesNamed-pipe abuse often appears in Windows lateral-movement and process coordination patterns.
Recommendation — Map pipe-linked activity to ATT&CK and hunt for adjacent execution and lateral-movement behaviours.
CIS Controls v8CIS-8 — Audit Log ManagementPipe abuse is detected through process and host telemetry, which depends on centralized logging.
Recommendation — Ensure process and service telemetry is logged so unusual pipe use can be investigated.
NIST SP 800-53 Rev 5AU-6 — Audit Record Review, Analysis, and ReportingInvestigating suspicious pipe activity requires review and analysis of host audit records and process events.
SI-4 — System MonitoringMonitoring named pipes is a host-monitoring problem because the abuse is visible in local process activity.
Recommendation — Review host audit records for unusual pipe creation, connection, and process-pair patterns. Monitor endpoint process and IPC activity for pipe names and service behaviours that deviate from baseline.

Practitioner Guidance

What to verify: Confirm which services normally create or consume named pipes on the host, then flag any deviation from that baseline. The most useful check is not whether a pipe exists, but whether the process pair and timing make sense for that system.

Common mistake: Treating all named pipes as equally benign. A pipe becomes meaningful when it is tied to an unexpected binary, an unusual parent process, or a service that suddenly starts acting as a communication hub.

Practitioner takeaway: Focus on process relationships and host-specific behaviour, because pipe abuse is easiest to miss when monitoring is looking for network-style evidence instead of local inter-process abuse.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 18, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org