NetBIOS Enumeration

5 minutes 5 Questions

NetBIOS Enumeration Guide for CEH Exam

Understanding NetBIOS Enumeration

NetBIOS (Network Basic Input/Output System) enumeration is a critical concept in ethical hacking, particularly for the CEH exam. It involves gathering information about NetBIOS names, shares, users, groups, and other network resources from Windows-based systems.

Why NetBIOS Enumeration is Important

NetBIOS enumeration is significant because:

1. It reveals valuable system information that attackers can leverage to plan targeted attacks
2. It exposes network shares, user accounts, and security configurations
3. It helps identify potential vulnerabilities in Windows-based networks
4. It's often an early step in network penetration testing
5. Understanding it is crucial for implementing proper security controls

How NetBIOS Enumeration Works

NetBIOS operates on ports 137 (UDP - name services), 138 (UDP - datagram services), and 139 (TCP - session services). Windows systems with NetBIOS enabled respond to queries sent to these ports, providing various types of information:

1. NetBIOS Names: Each computer on a NetBIOS network has a unique 16-character name
2. Computer Names: Identifies specific systems on the network
3. Usernames: Accounts configured on the target system
4. Workgroups/Domains: Group affiliations of computers
5. Network Shares: Resources available for network access

Common NetBIOS Enumeration Tools

1. Nbtstat: Windows built-in tool for displaying NetBIOS over TCP/IP information
Example: nbtstat -A [IP address]

2. net view: Windows command for viewing shared resources
Example: net view \[computer name]

3. Nbtscan: Scans for NetBIOS name information
Example: nbtscan 192.168.1.0/24

4. SuperScan: GUI-based Windows tool for network scanning

5. Nmap: Network mapper with NetBIOS scanning capabilities
Example: nmap -sV -p 139,445 [target]

6. DumpSec: Reveals user accounts, shares, and policy settings

Prevention Techniques for NetBIOS Enumeration

1. Disable NetBIOS if not required (through network adapter properties)
2. Block ports 137, 138, 139, and 445 at firewalls
3. Implement strict access controls on shares
4. Use strong password policies
5. Implement network segmentation

Exam Tips: Answering Questions on NetBIOS Enumeration

1. Know the Ports: Remember NetBIOS uses ports 137 (UDP), 138 (UDP), and 139 (TCP). Many questions test this knowledge.

2. Understand Tools: Be familiar with both Windows built-in tools (nbtstat, net view) and specialized utilities (Nbtscan, Nmap). Know what each does and basic syntax.

3. Command Syntax: Memorize common command options:
- nbtstat -A [IP]: Shows NetBIOS name table for a remote computer
- nbtstat -c: Shows NetBIOS name cache
- net view \\[computer]: Lists shares on a specific computer

4. Recognize Output: The exam may show command output and ask you to interpret it. Know what different NetBIOS name suffixes mean (e.g., <00> for workstation, <20> for file sharing).

5. Context in Attack Chain: Understand where NetBIOS enumeration fits in the attack methodology (reconnaissance/enumeration phase).

6. Remediation Focus: Questions often ask about protecting against NetBIOS enumeration - focus on disabling unnecessary services and proper firewall configuration.

7. Differentiate SMB vs. NetBIOS: While related, these are different protocols. SMB (Server Message Block) is the higher-level protocol that can use NetBIOS as a transport.

8. NetBIOS vs. NBNS: Understand NetBIOS Name Service (NBNS) and how it resolves NetBIOS names to IP addresses.

9. Practical Applications: Consider scenarios where an attacker would use NetBIOS enumeration and what they would learn.

10. Read Carefully: Many exam questions try to confuse by mixing similar concepts. Pay close attention to what's being asked about NetBIOS specifically.

Test mode:
Go Premium

Certified Ethical Hacker Preparation Package (2025)

  • 2372 Superior-grade Certified Ethical Hacker practice questions.
  • Accelerated Mastery: Deep dive into critical topics to fast-track your mastery.
  • Unlock Effortless CEH preparation: 5 full exams.
  • 100% Satisfaction Guaranteed: Full refund with no questions if unsatisfied.
  • Bonus: If you upgrade now you get upgraded access to all courses
  • Risk-Free Decision: Start with a 7-day free trial - get premium features at no cost!
More NetBIOS Enumeration questions
17 questions (total)