This room introduces the first phase of attacking an Active Directory environment without credentials. The focus is on identifying live hosts, finding the domain controller, enumerating SMB shares, querying LDAP anonymously where possible, and building enough domain knowledge to move toward valid credentials.
Core idea: in an internal AD assessment, early wins usually come from disciplined unauthenticated enumeration of hosts, services, users, and misconfigurations rather than from immediate exploitation.
The room frames four main objectives:
Before scanning, confirm that your attacker box can actually reach the target subnet.
route or ip route can confirm the VPN route exists.ping checks can confirm connectivity to known targets.The first practical step is identifying live systems in scope.
fping -agq <subnet>: fast ICMP-based sweep across the subnet.nmap -sn <subnet>: host discovery without port scanning.From there, save the relevant targets to a file such as hosts.txt for later scans.
Once live hosts are known, the next step is spotting the DC by its exposed services.
88/tcp Kerberos135/tcp MS-RPC139/tcp NetBIOS/SMB389/tcp LDAP445/tcp SMB464/tcp Kerberos password service636/tcp LDAPSA targeted scan such as nmap -p 88,135,139,389,445,636 -sV -sC TARGET is often enough to confirm an AD host.
SMB is one of the richest early-enumeration protocols in Windows environments.
smbclient -L //TARGET -N: lists shares anonymously if null sessions are allowed.smbmap -H TARGET: quickly shows which shares are readable or writable.smb-enum-shares: another good way to inspect SMB exposure.Why this matters: anonymous or weakly protected shares often contain backups, scripts, documents, config files, and sometimes credentials.
Once a readable share is found, connect and inspect it manually.
smbclient //TARGET/SHARE -N to connect anonymously.ls to list files.get filename to download interesting material.Shared folders like user backups or internal file drops are especially valuable during an initial foothold phase.
If anonymous LDAP bind is enabled, it can reveal a lot about the domain structure.
ldapsearch -x -H ldap://TARGET -s base can confirm anonymous access and expose naming contexts.ldapsearch -x -H ldap://TARGET -b "dc=example,dc=loc" "(objectClass=person)" can enumerate user objects.This can expose domain names, hostnames, users, and other directory metadata without needing credentials.
The room also points to automation helpers that speed up AD discovery:
This room is about building a map of the environment before attempting password attacks or exploitation.
fping, nmap, smbclient, smbmap, ldapsearch, and enum4linux-ng are key tools to remember.