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
Continue reading
- Pentest Tools Nmap
- Hack Tools Mac
- Hacker Tools Github
- Hacker Tools Apk
- Pentest Tools Kali Linux
- Hacker Tools Github
- Hacks And Tools
- Hacking Tools
- Hack Tools Pc
- Hacking Tools Windows 10
- Hack Apps
- Hack Tools 2019
- World No 1 Hacker Software
- Hacker Tools Software
- Pentest Tools Apk
- Hacking Tools Download
- Hack Tools Pc
- Pentest Tools Review
- Hacking Tools For Windows Free Download
- Pentest Tools Website Vulnerability
- Hack Tools For Mac
- Pentest Tools Online
- Pentest Tools Download
- Hacker
- Hack Tools For Pc
- Hacking Tools Pc
- Black Hat Hacker Tools
- New Hack Tools
- Free Pentest Tools For Windows
- Hacking Tools Windows 10
- Hacker Tools Windows
- Pentest Reporting Tools
- Hacker Tools Online
- How To Hack
- Hacker Tools Windows
- Hacking Tools For Kali Linux
- Hak5 Tools
- Hacker Tools List
- Tools Used For Hacking
- Ethical Hacker Tools
- Hacking Tools And Software
- Pentest Tools For Mac
- How To Install Pentest Tools In Ubuntu
- Hacking Tools Kit
- Hack Tools
- Hacker Tools List
- Pentest Tools For Ubuntu
- Hack Tools Download
- Pentest Tools Website Vulnerability
- Hacker Tool Kit
- Easy Hack Tools
- Hack Tools Mac
- Hacker Tools List
- Hacker Tools Hardware
- Wifi Hacker Tools For Windows
- Hack Tool Apk
- How To Make Hacking Tools
- Pentest Reporting Tools
- Hacker Tools Free Download
- Hack Tools For Pc
- Tools For Hacker
- Hack Tools Download
- Hacker Tools
- Hacker Security Tools
- Hacker Tools Software
- Underground Hacker Sites
- Pentest Tools Github
- Hack Tool Apk No Root
- Hacker Search Tools
- Hack Tool Apk No Root
- Hack Tools For Mac
- Hacker Tools Apk Download
- Game Hacking
- Pentest Tools Windows
- Hacking Apps
- Growth Hacker Tools
- Hacking Tools For Kali Linux
- Nsa Hacker Tools
- Hak5 Tools
- Hacker Tools Apk
- What Is Hacking Tools
- Hack And Tools
- Pentest Tools Kali Linux
- Easy Hack Tools
- Hacker Tools
- Hacking Tools Free Download
- Hacker Hardware Tools
- Hack Tool Apk No Root
- Hacking Tools Online
- Install Pentest Tools Ubuntu
- Pentest Tools Online
- Hacker Tools Free
- Hacker Security Tools
- Pentest Tools List
- Hacker Tools Mac
- What Are Hacking Tools
- Tools Used For Hacking
- Hacker Tools Windows
- Tools For Hacker
- Pentest Tools Android
- Bluetooth Hacking Tools Kali
- Tools Used For Hacking
- Pentest Tools For Windows
- Top Pentest Tools
- Hacking Tools For Kali Linux
- Pentest Tools Tcp Port Scanner
- Pentest Automation Tools
- New Hacker Tools
- Hacker Hardware Tools
- Kik Hack Tools
- Termux Hacking Tools 2019
- Hacking Tools And Software
- Hack And Tools
- Pentest Tools Linux
- Black Hat Hacker Tools
- Hacking Tools Hardware
- Hacker Tools For Pc
- Hacking Tools For Games
- Pentest Tools For Ubuntu
- Pentest Tools For Android
- What Are Hacking Tools
- New Hack Tools
- Hacking Tools Usb
- Hacker Tools List
- Hacking Tools And Software
- Hacking Tools Kit
- Hacking Tools
- How To Make Hacking Tools
- Pentest Tools Review
- Hack Tool Apk
- Tools Used For Hacking
- Free Pentest Tools For Windows
No comments:
Post a Comment