← 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 -sV to 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-dgm to 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
Found this useful? Share it.
Make it count. Join free to earn XP for what you read and solve, keep a streak, and track your progress.
Join free