Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
•
AI & KI NachrichtenHacking Without Boundaries - Michael Jenkins - PSW #946(01.10.2026 um 23:00 Uhr)
•••
IT Security NachrichtenDutch Spy Agency Warns Connected Cars Can Expose Private Conversations(02.10.2026 um 09:24 Uhr)
•
Malware / Trojaner / VirenOperation KillSwitch: Police Dismantle KillSec Ransomware Group(01.10.2026 um 20:08 Uhr)
•••
IT Security NachrichtenAI Agents Attempt SQL Injection While Searching Government Data(02.10.2026 um 16:19 Uhr)
•
IT Security NachrichtenNew infosec products of the week: October 2, 2026(02.10.2026 um 06:00 Uhr)
••
AI & KI NachrichtenHacking Without Boundaries - Michael Jenkins - PSW #946(01.10.2026 um 23:00 Uhr)
•••
IT Security NachrichtenDutch Spy Agency Warns Connected Cars Can Expose Private Conversations(02.10.2026 um 09:24 Uhr)
•
Malware / Trojaner / VirenOperation KillSwitch: Police Dismantle KillSec Ransomware Group(01.10.2026 um 20:08 Uhr)
•••
IT Security NachrichtenAI Agents Attempt SQL Injection While Searching Government Data(02.10.2026 um 16:19 Uhr)
•
IT Security NachrichtenNew infosec products of the week: October 2, 2026(02.10.2026 um 06:00 Uhr)
•
Intelligence View
⚡ tsecurity.de Intelligence

How to hide strings in C++ binaries with consteval

How to hide strings in C++ binaries with consteval — and why it beats xorstr The problem Every C++ binary has strings. strings.exe reads them. Competitors see y…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!




How to hide strings in C++ binaries with consteval — and why it beats xorstr






The problem



Every C++ binary has strings. strings.exe reads them. Competitors see your API keys. Reverse engineers find your logic. Anti-cheat detects your function names.






The old way — xorstr (constexpr XOR)







cpp
auto key = xorstr_("my_api_key");

Problem: constexpr depends on the optimizer. MSVC doesn't fold it — plaintext leaks to .rodata. Also: dangling pointer in xorstr_() macro (returns char* from temporary).

StealthLib — consteval (compiler-independent)
auto key = S("my_api_key");
consteval forces compile-time evaluation on every compiler. Plaintext is consumed during translation — never emitted. Verified by binary_scan_test on MSVC + GCC + Clang.

Differential testing
Same strings, same compiler, same platform:

StealthLib: 7/7 PASS
xorstr: 3/7 FAIL (dangling pointer)
What else is inside
Hash-based API resolution (no API names in binary)
4-channel anti-debug (PEB + NtQuery + rdtsc + DR registers)
IAT/EAT integrity checks
VM detection (CPUID + DMI + disk)
FIPS-180-4 SHA-256
Per-build key rotation (16 variants)
RAII auto re-encrypt guards
Quality
6 SAST tools clean: PVS-Studio (0 findings), SonarCloud (A ratings), CodeQL, Coverity (0.17 density), Semgrep, Codacy.

4.5 billion fuzz executions, 0 crashes. 40 mutation tests, 100% killed. 94.6% coverage.

GitHub
https://github.com/rolanfreeman6-png/stealthlib


Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten How to hide strings in C++ binaries with consteval

Thematisch verwandte Begriffe: hide, strings, binaries, with · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag