Post-exploitation and Lateral Movement

A tester's compromised internal server can only make outbound connections to the tester's server on TCP 443, and inbound connections to it are blocked. The tester wants to reach the internal subnet from the tester's own machine. What should the tester do?

Show the answer

Correct answerC. Start a reverse tunnel from the compromised server back to the tester's server

AWhy not this: WinRM is also an inbound connection to the server on TCP 5985 or 5986, so the same block applies.

BWhy not this: A static route needs a next hop the tester's machine can reach, and the blocked pivot is not one.

CWhy this is right: The pivot initiates the outbound connection on TCP 443, so the tester gets a path inward without inbound access.

DWhy not this: A listener on the pivot needs an inbound connection from the tester, which the firewall blocks.

A reverse tunnel is started from the pivot outward, so it works when only outbound traffic is allowed. The tester's tools then send traffic through it. A SOCKS proxy on the pivot is useful, but the tester could not connect to it because inbound traffic is blocked.