Support articles

Find clear, step-by-step solutions to common WithSecure issues across installation, configuration, updates, and product performance.

How to secure Remote Desktop Protocol (RDP)

Issue:

  • RDP Brute Force attack performed and Ransomware encrypted system or files
  • Technique commonly used by Crysis, Dharma, GandCrab ransomware.

Resolution:

  • Use strong and long passwords
    • To avoid brute force attack on RDP, avoid using Dictionary word and simple password. Always use long password with combination of Uppercase letters, Lowercase letters, numbers and special characters.
  • Limit number of attempts
    1. Go to Start–>Programs–>Administrative Tools–>Local Security Policy
    2. Under Account Policies–>Account Lockout Policies
    3. Account lockout threshold -> Set between 3 to 5
    4. Account lockout duration -> Ideally set more than 5 minutes
  • Only allow user accounts requiring RDP service
  1. Go to Start–>Programs–>Administrative Tools–>Local Security Policy
  2. Under Local Policies–>User Rights Assignment–>Allow logon through Remote Desktop Services
  3. Add or Remove the User accounts or groups which require RDP service
  • Close RDP port
    • Use VPN connection to access remote desktop and close RDP ports (TCP 3389) access  via firewall.
  • Use RD gateway servers
    • RD gateway proxy servers can be used for securing the connection with SSL.
    • Read more here : https://social.technet.microsoft.com/wiki/contents/articles/10974.windows-server-2012-rds-deploying-and-configuring-rd-gateway.aspx