Post-exploitation and Lateral Movement

A scan of a Linux workstation shows TCP 5902 open and TCP 3389 closed. What is the MOST likely service?

Show the answer

Correct answerB. A VNC server for display :2

AWhy not this: X11 uses 6000 plus the display number, so display :2 would be on TCP 6002.

BWhy this is right: VNC uses 5900 plus the display number, so 5902 maps to display :2.

CWhy not this: RDP can be moved, but 5902 matches the VNC display pattern and nothing suggests RDP.

DWhy not this: Nothing ties 5902 to SSH; it is a VNC display port, not an alternate SSH port.

VNC listens on TCP 5900 plus the display number, so 5902 is display :2. An X11 server for display :2 would use TCP 6002, and an RDP listener that was moved would not follow this numbering pattern.