How to Prevent Brute Force Attacks via RDP

What are Brute Force Attacks

A brute force attack is a hacking method that uses trial and error to crack passwords, login credentials, and encryption keys. It is a simple yet reliable tactic for gaining unauthorized access to individual accounts and organizations’ systems and networks. The hacker tries multiple usernames and passwords, often using a computer to test a wide range of combinations, until they find the correct login information.

Though many posts on the internet recommended using VPN, and by that I assumed it meant to establish a VPN connection from my router, the attacks continued. While I did not try to see whether there was a possibility of establishing a VPN connection between my router and my internal machine, I explored changing the standard RDP port to some other port and that stopped the attacks. More instructions on URL below for those who are interested in how to do that.

https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/change-listening-port

Posted 2021/9/19 - 4 min read