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 Software
- Pentest Tools Android
- Pentest Tools Nmap
- Hacker Tools For Mac
- Pentest Tools Free
- Blackhat Hacker Tools
- Best Hacking Tools 2019
- Hacking Tools For Mac
- Pentest Tools Url Fuzzer
- Hacking Tools Kit
- Physical Pentest Tools
- Hacker Tools 2020
- Pentest Tools Find Subdomains
- Hacker Tools 2019
- Hack App
- Black Hat Hacker Tools
- Hacking Tools For Pc
- Hack Tools Pc
- Hacking Tools 2020
- Hack Tool Apk No Root
- Hacker Tools For Windows
- Hack Tools Mac
- Hack Rom Tools
- Hack Rom Tools
- Hacks And Tools
- Pentest Recon Tools
- Pentest Tools List
- New Hacker Tools
- Tools 4 Hack
- Hacker Tools List
- Best Pentesting Tools 2018
- Best Hacking Tools 2020
- Top Pentest Tools
- Hacker Tools Apk Download
- Hacking Tools For Kali Linux
- Black Hat Hacker Tools
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Android
- Hacking Tools For Windows 7
- Pentest Tools Apk
- Hackers Toolbox
- Pentest Tools Alternative
- Hack Tools For Windows
- Hacker Tools Free
- Hacker Tools Linux
- Pentest Automation Tools
- Hacker Tools For Mac
- Computer Hacker
- Easy Hack Tools
- Hacking Tools For Windows 7
- Tools For Hacker
- Hack Website Online Tool
- Hacker Techniques Tools And Incident Handling
- Hack Tool Apk No Root
- Blackhat Hacker Tools
- Pentest Tools Download
- Pentest Tools For Mac
- Termux Hacking Tools 2019
- Pentest Automation Tools
- Hacker Tools Mac
- Hack Tools For Mac
- Hackrf Tools
- Pentest Tools For Windows
- Hacking Tools Usb
- Hack And Tools
- Hacking Tools Online
- Nsa Hacker Tools
- Pentest Tools Alternative
- Hack Tools For Mac
- Growth Hacker Tools
- Pentest Tools For Android
- Hacker Hardware Tools
- Hack Tools For Games
- Hacking Tools For Windows 7
- Hack App
- Growth Hacker Tools
- Hacker Tools 2019
- Hack Tools For Pc
- Hack Tools Download
- Free Pentest Tools For Windows
- Pentest Tools Linux
- Hacker Tools For Mac
- Hacker
- Hackers Toolbox
- Hacker Tools 2020
- Black Hat Hacker Tools
- Pentest Tools
- Hacking Tools For Windows Free Download
- Hacker Tools For Windows
- Hacking Tools For Kali Linux
- Hacker Tools For Mac
- Nsa Hacker Tools
- Hacking Tools 2020
- Hacker Tools List
- Hacks And Tools
- Hack Website Online Tool
- Hacking Tools Free Download
- Hacking App
- Hack App
- Hacking Tools Software
- Hacker Tools
- Pentest Tools For Android
- Hacker Tools Free Download
- Hacker Tools Hardware
- Hacking Tools And Software
- Pentest Tools For Android
- Best Hacking Tools 2020
- Hacking Tools Kit
- Hacker Tools Windows
- How To Make Hacking Tools
- Hacking Tools Hardware
- Hacking Tools Hardware
- Android Hack Tools Github
- Wifi Hacker Tools For Windows
- Hacker Tools Apk
- Hack Tool Apk
- Nsa Hacker Tools
- Hacking Tools Hardware
- Game Hacking
- Android Hack Tools Github
- World No 1 Hacker Software
- Pentest Tools Website Vulnerability
- Nsa Hacker Tools
- Tools 4 Hack
- Nsa Hacker Tools
- Hack Tools For Ubuntu
- Hacker Tools Software
- Hacker Tools For Pc
- Hacking Tools Pc
- Pentest Tools For Android
- Nsa Hack Tools
- Pentest Tools Download
- Pentest Tools List
- Pentest Box Tools Download
- Hack Apps
- Hacking Tools Hardware
- Pentest Tools Online
- Hacking Tools For Kali Linux
- Hacker Tools Free
- Termux Hacking Tools 2019
- Nsa Hack Tools Download
- Hack Tools 2019
- Hack Tool Apk
- How To Make Hacking Tools
- Hacking Tools 2019
- Tools Used For Hacking
- Hackrf Tools
- World No 1 Hacker Software
- Pentest Tools Open Source
- Hacking Tools For Pc
- Tools For Hacker
- Hacking Tools Name
- Hacker
- Hack Tools For Pc
No comments:
Post a Comment