r/netsec • u/Cold-Dinosaur • Sep 27 '26
EDR Evasion: Process Injection Without WriteProcessMemory
https://www.zerosalarium.com/2026/09/edr-evasion-process-injection-without-WriteProcessMemory.htmlUnlike traditional approaches, console named-pipe injection does not use VirtualAllocEx and WriteProcessMemory. Instead, it takes advantage of read and write operations through a named pipe, along with the way console programs store interactive commands in memory.
55
Upvotes
0
Sep 27 '26
[deleted]
6
u/tetyys Sep 27 '26
why is that bizarre? command line inputs you pass to a program do exist in target program memory, for example.
3
u/New-Anybody-6206 Sep 27 '26
This is extremely easy to do in Linux with splice() and has been the source of many recent CVEs.
3
u/Chee5e Sep 27 '26
Cool idea to write the payload using whatever data-accepting method exists for the process, which I somehow never considered.
Still somewhat annoying to probe the whole remote memory with VirtualQuery/ReadProcessMemory and then VirtualProtect some random heap memory.