An open API service indexing awesome lists of open source software.

https://github.com/ytk2128/dll-merger

Merging DLLs with a PE32 EXE without LoadLibrary
https://github.com/ytk2128/dll-merger

Last synced: 4 months ago
JSON representation

Merging DLLs with a PE32 EXE without LoadLibrary

Awesome Lists containing this project

README

          

# 🔗 DLL Merger
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).

# Principle of merging
![executable before merging](https://raw.githubusercontent.com/ytk2128/dll-merger/refs/heads/main/doc/before.svg)
![executable after merging](https://raw.githubusercontent.com/ytk2128/dll-merger/refs/heads/main/doc/after.svg)

# How to build
1. ```git clone https://github.com/ytk2128/dll-merger.git --recurse-submodules```
2. Open **src/merger.sln**
3. Build the solution

# Demonstration
1. Run ```merger.exe procexp.exe MyDLL.dll```
2. Execute the created ```procexp.exe_out.exe```
3. Note that ```MyDLL.dll``` is invisibly loaded in the ```procexp.exe_out.exe```