cstrien/skills_dior/137-138-139-pentesting-netbios
Claude Code and agent skill by cstrien/skills_dior
- community
Checking that the SKILL.md file is still in the repository.
Enumerate NetBIOS services (ports 137, 138, 139) to discover server names, workgroups, and MAC addresses during network pentesting. Use this skill whenever you need to enumerate NetBIOS services, discover Windows/Samba shares, investigate network name resolution, or assess NetBIOS security. Trigger this skill for any task involving NetBIOS ports, Windows network enumeration, or SMB-related reconnaissance.
Install
npx vskill@latest install cstrien/skills_dior/137-138-139-pentesting-netbiosSKILL.md
The same SKILL.md was published earlier as cstrien/skills_dior/137-138-139-pentesting-netbios.
NetBIOS Enumeration
Overview
NetBIOS provides three core services for network communication:
| Service | Port | Protocol | Purpose | |
|---|---|---|---|---|
| Name Service | 137 | UDP/TCP | Name registration and resolution | |
| Datagram Distribution | 138 | UDP | Connectionless communication | |
| Session Service | 139 | TCP | Connection-oriented communication |
Quick Start
Detailed Enumeration
Name Service (Port 137)
The Name Service handles name registration and resolution. Devices participate in a NetBIOS network through a broadcast process where "Name Query" packets are sent. If no objections are received, the name is considered available.
Commands:
What you'll discover:
- Computer/Server names
- Workgroup or domain membership
- MAC address of the network interface
- User names (sometimes visible)
- NetBIOS service types
Datagram Distribution Service (Port 138)
NetBIOS datagrams allow for connectionless communication via UDP, supporting direct messaging or broadcasting to all network names.
Check if open:
Session Service (Port 139)
The Session Service facilitates connection-oriented interactions between two devices using TCP. A session begins with a "Session Request" packet and supports larger messages, error detection, and recovery.
Check if open:
What to Look For
When enumerating NetBIOS, pay attention to:
- Computer names - The NetBIOS name of the target system
- Workgroup/Domain - Network membership information
- MAC address - Physical network interface identifier
- Service types - What NetBIOS services are running
- User accounts - Sometimes visible in enumeration output
Common Nmap Findings
Next Steps After Enumeration
Once you've enumerated NetBIOS services, consider:
- Check SMB vulnerabilities - Port 445 often accompanies NetBIOS
- Attempt null sessions - Anonymous SMB connections
- Look for password hashes - LanMan/NTLM hashes may be accessible
- Investigate share access - Enumerate and access network shares
- Check for misconfigurations - Anonymous access, weak permissions
Automation Script
For repeated enumeration tasks, use the bundled script:
This runs all three enumeration methods and saves results to a file.
References
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingnetwork-services-pentesting/137-138-139-pentesting-netbios/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cstrien/skills_dior/137-138-139-pentesting-netbios)