Post-exploitation and Lateral Movement

On a compromised workstation, a tester needs to list the internal hosts it currently has established TCP sessions with, to spot servers an administrator uses. Which built-in utility shows this?

Show the answer

Correct answerB. netstat

AWhy not this: It enumerates computers or shares visible on the network, not live sessions from this host.

BWhy this is right: It lists active connections with remote addresses, ports and states, including ESTABLISHED sessions.

CWhy not this: It shows the routing table, which describes paths to networks, not current sessions.

DWhy not this: It searches text for patterns and does not report network connections.

Netstat lists active TCP connections with local and remote addresses, ports and states, so established sessions show which internal servers the host talks to. Net view lists computers or shares visible on the network, not the host's live connections.