RDP, SMB, databases, directory services and device admin pages should not face the internet. How to find them, rank the risk and close them.
The ports that should not be open to the internet carry remote administration, file sharing, directory and database traffic. These include Remote Desktop Protocol (RDP), VNC, Telnet, SMB, NetBIOS, LDAP, and the listening ports of databases and caches such as Microsoft SQL Server, MySQL, PostgreSQL, MongoDB and Redis. The management pages of printers, network storage, cameras, routers and firewalls belong on the same list. Where staff or vendors need remote access, put these services behind a VPN or an authenticated gateway with multi-factor authentication, then confirm from outside the network that the port no longer answers.
Automated scanners sweep the public internet's address space all the time. Any service that answers on a public address gets found and probed, whether or not the business behind it has ever been targeted. A login prompt lets an attacker try guessed and stolen passwords at any hour. A service with a known vulnerability lets them try an exploit with no credentials at all.
ASD's Australian Cyber Security Centre ransomware guidance lists exposed remote access services such as RDP among common initial access methods. The ISM's networking guidance favours segmented networks where each zone reaches only the services it needs, and a management port on a public address works against that design.
RDP is often found exposed in small business estates. It gets opened for a remote worker or a support vendor and then stays open. An exposed RDP service attracts constant password guessing, and RDP has had serious pre-authentication vulnerabilities in the past. Put RDP behind a VPN or a remote desktop gateway that enforces multi-factor authentication, and close the direct port at the firewall. The VPN or gateway then becomes the internet-facing service, so keep it patched within the Essential Eight timeframes for internet-facing services.
VNC and similar screen-sharing tools carry the same exposure, sometimes with weak or no authentication, so treat them as you treat RDP.
Telnet sends credentials in cleartext, so replace it with SSH and close the Telnet port at the edge.
If SSH must face the internet, usually on a hosting server, use key-based authentication only, disable direct root login and restrict source addresses where you can.
SMB is Windows file and printer sharing, designed for internal networks. Worm outbreaks have spread through exposed SMB services, and SMB carries authentication traffic an attacker can abuse. Block SMB inbound at the edge, disable the legacy first version of the protocol everywhere, and give remote users file access through a VPN or a cloud file service.
NetBIOS services reveal machine names, domain names and sometimes user names, which gives an attacker a map of the internal network. Block them at the edge.
LDAP exposes the directory that holds user accounts and group memberships. An internet-facing directory service invites password guessing and enumeration, and the connectionless form of LDAP has been abused to amplify denial-of-service traffic. Directory services should answer only on internal networks or through a VPN. FTP, NFS and Windows RPC get the same treatment, as the checklist table sets out.
A database port facing the internet usually means a firewall rule was too broad or a server was set to listen on all interfaces. Some database and cache products, in older versions or default configurations, accepted connections on every interface with no authentication. Exposed data stores have been wiped or copied and held for ransom as a result.
The fix follows the same pattern for each product:
Web management pages are easy to overlook because they sit on ordinary web ports. Common examples include hosting control panels, database admin tools, content management logins, and the admin pages of firewalls, VPN appliances and routers.
Office devices add more. Printers expose web consoles and printing protocols. Network storage devices expose file shares and admin pages. IP cameras and building systems expose streams and configuration screens. These devices are patched less often than servers and frequently keep factory credentials.
Keep device and appliance admin interfaces on an internal management network. Where a web admin page has to stay public, put it behind single sign-on with multi-factor authentication or restrict it to known source addresses.
Service and version enumeration identifies what software is listening. Matching that version against NIST's National Vulnerability Database indicates which known vulnerabilities may apply, subject to vendor backports. Each ranking signal answers a different question.
A practical order: fix exposed services with a KEV-listed vulnerability first, then those with a high EPSS estimate, then the remaining high CVSS findings. The ASD Essential Eight Maturity Model sets a shorter patching timeframe for internet-facing services, and a shorter one again when the vendor rates a vulnerability critical or a working exploit exists.
Services can run on non-default ports, so check the services actually listening on each host as well as the firewall rule set.
| Service | Risk when exposed | Action |
|---|---|---|
| RDP | Password guessing, past pre-authentication flaws, ransomware entry | VPN or gateway with MFA, close direct port |
| VNC and screen sharing | Weak or missing authentication | VPN only |
| Telnet | Cleartext credentials | Disable, replace with SSH |
| SSH | Password guessing on servers | Keys only, no root login, restrict sources or use a bastion |
| SMB | Worm propagation, credential abuse | Block at the edge, disable the legacy version |
| NetBIOS | Internal names and users disclosed | Block at the edge |
| LDAP | Directory enumeration, amplification abuse | Internal or VPN only |
| FTP | Cleartext file access | Close, use SFTP |
| NFS | File system access | Internal or VPN only |
| Windows RPC | Exposed system functions | Block at the edge |
| Microsoft SQL Server, MySQL, PostgreSQL | Data theft, wiping, ransom | Private binding, allow-list application hosts |
| MongoDB, Redis | Unauthenticated access in older defaults | Private binding, enable authentication |
| Docker API | Host takeover | Never public, private network only |
| Device and appliance admin pages | Factory credentials, slow patching | Management network, SSO and MFA |
Assay scans only hosts the customer has proven it controls, through a DNS TXT ownership token. Once the domain is verified, the active scan enumerates the network services and versions answering on each internet-facing host. Web templates then check for misconfigurations, and the consent-gated deep tier adds exposed-file and admin-panel checks. Discovery from public certificate logs surfaces named hosts the business may have forgotten, such as old staging or test servers, and the active scan then checks what answers on them.
Each finding maps to the Essential Eight and to SMB1001:2026, so the report serves as evidence for an auditor, an insurer or a customer's security questionnaire. A control reads as clean only when a source capable of seeing it completed. Anything no source examined reads as not assessed.
A closed port can reopen after a firewall change, a vendor support session or a new cloud server. Assay re-scans the estate daily, compares each scan with the previous one, and sends an email the day a new service appears. Internal firewall rules, the endpoint fleet and administrator rights sit outside what an external scan observes, so pair it with an internal review where an auditor asks about those.
To run it on your own estate, read how verification and scanning work on how it works, see the full list of checks on coverage, and choose a plan on pricing.
An external scan of your internet-facing systems: your Essential Eight and SMB1001 position, and a preview of your cyber-insurance answers.