Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

Process-Hollowing

> 编程语言
Open source

Process Hollowing in C++ (x86 / x64) - Process PE image replacement

188 stars0 likes1 views
WebsiteGitHub

About

Process Hollowing in C++ (x86 / x64) - Process PE image replacement

…

:open_book: Project Overview :

This process hollowing implementation is written in C++, the loader is a x64 executable with can inject into x86 and x64 processes.

The loader make severals checks before trying to inject the new PE image.

  • Check if the PE image have a valid signature.
  • Check if the target process and the PE image have the same architecture.
  • Check if the target process and the PE image have the same subsystem.
  • Check if the PE image have a relocation table.

The loader is able to inject PE image with and witout relocation table, if there is no relocation table the loader try to allocate memory at the preferred image base address.

If you don't know how PE format are structured you can look at this project.

:rocket: Getting Started :

Warning

This is a x64 executable, you can't compile this project in x86, this loader is made to inject into x86 and x64 processes. You can easily make a x86 process hollowing program based on this repository.

Visual Studio :

  1. Open the solution file (.sln).
  2. Build the project in Release (x64)

Other IDE using CMAKE :

This CMakeLists.txt should compile the project.

cmake
cmake_minimum_required(VERSION 3.0)
project(runpe)

set(CMAKE_CXX_STANDARD 17)

add_executable(runpe Process_Hollowing.cpp)

Tested on CLion with MSVC compiler, you can get Visual Studio Build Tools here.

Usage :

How to use the program :

Use it in the command line :

bash
runpe.exe  

Demonstration :

https://user-images.githubusercontent.com/48086737/158390795-e7371e21-b475-481e-ba9a-f1b646ee5cfc.mp4

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++cpphollowingprocessrunpe

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言