Modern Shellcode Template
Build position-independent implants for 32/64-bit Windows with compile-time string hashing, dynamic API resolution, and modern C++20 features.
Quick Start
Get up and running with Stardust in minutes
Build the shellcode
Compile both 32-bit and 64-bit versions of the shellcode.This produces
bin/stardust.x64.bin and bin/stardust.x86.bin.Core Features
Everything you need to build modern implants
Position Independence
Write shellcode that runs from any memory address with full PIC support.
API Resolution
Dynamically resolve Windows APIs from PEB at runtime using hash-based lookup.
String Obfuscation
Compile-time FNV1a hashing to hide strings from static analysis.
Debug Support
Built-in debug mode with DbgPrint for development and testing.
Explore the Documentation
Learn how to customize and extend Stardust for your needs
Architecture
Understand how Stardust components work together.
Adding APIs
Extend your implant with custom Windows APIs.
Module Stomping
Learn the module stomping injection technique.
Basic Example
Walk through the default MessageBox implementation.
API Reference
Complete reference for all Stardust APIs.
Building
Build options, compiler flags, and optimization.
Ready to build your first implant?
Follow our quickstart guide to compile and test Stardust shellcode in under 5 minutes.
Get Started Now