MITRE ATT&CK · T1055

Process Injection

MITRE · cited in 19 of our lessons

Explanation

What attackers do. Attackers inject code into the memory of another running process so it runs under that process's identity. This helps hide activity inside trusted processes and can grant extra privileges, serving Defence Evasion and Privilege Escalation.

How to defend. Rely on endpoint detection that monitors memory and cross-process behaviour, since injection rarely leaves files on disk. Enable platform protections such as protected processes for security-sensitive services and attack surface reduction rules. Limit admin rights, which many injection methods require for system processes.

Signs to look for. Look for one process opening handles to another with write or thread creation rights, executable memory regions without a backing file, and normally quiet system processes making network connections. A common gap is that legitimate software also injects, so tuning is needed to avoid alert fatigue.

The official text
Adversaries may inject code into processes in order to evade process-based defenses as well as possibly elevate privileges. Process injection is a method of executing arbitrary code in the address space of a separate live process. Running code in the context of another process may allow access to the process's memory, system/network resources, and possibly elevated privileges. Execution via process injection may also evade detection from security products since the execution is masked under a legitimate process. There are many different ways to inject code into a process, many of which abuse legitimate functionalities. These implementations exist for every major OS but are typically platform specific. More sophisticated samples may perform multiple process injections to segment modules and further evade detection, utilizing named pipes or other inter-process communication (IPC) mechanisms as a communication channel.

© The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation (MITRE ATT&CK®).

Lessons that cite it

Real incidents where this item mattered: the latest 12 of 19.