Bitzu

CPSA ยท Windows domain reconnaissance and Active Directory

Domain and workgroup reconnaissance

Identifying domains, workgroups, key servers and browse lists in a target network.

Key points

  • Aim: find domains, workgroups and key servers (domain controllers, file servers, master browsers).
  • nbtstat -A <ip>: a host's NetBIOS names, each with a one-byte suffix, e.g. <00> (workstation/domain) or <20> (file service), unique or group.
  • Also: master browser lists, DNS SRV lookups.
  • Domain: central directory on domain controllers.
  • Workgroup: peers with local accounts only.

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

Practice questions

Single choice

Which nbtstat switch displays the NetBIOS name table of a remote host when you only know its IP address?

  1. /n
  2. /c
  3. /A
  4. /R
Show answer

Answer: C. /A

/A takes an IP address and queries the remote name table. /n shows the local table, /c the local name cache and /R purges the cache.

Select all that apply

Which sources can reveal domain controllers and key servers on an internal network?

  1. The NetBIOS name table from nbtstat -A
  2. DNS SRV records such as _ldap._tcp.dc._msdcs
  3. The browse list held by a master browser
  4. The TTL values in ICMP echo replies
  5. The screen saver timeout on a client
Show answer

Answer: A. The NetBIOS name table from nbtstat -A, B. DNS SRV records such as _ldap._tcp.dc._msdcs, C. The browse list held by a master browser

Name tables, SRV records and browse lists all enumerate roles and servers. TTL values hint only at the OS family, and a screen saver setting says nothing about network roles.

True or false

A workgroup stores user accounts centrally on a domain controller.

Show answer

Answer: False

False. A workgroup has no domain controller; every machine keeps its own local account database. Central accounts are what make a machine part of a domain.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CPSA topics in this module