CoCoineticBack to coinetic.io

RDP is still ransomware's favourite door in 2026: how to close it

Remote Desktop is how admins look after Windows Servers and PCs from a distance, and it is just as useful to attackers. Some get in through an RDP port that is open to the internet. Many more use RDP to move from one computer to the next once they are in. This guide shows how to check your own exposure and close the door, using what Windows already has. Every number has its source next to it.

In short
  • Check first: is TCP or UDP 3389 (or your own RDP port) reachable from the internet? Test it from outside, not from your own network.
  • Best: no RDP from the internet at all. Use a VPN or a Remote Desktop Gateway with multi-factor authentication.
  • If it has to stay open: allow only known addresses, keep Network Level Authentication on, use long unique passwords, and set an account lockout policy (it has side effects, see below).
  • Patch: November 2026 Patch Tuesday fixed more than 20 Remote Desktop and CredSSP flaws, two of them rated Critical.

1. What the 2026 data says

So exposed RDP has become less common, but it is far from gone. And once attackers have one password, RDP is how they move through your network. Both halves need closing.

2. Check: is your RDP reachable from the internet?

  1. Router and edge firewall: look for port forwardings (NAT) or allow rules to 3389, or to whatever port you moved RDP to. In the cloud (Azure, AWS, other hosters), check the network security group of every VM. A VM with a public address and "allow 3389 from any" is the classic mistake.
  2. On the Server or PC, in PowerShell as administrator: is Remote Desktop switched on, on which port, and whom do the built-in rules let in?
    # 0 = Remote Desktop is ON
    Get-ItemPropertyValue 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server' -Name fDenyTSConnections
    # the RDP port (3389 unless someone changed it)
    Get-ItemPropertyValue 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name PortNumber
    # enabled RDP allow rules and the addresses they let in
    Get-NetFirewallRule | Where-Object { $_.Name -like 'RemoteDesktop-*' -and $_.Enabled -eq 'True' } |
      Get-NetFirewallAddressFilter | Select-Object InstanceID, RemoteAddress
    RemoteAddress : Any means anyone who reaches the Server or PC may try to log on. The rule names (not the display names) are the same in every Windows language.
  3. From outside: on a computer that is not in your network (a laptop on a phone hotspot, a small cloud VM), test your public address: Test-NetConnection -ComputerName 203.0.113.10 -Port 3389. Expected: TcpTestSucceeded : False. Or use our free open port check.
  4. Look at what already arrived: failed logons are Security event 4625, successful RDP logons are 4624 with logon type 10. CISA also recommends the TerminalServices-RemoteConnectionManager log for successful RDP connections:
    Get-WinEvent -LogName 'Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational' -MaxEvents 50 |
      Where-Object Id -eq 1149 | Select-Object TimeCreated, Message
    Every connection you cannot explain is worth a closer look.

3. Keep Network Level Authentication on

With NLA the user has to authenticate before Windows creates a session and a logon screen. That leaves less code reachable for strangers. It does not stop password guessing. Check it (1 = on):

(Get-CimInstance -Namespace root\cimv2\TerminalServices -ClassName Win32_TSGeneralSetting -Filter "TerminalName='RDP-tcp'").UserAuthenticationRequired

Switch it on in System Properties › Remote (Allow connections only from computers running Remote Desktop with Network Level Authentication), or for many machines with Group Policy: Computer Configuration › Administrative Templates › Windows Components › Remote Desktop Services › Remote Desktop Session Host › Security › Require user authentication for remote connections by using Network Level Authentication.

4. Accounts, passwords and lockout, with its side effects

The side effects of lockout, from Microsoft's own documentation:

More detail on lockout events and finding their source: Event ID 4740 and 4771.

5. Limit RDP to the addresses you really use

If RDP has to be reachable from outside, let only known addresses in. Open Windows Defender Firewall with Advanced Security (Start, type "firewall") › Inbound Rules › Remote Desktop - User Mode (TCP-In) and (UDP-In) › Scope › Remote IP address. Or in PowerShell:

