A simple tool that embeds DLLs into Windows 32-bit PE executables, along with a loader that manually maps the DLLs into memory instead of using LoadLibrary
, making the loaded DLLs invisible in the PEB (Process Environment Block).
git clone https://github.com/ytk2128/dll-merger.git --recurse-submodules
- Open src/merger.sln
- Build the solution
- Run
merger.exe procexp.exe MyDLL.dll
- Execute the created
procexp.exe_out.exe
- Note that
MyDLL.dll
is invisibly loaded in theprocexp.exe_out.exe