# Show GN: HimitsuShell - 쉘 스크립트를 난독화된 바이너리로 컴파일 (내장 쉘 인터프리터)

> Clean Markdown view of GeekNews topic #31321. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=31321](https://news.hada.io/topic?id=31321)
- GeekNews Markdown: [https://news.hada.io/topic/31321.md](https://news.hada.io/topic/31321.md)
- Type: show
- Author: [mushstory](https://news.hada.io/@mushstory)
- Published: 2026-07-11T13:20:59+09:00
- Updated: 2026-07-11T13:20:59+09:00
- Original source: [himitsushell.com](https://himitsushell.com/)
- Points: 3
- Comments: 0

## Topic Body

쉘 스크립트를 고객사에 배포할 때 소스 코드가 그대로 드러나는 문제를 해결하기 위해 만들었습니다.  
  
기존 shc(쉘 스크립트 컴파일러) 같은 도구는 쉘 스크립트를 단순히 C 코드로 감싸서 바이너리로 만듭니다.  
그래서 auditd나 bpftrace 같은 커널 수준 모니터링 도구를 사용하면 스크립트가 쉽게 드러납니다.  
  
HimitsuShell은 자체 쉘 인터프리터를 바이너리에 직접 내장했습니다.  
운영체제의 /bin/sh나 /bin/bash에 의존하지 않아, 커널 수준 모니터링 도구로도 스크립트가 그대로 노출되지 않습니다.  
또한 난독화와 안티디버깅 기술을 적용해 리버스 엔지니어링 난이도를 높였습니다.  
  
웹에서 바로 사용할 수 있도록 공개해 두었습니다.  
비슷한 문제를 겪는 다른 개발자분들께도 도움이 되면 좋겠습니다.

## Comments



_No public comments on this page._
