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
Related news
- Hacker Tools Online
- Hacking App
- What Is Hacking Tools
- Easy Hack Tools
- Kik Hack Tools
- Pentest Tools Port Scanner
- World No 1 Hacker Software
- New Hacker Tools
- Pentest Tools Port Scanner
- New Hack Tools
- Pentest Tools Apk
- Black Hat Hacker Tools
- World No 1 Hacker Software
- Underground Hacker Sites
- Pentest Tools Windows
- Pentest Tools Url Fuzzer
- Hacking Tools Free Download
- Pentest Tools Github
- Game Hacking
- Pentest Tools Android
- Hack Tools For Pc
- Pentest Tools For Android
- Hacker Tools Github
- Nsa Hacker Tools
- How To Hack
- Hack Tools Pc
- Hacking Tools Online
- Hacking Tools Github
- Hack App
- Pentest Tools Website
- Hack Tools For Windows
- Pentest Tools For Android
- Hack App
- Pentest Recon Tools
- Nsa Hack Tools
- Hack Tool Apk
- Hacking Tools Name
- Android Hack Tools Github
- How To Hack
- Hacking Tools Github
- Hacker Search Tools
- Hacker Tools List
- Wifi Hacker Tools For Windows
- Pentest Tools Website Vulnerability
- Hacker Tools Software
- Pentest Tools For Windows
- Hacking Tools Windows
- Tools Used For Hacking
- Hacker Tools Apk
- Underground Hacker Sites
- Hacker
- Hacking Tools Hardware
- Hack Tools For Mac
- Hacker Tools For Windows
- Pentest Tools For Ubuntu
- Pentest Tools Nmap
- World No 1 Hacker Software
- Pentest Tools Framework
- Ethical Hacker Tools
- Hacker Hardware Tools
- Hack Tool Apk
- Kik Hack Tools
- Hack Tool Apk
- Hack Tools For Windows
- Pentest Tools Subdomain
- Hacking Tools Free Download
- Kik Hack Tools
- Tools 4 Hack
- Hackers Toolbox
- Hacking Tools For Windows Free Download
- Pentest Tools Bluekeep
- Hack Tools For Windows
- Hacking Tools And Software
- New Hacker Tools
- Termux Hacking Tools 2019
- Pentest Tools
- Hacker Tools 2019
- Hack Tool Apk
- Hacking Tools And Software
- Hack Tools Pc
- Usb Pentest Tools
- Pentest Tools Free
- New Hacker Tools
- Best Pentesting Tools 2018
- Tools 4 Hack
- Nsa Hack Tools
- Hacker Tools Online
- Hacking Tools For Windows
- Pentest Tools Linux
- Pentest Tools Linux
- Hacking Tools For Pc
- Hacker Tools For Mac
- Pentest Tools Alternative
- Pentest Tools Online
- Hacking Tools And Software
- Hacking Tools Hardware
- Tools For Hacker
- Pentest Tools For Android
- Underground Hacker Sites
- Hacker Tools Free
- Hacker
- Hack App
- Pentest Automation Tools
- Hack Tools Pc
- New Hacker Tools
- Hacking Tools 2020
- Hack Apps
- Pentest Tools Port Scanner
- Bluetooth Hacking Tools Kali
- Hacker Tools Mac
- Hacker Tool Kit
- Pentest Tools Github
- How To Install Pentest Tools In Ubuntu
- Pentest Recon Tools
- Hacker Search Tools
- Hacking Tools For Kali Linux
- Pentest Tools Port Scanner
- Hacking Tools And Software
- Pentest Tools Open Source
- Hacks And Tools
- Pentest Tools For Ubuntu
- Pentest Tools Open Source
- Best Pentesting Tools 2018
- Hacking Tools Kit
- How To Hack
- What Is Hacking Tools
- Hacker Security Tools
- Github Hacking Tools
- Beginner Hacker Tools
- Hack Tools For Games
- Hack Tools Pc
- Hack Tools Pc
- What Are Hacking Tools
- Hacking Tools For Mac
- Termux Hacking Tools 2019
- Hack Tools For Mac
- Tools For Hacker
- How To Install Pentest Tools In Ubuntu
- Beginner Hacker Tools
- Hacker Tools For Ios
- Ethical Hacker Tools
- Hack Rom Tools
- Hack Tools Download
- Hacking Tools 2019
- Tools 4 Hack
- Hacker Tools For Mac
- Pentest Tools Kali Linux
- Hak5 Tools
- Pentest Tools Free
- Computer Hacker
0 comments:
Post a Comment