Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

Windows SMB Users Should Close Some Ports to Prevent Wannacry

Will ransomware WannaCry come back to attack us. Try closing some of the ports below to prevent ransomware from attacking.

Table of Contents

Will ransomware WannaCry come back to attack us. Try closing some of the ports below to prevent ransomware from attacking.

Windows SMB Users Should Close Some Ports to Prevent Wannacry Overview

In early May 2017, terrorists who attacked Arianna Grande concert in Manchester and the world became victims of the WannaCry ransomware attack.

WannaCry has infected more than 230, 000 computers in 150 countries. It made the British medical service deadlock, causing a blockage of telephone networks in Spain and loss of railroads in Germany. Overall, this is one of the worst cyber attacks the world has to go through.

Now, after 3 months, errors or holes still make ransomware easily spread.

Without super-high technology, WannaCry can easily infect using EternalBlue. It is an exploit developed by NSA of the SMB protocol (Windows Server Message Block).

Microsoft has created patches for millions of computers, including unsupported operating systems like Windows XP. Theoretically, these patches closed the EternalBlue SMB vulnerabilities.

  • Prevent WannaCry variants by turning off this Windows 10 installation
  • How to recover data encrypted by WannaCry malicious code

However, in reality, it seems they don't work very well. At the annual DEF CON conference last July, security researchers found another security hole. This vulnerability is called SMBLoris and is a remote denial of service attack. It can crash a computer or a server and only use no more than 20 lines of code.

Microsoft believes that this vulnerability should be automatically blocked by the firewall.

So How to Protect Yourself from Ransomware?

SMBLoris affects all SMB types, meaning you must remove SMBv1 from the system completely. You need to block all incoming connections on ports 445 and 139.

You can block ports on the router but there is an easier way - using the Windows Firewall tool. Visit the Control Panel> Windows Firewall> Advanced Settings , right-select Inbound Rules and select New Rule .

You can block ports on the router but there is an easier way - using the Windows Firewall tool

On the next screen, select Port, then select Next. Now, you need to select Specific Local Ports . Enter 445, 139 in the box. Click Next again.

On the next screen, select Port, then select Next

Finally, select Block the Connection , name the new rule and click Finish.

Finally, select Block the Connection, name the new rule and click Finish

If you want to protect your computer from ransomware, follow the steps above!

Security note: Threat conditions and vendor guidance can change. Install current updates and verify any advisory with the official vendor before taking action.

FAQ

Why does Windows SMB Users Should Close Some Ports to Prevent Wannacry matter?

Will ransomware WannaCry come back to attack us. Try closing some of the ports below to prevent ransomware from attacking.

Who may be affected by this issue?

The impact depends on the affected product, version, account, device, or network. Review the article details and the vendor's current advisory to confirm whether your environment is exposed.

How can users reduce the risk?

Install current security updates, use official downloads, enable strong account protection, maintain tested backups, and follow the latest guidance from the relevant vendor.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.