← Port Encyclopedia
138
NetBIOS-DGM
UDP
Windows
High Risk
NetBIOS Datagram Service — Windows datagram distribution, browsing
🔍 How to Scan Port 138
nmap -sV -p 138 target
nmap -sV -sC --script=banner -p 138 target
nc -zv target 138
🛡️ Security Considerations
- Scan port 138 with
nmap -sVto identify the exact service and version - If NetBIOS-DGM is not needed, close or firewall this port immediately
- Check for default credentials if a management interface runs on this port
- Use
searchsploit netbios-dgmto find known exploits - Monitor traffic on port 138 with Wireshark or tcpdump for anomalies
- Ensure the service is patched to the latest version to prevent known CVE exploitation