How to stop Remote Desktop (RDP) password attacks

If your office PC or server has Remote Desktop open, someone is probably guessing its password right now. Here's how to check, and how to stop it.

SecurityBy the Savonis team14 Nov 20266 min read

Remote Desktop (RDP) lets staff and IT people use an office PC or server from anywhere. If it is reachable from the internet, it is also reachable by bots that try thousands of usernames and passwords: administrator, admin, accounts, test... This is called a brute-force attack, and it is one of the most common ways ransomware gets into Indian businesses.

Check if you are being attacked

  1. Press Win+R, type eventvwr.msc and press Enter.
  2. Open Windows Logs → Security.
  3. Click Filter Current Log… on the right and enter event ID 4625 (failed sign-in).

Hundreds of 4625 events from unknown IP addresses, with usernames like administrator or admin, mean bots are guessing your password.

Windows settings that stop most attacks

Do not expose Remote Desktop to the whole internet

The best fix: reach the office through a VPN and keep port 3389 closed on the router. If you must forward it, allow only the IP addresses that need it.

Use long, unique passwords

Every account that can sign in remotely needs a long password (12+ characters, not reused anywhere). Rename or disable the built-in Administrator account if you do not use it.

Turn on account lockout

Open secpol.msc → Account Policies → Account Lockout Policy and set a threshold (for example 5 attempts) and a lockout time. This slows bots down, but note that it can also lock out real users while an attack is going on.

Require Network Level Authentication

In System Properties → Remote, keep "Allow connections only from computers running Remote Desktop with Network Level Authentication" ticked.

Limit who can use Remote Desktop

Only the users who really need it should be in the "Remote Desktop Users" group.

Block attacking IPs automatically with Savonis Shield

Savonis is backup software for Windows PCs, and its Shield adds protection for Remote Desktop, managed from the same web portal:

  • Brute-force protection: it counts failed Windows sign-ins (event 4625) per IP address. When one IP gets the password wrong too many times in a short window, Shield blocks that IP in Windows Firewall.
  • Country blocking: allow Remote Desktop only from the countries you choose, for example only India.
  • Watch-only mode first: see what would be blocked before you switch blocking on, and add your own IPs to a never-block list.
  • See failed sign-ins, blocked IPs and top countries for every computer in one place, and unblock an IP with one click.

Shield works alongside the steps above; it is not a replacement for a VPN and strong passwords. And because Savonis also backs up the PC with file versions and ransomware protection, you can recover even if an attacker gets through.

Protect every office PC with Savonis

Automatic backup to Google Drive, OneDrive, FTP or NAS, with ransomware and Remote Desktop protection. 7-day free trial, no card needed.

Start free trialSee pricing