Port 445: SMB

Port 445 is SMB, the protocol Windows, Macs and NAS boxes use for shared folders and printers.

At a glance
Port
445 / TCP
Service
SMB
Also called
microsoft-ds, cifs, samba, windows file sharing
If exposed
High risk if exposed

What runs on port 445

Since Windows 2000, SMB runs directly over TCP 445 without the older NetBIOS layer on 139. It carries file shares, printer shares and a lot of Windows domain traffic. Samba provides the same service on Linux and most NAS devices, and macOS uses SMB for its own file sharing.

On a home network

Windows PCs, NAS boxes, Macs with File Sharing on, routers sharing a USB drive, and some media players listen on 445. Seeing it on those devices inside your network is normal.

If port 445 is reachable from the internet

Port 445 should never be reachable from the internet. In 2017 the WannaCry ransomware worm used the EternalBlue exploit against SMB on 445 to spread around the world in a day, and NotPetya used the same exploit weeks later. Many ISPs block 445 for this reason, but a forwarded port or a device sitting in the router's DMZ can still expose it, and exposed shares are also brute forced and scraped for data.

How to check whether it is open on your network

Make sure no port forwarding or DMZ rule on your router points at a PC or NAS. RECON's Exposure Check tests whether 445 answers on your public address, and a LAN port scan shows which devices share files internally.

Devices that open port 445

AzureWaveWindows file sharing on a PC whose network is set to PrivateLite-OnWindows file sharing on a laptop whose network is set to PrivateIntelWindows file sharing on a PC whose network is set to PrivateQuantaWindows file sharing on Quanta-built laptops, if the network is marked privateCompalWindows file sharing on Compal-built laptops, if the network is marked private

Related ports

All portsPort lookupSubnet calculator

Other tools

IPv4 · IPv6 · CIDR
Subnet calculator
Network, broadcast, host range and wildcard for any CIDR, IPv4 or IPv6. Turns an IP range into the CIDR blocks that cover it.
OUI · MA-L · MA-M · MA-S
MAC vendor lookup
Which company made the device behind a hardware address, from the IEEE registry. Spots randomised private addresses too.
X.509 · PKCS#10 · PEM · DER
Certificate and CSR decoder
Subject, issuer, validity, key, SANs, key usage and fingerprints from a certificate or signing request. Parsed in your browser.
VPN · resolver · privacy
DNS leak test
Which DNS servers actually answer your lookups on this connection, who owns them, and whether your VPN or private DNS is really being used.
Cloudflare · Google · Quad9 · 8 resolvers
DNS benchmark
Times eight public resolvers from where you are, over DNS-over-HTTPS, and ranks them by median response.
TCP · UDP · what is this port
Port lookup
What a port number is used for, which home devices open it, and whether it matters that it is reachable.
Certificate Transparency · CT logs
Subdomain finder
Every subdomain on a currently valid TLS certificate, from the public Certificate Transparency logs, with the ones worth a second look flagged.
IP to ASN · BGP · IP ranges
ASN lookup
Which network routes an IP address, who holds an AS number, and every IPv4 and IPv6 range it announces. Live BGP data from RIPEstat.
HTTP archive
HAR analyzer
Open a HAR file and see what a page really loaded: third parties, slowest requests, insecure cookies, servers that leak versions.
IIS · nginx · Apache · access logs
Log analyzer
Check IIS, nginx and Apache access logs for signs of exploitation, with a verdict per CVE and every finding traced to its line. Read in your browser, never uploaded.
Public IP · fingerprint
What is my IP
Your public address and everything else your browser hands to every site you visit, without asking.