Chisel
Chisel works in a client server way so the chisel binary needs to be on both the attacking machine and the compromised server.
Reverse Shell over SSH tunnel
Set up SSH tunnel and chisel server on your machine
Set up chisel client on compromised webserver
Connecting to chisel server (10.10.14.10) on port 1335
Anything coming into port 9999 put it out chisel server port 9999
Set up python server on port 9999 and download reverse shell from other machine
Repeat port forward but on nc listening port
Reverse SOCKS Proxy
First we need to set up the chisel server on our attacking machine
Next set up the client on the compromised server
R:socks
R means remotes. This tells chisel that the server is waiting for a proxy or port forward to be made
The connection will be made on port 1335 but the actual proxy is opened on port 1080. So we will be using 1080 to send traffic through the proxy.
Local Port Forward
A remote port forward is when we connect back from a compromised target to create the forward.
Start the chisel server on the compromised host (you will also have to open up the firewall port)
OR
Connect to the chisel server
Everything we send to 127.0.0.1:9999 will get sent to the target on 3306
Last updated