MITRE ATT&CK / Techniques / T1055.012

Process Injection: Process Hollowing

ID
T1055.012
Tactics
TA0004 Privilege Escalation, TA0005 Stealth
Sub-technique of
T1055 Process Injection
Platforms
Windows
Data sources
Process Creation, Process Access, Process Modification, OS API Execution
Source
attack.mitre.org
MITRE last modified
12 Sep 2026

Adversaries may inject malicious code into suspended and hollowed processes in order to evade process-based defenses. Process hollowing is a method of executing arbitrary code in the address space of a separate live process.

Process hollowing is commonly performed by creating a process in a suspended state then unmapping/hollowing its memory, which can then be replaced with malicious code. A victim process can be created with native Windows API calls such as CreateProcess, which includes a flag to suspend the processes primary thread. At this point the process can be unmapped using APIs calls such as ZwUnmapViewOfSection or NtUnmapViewOfSection before being written to, realigned to the injected code, and resumed via VirtualAllocEx, WriteProcessMemory, SetThreadContext, then ResumeThread respectively.[1][2]

This is very similar to Thread Local Storage but creates a new process rather than targeting an existing process. This behavior will likely not result in elevated privileges since the injected process was spawned from (and thus inherits the security context) of the injecting process. However, execution via process hollowing may also evade detection from security products since the execution is masked under a legitimate process.

Detection

Mitigations (1)

M1040 Behavior Prevention on Endpoint

Some endpoint security solutions can be configured to block some types of process injection based on common sequences of behavior that occur during the injection process.

Groups (8)

Software (36)

References

  1. Leitch Hollowing
  2. Elastic Process Injection July 2017