nerdexam
GIAC

GSEC · Question #240

You work as a Network Administrator for McRobert Inc. You want to know the NetBIOS name of your computer. Which of the following commands will you use?

The correct answer is C. NBTSTAT -n. The NBTSTAT -n command displays the local NetBIOS name table, which lists the NetBIOS names registered by the local computer.

Windows and Malware

Question

You work as a Network Administrator for McRobert Inc. You want to know the NetBIOS name of your computer. Which of the following commands will you use?

Options

  • ANETSTAT -s
  • BNBTSTAT -s
  • CNBTSTAT -n
  • DNETSTAT -n

How the community answered

(19 responses)
  • A
    16% (3)
  • B
    5% (1)
  • C
    79% (15)

Why each option

The NBTSTAT -n command displays the local NetBIOS name table, which lists the NetBIOS names registered by the local computer.

ANETSTAT -s

NETSTAT -s displays per-protocol statistics (TCP, UDP, ICMP) for IP networking and has no knowledge of NetBIOS names.

BNBTSTAT -s

NBTSTAT -s displays the current NetBIOS sessions (active connections to remote machines), not the local computer's NetBIOS name.

CNBTSTAT -nCorrect

NBTSTAT is the Windows command-line tool for displaying NetBIOS over TCP/IP statistics and name tables. The -n switch specifically lists the local NetBIOS names registered by the computer, including the machine name, workgroup, and services, making it the correct command to find a computer's NetBIOS name.

DNETSTAT -n

NETSTAT -n displays active TCP/IP connections using numeric IP addresses instead of resolving hostnames, and does not interact with NetBIOS naming.

Concept tested: NBTSTAT command for local NetBIOS name lookup

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/nbtstat

Topics

#NBTSTAT#NetBIOS#Windows networking#network commands

Community Discussion

No community discussion yet for this question.

Full GSEC Practice