Post-exploitation and Lateral Movement

Service discovery shows TCP 5900 open on a Linux workstation, and TCP 3389 is closed. The tester wants to reach the workstation's graphical desktop. Which service is this?

Show the answer

Correct answerC. VNC

AWhy not this: RDP uses TCP 3389 by default, and that port is closed on this host.

BWhy not this: SSH uses TCP 22 and gives a text shell by default, not a desktop on TCP 5900.

CWhy this is right: VNC listens on TCP 5900 by default and provides remote graphical desktop access.

DWhy not this: JetDirect is raw printing on TCP 9100 and has nothing to do with desktop access.

TCP 5900 is the default port for VNC, which shares a graphical desktop and is common on Linux hosts. RDP uses TCP 3389, which is closed here.