An RDP brute force attack is an automated attack that repeatedly guesses usernames and passwords against a Windows Remote Desktop Protocol service, usually exposed to the internet on port 3389. If a guess succeeds, the attacker logs in, steals data, or deploys ransomware — so the fix is to remove RDP from the internet and require MFA.
Key takeaways
- RDP brute force attacks are automated password-guessing attacks against internet-exposed Remote Desktop, often a first step to ransomware.
- The warning signs are many failed logons, especially Windows event 4625, followed by a successful logon from an unusual source.
- The strongest fix is removing RDP from the internet entirely and putting it behind a VPN or gateway with MFA.
Leave Remote Desktop open to the internet and someone will try to guess your password — not once, but thousands of times, automatically, around the clock. That is an RDP brute force attack, and it is one of the most common ways ransomware gets in.
What is an RDP brute force attack?
An RDP brute force attack is an automated attack that repeatedly guesses usernames and passwords against a Windows Remote Desktop Protocol (RDP) service. The attacker runs software that tries combinations — common passwords, leaked passwords, and dictionary words — until one succeeds.
RDP is the built-in Windows service that lets you control a computer remotely, using TCP port 3389 by default. When that port is open to the internet, anyone in the world can reach the login screen, and automated scanners find it within hours.
MITRE ATT&CK lists brute force as technique T1110, with password guessing, password spraying, and credential stuffing as sub-techniques. RDP itself is covered under remote services, T1021.
How does an RDP brute force attack work?
The attack follows a simple loop: find exposed RDP, guess passwords, get in, then expand. The automation is what makes it dangerous — a botnet can try thousands of passwords against thousands of targets at once.
1. Scan for exposed RDP
Attackers scan the entire internet for port 3389. A newly exposed server is typically found and probed within hours, sometimes minutes. Shodan and similar search engines also index exposed services.
2. Guess passwords
The attacker tries usernames such as Administrator and common account names, paired with passwords from leaks, dictionaries, and default credentials. Password spraying — trying one common password against many accounts — avoids lockouts that trigger on many failures for one account.
3. Log in and explore
Once a guess works, the attacker has a real Windows session. They check privileges, look for valuable data, disable defenses, and create persistence such as a new account or scheduled task.
4. Expand and deploy ransomware
From the first machine, the attacker moves to other systems, steals credentials, and exfiltrates data. Many ransomware groups use RDP as their entry point, which is why CISA's #StopRansomware advisories repeatedly tell organizations to secure and closely monitor RDP.
Why is RDP such a common target?
RDP is a common target because it is widely exposed, gives full interactive access when it works, and is often protected by a single weak password. That combination is rare and valuable to attackers.
Many small businesses exposed RDP during remote-work shifts and never closed it. Others run servers with RDP open for a vendor or an admin who left long ago. Attackers know this, so they keep scanning.
RDP is also named among the most common initial infection vectors for ransomware in joint CISA and FBI guidance. A successful login is not a foothold that needs more exploitation — it is already a working desktop session.
How do you know you are under an RDP brute force attack?
The signs are in your Windows logs. Failed logons pile up, often from many different IP addresses, and the pattern changes when an attacker switches from guessing to spraying.
| Sign | What it looks like | How urgent |
|---|---|---|
| Many failed logons | Windows event 4625, repeated, often hundreds per hour | High — investigate |
| Failures then a success | Event 4625s followed by 4624, logon type 10 | Critical — likely compromise |
| Spraying | Failures spread across many accounts | High — check all accounts |
| Admin accounts targeted | Failures against Administrator or service accounts | High — even without success |
| Unusual logon time or place | Success at 3 a.m. or from a new country | High — verify with the user |
| Internal source | Brute force from inside your network | Critical — a machine is already compromised |
Logon type 10 in a successful event 4624 means a Remote Desktop session. Any success that follows a burst of failures from the same source should be treated as a compromise until proven otherwise.
If you suspect a password has been exposed, check it with our pwned password checker and change it from a trusted device.
How do you stop RDP brute force attacks?
The most effective defense is to stop exposing RDP to the internet at all. Put it behind a VPN or a Remote Desktop gateway, require MFA, keep Network Level Authentication on, and patch quickly.
- Find every RDP listener. Scan your own network and your public IP addresses for port 3389, and ask vendors which of them still need remote access.
- Close inbound RDP. Block port 3389 at the firewall. If remote access is needed, use a VPN or gateway and allow RDP only from that gateway.
- Require MFA. Put MFA at the VPN or gateway so every route to RDP is covered, and cover administrator accounts first.
- Keep Network Level Authentication enabled. NLA requires authentication before a session is created, which reduces the attack surface.
- Set account lockouts. Configure lockout after a set number of failed attempts, but tune the threshold so attackers cannot lock your staff out on purpose.
- Restrict who can use RDP. Remove RDP rights from accounts that do not need them, never allow shared admin accounts, and disable the built-in Administrator account for remote logon where possible.
- Patch RDP hosts fast. RDP vulnerabilities are prized by attackers, so treat RDP patches as urgent.
CISA's #StopRansomware guidance recommends exactly this combination: limit RDP use, apply MFA, enforce account lockouts, and audit the network for systems using RDP. See the CISA #StopRansomware Guide for the full checklist.
What should you do after a successful RDP attack?
Assume the attacker did more than log in. Treat the machine as compromised, preserve logs, and work through a clear response instead of just changing one password and hoping.
- Disconnect the system from the network to stop further spread, but do not wipe it before logs are collected.
- Change credentials for every account used on that machine, and check for new accounts, new scheduled tasks, and new services the attacker may have created.
- Review logs for what the attacker accessed, what they copied, and which other systems they touched.
- Check backups and restore from a clean backup if you cannot prove the system is clean.
- Report it to your security team, and in the US to the FBI's IC3 if data or money was involved.
For a wider starting point, our small business cybersecurity checklist covers remote access alongside backups, updates, and device security.
The actors behind these attacks are covered in our guide to what a threat actor is.
Common mistakes that keep RDP exposed
Changing the port and calling it done is the most common mistake. It hides RDP from casual scans but not from a port scan, and it does nothing once an attacker finds the new port.
Another mistake is relying on a strong password alone. Strong passwords help, but a leaked password bypasses them entirely. MFA is the control that makes a guessed or stolen password insufficient.
A third mistake is forgetting RDP after the project ends. Temporary remote access for a vendor, a migration, or a remote worker often stays open for years. Audit regularly and close what is no longer needed.
The bottom line
An RDP brute force attack is automated password guessing against exposed Remote Desktop, and it succeeds far too often because RDP is left open to the internet with only a password in front of it.
Remove RDP from the internet, put it behind a VPN or gateway with MFA, keep NLA on, and watch your logs for failed logons. You can start by checking whether any of your passwords have appeared in known breaches with the free pwned password checker.
Frequently asked questions
What is an RDP brute force attack?
It is an automated attack that tries many usernames and passwords against a Remote Desktop service until one works. Attackers use botnets and lists of common and leaked passwords to try thousands of combinations.
What port does RDP use?
RDP uses TCP port 3389 by default. Attackers scan the whole internet for that port, so any server with 3389 open to the internet will be found and attacked quickly.
How do I know if my RDP is under brute force attack?
Look for large numbers of failed logon events, Windows event 4625, from many sources or against many accounts, especially followed by a successful logon, event 4624 with logon type 10.
Can changing the RDP port stop brute force attacks?
It reduces noise from casual scanners, but it does not stop a determined attacker, because ports can be found by scanning. It is a minor extra step, never a replacement for MFA and removing internet exposure.
Does MFA stop RDP brute force attacks?
Yes, in practice. Even if an attacker guesses the password, they still need the second factor. That is why CISA and the FBI recommend MFA for all remote access, with phishing-resistant MFA where possible.
What should I do if RDP was brute forced successfully?
Disconnect the system, change all credentials used on it, check for new accounts and scheduled tasks, review logs for what the attacker did, and restore from a clean backup if you cannot be sure the system is clean.
Is RDP safe to use at all?
RDP can be used safely when it is not exposed to the internet, sits behind a VPN or gateway with MFA, uses Network Level Authentication, is patched promptly, and is limited to the accounts that need it.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against CISA #StopRansomware guidance and MITRE ATT&CK techniques T1110 and T1021.
How we write and fact-check →