Skip to main content
Mallory
← Back to News
payload-delivery-evasionoffensive-tooling-releasedefense-evasion-methodproof-of-concept-release

Console Named-Pipe Injection Evades WriteProcessMemory Monitoring

Attack Tradecraft · 4 sources · Updated 2mo ago · First seen Sep 27, 2026

Console Named-Pipe Injection Evades WriteProcessMemory Monitoring

A newly published Windows process-injection technique, described as console named-pipe injection, places payload bytes into an interactive console child process through its standard-input named pipe rather than using the heavily monitored VirtualAllocEx and WriteProcessMemory APIs. The proof of concept launches a console application, sends bytes through standard input with WriteFile, identifies the resulting in-process buffer, changes its protection using VirtualProtectEx, and redirects a thread to execute the payload.

The technique is presented for authorized red-team and penetration-testing use, with no reported vulnerability, threat actor, malware campaign, or confirmed in-the-wild exploitation. Defenders should assess detections for remote VirtualProtectEx activity and unusual named-pipe read/write behavior involving console processes—particularly commonly abused binaries such as netsh.exe and nslookup.exe—rather than relying solely on alerts for cross-process memory allocation or WriteProcessMemory.

Why it matters

Impact assessment

Console named-pipe injection is a proof-of-concept Windows process-injection evasion method that can weaken endpoint detections focused narrowly on the conventional VirtualAllocEx plus WriteProcessMemory sequence. Windows environments where interactive console utilities are permitted or routinely automated are affected; abuse could enable arbitrary code execution inside trusted child processes such as nslookup.exe or netsh.exe.

  • No CVE, vulnerable product, affected organization, malware family, threat actor, or confirmed in-the-wild exploitation is reported.
  • Exposure is broad at the platform level: the technique targets interactive Windows console applications with standard input redirected to a pipe, rather than a flaw in one application.
  • The operational risk is defense evasion and reduced alert fidelity. Successful use can conceal payload placement from controls that alert only on remote allocation and WriteProcessMemory activity.
  • The technique still requires substantial cross-process access and produces observable activity, including process creation with redirected handles, remote memory-protection changes, and thread-context modification.

Affected entities

  • Platform: Windows
  • Example target processes: nslookup.exe, netsh.exe
  • Potentially affected security controls: EDR detections dependent solely on VirtualAllocEx and WriteProcessMemory telemetry
  • Researcher credited with disclosure: Two Seven One Three
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

1 event
  1. Reported Sep 27, 20262mo ago

    Console named-pipe process-injection technique published

    Research described a Windows process-injection proof of concept that writes payload bytes through a console child process's standard-input named pipe, locates the resulting remote-memory buffer, makes it executable with VirtualProtectEx, and redirects a thread to execute it. The technique avoids VirtualAllocEx and WriteProcessMemory and was presented as an EDR-evasion approach; no confirmed malicious exploitation was reported.

    EDR Evasion: Process Injection Without WriteProcessMemory
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Windows
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.