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
More info
- Hack Tools For Ubuntu
- Pentest Tools List
- Hacking Tools Pc
- Hacker Tools Free
- Black Hat Hacker Tools
- Hacking Tools Mac
- Physical Pentest Tools
- Hacker Tools For Ios
- Hacking Tools 2020
- Pentest Automation Tools
- Pentest Tools Android
- Usb Pentest Tools
- Hack Apps
- Pentest Box Tools Download
- Free Pentest Tools For Windows
- Hacks And Tools
- Hacker Tools For Pc
- Pentest Tools Android
- Pentest Tools Apk
- Pentest Tools For Windows
- Pentest Box Tools Download
- Hack Tools 2019
- Nsa Hack Tools
- Beginner Hacker Tools
- Pentest Automation Tools
- Top Pentest Tools
- Bluetooth Hacking Tools Kali
- Pentest Tools Android
- Hacking Tools For Windows Free Download
- Hak5 Tools
- Hacking Tools
- Wifi Hacker Tools For Windows
- Hack Tools For Games
- Hack Tools Online
- Pentest Tools Linux
- Pentest Tools Kali Linux
- Hacker Tools Github
- Hacker Tools 2019
- Hacking Tools Pc
- Hacking App
- Pentest Tools Kali Linux
- Hacking Tools Mac
- Hacking Tools
- Nsa Hacker Tools
- Pentest Tools Tcp Port Scanner
- Hacking Tools Free Download
- Pentest Box Tools Download
- Pentest Tools Apk
- Hacks And Tools
- Pentest Tools For Ubuntu
- Pentest Tools Kali Linux
- Hacker Tools Hardware
- Hacking Tools Hardware
- Hacking Tools For Pc
- Pentest Tools Free
- Hacker Search Tools
- Hacker Tools Apk
- Hack Rom Tools
- Pentest Tools Website Vulnerability
- Pentest Tools For Android
- Hacker Security Tools
- Hacking Tools 2019
- Install Pentest Tools Ubuntu
- How To Install Pentest Tools In Ubuntu
- Hacker Hardware Tools
- Hacker Tools Apk
- Pentest Tools Linux
- Github Hacking Tools
- Hack Tools Mac
- Pentest Recon Tools
- Hack Tools Online
- Hacker Tools 2020
- Tools 4 Hack
- Pentest Tools Url Fuzzer
- Hacker Tools Hardware
- Hack App
- Hack Tools Download
- Hacker Tools Windows
- Pentest Tools Port Scanner
- Hacker Tools
- Hack Rom Tools
- Hack Rom Tools
- Hacker Tools List
- Hacking Tools Kit
- Hack Tools Github
- Hacking Tools 2019
- Blackhat Hacker Tools
- Pentest Recon Tools
- Pentest Tools For Ubuntu
- Tools Used For Hacking
- Pentest Tools For Windows
- What Are Hacking Tools
- Hacking Tools For Windows Free Download
- Ethical Hacker Tools
- Pentest Tools Github
- Pentest Automation Tools
- Pentest Recon Tools
- Hacking Tools For Windows
- Pentest Tools Github
- Hack Tool Apk No Root
- Pentest Tools Windows
- Wifi Hacker Tools For Windows
- Top Pentest Tools
- Pentest Tools For Android
- Hacker Tools
- Pentest Tools Bluekeep
- Hacker Tools For Windows
- Hacker
- Hack Tool Apk
- Hacking Tools For Kali Linux
- Nsa Hack Tools Download
- Hacking Tools Hardware
- Tools Used For Hacking
- Hacking Tools Hardware
- New Hacker Tools
- How To Install Pentest Tools In Ubuntu
- Hack Tools Online
- Pentest Tools Url Fuzzer
- Physical Pentest Tools
- Hacker
- Beginner Hacker Tools
- Hacking Tools Github
- Pentest Box Tools Download
- Hacker Tools Windows
- Hacking Tools And Software
- Hack Tools For Ubuntu
- Tools 4 Hack
- Hacking Tools For Beginners
- Free Pentest Tools For Windows
- Hacker Tools Software
- New Hack Tools
- Hacker Tools Windows
- Tools Used For Hacking
- Tools 4 Hack
No comments:
Post a Comment