Is port 5900 (VNC) exposed to the internet, and how strong is its password really?
Port 5900 is the default port for VNC, the cross-platform remote-desktop protocol built on RFB (Remote Framebuffer Protocol). Like RDP, it's named in U.S. cybersecurity advisories as a common ransomware entry point when exposed directly, and VNC adds its own wrinkle: the original RFB specification's classic authentication scheme caps the password at 8 characters, a legacy limit that makes brute-forcing an exposed, password-only VNC server meaningfully easier than it should be.
By AdminKit team, Netbase JSC · Updated October 23, 2026
Why VNC’s password security is weaker than it looks
VNC is built on RFB, the Remote Framebuffer Protocol (RFC 6143), and its original “VNC Authentication” security type truncates the user’s password to 8 characters (padding shorter ones with nulls) and uses it as a DES encryption key for a challenge-response exchange. The RFC itself says plainly that “this type of authentication is known to be cryptographically weak and is not intended for use on untrusted networks” — exactly the situation a VNC server forwarded directly to the internet is in. Many VNC server implementations still default to this scheme or offer it as an option.
Why this matters for ransomware risk specifically
The same joint CISA & FBI advisory (AA22-137A) that names RDP a top initial-access vector for ransomware covers remote-access services generally, and VNC shares the core problem: once port 5900 is reachable from the internet, an attacker can run automated credential attacks against it, and if VNC Authentication’s 8-character/DES limitation is in play, those attacks have an easier target than a modern authentication scheme would present.
How to check your own exposure
AdminKit’s planned open ports check is designed to test whether port 5900 on your own public IP responds from outside your network. Confirm your current public IP with what is my IP first.
How to fix it
- Don’t forward port 5900 to the internet directly — put VNC access behind a VPN or zero-trust tunnel, the same recommendation as for RDP.
- If your VNC server supports it, use a stronger authentication scheme than classic VNC Authentication; several modern VNC implementations support TLS-based or SSH-tunneled connections instead.
- Use a long, unique password regardless — the 8-character DES limitation is a reason to add a tunnel, not a reason a weaker password is “good enough” without one.
See RDP and VNC exposed to the internet for the shared zero-trust alternative and more on why both protocols end up targeted the same way.
Defensive use only
Every check this page links to is for assets you own or are explicitly authorized to test. Never scan, probe, or attempt to connect to a network or device you don’t control — AdminKit’s active checks only ever run against the IP making the request or an asset you’ve verified ownership of. See our Disclaimer and Acceptable Use Policy for the full terms.
This guide is general information, not a security audit of your specific network — see our disclaimer for what AdminKit's guidance does and does not commit to.
Frequently asked questions
Is VNC's classic password authentication actually that weak?
Per RFC 6143 itself, yes — the password is truncated to 8 characters and used as a DES encryption key, and the RFC states this authentication type "is known to be cryptographically weak and is not intended for use on untrusted networks."
Is VNC named in the same ransomware advisories as RDP?
The joint CISA & FBI advisory AA22-137A on initial-access techniques covers remote-access services broadly, and VNC shares RDP's core exposure problem: a reachable login prompt that's attractive to automated credential attacks.
Do all VNC servers use the weak 8-character scheme?
No — many modern VNC implementations support stronger options like TLS-based connections or SSH tunneling. The point is to check what your specific server is actually configured to use, not assume.
What's the single most effective fix?
Don't forward port 5900 to the internet directly — put VNC access behind a VPN or zero-trust tunnel, the same recommendation as for RDP, regardless of which authentication scheme the server supports.
Want AdminKit to watch this for you?
Free checks tell you the state today. Protective DNS and monitoring tell you when it changes.