Skip to content

TheMulti0/DllInjection

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dll Injection

This is a sample (based on ZeroMemory's initial project) of injecting a custom DLL into a running process.

The way the code works is the following:

  1. The dll's full path is allocated in the target process's memory
  2. A thread is opened in the target process
  3. The thread loads the dll by calling LoadLibrary and suppling the allocated path to the dll file
  4. The handles and threads are freed

The DllInjector makes use of modern C++ features to wrap the lifecycle of the loaded DLL, process and thread handles.

Injecting using pid and window name are currently supported.

About

C++ Dll Injector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.7%
  • C 4.3%