Name in API: service_vnc
Breach Risk: Medium
Factor: Network Security
Summary
service_vnc refers to the detection of a Virtual Network Computing (VNC) service running on a system. VNC is a graphical desktop-sharing system that allows remote access and control over a network. It uses the Remote Frame Buffer (RFB) protocol to transmit keyboard and mouse inputs from one device to another, displaying the graphical screen of the remote system in real time.
How does it work?
- Client-Server Architecture:
- The VNC server runs on the machine to be controlled
- The VNC client (or viewer) connects to the server and provides a graphical interface.
- Protocol:
- VNC uses the RFB protocol, typically over TCP port 5900 (or 5900+n for additional displays).
- Sessions:
- The client sends input (keyboard/mouse) events to the server.
- The server sends back the screen display updates.
Why it is a risk?
- Unencrypted Traffic:
- Default VNC implementations do not encrypt sessions, exposing sensitive data to network sniffing
- Weak Authentication:
- Many VNC servers use simple password authentication, which is vulnerable to brute-force attacks.
- Public Exposure:
- If VNC is exposed to the internet, attackers can attempt unauthorized access.
- Remote Control:
- A compromised VNC session gives full control of the target system, potentially leading to data breaches, lateral movement, or malware deployment
Anyone on the internet can connect without credentials, control the host, and access internal resources.
Self Evaluation
If you are using the SecurityScorecard platform to validate or investigate:
- Go to your Scorecard → Findings tab.
- Filter by Issue Type:
SERVICE_VNC. - Example Finding:
IP Address:
203.0.113.42
Port: 5900
Detected Banner: RFB 003.008
Detection Method: Port Scan
This means our scanner was able to connect to port 5900 and received a VNC response, confirming the service is exposed.
nmap -sV -p 5900 203.0.113.42
PORT STATE SERVICE VERSION 5900/tcp open vnc VNC (protocol 3.8)
This output shows the VNC service is reachable on port 5900, and responds with the Remote Framebuffer (RFB) version 3.8, which corresponds to a VNC protocol.
How to Mitigate
- Disable VNC if not in use.
- Restrict access via firewall or allow only over VPN.
- Strong authentication with complex passwords or certificates can be implemented.
- Encrypted tunnels (SSH, VPN) can be used to secure VNC sessions.
- Regularly audit and monitor remote access tools
Remediation
Endpoint configuration has been changed
- Select the finding => other resolution => I can not reproduce this issue and i think it's incorrect
- Select the finding => Report As Fixed