Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

A simple DLL injector written in C# that injects a DLL into a running process

License

Notifications You must be signed in to change notification settings

pessimo/Simple-Injector

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Injector

A simple DLL injector written in C# that injects a DLL into a running process

How does it work?

The address of the LoadLibraryA module is loaded from the Windows API (specifically kernel32.dll.) The handle of the chosen process is then found using the method OpenProcess. Using the handle of the chosen process, memory is allocated within the chosen process for the dll name using the method VirtualAllocEx. Once the memory has been allocated, the name of the dll is then written into the chosen processes memory using the method WriteProcessMemory. Finally, a thread is created in the chosen process using the method CreateRemoteThread which calls the LoadLibraryA module (using the LoadLibraryA address,) which in turn invokes the contents of the dll.

How do I use Simple Injector?

  • Compile the project (Change debug to release)
  • Run the Simple Injector.exe file it creates in the release directory (Simple-Injector\Simple Injector\bin\Release)

Screenshot

alt text

About

A simple DLL injector written in C# that injects a DLL into a running process

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.