ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
C/C++

C++ Compile-time string obfuscation/encryption Header

Submitted by Remio at 18-04-2025, 01:13 PM


C++ Compile-time string obfuscation/encryption Header
97 Views
Remio's Avatar'
Remio
Offline
#1
This header is example of a lightweight compile-time string obfuscation techniques to protect sensitive string literals (API names, file extensions etc) in c++ binary or DLL on Windows 10/11. , it hides strings from static analysis using constexpr encryption with a Linear congruential Engine random key generation and have minimal runtime overhead. Perfect for PoC malwares, red team tools, or stealth-focused research.

- Compile-time encryption via Linear Congruential Engine for random key generation
- support for ANSI and Unicode with OBF_STR/OBF_WSTR macros or you can defining your own.
- uses modular arithmetic and ext. euclidean algorithm for reversible encryption
- use random seed derived from TIME for unique builds
- Prime number-based keys for robust encryption
- Zero dependencies, written in C++ MSVC
Sinister.ly: https://sinister.ly/User-RemyQ
Telegram: t.me/Evida_enc
Telegram: t.me/remyq_demo
Onion V3: evidaa3mhfdlyx4wbqvyri3xzslpgbl7qpuj5ijz2dbusfivn7nskpad.onion
0
Reply


Messages In This Thread
C++ Compile-time string obfuscation/encryption Header - by Remio - 18-04-2025, 01:13 PM


Users browsing this thread: 1 Guest(s)