Skip to main content

Overview

Ligolo-ng creates encrypted tunnels using a TUN interface. No SOCKS proxy needed — traffic routes natively through the kernel. Faster and more stable than chisel/proxychains.

Download

GitHub

Download both proxy (attacker) and agent (victim). Match OS and architecture.

Build from source


Setup — Attacker

Create TUN interface

Start proxy

Default listener: 0.0.0.0:11601 Custom port:

Setup — Victim

Transfer agent

Connect back

Linux:
Windows:

Start Tunnel

In proxy console:
Select the active session, then:

Add route to internal network

Now access internal hosts directly:

Double Pivot

Reach a third network through two compromised machines.

Scenario

Step 1 — First pivot (already done)

Step 2 — Upload agent to Victim2

Use listener (see below) or transfer through Victim1.

Step 3 — Add listener on Victim1

In proxy console, select Victim1 session:

Step 4 — Connect Victim2 agent through Victim1

On Victim2:

Step 5 — Route third network

Select Victim2 session in proxy, specify interface:

Port Forwarding (Listener)

Expose attacker port through victim. Useful for reverse shells and file transfer through pivot.

Reverse shell through pivot

In proxy console:
Victim2 sends reverse shell to Victim1 IP on port 4444 → arrives on attacker’s port 4444.

File server through pivot

Start web server on attacker port 80. Internal hosts download from Victim1_IP:8080.

List active listeners

Remove listener


Useful Commands (Proxy Console)


Troubleshooting