The most effective RDP brute force protection is to stop exposing Remote Desktop to the internet at all. Put it behind a VPN, a Remote Desktop Gateway or a zero-trust access gateway, require multi-factor authentication (MFA), and treat lockouts, Network Level Authentication and log monitoring as backup layers. Changing the port number or choosing a longer password helps a little, but neither stops a determined attacker on its own.
Below is the order we work in when we secure remote desktop access for Australian small and medium businesses, with the reasoning behind each step.
TL;DR
- Brute force against RDP is a way into your network, and it often ends in ransomware. It is not just a nuisance in your logs.
- Remove direct internet exposure first. A gateway or VPN with MFA does more than any other single change.
- Keep Network Level Authentication on, use individual accounts, and restrict who can connect and from where.
- Account lockout is useful but can be abused to lock your staff out, so use it as a supplement, not the main defence.
- Log and review failed sign-ins, and patch the RDP host. Security is more than the password.
Table of Contents
- What an RDP brute force attack looks like
- Step 1: Take RDP off the public internet
- Step 2: Require MFA on every remote desktop path
- Step 3: Keep Network Level Authentication switched on
- Step 4: Use account lockout, with care
- Step 5: Restrict who can connect, and what they can do
- Step 6: Patch, log and watch
- A practical order of work
- Our perspective: where small businesses actually get caught
- How Techbug can help
- FAQ
- Sources
What an RDP brute force attack looks like
A brute force attack is repeated guessing of credentials. Against Remote Desktop Protocol, attackers typically run lists of common passwords, reuse credentials leaked from other breaches, or use password spraying, which tries a few common passwords across many accounts so no single account trips an alarm. The Australian Cyber Security Centre (ACSC) has described brute force and password spray attacks as trial-and-error attempts to guess login credentials, including spraying commonly used passwords against numerous accounts.
The attacker does not need to know your business exists. Automated tools scan ranges of IP addresses looking for an open Remote Desktop port and then start guessing. If your server has TCP 3389 reachable from anywhere, you are being scanned, whether or not you have noticed.
The consequence is the part that matters. The ACSC’s profile of the LockBit 3.0 ransomware group lists brute-force attacks against internet-facing RDP among the techniques used to gain initial access to a victim’s network. CISA, the US agency, has also called RDP one of the most common infection vectors for ransomware.
It helps to keep three different problems apart, because each needs its own control:
- Guessing: brute force and password spraying against valid usernames.
- Stolen valid credentials: the attacker logs in with the right password, bought or phished.
- Software flaws: vulnerabilities in RDP itself, such as the one we covered in our note on the BlueKeep warning from Microsoft.
A longer password only addresses the first. MFA and removing exposure address all three.
Step 1: Take RDP off the public internet
Before tuning anything, ask whether you need RDP at all on that machine. The ACSC lists disabling unnecessary RDP among its recommended mitigations, alongside MFA, patching, filtering and segmentation. If a server does not need remote desktop, turn it off.
If you do need it, the goal is that nobody on the internet can reach the RDP port directly. There are three common ways to achieve that:
| Approach | How it works | Good fit | Watch out for |
|---|---|---|---|
| VPN | Staff connect to a VPN first, then open RDP to internal addresses | Small teams with a firewall that supports VPN | Weak VPN passwords or an unpatched VPN device become the new target |
| Remote Desktop Gateway | RDP traffic is wrapped in HTTPS and passes through a gateway server that enforces policy | Businesses already running Windows Server and RDS | The gateway itself must be patched and monitored |
| Zero-trust access gateway | Access is granted per user and device, with no open inbound port | Mixed or remote workforces, cloud-first businesses | Needs planning and identity clean-up |
Microsoft’s security guidance on remote desktop makes the same point: a gateway can stop the host being directly exposed to the public internet. Your firewall rules then allow RDP only from the gateway or VPN range, not from anywhere.
If you are choosing or reviewing the firewall that enforces this, our guide to a firewall for small business in Australia covers what to look for. For the longer-term model, our five-step zero trust rollout shows how to move away from “anyone with the password can try”.
Why changing port 3389 is not enough
Moving RDP to another port is a common tip. Microsoft identifies 3389 as the default port, but a different port is only obscurity. Scanners find alternate ports too, so the firewall policy and an authenticated gateway have to be your security boundary, not the port number. It may cut noise in your logs, but treat it as cosmetic.
Step 2: Require MFA on every remote desktop path
Passwords get guessed, reused and leaked. MFA means a correct password alone does not get an attacker in. The ACSC describes MFA as one of the most effective controls an organisation can implement, and says phishing-resistant MFA is less susceptible to brute force and machine-in-the-middle attacks than password-only authentication or weaker SMS and voice methods.
In practice for an SMB:
- Put MFA on the front door: the VPN, the gateway or the access service, since native RDP has no MFA prompt of its own. Microsoft publishes planning guidance for MFA with Remote Desktop Services if you run a gateway.
- Prefer phishing-resistant methods such as FIDO2 security keys or passkeys over SMS codes, especially for administrators.
- Watch for prompt bombing. Attackers who already hold a password can spam approval requests until someone taps yes. We break this down in our piece on MFA fatigue attacks.
MFA also protects you in the second scenario above, where the attacker has a real password from a phishing email. Our business email security checklist deals with that upstream risk.
Step 3: Keep Network Level Authentication switched on
Network Level Authentication (NLA) makes the user authenticate before a full remote session is created. Microsoft describes it as more secure and more resource-efficient than authenticating after the session has started, because an unauthenticated visitor does not get a desktop to poke at and cannot consume session resources.
Some practical notes:
- NLA needs an RDP client version 6.0 or later and an operating system that supports CredSSP. Check old devices before enforcing it.
- It is tempting to disable NLA to fix a compatibility problem or a password-change prompt. That materially weakens the deployment. If you must make an exception, make it controlled, documented and time-limited.
- NLA is not a substitute for MFA. It reduces what an unauthenticated attacker can reach, but it does not stop a correct password.
Step 4: Use account lockout, with care
Lockout slows guessing: after a set number of failures, the account is blocked for a period. It is worth enabling, but it has a catch that many guides skip. An attacker can deliberately fail logins against your staff’s usernames to lock them out, which is a denial of service. CISA’s guidance on this notes that lockouts can be weaponised, and recommends putting RDP behind a VPN or zero-trust gateway with MFA first, then using lockout and monitoring as defence in depth.

