Use Nmap to identify open ports and running services on a local Windows host.
- Nmap 7.99
- Windows 11
nmap localhost
nmap -sV localhost| Port | Service |
|---|---|
| 135 | MSRPC |
| 445 | Microsoft-DS (SMB) |
- Microsoft Windows RPC detected on port 135
- SMB file sharing service detected on port 445
- Host identified as Windows system
- Port 135 is used for Windows administrative services.
- Port 445 provides SMB file sharing capabilities and is commonly targeted during lateral movement and ransomware attacks.
- Open services increase an organization's attack surface and should be monitored, hardened, and regularly assessed.


