The default RDP port is easy for attackers to find because scanners actively look for it. Moving RDP to a non-standard port reduces automated exposure, but it does not make remote access secure by itself. Teams still need firewall controls, encryption, authentication, and access restrictions. Port changes only reduce opportunistic discovery, while real protection comes from layered controls.
Why the Default RDP Port Is Easier to Find
Remote Desktop Protocol becomes much easier to discover when it listens on its well-known default port because scanners, internet-wide search engines, and opportunistic attackers routinely look for that service pattern. Changing the port does not remove RDP from the attack surface, but it does reduce the volume of low-effort probing that hits exposed hosts first.
The practical difference is visibility, not inherent security. A non-standard port can lower background noise and may help reduce drive-by attempts, but it does not stop a determined attacker who is already scanning ranges, enumerating services, or using other discovery methods.
What Port Hiding Changes, and What It Does Not
Moving RDP to a non-standard port mainly changes how easily automated scanners and simple bots find it. It can reduce log noise, reduce opportunistic brute-force attempts, and buy some time against indiscriminate internet scanning. It does not change the protocol’s trust model, authentication strength, patch status, or exposure if the service remains reachable from untrusted networks.
That means the security value is limited. If the host is still internet-facing, the service is still discoverable through port sweeps, banner correlation, passive reconnaissance, or asset leakage elsewhere. In practice, port changes should be treated as a minor friction control, not a control that meaningfully hardens remote administration on its own.
For a useful comparison, the same principle appears in basic network hygiene guidance: exposure is reduced when services are not advertised on the most commonly probed path, but true risk reduction comes from restricting where the service can be reached and from requiring strong authentication. The IANA port registryIANA is the reference point for well-known ports, while CISA Secure by Design reflects the broader expectation that defaults should be hardened rather than merely obscured.
Why Layered Controls Matter More Than the Port Number
RDP should be protected as a remote access pathway, not as a port-selection exercise. Firewall allowlisting, VPN or gateway mediation, strong authentication, encryption, account lockout policy, and exposure monitoring all matter more than whether the port is 3389 or something else. If those controls are weak, a non-standard port mostly delays discovery; if those controls are strong, the port choice becomes a secondary detail.
This is also why remote access guidance consistently focuses on limiting reachability and verifying identity. A well-controlled remote access design should make unsolicited connection attempts fail before authentication is even possible, and it should make legitimate access visible enough to investigate. In other words, the defender should care more about who can connect and from where than about which port number the service uses.
For operational guidance, NCSC UK Advice and Guidance is useful for remote access hardening, and NIST SP 800-53 Rev 5 Security and Privacy Controls provides the control vocabulary for access control, authentication, logging, and configuration management that actually reduce RDP risk.
Risk and Threat Considerations
Changing the port can reduce opportunistic discovery, but it can also create a false sense of security if teams mistake obscurity for hardening. Attackers who already have network footholds, internal access, or service discovery capabilities can still find and abuse RDP, especially when weak credentials, exposed management paths, or permissive firewall rules remain in place.
Failure mechanism: The service stays exposed, only less obvious. Automated probes, credential attacks, and lateral movement still succeed when the listening port is reachable and the authentication boundary is weak.
Impact: The organisation may see fewer random scans but still face the same compromise path, including brute-force attempts, stolen-credential use, remote code execution opportunities, and internal lateral movement after an initial foothold.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | RDP exposure is mainly reduced by hardening reachable services and defaults. |
| CIS-12 — Network Infrastructure Management | Controlling inbound exposure and management paths is the core operational issue. | |
| Recommendation — Harden RDP exposure with restrictive, verified secure configurations. Limit inbound management access to approved sources and paths. | ||
| NIST SP 800-53 Rev 5 | AC-17 — Remote Access | RDP is a remote access path that must be controlled, not merely renamed. |
| IA-2 — Identification and Authentication (Organizational Users) | RDP risk depends heavily on the strength of user authentication. | |
| SC-7 — Boundary Protection | Firewall mediation and reachability controls are central to RDP exposure reduction. | |
| Recommendation — Restrict and monitor remote access to RDP through approved channels. Require strong authentication before allowing RDP sessions. Filter and segment network paths that can reach RDP. | ||
Practitioner Guidance
What to prioritise: Treat the port change as a minor exposure reduction only after you have confirmed that RDP is not directly reachable from the internet unless there is a documented exception. The first control question is whether the service is reachable at all, not whether it sits on a custom port.
What to verify: Confirm that firewall rules, VPN or jump-host requirements, MFA or equivalent strong authentication, and account restrictions are actually enforced on every path to RDP. If any one of those layers is missing, the custom port should not be considered a meaningful security improvement.
Practitioner takeaway: Non-standard ports can reduce noise, but they do not change the trust boundary, so the real decision is whether remote administration is tightly mediated and monitored enough to withstand active probing.
Related resources from NHI Mgmt Group
- What is the difference between pinning a GitHub Action to a commit SHA and using a moving version tag?
- What is the difference between a standards-based application and a non-standard application?
- What is the difference between managing non-human identities and using data-aware visibility to govern them?
- What is the difference between using PCI DSS as a base standard and treating it as a gold standard?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 24, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org