wbenny

wbenny / scfw

Public

A cross-platform C++ framework for building Windows shellcode

159
14
69% credibility
Found Feb 08, 2026 at 37 stars 4x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
C++
AI Summary

A cross-platform C++ framework for creating compact, position-independent code blobs that execute in Windows user-mode processes or kernel space.

How It Works

1
🔍 Discover scfw

You stumble upon this toolkit while looking for ways to experiment with tiny code snippets that can run inside Windows programs or the system core.

2
🛠️ Prepare your setup

Gather the free building tools on your Mac, Linux, or Windows computer—it handles downloading what it needs automatically.

3
✍️ Write your snippet

Copy an example or craft a simple action like printing a message or drawing a triangle using the easy template.

4
🚀 Build the magic blob

Hit build, and it crafts a super-compact file that finds everything it needs to run on its own inside Windows.

5
🧪 Test it safely

Use the handy runner tool on Windows to load your snippet into memory and watch it go.

Success—It runs!

Your code executes perfectly within the program or system, giving you that thrill of a working experiment.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 37 to 159 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is scfw?

scfw is a cross-platform C++ framework on GitHub for building Windows shellcode from Linux, macOS, or Windows hosts. It compiles your C++ code into tiny position-independent binaries that run in user-mode or kernel-mode on x86/x64 Windows, handling runtime import resolution without external APIs. Developers get extracted shellcode blobs ready for injection, plus a scrun tool to test them on Windows.

Why is it gaining traction?

Unlike traditional shellcode generators tied to Windows toolchains, scfw enables cross-platform C++ development with CMake and clang, producing sub-4KB payloads like an OpenGL triangle renderer. Features like hash-based imports, optional XOR string obfuscation, and self-cleanup stand out for stealthy, compact code. Its examples cover real scenarios from console output to kernel queries, drawing security devs to this cross-platform GitHub gem.

Who should use this?

Red team operators crafting process injection payloads, VMI researchers injecting into Windows processes from Linux/macOS, or kernel hackers prototyping without a full WDK setup. Ideal for cross-platform C++ app experiments needing memory-resident Windows code, like dynamic UI or game engine prototypes from shellcode.

Verdict

Grab scfw if you need cross-platform C++ shellcode for Windows—its docs and examples make starting fast, despite 87 stars signaling early maturity. Credibility score of 0.70% means vet it heavily for production, but it's a solid pick for niche security tooling in 2025.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.