the_open_door
coffee
ESEN
← Tools

proxychains

Routes any tool through a SOCKS proxy (pivoting).

Forces any tool through a proxy (usually the SOCKS from ssh -D or chisel), so that nmap, smbclient or netexec reach the internal network through the pivot. With SOCKS proxies only TCP connect scanning (-sT) works.

Family Pivoting & tunnelling

Flags -q

Concepts Local port forwarding (SSH tunnel), Dynamic Port Forwarding (SOCKS)

Cheatsheet proxychains

Installation

sudo apt install -y proxychains4
# configure the socks proxy in /etc/proxychains4.conf

Useful commands2 commands · 1 step

  • Point proxychains at the tunnel's SOCKS/etc/proxychains4.conf -> socks5 127.0.0.1 1080

Appears in

Some machines where its use is documented; not an exhaustive list.