Chisel
git clone https://github.com/jpillora/chisel.git
https://github.com/jpillora/chisel/releasesBuild Binary
cd chisel
go buildForward Pivot
Run Server on Pivot Host
./chisel server -v -p 1234 --socks5
.\chisel.exe server -v -p 1234 --socks5Connect to Chisel Server - Will Tell You the Listening Port to Put in proxychains.conf
./chisel client -v 192.168.49.125:1234 socks
.\chisel.exe client -v 192.168.49.125:1234 socksEdit proxychains.conf
vim /etc/proxychains.conf
socks5 127.0.0.1 1080Pivot
proxychains xfreerdp /v:172.16.5.19 /u:victor /p:pass@12345Reverse Pivot
Start Chisel on Attack Host
Connect to Server from Target
Edit proxychains.conf
chisel.exe works on Windows
Reverse SOCKS Proxy (Full Example)
On attacker:
On pivot host:
Attacker side confirms the tunnel:
Configure proxychains (/etc/proxychains4.conf):
Now route tools through the tunnel:
Remote Port Forward (Single Port)
Forward a specific internal service back to attacker:
Binds on attacker's 0.0.0.0:9999 so you can browse http://localhost:9999 to hit the internal service.
Simple Port Forward / Reverse Port Forward
Attack box
Target
Last updated