Skip to content

A simple Windows DLL Injector built using C++ and Windows API. Demonstrates process memory manipulation and remote thread creation.

Notifications You must be signed in to change notification settings

Darkder101/DLL-Injectors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Windows DLL Injector - Level 1

This project demonstrates a simple DLL injection tool built in C++ using the Windows API. It injects a DLL into a running process by taking the target's PID and using functions like OpenProcess, VirtualAllocEx, WriteProcessMemory, and CreateRemoteThread.

🧰 Features

  • Basic DLL injection into target processes
  • Uses Windows API functions for memory allocation and thread creation
  • Successfully injects a sample MessageBox.dll into a custom executable

πŸ“ Project Structure

DLL Injector/
β”œβ”€β”€ Simple_Dll_injector/
β”‚ β”œβ”€β”€ Local_Dll_injector.cpp
β”‚ β”œβ”€β”€ MessageBox.cpp
| β”œβ”€β”€ example.cpp
β”‚ └── README.md

πŸ§ͺ Usage

  1. Run your target executable and get its PID.
  2. Run the injector: ./Local_Dll_injector.exe
  3. Enter the PID when prompted.
  4. If successful, the DLL will be injected and its code executed.

βœ… Tested on Windows 10/11. Some system apps like Notepad might have protection β€” use a custom test app instead.

πŸ› οΈ Future Plans

  • Add advanced injection techniques (manual mapping, reflective injection, shellcode injection)
  • Support for DLL Hijacking examples
  • Create an interactive GUI version of the injector
  • Detection bypass techniques for AV/EDR evasion

πŸ” Disclaimer

This project is strictly for educational and ethical research purposes. Do not use it for unauthorized or malicious activities.


About

A simple Windows DLL Injector built using C++ and Windows API. Demonstrates process memory manipulation and remote thread creation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages