AD: Basic Enumeration

Overview

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.

1) Goals of Basic AD Enumeration

The room frames four main objectives:

2) Verifying Network Access

Before scanning, confirm that your attacker box can actually reach the target subnet.

3) Host Discovery

The first practical step is identifying live systems in scope.

From there, save the relevant targets to a file such as hosts.txt for later scans.

4) Identifying the Domain Controller

Once live hosts are known, the next step is spotting the DC by its exposed services.

A targeted scan such as nmap -p 88,135,139,389,445,636 -sV -sC TARGET is often enough to confirm an AD host.

5) SMB Enumeration

SMB is one of the richest early-enumeration protocols in Windows environments.

Why this matters: anonymous or weakly protected shares often contain backups, scripts, documents, config files, and sometimes credentials.

6) Accessing Shares and Pulling Files

Once a readable share is found, connect and inspect it manually.

Shared folders like user backups or internal file drops are especially valuable during an initial foothold phase.

7) LDAP Enumeration

If anonymous LDAP bind is enabled, it can reveal a lot about the domain structure.

This can expose domain names, hostnames, users, and other directory metadata without needing credentials.

8) Helpful Enumeration Tools

The room also points to automation helpers that speed up AD discovery:

9) Practical AD Enumeration Mindset

This room is about building a map of the environment before attempting password attacks or exploitation.

Exam Notes (PT1)