Koppeling - Adaptive DLL Hijacking / Dynamic Export Forwarding
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
- How To Install Pentest Tools In Ubuntu
- Hacker Tools For Windows
- Hacking Tools Usb
- What Is Hacking Tools
- Hack Tools Github
- Hacking Tools Free Download
- Pentest Tools Nmap
- Game Hacking
- Pentest Automation Tools
- Pentest Tools Find Subdomains
- Hacking Tools Mac
- Hack Tools For Windows
- Hacker Tools Free Download
- Wifi Hacker Tools For Windows
- Pentest Tools Bluekeep
- New Hack Tools
- Pentest Tools Download
- Hacker Tools Mac
- Hack Tools For Mac
- Hacking Tools Windows 10
- Hack Tools
- Hack Tools Online
- Pentest Tools For Windows
- Hacker Tools Apk
- Hack Tools Pc
- Hacking Tools For Windows Free Download
- What Is Hacking Tools
- Pentest Tools Windows
- Pentest Tools Alternative
- Hacker Tool Kit
- Pentest Tools Find Subdomains
- Pentest Tools Download
- Hacker Security Tools
- Hacking Tools Pc
- Pentest Tools Tcp Port Scanner
- Hacker
- Hacker Tools Free Download
- Pentest Tools Apk
- Hacker Tools List
- Hacking Tools For Pc
- Pentest Tools Free
- Best Hacking Tools 2019
- Hacking Tools Hardware
- Growth Hacker Tools
- Hacker Tools Mac
- Hack Tools Github
- Ethical Hacker Tools
- Hacker Tools Apk Download
- Hacker Tools For Mac
- Hacking Tools Download
- Github Hacking Tools
- Hacking App
- Pentest Tools Github
- Hack Tools Github
- Usb Pentest Tools
- Hacking Tools Usb
- Pentest Automation Tools
- Pentest Reporting Tools
- Hacker Tools List
- Hack Tools Mac
- Hacking Tools Free Download
- Install Pentest Tools Ubuntu
- Pentest Tools Subdomain
- Hack Tools Mac
- Hacking Tools Usb
- Pentest Recon Tools
- Hack Tools Pc
- Easy Hack Tools
- Growth Hacker Tools
- Hacking Tools For Beginners
- Hacking Tools Download
- Bluetooth Hacking Tools Kali
- Best Hacking Tools 2019
- Pentest Tools Apk
- Growth Hacker Tools
- Pentest Tools Linux
- Hack App
- Pentest Automation Tools
- Hacker Tools
- Hacker Tool Kit
- Pentest Box Tools Download
- Pentest Tools Android
- Pentest Tools Review
- Beginner Hacker Tools
- Hack Rom Tools
- Hack Tools Online
- Pentest Tools Url Fuzzer
- Pentest Tools For Mac
- Tools 4 Hack
- Pentest Tools Port Scanner
- Underground Hacker Sites
- Hacker Tools
- Hack Tool Apk No Root
- Hack Tools Pc
- Free Pentest Tools For Windows
- Pentest Automation Tools
- Underground Hacker Sites
- Hacking App
- Hacking Tools 2020
- Hacking Tools Free Download
- Hack Website Online Tool
- Hacker Tools Software
- Beginner Hacker Tools
- Pentest Tools Alternative
- Pentest Tools List
- Hack Tools
- Hack And Tools
- Kik Hack Tools
- Hacker Tools For Ios
- Hacker Tools Apk
- Hacking Tools Name
- Pentest Tools Website Vulnerability
- Usb Pentest Tools
- Hacker Tools Free Download
- Hacker Tools Hardware
- Pentest Tools Alternative
- Hacking Apps
- Hacking Tools For Windows 7
- Pentest Box Tools Download
- Hacking Tools 2019
- Hacking Tools Online
- Hacker Tools Windows
- Hacking Tools 2020
- Pentest Tools Port Scanner
- Hacking Tools Name
- Free Pentest Tools For Windows
- Hacker
- Hack Tool Apk No Root
- Install Pentest Tools Ubuntu
- Kik Hack Tools
- Kik Hack Tools
- Nsa Hacker Tools
- New Hacker Tools
- Hacker Tools Apk Download
- Hacking Tools Windows 10
- Android Hack Tools Github
- Hack Tools
- Kik Hack Tools
0 Comments:
Post a Comment
<< Home