r/redteamsec • u/masiroo • 5h ago
reverse engineering HimitsuObfuscator: Whitelist-driven C/C++ obfuscator with LLVM 17
https://github.com/HimitsuShell/HimitsuObfuscator
5
Upvotes
r/redteamsec • u/masiroo • 5h ago
1
u/masiroo 5h ago
Obfuscation can cause build errors or unexpected runtime behavior when transformations are applied too broadly.
I built each obfuscation pass around a whitelist, so only instructions considered safe for each transformation are selected.
It supports Linux on x86_64 and aarch64, with control flow flattening, bogus control flow, instruction substitution, string encryption, and basic block splitting