Settings

Theme

Show HN: HimitsuShell – DRM for Shell Scripts with Obfuscation

github.com

2 points by mushstory 11 days ago · 0 comments · 1 min read

Reader

I built this because of the problem of source code being fully exposed when deploying shell scripts to client companies.

Existing tools like shc (a shell script compiler) wrap shell scripts in C code and convert them into binaries. Because of this, using kernel-level monitoring tools like auditd or bpftrace can easily expose the source code.

HimitsuShell embeds its own shell interpreter directly into the binary. It doesn't depend on the OS's /bin/sh or /bin/bash, so the source code isn't exposed as-is through kernel-level monitoring tools. It also applies obfuscation and anti-debugging techniques to raise the difficulty of reverse engineering.

It's up on GitHub, and you can also try it live at himitsushell.com I hope this helps other developers who are dealing with similar problems.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection