Course contentsShow
← Security
Lesson 2123 of 3,05242. Penetration Testing and Red TeamingFree lesson

Domain Enumeration and Reconnaissance

Mapping Active Directory structure, discovering users, groups, computers, and trust relationships post-compromise.

Domain Enumeration and Reconnaissance

What you'll learn: How to systematically map Active Directory environments after gaining initial access to discover users, groups, computers, and trust relationships.

Why Map the Domain?

Once you've compromised a system and dumped credentials (lessons 2119-2122), you need to understand the network's social structure. Think of Active Directory as a corporate phone book combined with an org chart—it tells you who exists, what they can do, and how different parts of the organization trust each other.

Domain enumeration is the process of extracting this information to plan your next moves: which accounts are high-value targets? Which systems are critical? Where can you move laterally?

Core Enumeration Activities

User Discovery: Identifying all domain users, their group memberships, and privilege levels. High-value targets include domain admins, service accounts, and users with privileged access.

Group Enumeration: Mapping security groups reveals who has administrative rights, access to sensitive resources, and delegation permissions. Groups like "Domain Admins" or "Enterprise Admins" are prime targets.

Computer Discovery: Cataloging domain-joined workstations and servers helps you identify valuable targets (domain controllers, file servers, database hosts) and plan lateral movement paths.

Trust Relationships: Discovering trusts between domains or forests reveals how you might pivot from a compromised domain into connected environments—like finding hidden bridges between castles.

Why This Matters

Enumeration transforms blind access into strategic advantage. Without it, you're fumbling in the dark. With detailed enumeration, you can identify the shortest path to domain admin, locate sensitive data repositories, and understand defensive boundaries.

Think of it as reconnaissance before a military operation—you need the map before you can plan the attack.

Key Takeaway: Domain enumeration systematically maps Active Directory's structure post-compromise, revealing users, groups, computers, and trust relationships that guide privilege escalation and lateral movement strategies.