C++ 中的进程空洞化 (x86 / x64) - 替换进程 PE 映像
…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.
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.
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.
This CMakeLists.txt should compile the project.
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.
Use it in the command line :
runpe.exe 暂无开放 Issues,或尚未同步最近议题。