← Back to Dashboard

Stardust

// Modern Implant Template Masterclass

10
Modules
C++
Language
ASM
Assembly
752
Bytes (x64)

Build position-independent shellcode from scratch. No PE headers, no DLL, no loader stub — pure PIC implant code with compile-time hashing, PEB walking, and module stomping. By Cracked5pider (C5) — creator of the Havoc C2 Framework.

01 Beginner

Why Stardust Exists

The problem with reflective DLL loaders, and how Stardust takes a radically different approach.

02 Beginner

Modern C++ for Shellcode

Zero-cost C++ features: constexpr hashing, templates for type-safe API resolution, and decltype.

03 Beginner

Project Anatomy

Every file, every folder, and why it exists. Build pipeline from source to raw shellcode binary.

04 Intermediate

Position-Independent Code

RipStart, RipData, and the call/pop trick on both x86 and x64 architectures.

05 Intermediate

Compile-Time Hashing

DJB2 hashing computed at compile time via constexpr. Strings vanish from the binary.

06 Intermediate

PEB & API Resolution

Finding ntdll and kernel32 without importing a single function. Modern C++ meets the PEB.

07 Intermediate

The symbol<T> Template

Position-independent string access. How to use string literals in shellcode at any address.

08 Advanced

Linker Script & Sections

Three lines that control everything. Section ordering, declfn, and objcopy extraction.

09 Advanced

Module Stomping

Hiding shellcode inside a legitimate DLL. A loader-side injection technique for PIC payloads.

10 Advanced

Full Chain & Extending

Complete execution flow, adding new APIs, and building your own implant on top of Stardust.

References & Resources