Cybersecurity news

Jessica Doner

Back to the list

New Windows Process Injection Technique Bypasses EDR Monitoring Without WriteProcessMemory

GBHackers,

A new Windows process injection method uses redirected console input and named pipes to transfer data without invoking heavily monitored APIs.

Privacy and surveillance

Overview

A new method for Windows process injectionWriting malicious code into the memory space of a legitimate running program to hide under its identity has been disclosed that bypasses standard monitoring by avoiding the use of VirtualAllocEx and WriteProcessMemory. This technique, called console named-pipe injection, uses redirected console input and named pipes to move data into a child process. It works by sending 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 pipe to an interactive console application, which stores the data in its own address space. The injector then scans the child process memory for a marker, changes the memory protection with VirtualProtectEx, and redirectsA web flaw where a trusted site accepts an outside URL parameter and forwards visitors there a thread's instruction pointer. This approach removes the direct cross-process memory allocation and writing steps that Endpoint Detection and ResponseSecurity software on laptops and servers that watches running processes to spot and block malicious behavior products typically monitor. Organizations using Windows systems must now correlate events across processes, memory protection, thread context, and interprocess communication to detect this specific type of attack.

Terms in this story

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.
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.
endpoint
Any user device or server, such as a laptop, phone, or workstation, connected to a network. Security teams install monitoring tools on every company endpoint because a single employee laptop infected at home can carry malware onto the corporate network.
Endpoint Detection and Response
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
API call
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
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.
kernel
The core part of an operating system that manages memory, hardware, and every running program. Because the kernel has complete control over the computer, a kernel vulnerability or malicious kernel driver lets an attacker bypass security software that runs at the normal program level.
telemetry
Automated logs and status measurements that software sends back about how a system is running. Security teams inspect endpoint and network telemetry, such as which programs launched and which servers they contacted, to spot an intrusion early. Security+ objective 4.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.
post-exploitation
Everything an attacker does inside a network after the first break-in, such as stealing passwords and moving laterally. Once an initial phishing lure or exploit succeeds, the post-exploitation phase includes dumping credentials from memory, scouting internal servers, and staging files for exfiltration.

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 GBHackers website. Cite the article, not this page.

Read the full article on GBHackers (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.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related