Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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

Last synced: 21 days ago
JSON representation

Merging DLLs with a PE32 EXE without LoadLibrary

Awesome Lists containing this project

README

        

# 🔗 dll-merger
Merging DLLs with a PE32 EXE without LoadLibrary

# Building the project
* ```git clone https://github.com/ytk2128/dll-merger.git --recurse-submodules```
* Open **src/merger.sln**
* Build Solution

# Principle of merging
dll-merger merges DLLs with a PE32 EXE and injects the loader code into the EXE and the injected loader loads DLLs manually without LoadLibrary, and thus the loaded DLLs are invisible in the PEB.

![executable before merging](https://user-images.githubusercontent.com/60180255/152682145-3c217853-daf0-4174-a6cd-17fbf1662e20.svg)
![executable after merging](https://user-images.githubusercontent.com/60180255/152682142-6a587520-7208-4b91-ae22-4dc32558d8c7.svg)

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