HimitsuObfuscator is a GPL-free C/C++ obfuscator built on LLVM 17. The project was developed without using GPL, AGPL, or other licenses that may restrict commercial use. Every obfuscation pass operates on a whitelist principle: only instructions known to be safe are transformed, which helps keep builds and programs stable.

# download obfuscator
curl -LO https://github.com/HimitsuShell/HimitsuObfuscator/releases/download/v2.1.0/himitsu_obfuscator.tar
tar -xvf himitsu_obfuscator.tar
# create sample source
vim main.c
-----------------------------
#include 
int main() {
  printf("Hello World!\n");
  return 0;
}
-----------------------------
# build and run (x86_64-linux-gnu)
apt install -y build-essential
./bin/clang --target=x86_64-linux-gnu -mllvm -sobf main.c -o main 
./main

Supported targets include x86_64-linux-musl, aarch64-linux-gnu, aarch64-linux-musl, and others. The tool provides several obfuscation passes: control flow flattening (fla), bogus control flow (bcf) with adjustable probability (bcf_prob, default 30) and iteration count (bcf_loop, default 1), instruction substitution using arithmetic operations (sub) with loop control (sub_loop), string encryption (sobf), and basic block splitting (split) where the number of splits can be configured (split_num, default 2).

Selective obfuscation is supported through function annotations. Applying the "sobf" or "nobcf" attributes to a function disables the corresponding pass for that function. The developers plan to add support for indirect branches, indirect calls, and indirect global variables in future releases.

The obfuscator requires LLVM 17.0.6 and supports C and C++ languages (or LLVM IR). Target platforms currently include Linux on x86_64 and aarch64, with planned support for armv7, riscv64, and win11. Minimum requirements specify Ubuntu 24.04, an x86_64 CPU with 6 cores and 12 threads reference configuration, 16GB RAM, and 10GB SSD.

A notable build option: when using bogus control flow (bcf), the obfuscator advises against compiling with -g (debug info), as debug information skips obfuscation for affected sections.

Discussion and adoption inquiries are handled through GitHub issues/discussions or email at hjyun@mushsw.com. The project is sponsored by the Pyeongtaek Industrial Promotion Agency (South Korea), a government-affiliated public institution.

license:
  - MIT License
  - all copyleft (gpl/agpl) removed. fully safe for commercial use.
  - this repository provides prebuilt binaries, not the source code for the obfuscation passes.
  - [HimitsuShell CE] notice applies to HimitsuShell only, not HimitsuObfuscator.

The license is MIT, with all copyleft (GPL/AGPL) removed, making it fully safe for commercial use. An important distinction: the repository provides prebuilt binaries, not the source code for the obfuscation passes themselves. A [HimitsuShell CE] notice applies to HimitsuShell only, not to HimitsuObfuscator.

For business inquiries, the team can be contacted at hjyun@mushsw.com. Pricing, setup information, and commit history are available upon request.