Set-NetFirewallRule -Name RemoteDesktop-UserMode-In-TCP,RemoteDesktop-UserMode-In-UDP `
  -RemoteAddress 203.0.113.10,192.168.1.0/24

Replace the example addresses with your office's fixed address and your own network. Do not forget the UDP rule: RDP uses UDP 3389 too. This works well for fixed addresses. It does not work when you travel or when your home connection gets a new address every day, and that is when such rules get opened to "Any" again "just for now". The options for changing addresses are compared in Secure RDP without VPN.

Moving RDP to another port is not protection. Scanners that check every port find it within minutes.

6. VPN or Remote Desktop Gateway, with MFA

The robust answer: RDP is not reachable from the internet at all. You connect a VPN first, or you go through a Remote Desktop Gateway, a Windows Server role that carries RDP inside HTTPS on port 443. Plain RDP has no second factor built in. The gateway can add one, for example with the NPS extension for Microsoft Entra multifactor authentication. The VPN or gateway then becomes the door that must be patched and protected. Use MFA on it, as CISA recommends for all VPN connections. Note that this month's patches include fixes for the Remote Desktop Gateway Service too (see the next section).

When admins connect from their own PCs, CISA also recommends Remote Credential Guard or Restricted Admin mode. They keep reusable credentials off the Server you connect to (mstsc /remoteGuard or mstsc /restrictedAdmin, where the Server allows it).

7. Patch the November 2026 Remote Desktop flaws

On 10 November 2026, Microsoft released fixes for 21 vulnerabilities in Remote Desktop components and in CredSSP, the protocol behind Network Level Authentication. That is our own count from the Microsoft Security Update Guide. None were marked as exploited or publicly disclosed at release. The ones that matter most for Servers:

CVEComponentTypeSeverity / CVSS
CVE-2026-119962Windows CredSSPRemote code execution, no sign-in needed (per Microsoft: "unauthorized attacker … over a network")Critical / 8.1
CVE-2026-108401Remote Desktop ServicesRemote code execution by an attacker who has an accountImportant / 8.8
CVE-2026-119957Remote Desktop ServicesElevation of privilege (local)Critical / 7.8
CVE-2026-122166Remote Desktop ServicesElevation of privilege (local)Important / 7.8
CVE-2026-80094, CVE-2026-69327, CVE-2026-69565Remote Desktop Gateway ServiceElevation of privilege / code executionImportant / 7.0 to 7.5
CVE-2026-119934 and othersRemote Desktop ClientRemote code execution, information disclosure, tamperingImportant / up to 8.8

Source: Microsoft Security Update Guide, release 2026-Nov, checked 23 November 2026. Why it matters: CVE-2026-108401 needs an account, which is exactly what a successful password guess gives an attacker. The client flaws mean the PCs you connect from need the update as well, not only the Servers. Check Microsoft's entry for each CVE to see which of your Windows versions are affected.

8. Watch it, around the clock

Ransomware is mostly deployed at night (see section 1). Make sure someone, or something, notices a burst of 4625 events, a 4624 logon type 10 from an unknown country, or a new member of Administrators (Event ID 4732). Windows records all of this, but it does not alert anyone and it does not block the guessing address.

9. Where Coinetic AI Security helps

Coinetic AI Security manages the built-in Windows Firewall, with no driver, next to Defender or any EDR. It does not patch Windows. It keeps the RDP door shut and shows who knocks:

Video (0:58) on YouTubeSecure RDP without VPN - Remote Desktop invisible until you unlock it from your phone
Chapters: 0:00 Remote Desktop open to the internet · 0:11 Invisible until you unlock it · 0:28 Signed by your phone's passkey · 0:40 Lost your phone? Block it
Close the RDP door on this Server or PC

Download Coinetic AI Security and install it. 30 days free with all features, no payment details.

Start the free 30-day trial →

More guides: all guides, among them Secure RDP without VPN and Event ID 4625.

Frequently asked

Is RDP still a ransomware entry point in 2026?

Yes, though less often than a few years ago. Sophos' 2026 report found RDP used from outside the network in 10 % of its cases and inside the network in 66 %, and saw the number of exposed RDP systems halve. Stolen or guessed passwords remain the most common root cause.

Is an account lockout policy enough against RDP brute force?

No. It slows guessing down, but attackers can use it to lock out your real users, it does not block the attacking address, and bots that spread their guesses over many accounts and hours get around it. Combine it with a firewall scope, a VPN or gateway, and MFA.

Which November 2026 patches matter for Remote Desktop?

All of the November 2026 cumulative updates. The most important are CVE-2026-119962 (CredSSP, remote code execution, Critical) and CVE-2026-108401 (Remote Desktop Services, remote code execution). Patch the PCs you connect from too, because several Remote Desktop Client flaws were fixed.

Does changing the RDP port help?

It only reduces log noise. Scanners that check every port find RDP on any port. Close it, or limit who can reach it.

How do I check if my RDP port is open to the internet?

Test your public address from a computer outside your network, for example with Test-NetConnection on port 3389 from a phone hotspot, or with an online open port check. Also look for port forwardings on your router and in your cloud network rules.

Checked on 23 November 2026. This guide is general information, provided "as is" without warranty, and we accept no liability for its use to the maximum extent permitted by law; see sections 7 and 8 of the license agreement. Test every change on one computer first, and keep a way in (console, LAN or VPN) before you restrict RDP.

Coinetic AI Security - https://coinetic.io