Skip to main content

Port 445

Port 445 SMB file sharing

Windows file and printer sharing listens on port 445. Exposed to the internet, it is one of the most attacked services there is.

The service

What is port 445 used for?

Port 445 is where SMB (Server Message Block) listens on TCP. Windows uses it to share files and printers, and domain services use it to reach the named pipes behind remote management. Samba speaks the same protocol on Linux and storage appliances.

Older networks also run SMB over NetBIOS on ports 137 to 139. Modern Windows talks to port 445 directly.

Why attackers want it

An exposed SMB server can give away file shares, user names and a way into the domain. Worms such as WannaCry spread through EternalBlue (CVE-2017-0144), a flaw in the old SMBv1 protocol, and ransomware crews still look for SMB to move from one machine to the next.

The last 31 days

Who scans port 445

Every address that scanned port 445 from 28 October to 27 November 2026, with known scanners left out.

Port 445 SMB file sharing
Analyze
Observation window
First day28 Oct
Last day27 Nov
Known scanners left out6,9%
85.021Sources
7.572.576Connections
6.233Known scanners
31/31Active days
Sources per dayPeak 9.782 · 26 Nov
Top source networksSources
  1. AS7713Telekomunikasi Indonesia (PT) 5.459
  2. AS12389PJSC Rostelecom 3.242
  3. AS45899VNPT Corp 3.129
  4. AS8452TE-AS 2.800
  5. AS29465MTN NIGERIA Communication limited 2.712
  6. AS14061DigitalOcean, LLC 2.672
  7. AS4134Chinanet 2.226
  8. AS3462Chunghwa Telecom Co., Ltd. 2.165
  9. AS36947Telecom Algeria 2.012
  10. AS23969TOT Public Company Limited 1.841
Top source countriesSources
  1. Indonesia 10.317
  2. India 7.633
  3. Russian Federation 7.293
  4. People's Republic of China 5.530
  5. Vietnam 5.174
  6. United States of America 4.434
  7. Thailand 3.662
  8. Nigeria 3.557
  9. Egypt 3.392
  10. Taiwan, Province of China 2.438
The verdict

Should port 445 be open?

Port 445 should never be reachable from the internet. Block it at the edge in both directions, and give remote users file access through a VPN instead.

Block it at the edge

Drop inbound TCP 445 on every firewall and cloud security group, and block outbound 445 so a compromised machine cannot reach SMB servers outside.

Turn off SMBv1

Remove SMBv1 on Windows and Samba. Current systems speak SMB 2 and 3, which also support signing and encryption.

Reach shares another way

Use a VPN for remote file access, or SMB over QUIC where your Windows Server version supports it.

Questions

Port 445 questions

What is port 445 used for?

Port 445 carries SMB, the protocol Windows uses for file sharing, printer sharing and remote management through named pipes. Samba uses it on Linux and storage appliances.

Is it safe to open port 445 to the internet?

No. SMB was built for local networks. An exposed port 445 invites password guessing, relay attacks and exploits for flaws such as EternalBlue. Keep it inside your network and use a VPN for remote access.

What is the difference between port 445 and port 139?

Port 139 carries SMB over NetBIOS, the older way of running it. Port 445 carries SMB directly over TCP and is what modern Windows uses. Both should stay closed to the internet.

How do I block port 445?

Add a rule that drops inbound and outbound TCP 445 on your firewall or cloud security group. Blocking the addresses that scan for it, with an IP blocklist, also stops them before they reach any other service.

Port 445

Block the sources that scan port 445.

An hourly IP feed of active scanners keeps them away from this port and everything else you run.