Post-exploitation and Lateral Movement

A tester on a compromised Linux host in the DMZ needs it to accept connections on TCP 8443 and pass them to an internal web server on TCP 443. Which method does this?

Show the answer

Correct answerB. Run a socat relay from TCP 8443 to the internal host

AWhy not this: Responder answers broadcast name queries to capture credentials; it does not forward connections.

BWhy this is right: A socat relay accepts connections on one port and forwards them to a chosen host and port.

CWhy not this: A WMI event subscription runs actions on system events; it does not listen and forward traffic.

DWhy not this: A WinRM listener serves remote management requests; it does not pass traffic on to another server.

A socat relay listens on one port and forwards the traffic to another host and port, so the DMZ host passes tester connections to the internal server. Responder poisons name resolution to capture authentication and does not forward arbitrary traffic.