Skip to content

Dynamic Port Forwarding with SSH and SOCKS Tunneling

ℹ️ Informations

Question

You have successfully captured credentials to an external facing Web Server. Connect to the target and list the network interfaces. How many network interfaces does the target web server have? (Including the loopback interface)

📋 Walkthrough

Use provided credentials ubuntu:HTB_@cademy_stdnt!

ssh ubuntu@10.129.12.3

Answer

*


Question

Apply the concepts taught in this section to pivot to the internal network and use RDP (credentials: victor:pass@123) to take control of the Windows target on 172.16.5.19. Submit the contents of Flag.txt located on the Desktop.

📋 Walkthrough

Use provided credentials victor:pass@123.\ Use SSH to open a Dynamic Portforwarding

ssh -D 9050 ubuntu@10.129.12.3
Then let's use xfreerdp with proxychains
proxychains xfreerdp /v:172.16.5.19 /u:victor /p:pass@123

Answer

[REDACTED]