Microsoft documents a separate remote-access lockout setting using MaxDenials and ResetTime. Its page notes the historical defaults: a MaxDenials of 0 means lockout is disabled, and the default ResetTime is 2,880 minutes, which is two days. Do not copy defaults blindly. Pick thresholds by testing them and by thinking about your risk, including what happens on a Monday morning if twenty staff are locked out at once.
Where lockout is the wrong tool, rate-limiting at the firewall or gateway, and blocking source IPs after repeated failures, can do the same job with less collateral damage. Dedicated host-based blocking tools exist, but they are a patch over exposure, not a replacement for removing it.
Step 5: Restrict who can connect, and what they can do
A successful login should not equal a successful breach. A common operational failure is securing the server and leaving everything around it loose. The New Zealand CERT’s guide on hardening RDP if you have to use it points out that over-use of administrative privileges, especially Domain Administrator, is a common theme in ransomware attacks.
Sensible limits:
- Individual accounts only. No shared “admin” or “reception” logins. Shared accounts make it impossible to tell who did what.
- Least privilege. Only the people who need remote desktop get the right to use it, through a specific security group. Administrators do not use their admin account for email or browsing.
- Source restrictions. Where staff connect from known places, allow only those networks at the firewall.
- Turn off what you do not use. Drive, printer and USB redirection and clipboard sharing can carry malware or data between a compromised home PC and your server.
- Segment the host. An RDP server that can reach every machine and the backups turns one stolen login into a company-wide incident. Keep backups isolated too, as we explain in our guide to air gapped backups.
- Secure the client. Avoid saved credentials on unmanaged laptops. If staff use personal devices, a mobile device management policy gives you control over them.
Step 6: Patch, log and watch
Brute force is only one door. Patch the RDP host, the gateway, the VPN appliance and the clients promptly. Remote desktop vulnerabilities have been exploited at scale before, which is why we flagged BlueKeep.
Then make sure you can see what is happening. Detection depends on auditing, and a few details matter:
- Windows failed logon Event ID 4625 can come from RDP or from other sources. Correlate it with Remote Desktop Services logs, firewall or VPN records, source IP, username, time and location, rather than blocking every event on sight. Microsoft’s lockout documentation is a starting point for the settings involved.
- Centralise authentication, firewall, endpoint and session logs in one place, so a spray across many accounts is visible as a pattern.
- Alert on the things that matter: many failures from one IP, failures across many usernames, a success after a run of failures, and logins at odd hours or from unexpected countries.
A log nobody reads does not protect you. Someone has to be watching, which is the main reason many businesses hand this to a managed provider.
A practical order of work
If you want a checklist you can act on this week:
- Find every machine with RDP enabled, and turn it off where it is not needed.
- Check your firewall: is TCP 3389, or any forwarded port, open to the internet? Close it.
- Publish remote access through a VPN, gateway or zero-trust service.
- Enforce MFA at that entry point, phishing-resistant where you can.
- Confirm NLA is on for every RDP host.
- Remove shared accounts and trim administrator rights.
- Set a considered lockout policy and test it.
- Patch, centralise logs, and set alerts.
- Test your backups, and keep one copy offline.
The rest of the checklist is housekeeping. Steps 2 to 4 remove most of the risk.
Our perspective: where small businesses actually get caught
We see the same pattern. A server was set up years ago for a contractor or a staff member working from home, a port was forwarded on the router, and nobody removed it. The password has been there ever since. Nobody is watching the logs, because nobody was asked to.
Small businesses are not too small to be targeted. The figure we quote is that 42% of cyberattacks target small businesses, and automated scanning does not care about your size anyway. What it does care about is whether the door is open.

