Skip to content
KitploitKITPLOIT
ToolsBlog
Log in
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
sbox — Compile-time AES string obfuscation for C++ | Kitploit
Tools/GitHubGitHub/x86byte/sbox
Static AnalysisEncryption/Decryption ToolsReverse EngineeringCryptographyBinary Analysis
GitHubx86byte/sbox

sbox

Compile-time AES string obfuscation for C++

View Repository
11010745 months agoReviewed by Kitploit
Share

sbox - Compile-time AES string obfuscation for C++

Standard solutions rely on length + "#" + string. That is trivial to reverse. sbox utilizes a constexpr AES-128 block cipher to mutate strings into high-entropy noise.

The Story

During the Neetcode "Encode and Decode Strings" challenge, I ported the AES engine from my obfuscation project, Obfusk8.

The implementation passed in 7ms on the first submission. Cryptographic security shouldn't be a trade-off for performance.

Features

  • No Delimiters: Fixed-width headers and block mutation replace predictable separators.
  • Binary Safe: Effortlessly handles raw payloads and null bytes.
  • Static Stealth: Plaintext is eliminated at compile-time. Using the provided macros, strings.exe (or strings in linux) returns zero results.

How to Use

Check the EXAMPLES folder for implementation details:

  1. Multi-String Example (sbox_test.cpp): Demonstrates how to handle a vector<string> using the _OBF(str) macro for batch processing. Useful for transit-ready obfuscation.

  2. Single String Example (sbox_test1.cpp): Demonstrates atomic materialization using the ObfStr(str) macro. Best for single variable assignments:

    string s = ObfStr("ama obfuscation addicted");
    

Performance

7ms runtime. Proving that overkill can still be optimal.


Author: x86byte

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    732
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    506
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    405
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    342
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    261
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    259

Explore all tools

Browse our collection of tools

View all tools →