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 Software
- How To Install Pentest Tools In Ubuntu
- Hack Apps
- How To Hack
- Hacking Tools Hardware
- Hack Website Online Tool
- Pentest Recon Tools
- Blackhat Hacker Tools
- Pentest Box Tools Download
- Hacker Tools For Mac
- Hack Tools For Pc
- Pentest Tools Free
- Usb Pentest Tools
- Hacker Tools For Ios
- Best Hacking Tools 2019
- Pentest Tools Website Vulnerability
- Pentest Tools For Mac
- Hacking Tools For Games
- Pentest Tools Tcp Port Scanner
- Pentest Tools For Windows
- Hacker Security Tools
- Pentest Tools Port Scanner
- Free Pentest Tools For Windows
- Pentest Tools List
- Hacking Tools Windows
- What Is Hacking Tools
- Hacker Tools Windows
- Hacker Tools For Pc
- Pentest Tools Review
- What Is Hacking Tools
- Pentest Reporting Tools
- Pentest Tools For Android
- Best Hacking Tools 2019
- Game Hacking
- Pentest Tools Apk
- Hack Tools For Ubuntu
- Hacking Tools For Mac
- Hacker Tools Free Download
- Physical Pentest Tools
- Best Hacking Tools 2020
- Pentest Tools
- Hacker Techniques Tools And Incident Handling
- Hacker Tools Linux
- Computer Hacker
- Hack Website Online Tool
- Hacking Tools Hardware
- Hacking Tools For Beginners
- Pentest Tools Online
- Install Pentest Tools Ubuntu
- Hack Apps
- Pentest Tools Free
- Beginner Hacker Tools
- Growth Hacker Tools
- What Are Hacking Tools
- Hacker Tools Software
- Hacking Apps
- Pentest Tools For Ubuntu
- Hacker Tools For Mac
- Pentest Tools Url Fuzzer
- Hacking Tools Windows 10
- Hak5 Tools
- New Hacker Tools
- New Hack Tools
- Hack Tools
- Hack Tools For Ubuntu
- Android Hack Tools Github
- Pentest Tools Github
- Hacking Tools For Pc
- Growth Hacker Tools
- Hack Tools For Pc
- Best Hacking Tools 2020
- Pentest Tools
- How To Install Pentest Tools In Ubuntu
- Hack Tools
- Hack App
- Growth Hacker Tools
- Pentest Tools Bluekeep
- Hack Tools Mac
- Hacker Tools For Mac
- Hacker Tools For Ios
- Nsa Hack Tools Download
- Pentest Tools Open Source
- Best Hacking Tools 2020
- Pentest Tools Website Vulnerability
- Wifi Hacker Tools For Windows
- Hacker Tools 2019
- Hacker Tools Mac
- Github Hacking Tools
- Hacker Tools Free Download
- Pentest Tools Online
- Hacker Tools Free
- Hacker Tools Free Download
- Tools 4 Hack
- Tools Used For Hacking
- Pentest Tools Review
- Pentest Tools List
- Growth Hacker Tools
- Underground Hacker Sites
- Hack Website Online Tool
- Hacking Tools For Pc
- Hack Rom Tools
- Hacker
- Hacker Tools Free Download
- Hacking Tools 2020
- Growth Hacker Tools
- Pentest Reporting Tools
- Beginner Hacker Tools
- Hacking App
- Pentest Tools Alternative
- Hacking Apps
- Hak5 Tools
- Pentest Tools Nmap
- Hackers Toolbox
- Pentest Tools Open Source
- Hack Apps
- Best Pentesting Tools 2018
- Nsa Hacker Tools
- Usb Pentest Tools
- Pentest Tools Url Fuzzer
- Hacker Tools Hardware
- Hack Tools Download
- Pentest Tools For Mac
- Nsa Hacker Tools
- Hacker Tools For Pc
- Hack Tools Pc
- Tools 4 Hack
- Hack Tools
- Hacker Tools Free Download
- Pentest Tools Android
- Hacking Tools Download
- Pentest Tools List
- Hacking Tools Windows 10
- New Hacker Tools
- Hacking Tools Name
- Hack Tools
- Hacking Tools For Windows Free Download
- Hacker Tools For Windows
- Tools Used For Hacking
- Pentest Tools For Mac
- Computer Hacker
- Hack Tool Apk
- Hacking Apps
- Hak5 Tools
- Tools For Hacker
- How To Hack
- Hak5 Tools
- Hacker Hardware Tools
- Pentest Tools Open Source
- Hack Tools Pc
- Hacks And Tools
- Pentest Tools Kali Linux
- Hack Rom Tools
- Hack Tools Pc
- Pentest Tools Port Scanner
- Hacking Tools Kit
- Hacking Tools Usb
- Hacker Tools Apk
No comments:
Post a Comment