A Windows native DLL injection library written in C# that supports several methods of injection.
- CreateRemoteThread
- ManualMap
- QueueUserAPC
- RtlCreateUserThread
- ThreadHijack
- Eject DLL
- Erase DLL Headers
- Randomise DLL Headers
- Unlink DLL From PEB
- x86 and x64 injection
- Optional randomise DLL name
- Download and install Bleak using NuGet
The example below describes a basic implementation of the library.
using Bleak;
var injector = new Injector();
// Inject a DLL into a process using the CreateRemoteThread method
injector.CreateRemoteThread("processName", "pathToDll");
// Erase the PE headers of a DLL loaded in a process
injector.EraseDllHeaders("processName", "pathToDll");
Full documentation for the library can be found here
Pull requests are welcome.
For large changes, please open an issue first to discuss what you would like to add.