27th July 2024

What is port 445 in Windows Operating Systems and How to Turn This Port Off ?

SMB (Server Message Block) is a network protocol that provides communication between server and client for many years. It is mostly used for accessing shares, network connections or printer connections. Every port that you do not use and is open to the outside is exposed to brute force attacks by malicious people, and your system may infiltrate when a vulnerability occurs.

Especially the SMB port, which came to the fore with Wannacry Cyber Attacks, is exposed to a lot of brute force attacks these days. If you are using Windows Hosting and Windows Server Server, it would be useful to disable this port’s external access.

How to close port 445 on Windows?

To close port 445 in Windows operating systems, you can first turn off port 445 from the firewall. Second, you can turn it off from your personal computer. To do this operation, you must have “Administrator” user or “Administrator” authority.

After logging in, let’s open Regedit with “CTRL + R” keys or by saying “start> run“.

Regedit
Regedit
Regedit
Regedit

 

Then, we expand the statements such as “HKEY_LOCAL_MACHINE> System> CurrentControlSet> Services” on the screen that opens.

HKEY_LOCAL_MACHINE> System> CurrentControlSet> Services
HKEY_LOCAL_MACHINE> System> CurrentControlSet> Services

 

Under the Services tab, we open the “NetBT” and “Parameters” values.

"NetBT" and "Parameters"
“NetBT” and “Parameters”

 

We click and open the “TransportBindName” value in the Parameters section.

TransportBindName
TransportBindName

 

Here, we delete the “\Device\” data and save it with the “OK” button.

TransportBindName
TransportBindName
TransportBindName
TransportBindName

 

Then we restart our operating system and our port 445 is now closed.

LEARN MORE  Installing GNS3 on Ubuntu

 

Leave a Reply

Your email address will not be published. Required fields are marked *