Our advice is shaped by being vendor-agnostic. We do not push one VPN, one gateway or one firewall brand because we are tied to it. The right answer depends on what you already run, how many people connect, and whether you are a Windows-server shop or mostly in Microsoft 365. For a ten-person office, a properly configured firewall VPN with MFA is often enough. For a business with contractors and mixed devices, a zero-trust gateway is cleaner. We would rather quote you for the simpler option than sell you a bigger one.
We also tell people plainly that tools and lockout policies are the last 20% of the job. The first 80% is removing exposure, enforcing MFA and knowing who can connect. And once those are in place, the thing that keeps you safe is somebody noticing when a pattern changes, which is where proactive monitoring earns its keep.
— Ru
How Techbug can help
If you would rather not audit firewall rules and event logs yourself, our team in Brisbane can review how your staff connect remotely, close off exposed RDP, set up MFA and monitor for suspicious sign-ins. This sits within our cyber security services and our managed IT services, and if you are aligning with the ACSC Essential Eight we cover that on our Essential 8 page. If something already looks wrong, such as repeated failed logins or an unfamiliar session, contact us through techbug.com.au and ask for emergency response. Our guide on how to remote into a computer also covers the basics for staff.
FAQ
How do I make RDP more secure?
Remove direct internet exposure first, then require MFA through a VPN, gateway or zero-trust service. Keep NLA on, limit access to named users and approved networks, patch regularly and centralise logs. Where RDP is not needed, disable it, as the ACSC recommends.
Is changing the RDP port enough to stop brute force attacks?
No. Microsoft identifies 3389 as the default, but a different port is only obscurity and can still be found by scanning. Use firewall rules and an authenticated gateway as the real boundary, and treat a port change as optional noise reduction.
Should I enable account lockout for RDP?
Yes, as a supplementary control. Lockout slows guessing, but attackers can also use it to lock your staff out, so set thresholds after testing rather than copying defaults. The stronger protection is putting RDP behind a VPN or gateway with MFA.
What is the difference between a brute force attack and password spraying?
A brute force attack tries many passwords against one account. Password spraying tries a few common passwords across many accounts, which can avoid per-account lockouts. Both are guessing attacks, and MFA and removing public exposure defend against both.
Sources
- ACSC: APT actors targeting Australian health sector organisations
- ACSC: Ransomware Profile, LockBit 3.0
- CISA: Weak Security Controls and Practices Routinely Exploited for Initial Access
- Microsoft Security Blog: Security guidance for remote desktop adoption
- ACSC: Implementing multi-factor authentication
- Microsoft Learn: Plan multifactor authentication for Remote Desktop Services
- Microsoft Learn: Configure Network Level Authentication
- CISA: Restrict RDP countermeasure CM0042
- Microsoft Learn: Configure remote access client account lockout
- CERT NZ: Hardening RDP if you have to use it
