Every network is a series of boundaries — DMZs, flat segments, firewalled subnets, air-gapped admin VLANs. Once you own a host, pivoting is how you reach everything behind it. This module covers the full toolbox: SSH tunnels, SOCKS proxies, meterpreter routing, HTTP/DNS/ICMP covert channels, and the Windows-side tooling for environments where Linux-native tools don’t run.
Quick Reference
- 📋 Cheatsheet & Checklist — every tool, every mode, one command each
Sections
- Fundamentals — forward vs reverse, local vs remote vs dynamic, SOCKS mechanics
- SSH Tunneling —
-L,-R,-Dflags and when each applies - Meterpreter & Metasploit Routing — autoroute, portfwd, socks_proxy
- Chisel — SOCKS over HTTP(S) — the modern go-to
- Sshuttle — “poor man’s VPN” via SSH
- Socat & Rpivot — port redirection and HTTP CONNECT pivots
- Windows Port Forwarding — netsh portproxy, plink, SocksOverRDP
- DNS Tunneling — dnscat2, dns2tcp, iodine
- ICMP Tunneling — ptunnel, icmpsh when everything else is blocked
- Detection & Prevention — defender’s view: baselines, egress filtering, SIEM detections
