Active Directory Fundamentals
Understand how enterprises manage users and computers with Active Directory, Kerberos and Group Policy, and why AD is a prime target.
Intermediate · about 8 hours · difficulty 3/5
Learn first: Windows Internals for Defenders
Active Directory (AD) is the identity backbone of most companies that run Windows. It stores users, groups and computers, and decides who can log in where. Because it controls everything, compromising AD usually means compromising the whole organization.
Key building blocks
- Domain and domain controller (DC): the DC hosts the AD database and handles authentication.
- Objects: users, groups, computers, organized into Organizational Units (OUs).
- Forests and trusts: multiple domains that trust each other.
- Group Policy (GPO): centrally pushed settings like password policy, firewall rules, or scripts.
- High-value groups: Domain Admins, Enterprise Admins, and anything with rights over the DC.
Authentication
AD mainly uses Kerberos: a user proves identity to the DC and gets a ticket-granting ticket (TGT), then requests service tickets for specific resources. Older NTLM still exists for compatibility and is weaker. Many famous attacks (Kerberoasting, pass-the-hash, golden tickets) abuse how these protocols work, which is why defenders monitor them closely.
Why defenders care
Attackers who land on one workstation try to move laterally and escalate to Domain Admin. Tools like BloodHound map the hidden paths (nested groups, delegated rights) that make this possible. Defenders use the same maps to remove dangerous paths, tier admin accounts, and watch logons to the DC.
Pitfalls
- Using a Domain Admin account for daily work or on normal workstations.
- Ignoring stale accounts and service accounts with old, weak passwords.
You are ready to move on when you can build a tiny lab domain (one DC, one client) and explain how a user login flows through Kerberos.
Key concepts
- Domains, DCs, forests and trusts
- Users, groups and OUs
- Group Policy
- Kerberos tickets (TGT, TGS)
- NTLM and its weaknesses
- Privileged groups and admin tiering
- Attack path mapping (BloodHound)
Mini project
Build a lab with a Windows Server evaluation DC and one Windows client, create OUs, users and a GPO, then log in as a user and find the Kerberos events on the DC.
Check yourself
Why is it dangerous for a Domain Admin to log in to an ordinary employee workstation?
Free resources
- Active Directory Domain Services overview (Microsoft)
- MIT Kerberos documentation (MIT)
- TryHackMe Active Directory rooms (TryHackMe)