Skip to content

Merging DLLs with a PE32 EXE without LoadLibrary

License

Notifications You must be signed in to change notification settings

peko19/dll-merger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 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 one PE32 EXE and injects the loader code into the PE32 EXE and the injected loader loads DLLs manually without LoadLibrary and thus the loaded DLLs are invisible in the PEB.

executable before merging executable after merging

Demonstration

  1. Execute merger.exe procexp.exe MyDLL.dll
  2. procexp.exe_out.exe is created
  3. MyDLL.dll is manually loaded in the procexp.exe_out.exe when procexp.exe_out.exe is executed but it's invisible.

About

Merging DLLs with a PE32 EXE without LoadLibrary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%