A basic Windows DLL injector in C using CreateRemoteThread and LoadLibrary. Implemented for educational purposes.
Switch branches/tags
Nothing to show
Clone or download
Brandon Arvanaghi
Brandon Arvanaghi Update DLL_Injector.c
Latest commit a55592f May 29, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
Source Update DLL_Injector.c May 29, 2017
DLL_Injector.exe Executable added, C source code moved May 1, 2017
README.md Update README.md May 10, 2017


Windows DLL Injector

Written by Brandon Arvanaghi (@arvanaghi)


This injector assumes you provide a valid DLL path (e.g. C:\Windows\System32\cryptext.dll)

DLL_Injector.exe <Executable_Name> <Path_To_DLL>

A specific example:

DLL_Injector.exe Receiver.exe C:\Windows\System32\cryptext.dll

See my blog post explaining how CreateRemoteThread, VirtualAlloxEx, and LoadLibrary can be used to inject a DLL. Note that this is a noisy way to inject a DLL into a remote process.