2024-01-02 22:05:29 +01:00
|
|
|
# Shellcode reflective DLL injection in C++
|
|
|
|
|
2024-01-04 19:00:24 +01:00
|
|
|
```shell
|
|
|
|
.
|
|
|
|
├── build.sh # Build script (cmake & make)
|
|
|
|
├── generator # Shellcode generator (ties together bootstrap, loader, payload, and user data)
|
|
|
|
├── injector # PoC injector
|
|
|
|
├── payload # PoC payload (DllMain & PrintMessage(lpUserData))
|
|
|
|
├── reflective_loader # sRDI implementation
|
|
|
|
└── toolchains # Cross-compilation toolchains (linux & darwin)
|
|
|
|
```
|
2024-01-02 22:05:29 +01:00
|
|
|
|
|
|
|
### Features
|
|
|
|
|
2024-01-04 19:00:24 +01:00
|
|
|
Placeholder.
|
2024-01-02 22:05:29 +01:00
|
|
|
|
2024-01-03 20:02:20 +01:00
|
|
|
Check out [Alcatraz](https://github.com/weak1337/Alcatraz/) for additional obfuscation for the shellcode/injector.
|
2024-01-02 22:05:29 +01:00
|
|
|
|
2024-01-04 19:00:24 +01:00
|
|
|
### Usage
|
|
|
|
|
|
|
|
Compile the libraries and executables with the included `build.sh` shellscript (if cross-compiling).
|
|
|
|
|
2024-01-02 22:05:29 +01:00
|
|
|
### Credits
|
|
|
|
|
|
|
|
- Stephen Fewer ([@stephenfewer](https://github.com/stephenfewer)) for reflective DLL injection
|
|
|
|
- Nick Landers ([@monoxgas](https://github.com/monoxgas)) for shellcode generator
|
2024-01-03 20:01:26 +01:00
|
|
|
- [@memN0ps](https://github.com/memN0ps) for bootstrap shellcode
|