This project is a demonstration of advanced DLL hijack techniques. It was released in conjunction with the "Adaptive DLL Hijacking" blog post. I recommend you start there to contextualize this code.
This project is comprised of the following elements:
- Harness.exe: The "victim" application which is vulnerable to hijacking (static/dynamic)
- Functions.dll: The "real" library which exposes valid functionality to the harness
- Theif.dll: The "evil" library which is attempting to gain execution
- NetClone.exe: A C# application which will clone exports from one DLL to another
- PyClone.py: A python 3 script which mimics NetClone functionality
The VS solution itself supports 4 build configurations which map to 4 different methods of proxying functionality. This should provide a nice scalable way of demonstrating more techniques in the future.
- Stc-Forward: Forwards export names during the build process using linker comments
- Dyn-NetClone: Clones the export table from functions.dll onto theif.dll post-build using NetClone
- Dyn-PyClone: Clones the export table from functions.dll onto theif.dll post-build using PyClone
- Dyn-Rebuild: Rebuilds the export table and patches linked import tables post-load to dynamically prepare for function proxying
The goal of each technique is to successfully capture code execution while proxying functionality to the legitimate DLL. Each technique is tested to ensure static and dynamic sink situations are handled. This is by far not every primitive or technique variation. The post above goes into more detail.
Prepare a hijack scenario with an obviously incorrect DLL
> copy C:\windows\system32\whoami.exe .\whoami.exe
1 file(s) copied.
> copy C:\windows\system32\kernel32.dll .\wkscli.dll
1 file(s) copied.
Executing in the current configuration should result in an error
> whoami.exe
"Entry Point Not Found"
Convert kernel32 to proxy functionality for wkscli
> NetClone.exe --target C:\windows\system32\kernel32.dll --reference C:\windows\system32\wkscli.dll --output wkscli.dll
[+] Done.
> whoami.exe
COMPUTER\User
- Hacking Tools Kit
- How To Make Hacking Tools
- Hacker Tools 2019
- Kik Hack Tools
- Termux Hacking Tools 2019
- Hacker Tools Free Download
- Hacker Search Tools
- Hacking Tools For Windows 7
- Hacking Tools Software
- Hacker Tools Online
- Hacker Tools 2019
- Hack Tools Online
- Best Hacking Tools 2020
- New Hack Tools
- Tools 4 Hack
- Easy Hack Tools
- Hacking Tools 2020
- Pentest Tools Alternative
- Pentest Tools Github
- Hack Tools For Games
- Tools Used For Hacking
- Physical Pentest Tools
- Nsa Hack Tools
- Pentest Tools Apk
- Hacking Tools For Windows 7
- Pentest Tools Bluekeep
- Hacker Hardware Tools
- Hacks And Tools
- Hacking Tools Kit
- Pentest Tools Online
- Hacking Tools For Kali Linux
- Hacking Tools For Windows
- Nsa Hack Tools
- Pentest Tools For Windows
- Best Hacking Tools 2020
- Hacker Tools Online
- Pentest Tools For Mac
- Pentest Tools Website Vulnerability
- Hack Tools
- Pentest Tools Download
- Hacking App
- Hacking Tools Online
- Hacker Tools For Pc
- World No 1 Hacker Software
- Game Hacking
- Hacking Tools For Windows Free Download
- Android Hack Tools Github
- Hacking Tools Software
- Hacking Tools Download
- Hacking Tools Free Download
- Pentest Tools
- Pentest Tools Free
- Pentest Tools Windows
- Install Pentest Tools Ubuntu
- Tools Used For Hacking
- Hack Tools For Pc
- Hacking Tools For Windows 7
- How To Make Hacking Tools
- Pentest Tools Url Fuzzer
- Pentest Tools Free
- Hack Apps
- Pentest Tools Github
- Hacking Tools Hardware
- Top Pentest Tools
- Hacking App
- Hacker Search Tools
- Hacker Tools For Ios
- Hack Tools For Games
- Pentest Box Tools Download
- Hacker Tools Github
- Hacking Tools Hardware
- Hack Rom Tools
- Hacking Tools For Windows
- Hacks And Tools
- New Hacker Tools
- Hacking Tools For Kali Linux
- Hack Tools For Games
- Pentest Tools Subdomain
- Hacking Tools Name
- Pentest Tools For Windows
- Hacking App
- Hacker Security Tools
- Nsa Hack Tools
- Pentest Tools Free
- Hack Website Online Tool
- Hacker Search Tools
- Pentest Tools Framework
- Hack And Tools
- Tools Used For Hacking
- Pentest Tools Bluekeep
- Install Pentest Tools Ubuntu
- Hack Tools For Games
- How To Hack
- Hacker Tools 2020
- Hacking Tools And Software
- Hacking App
- Hacker Tools 2019
- Hacker Tools 2020
- Hacking Tools
- Hacker Techniques Tools And Incident Handling
- Hacker Tools Github
- Pentest Tools Bluekeep
- Hack Tools Online
- Hacking Tools Download
- Pentest Tools For Ubuntu
- Hack Rom Tools
- Black Hat Hacker Tools
- Hacking Apps
- Bluetooth Hacking Tools Kali
- Hacker Tools Free
- Kik Hack Tools
- Hack Tools
- Growth Hacker Tools
- Install Pentest Tools Ubuntu
- Pentest Tools For Ubuntu
- How To Make Hacking Tools
- Hacking Tools Windows
- Pentest Box Tools Download
- Hacking Tools For Windows
- Hack Apps
- Game Hacking
- Hack Tools For Ubuntu
- Nsa Hacker Tools
- Hacker Security Tools
- Hackrf Tools
- Hacking Tools For Games
- Hack Tool Apk
- Hacks And Tools
- Hacker Tools 2020
- Hacking Tools Windows 10
- Pentest Tools For Android
- How To Make Hacking Tools
- Hack Tool Apk No Root
- Hacking Tools Kit
- Hacking Tools Free Download
- Tools 4 Hack
- Hack Rom Tools
- Pentest Tools For Windows
- Hacking Tools For Kali Linux
- Hacker Techniques Tools And Incident Handling
- Hacking Tools Software
- Hacking Tools 2019
- Hacker Tools Free
- Hack Tools
- Hacking Tools Usb
- Hacking Tools Download
- Hacker Hardware Tools
- Hacking Apps
- Hacking Tools For Beginners
- Hacking Tools Name
- Hacking Tools For Pc
- Hacking Tools Kit
- Android Hack Tools Github
- Hack Tools Pc
- Hacking Tools For Windows 7
- Blackhat Hacker Tools
- Hacker Tools For Windows
- Pentest Tools Bluekeep
- Hack Tools
- Blackhat Hacker Tools
- Bluetooth Hacking Tools Kali