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
- Pentest Tools Free
- Best Hacking Tools 2019
- Pentest Tools Kali Linux
- Hack Rom Tools
- Pentest Tools Online
- Android Hack Tools Github
- Hacker Tools Hardware
- Pentest Tools Linux
- Bluetooth Hacking Tools Kali
- Best Pentesting Tools 2018
- Best Pentesting Tools 2018
- Hacker Tools Free Download
- Hacking Tools For Windows 7
- Hack Tools Pc
- Hacker Techniques Tools And Incident Handling
- Physical Pentest Tools
- Pentest Tools For Mac
- Hak5 Tools
- Nsa Hack Tools Download
- Termux Hacking Tools 2019
- Hacking Tools For Windows
- New Hack Tools
- Blackhat Hacker Tools
- Ethical Hacker Tools
- Hack Tools For Windows
- Pentest Tools Android
- Hacking Tools Kit
- Hacking Tools
- Hacking Tools
- What Is Hacking Tools
- Hack Tools For Windows
- Hacker Tools 2019
- Hacking Tools Free Download
- Pentest Tools
- Hackers Toolbox
- Pentest Tools Kali Linux
- Hack Tools Github
- Pentest Tools List
- Growth Hacker Tools
- Hacking Tools
- Hak5 Tools
- Hacker Tools Hardware
- Hacking Tools Name
- Pentest Tools Tcp Port Scanner
- Hacking Tools For Beginners
- Install Pentest Tools Ubuntu
- Hack Rom Tools
- Hack Tools Mac
- Hacking Tools Kit
- Hacker Tools Free
- Hacking Tools For Windows Free Download
- Nsa Hack Tools
- Free Pentest Tools For Windows
- Hacker Tools Linux
- Hacker Tools Free
- Hacking Tools 2019
- World No 1 Hacker Software
- Hak5 Tools
- Pentest Tools Github
- Hacker Tools 2019
- What Are Hacking Tools
- Hacking Tools Github
- Blackhat Hacker Tools
- Pentest Reporting Tools
- Kik Hack Tools
- Pentest Tools Android
- Hacking Tools For Windows
- Hacking App
- Hacker Tools Online
- Pentest Tools Website
- Hack Tools Pc
- Hacker Tools Hardware
- Hacking Tools Github
- Black Hat Hacker Tools
- Pentest Tools Android
- Hacking App
- Pentest Automation Tools
- Hacker Tools For Pc
- Pentest Tools For Mac
- Pentest Automation Tools
- Hacker Tools Apk Download
- Physical Pentest Tools
- Hacker Tool Kit
- Hacking Tools 2020
- Tools 4 Hack
- Pentest Tools Tcp Port Scanner
- Nsa Hacker Tools
- Termux Hacking Tools 2019
- Hacking Tools Windows 10
- Hacker Tools For Windows
- Pentest Tools Linux
- Underground Hacker Sites
- Hacker Tools Online
- Hacking Tools Kit
- Hacker Tools Hardware
- Pentest Tools
- Black Hat Hacker Tools
- Pentest Tools Download
- Tools For Hacker
- Hacker Security Tools
- Best Hacking Tools 2019
- Hacker
- How To Install Pentest Tools In Ubuntu
- Hacking Tools 2019
- Easy Hack Tools
- Install Pentest Tools Ubuntu
- Hacking Tools For Kali Linux
- Hacker Tools Apk Download
- Hack Tools 2019
- Pentest Tools Website Vulnerability
- Hacker Tools Github
- Best Hacking Tools 2019
- Pentest Box Tools Download
- Pentest Reporting Tools
- Pentest Tools For Windows
- Pentest Tools List
- Hacking Tools Kit
- Growth Hacker Tools
- Usb Pentest Tools
- What Is Hacking Tools
- Pentest Tools
- Hacker Tools 2019
- Hacker
- Hacker Security Tools
- Hacker Tools Free Download
- Hacker Tools Free
- Hacking Tools Software
- Hack Website Online Tool
- Pentest Tools For Ubuntu
- Hack Tools For Mac
- Hacking Tools Windows
- Hacking Tools Mac
- Hacking Tools For Windows Free Download
- World No 1 Hacker Software
- Pentest Reporting Tools
- Pentest Tools Port Scanner
- Pentest Tools Windows
- How To Make Hacking Tools
- Hacker Tools For Windows
- Hacker Search Tools
- Underground Hacker Sites
- Hack Apps
- Hacker Tools Apk Download
- Hack Tools For Windows
- Pentest Tools Kali Linux
- Hack Tools Online
- Pentest Box Tools Download
- Top Pentest Tools
- New Hack Tools
- Hacking Tools Software
- Hackrf Tools
- Pentest Tools Url Fuzzer
- Pentest Tools Port Scanner
- Physical Pentest Tools
- How To Make Hacking Tools
- Hacker Hardware Tools
- Hacking Tools And Software
- Hack Tools Mac
- Hacking Tools Free Download
- Pentest Tools
- Hack Tools For Mac
- Hack Rom Tools
- Hack Tools For Windows
- Hacker Tools 2020
- Black Hat Hacker Tools
- Hacking Tools
0 comentarios:
Publicar un comentario