Join our Newsletter — 33% off our NHI Course
Threats, Abuse & Incident Response

RunPE

← Back to Glossary
By NHI Mgmt Group Updated October 31, 2026 Domain: Threats, Abuse & Incident Response

RunPE is a process injection style technique where malware launches a legitimate looking process and replaces its memory with malicious code. Attackers use it to hide execution, blend into normal process activity, and reduce the usefulness of simple file based detection. It is a common evasion pattern in commodity malware.

How RunPE works

RunPE is a process injection technique that starts a legitimate looking process and then swaps its in-memory code for malicious payloads. The visible process name, path, and parent-child relationships can look normal even while the actual execution path has been altered. That mismatch is what makes the technique useful for stealth and why defenders treat it as a deception pattern rather than simple malware packing.

Because the technique relies on a trusted process container, its security significance is less about the file on disk and more about what is happening after process creation. Memory-backed execution can evade controls that focus mainly on file reputation or static hashes, especially when the injected payload never exists as a clean, standalone executable for long.

Why attackers use RunPE

RunPE helps malware blend into ordinary endpoint activity. It can reduce the chance that a process tree, command line, or file scan immediately reveals malicious intent, especially in environments where defenders still rely heavily on file-based triage. It is also attractive because it can be combined with additional evasion steps such as obfuscation, staging, or sandbox checks.

In practice, the technique is usually chosen to buy time, not to provide complete invisibility. Endpoint telemetry, memory inspection, and behavioral detections can still expose suspicious process hollowing patterns, unusual memory writes, or a process whose on-disk image no longer matches what is executing in memory. MITRE ATT&CK Enterprise Matrix is the best fit for mapping those adversary behaviors to the surrounding intrusion chain.

How defenders detect RunPE

Detection works best when defenders correlate file, process, and memory signals instead of treating them separately. Useful clues include a trusted process spawning with unusual arguments, a hollowed or suspended process that resumes with altered memory pages, remote or cross-process memory modification, and execution that diverges from the original signed image. Those indicators are stronger when they appear alongside other suspicious behaviors such as tampering, privilege abuse, or lateral movement.

Defenders also need to expect that simple allowlists are not enough. A benign binary name does not prove benign behavior, and a legitimate executable path does not guarantee the in-memory code is safe. NIST SP 800-53 Rev 5 Security and Privacy Controls supports the broader control model for process monitoring, integrity, and auditability, while CIS Benchmarks help reduce the baseline conditions that let suspicious code run unnoticed.

Response and hardening considerations for RunPE

When RunPE is suspected, the response problem is not just malware removal, it is trust restoration. Security teams should assume the hollowed process may have launched additional payloads, manipulated other processes, or established persistence before it was noticed. Post-detection review often needs to include memory artifacts, child processes, scheduled tasks, registry changes, and any credentials or tokens the process could have accessed while running.

Hardening should focus on reducing the space in which process injection succeeds and on making post-exploitation behavior easier to see. NIST Cybersecurity Framework 2.0 fits the governance view of identify, protect, detect, respond, and recover, while NIST SP 800-207 Zero Trust Architecture reinforces the idea that process trust should be verified, not assumed. For teams that want a threat-centric playbook, MITRE ATT&CK Enterprise Matrix also helps align detection engineering to the expected abuse path.

Risk and Threat Considerations

RunPE is dangerous because it exploits a defender blind spot: the gap between what is launched and what is actually executing in memory. That gap can defeat basic reputation checks, delay triage, and allow malicious activity to proceed under the cover of a trusted process name.

Failure mechanism: The attacker starts a normal process, replaces or remaps its memory image, and uses that container to execute payloads while reducing the visibility of file-based inspection and some process-centric alerts.

Impact: The result can be stealthier persistence, slower incident detection, and greater downstream exposure if the hollowed process reaches credentials, sensitive data, or additional systems before containment.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1055 — Process InjectionRunPE is a process injection variant used to alter execution in memory.
Recommendation — Map hollowing activity to T1055 and hunt for cross-process memory tampering in endpoint telemetry.
NIST SP 800-53 Rev 5SI-4 — System MonitoringRunPE requires monitoring of endpoint behavior and memory-side anomalies to detect.
AU-6 — Audit Record Review, Analysis, and ReportingDetection and investigation depend on reviewing correlated process and memory audit evidence.
Recommendation — Instrument SI-4 to flag suspicious process creation, memory writes, and execution deviations. Correlate audit records to identify hollowed processes and post-launch malicious activity.
NIST CSF 2.0DE.CM-01 — Monitoring for anomalous activityRunPE is primarily a monitoring problem because the visible process can look normal.
DE.AE-01 — Anomalous activity is detected and analyzedHollowed processes are anomalous even when the binary on disk appears legitimate.
Recommendation — Extend monitoring to memory-aware behavior and process integrity signals. Analyze execution anomalies that diverge from the expected process image and lineage.

Practitioner Guidance

Why practitioners should care: RunPE is a reminder that endpoint defense must judge execution behavior, not just binary identity. Teams that only trust file hashes or process names will miss part of the attack surface.

What to watch for: Prioritise telemetry that shows process creation followed by suspicious memory manipulation, anomalous image replacement, or behavior that diverges from the expected signed executable. That pattern is often more actionable than a single static indicator.

Practitioner takeaway: Treat RunPE as a signal to strengthen behavioral detection, memory-aware hunting, and post-compromise review rather than as a one-off malware quirk.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 31, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org