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
Which nbtstat switch displays the NetBIOS name table of a remote host when you only know its IP address?
- /n
- /c
- /A
- /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.
Which sources can reveal domain controllers and key servers on an internal network?
- The NetBIOS name table from nbtstat -A
- DNS SRV records such as _ldap._tcp.dc._msdcs
- The browse list held by a master browser
- The TTL values in ICMP echo replies
- 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.
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.
