Port 445/tcp: SMB (Server Message Block) / CIFS
Category: File Sharing & Remote Access. Range: well-known. Status: iana registered.
What runs here
Windows' (and Samba's) native file, printer, and named-pipe sharing protocol. Port 445 is "direct-hosted" SMB running straight over TCP without the legacy NetBIOS session service (ports 137-139) that older SMB required. Beyond plain file shares, SMB named pipes also carry a range of other Windows RPC-based administrative protocols such as service control, remote registry, and SAM access.
Why it matters
SMB is arguably the single highest-value Windows lateral-movement port from a DFIR standpoint: authenticating to the administrative shares (ADMIN$, C$) is the mechanism behind PsExec-style remote execution and its open-source descendants, and SMB has been the delivery vector for some of the largest worm outbreaks on record: the EternalBlue-based WannaCry and NotPetya campaigns exploited unpatched SMBv1. Ransomware operators routinely enumerate and encrypt every reachable SMB share as one of their final acts.
Where you see it
Legitimately: file/print sharing, Group Policy retrieval, domain controller replication. Anomalously/maliciously: PsExec or Impacket's psexec.py/wmiexec.py/smbexec.py using ADMIN$/C$ to stage and execute a service binary or command, SMB relay/NTLM-relay attacks, or exploitation of an unpatched, exposed SMBv1 host.
What to look for
| Signal | What it means |
|---|---|
| Tree Connect to an admin share | Events 5140 (share accessed) and 5145 (per-file access check) against ADMIN$, C$, or IPC$ are the core SMB lateral-movement signal. |
| Logon Type 3 + service creation | A 4624 Logon Type 3 (Network) on the target immediately followed by a 7045 (new service installed) is the classic PsExec-style remote-execution pattern. |
| SMBv1 still in use | Any negotiated SMBv1 dialect on a modern network is itself a finding. It should be disabled, and it is what EternalBlue-class exploits require. |
In practice
An account with no prior administrative activity authenticates over SMB (Logon Type 3), immediately opens a Tree Connect to ADMIN$ (Event 5140), and a new service appears moments later (Event 7045): the fingerprint of a PsExec-style remote-execution tool rather than routine file access.
Related ports
- 135/tcp: MSRPC Endpoint Mapper (DCE/RPC)
ATT&CK techniques
- T1021.002: T1021.002