Transport security

Standard VNC does not encrypt the session, so screen contents, keystrokes, and the authentication challenge-response cross the network in cleartext. When a server offers weak and strong RFB security types together, the unauthenticated selection may also permit downgrade to a weak type.

1 min de lecturaactualitzat el 21 d’oct. del 2026florianamette1 col·laborador
Pregunta al teu assistent (MCP)Edita a GitHub

The None and VNC Authentication security types send subsequent RFB protocol data without encryption. Other registered or vendor mechanisms can add TLS, SASL protection, RSA-AES, SSH tunneling, or other security properties. Determine exposure from the type and subtype selected for the actual session, including certificate or peer validation where applicable. When a server offers both protected and cleartext types, unauthenticated negotiation may permit an on-path attacker to steer a compatible client toward a weaker type the server already accepts; a server offering only protected types is not bypassed by inventing another selection.

bash
# inventory advertised security types; this alone does not prove which type a session uses
nmap -p5900 --script vnc-info <target>
tcpdump -i eth0 -w vnc.pcap port 5900          # capture for analysis

Subtopics#

References#