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
Read more
- Hacking Tools Name
- Beginner Hacker Tools
- Hacking Tools Download
- Pentest Tools For Windows
- Hacker Tools Online
- Hacking Tools Pc
- Pentest Tools Tcp Port Scanner
- Nsa Hack Tools Download
- Hacking Tools And Software
- Hack Website Online Tool
- Growth Hacker Tools
- Pentest Tools Windows
- Hack Tools For Ubuntu
- Pentest Tools
- Tools Used For Hacking
- Android Hack Tools Github
- Hack Tools For Games
- Pentest Tools Alternative
- Hack And Tools
- New Hack Tools
- Hacking Tools For Windows
- Pentest Reporting Tools
- Hacker Tools Github
- Pentest Tools Open Source
- Hak5 Tools
- Hacker Tools Linux
- Hacking Tools For Beginners
- Hacker Tools List
- Hacking Tools For Windows
- Hacker Tool Kit
- Hacking Tools Mac
- Hacking Tools Free Download
- Hack Tools
- How To Hack
- Pentest Tools Windows
- Termux Hacking Tools 2019
- Github Hacking Tools
- Github Hacking Tools
- Hacker Tools For Windows
- Hacker Tools Windows
- What Are Hacking Tools
- Hacking Tools And Software
- Hacker Tools List
- Nsa Hacker Tools
- Pentest Tools Tcp Port Scanner
- Pentest Tools Kali Linux
- Nsa Hack Tools
- Hacker Tools For Windows
- Hacking Tools For Pc
- Black Hat Hacker Tools
- Hacking Tools For Mac
- Physical Pentest Tools
- Hack Tools Github
- Pentest Tools Linux
- Hack App
- What Are Hacking Tools
- Hackrf Tools
- What Are Hacking Tools
- Nsa Hacker Tools
- Free Pentest Tools For Windows
- Pentest Tools Subdomain
- Hacking Tools 2019
- Pentest Recon Tools
- What Are Hacking Tools
- Game Hacking
- Hack Rom Tools
- Hack Tools 2019
- Hackrf Tools
- Hacker Hardware Tools
- Hacker Tools For Mac
- Hacking Tools And Software
- Pentest Tools Framework
- Hack Tools For Games
- Github Hacking Tools
- Hacker Tools For Mac
- Hacker Tools Apk Download
- Hacking Tools Download
- Pentest Tools For Windows
- New Hacker Tools
- Hackrf Tools
- What Are Hacking Tools
- Pentest Tools
- Pentest Tools Framework
- Hack Tools Github
- Pentest Tools Review
- Computer Hacker
- Hacker Security Tools
- Blackhat Hacker Tools
- Hacking App
- Pentest Tools Website
- Nsa Hacker Tools
- Hacking Tools For Windows
- What Is Hacking Tools
- Computer Hacker
- Hacking Tools For Kali Linux
- Github Hacking Tools
- Pentest Tools Port Scanner
- New Hacker Tools
- Hack Tools Pc
- Usb Pentest Tools
- Hacker Tools Apk
- Beginner Hacker Tools
- How To Hack
- Pentest Tools For Windows
- Hackers Toolbox
- Hacker Tools For Ios
- Tools 4 Hack
- Pentest Tools Github
- Pentest Tools For Ubuntu
- Free Pentest Tools For Windows
- Hack Tools Online
- What Are Hacking Tools
- Hacking Tools
- Pentest Tools Free
- Pentest Tools Windows
- Hack Tools Pc
- Hacks And Tools
- Pentest Tools Port Scanner
- Hacking Tools For Kali Linux
- Top Pentest Tools
- Pentest Tools For Mac
- Hack Tools Online
- Pentest Tools Linux
- Hackrf Tools
- How To Hack
- Hacking Tools Download
- Hacking Tools Name
- What Is Hacking Tools
- Hacking Tools Online
- Hack Tools
- Best Pentesting Tools 2018
- Hacking Tools For Pc
- Hacker Tools For Ios
- Hacker
- Hack Tools For Games
- Tools For Hacker
- Hacking Tools For Windows Free Download
- Hackrf Tools
- Hacking Tools 2020
- Termux Hacking Tools 2019
- World No 1 Hacker Software
- Pentest Tools Tcp Port Scanner
- Nsa Hack Tools
- Hacker Tools List
- Nsa Hack Tools Download
- Tools Used For Hacking
- Hack Tool Apk No Root
- Hack App
- Bluetooth Hacking Tools Kali
- Hackrf Tools
- Hacker Search Tools
- Game Hacking
- Pentest Tools Nmap
- Hack Tools For Mac
0 comments:
Post a Comment