WCU / Cybersecurity
~/CSC 471/Class 06/KP 13
Class 06 · KP 13 / 21

Process Hollowing (RunPE)

  • Run malicious code under the identity of a legitimate program.
  • Steps:
  • CreateProcess a benign target in suspended state (e.g. svchost.exe).
  • Unmap ("hollow out") the original image from its memory.
  • Allocate and write the malicious PE into that space.
  • Fix the entry point (set thread context / EAX/RCX).
  • ResumeThread — the process now runs the malware.
  • On disk and in Task Manager it still looks like the trusted binary.
Key Takeaway

Hollowing swaps the code while keeping the name — strong disguise, but the image/disk mismatch is detectable.