New Windows Process Injection Attack Evades EDR Monitoring Without WriteProcessMemory
A new Windows attack method bypasses security monitoring by sending code through a child process's standard input instead of using common injection APIs.
Overview
A security researcher named Two Seven One Three disclosed a new method for injecting code into Windows processes that avoids using the standard APIsA structured interface that lets one software program request data or actions from another program VirtualAllocEx and WriteProcessMemory. This technique, called console named-pipe injection, sends payloadThe part of an attack or malware file that carries out the harmful action on the target bytesA group of 8 bits, enough to store 1 character through a child console process's redirected standard input instead of writing directly to remote memory. It works by creating an interactive child process, such as nslookup.exe or netsh.exe, and using a pipe to deliver the code into the program's address space. The injector then locates the payload in memory, changes the page protections to allow execution, and redirectsA web flaw where a trusted site accepts an outside URL parameter and forwards visitors there a thread to run the code. This approach disrupts detection systems that look for the typical sequence of allocating memory, writing code, and executing it.
Terms in this story
- APIs
- A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
- payload
- The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
- bytes
- A group of 8 bits, enough to store 1 character. Memory sizes, network payloads, and buffer lengths are measured in bytes, and memory corruption bugs happen when a program writes even a single byte past the end of its buffer. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- redirects
- A web flaw where a trusted site accepts an outside URL parameter and forwards visitors there. Attackers abuse an open redirect on a well-known website so the link in their email starts with a trusted domain name before forwarding the victim to a fake login page.
- Process Injection
- Writing malicious code into the memory space of a legitimate running program to hide under its identity. Attackers use process injection to hide their code inside normal system processes so endpoint monitors see a trusted program making network connections.
- EDR
- Security software on laptops and servers that watches running processes to spot and block malicious behavior. Unlike older antivirus tools that only check file hashes, EDR records process launches, memory changes, and network connections so defenders can stop live attacks and trace what happened. Security+ objective 2.5 lists the term
- code injection
- A flaw where an application treats untrusted input from a user as executable code and runs it. Whenever a program builds code or scripts dynamically out of user input without strict separation, a code injection flaw can let an attacker run commands on the server.
- arbitrary code
- A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
- MITRE ATT&CK
- A public knowledge base that catalogs the real-world tactics and techniques attackers use during an intrusion. Threat reports map an intruder's behavior to MITRE ATT&CK technique codes so defenders everywhere can test whether their monitoring tools catch those exact moves.
- exploits
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- proof of concept
- A working sample of code or steps that shows a reported security flaw can really be triggered. When researchers publish a proof-of-concept for a new bug, defenders can test their own systems, but criminals also watch for that code and adapt it for real attacks.
- signature
- A known byte pattern or hash that antivirus tools match against files, or a cryptographic proof of origin. In security news, a signature means either a pattern that scanners use to recognize known malware or a cryptographic signature that proves a software update was not altered.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"...security researcher Two Seven One Three sidesteps two APIs..." Found by reading the article; these exact words are in it - Security+ 2.5 Explain the purpose of mitigation techniques used to secure the enterprise.
"New Windows Process Injection Attack Evades EDR Monitoring Without WriteProcessMemory..." Found in the headline - Security+ 4.5 Given a scenario, modify enterprise capabilities to enhance security.
"New Windows Process Injection Attack Evades EDR Monitoring Without WriteProcessMemory..." Found in the headline - Security+ 4.7 Explain the importance of automation and orchestration related to secure operations.
"......researcher Two Seven One Three sidesteps two APIs closely associated with remote code injection: VirtualAllocEx..." Found in the opening sentences - CYBR 101 week 11: penetration testing, OSINT, MITRE ATT&CK and hacking back
"A Windows process injection method disclosed by security researcher Two Seven One Three sidesteps two APIs..." Found in the opening sentences - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"New Windows Process Injection Attack Evades EDR Monitoring Without..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"New Windows Process Injection Attack Evades EDR Monitoring Without WriteProcessMemory..." Found in the headline
How a story is connected to the course, and every objective, week and job role