Defending Active Directory
Detect the domain compromise in the logs you already have
An attacker who lands one phishing click and walks out with Domain Admin rarely uses a zero-day. They use Kerberos the way it was designed, a service account nobody rotated, a delegation right nobody reviewed. Every step writes a record in the Windows Security log. This course teaches you to read that record, write the detection as a rule you can carry anywhere, and harden the weakness so the next attacker does not get the same run.
What you'll be able to do
Course Syllabus
Every module and every lesson. The first three modules are open; the rest open on a click.
Download the full syllabus (PDF)
Phase 1: Foundations
Defending Active Directory is attack-informed defense: you learn each attack against a modern domain from both sides, what the adversary does and what it leaves in the evidence, then how to detect and analyze it. This orientation covers what Active Directory is, why it is attacked, its attack surface, the common paths to compromise, and the architecture and modern context you need before the hands-on detection begins.
Show 10 lessonsHide lessons
- 0.1ADS0.1 What Is Active DirectoryPreview
- 0.2ADS0.2 Threats Against Active DirectoryPreview
- 0.3ADS0.3 The Active Directory Attack SurfacePreview
- 0.4ADS0.4 The Most Common Paths to Active Directory CompromisePreview
- 0.5ADS0.5 Challenges to Maintaining a Secure Active DirectoryPreview
- 0.6ADS0.6 AD Architecture: Domains, Forests, Trusts, ControllersPreview
- 0.7ADS0.7 The Core Components of a DomainPreview
- 0.8ADS0.8 The Modern Context: Entra ID, AD CS, and ADFSPreview
- 0.9ADS0.9 Logical and Physical StructurePreview
- 0.10ADS0.10 Build Your Active Directory LabPreview
The threat landscape for Active Directory and the defensive doctrine that answers it.
Show 14 lessonsHide lessons
- 1.1ADS1.1 Why Active Directory Is a Prime Target
- 1.2ADS1.2 The Active Directory Attack Lifecycle
- 1.3ADS1.3 The Tools Attackers and Defenders Use
- 1.4ADS1.4 Avenues to Compromise
- 1.5ADS1.5 Attractive Accounts for Credential Theft
- 1.6ADS1.6 Reducing the Active Directory Attack Surface
- 1.7ADS1.7 Implementing Least-Privilege Administrative Models
- 1.8ADS1.8 Implementing Secure Administrative Hosts
- 1.9ADS1.9 Securing Domain Controllers Against Attack
- 1.10ADS1.10 Monitoring Active Directory for Signs of Compromise
- 1.11ADS1.11 Audit Policy Recommendations
- 1.12ADS1.12 Planning for Compromise
- 1.13ADS1.13 Maintaining a More Secure Environment
- 1.14Check My Knowledge
A current, defender-led survey of how Active Directory is actually attacked: enumeration and recon, credential attacks, Kerberos roasting, ticket forgery and delegation abuse, privilege escalation and persistence, AD CS certificate abuse, the hybrid seam into Entra ID, and the network-side vectors. Eight subs, each carrying one runnable detection against the Northgate corpus, so you leave knowing what each attack does, what it records, and how you would catch it.
Show 9 lessonsHide lessons
Reconnaissance is the phase you cannot see in native logs, and the one that decides everything after it. How attackers read the directory with LDAP and SAMR, how BloodHound turns that into a shortest path to Domain Admin, why Windows records almost none of it, and the two defenses that actually work: posture (tiering, ACL hygiene, attack-path management) and Microsoft Defender for Identity. Five subs, one runnable detection, grounded in the Northgate corpus.
The machinery Active Directory uses to prove identity and grant access is the single largest attack surface in the enterprise, and almost every AD intrusion is an abuse of it working as designed. This module maps that surface as one domain: the authentication and access concerns, the protocols, where credentials live and how they are protected, the attacks that target the machinery, access control and authorization, hardening, the hybrid seam to Entra, and detection.
Show 12 lessonsHide lessons
- 4.1ADS4.1 The Authentication and Access Management Attack Surface
- 4.2ADS4.2 Authentication Concerns
- 4.3ADS4.3 Access and Privilege Concerns
- 4.4ADS4.4 Reducing the Authentication and Access Attack Surface
- 4.5ADS4.5 Authentication Protocols Deep Dive
- 4.6ADS4.6 Credential Storage and Protection
- 4.7ADS4.7 Major Authentication Attacks
- 4.8ADS4.8 Access Control and Authorization
- 4.9ADS4.9 Group Policy and Authentication Hardening
- 4.10ADS4.10 Hybrid and Modern Authentication
- 4.11ADS4.11 Detection and Monitoring
- 4.12Check My Knowledge
Phase 2: The Attack Chain
A stolen credential does not need to be cracked to be used. This module is the deep treatment of credential theft and replay: where credentials live and how they are lifted, pass-the-hash, pass-the-ticket and overpass-the-hash, the BadSuccessor dMSA takeover, the exact logon events each one leaves, how to reconstruct one credential moving across hosts, and a capstone that works the whole intrusion.
Show 9 lessonsHide lessons
- 5.1ADS5.1 The Shape of Credential Theft and Replay
- 5.2ADS5.2 Where Credentials Live and How They Are Lifted
- 5.3ADS5.3 Pass-the-Hash: Replaying the NTLM Secret
- 5.4ADS5.4 Pass-the-Ticket and Overpass-the-Hash
- 5.5ADS5.5 BadSuccessor and dMSA Abuse
- 5.6ADS5.6 Reconstructing Lateral Movement
- 5.7ADS5.7 Detecting Credential Replay
- 5.8ADS5.8 Capstone: Working the Northgate Intrusion
- 5.9Check My Knowledge
Most Active Directory privilege escalation is not an exploit, it is the abuse of delegation and directory write rights the domain already grants. This module is the deep treatment: the delegation spectrum from unconstrained to resource-based, the attribute writes that hand out power, the 5136 directory-change event that is the defender's through-line, a full escalation reconstructed from the evidence it left, and one consolidated detection set.
Show 8 lessonsHide lessons
- 6.1ADS6.1 The Shape of Privilege Escalation
- 6.2ADS6.2 Unconstrained Delegation
- 6.3ADS6.3 Constrained Delegation and Protocol Transition
- 6.4ADS6.4 Resource-Based Constrained Delegation
- 6.5ADS6.5 SPN-Write Abuse
- 6.6ADS6.6 Reconstructing a Delegation Escalation
- 6.7ADS6.7 Detecting Privilege Escalation
- 6.8Check My Knowledge
Domain dominance is the point where an attacker stops escalating and starts owning the directory: replicate its secrets with DCSync, forge the tickets the domain trusts with the stolen krbtgt key, and write themselves persistence that survives the cleanup.
Show 8 lessonsHide lessons
- 7.1ADS7.1 The Shape of Domain Dominance
- 7.2ADS7.2 DCSync
- 7.3ADS7.3 Golden Tickets and the KRBTGT Key
- 7.4ADS7.4 Silver and Diamond Tickets
- 7.5ADS7.5 Privileged-Group Persistence
- 7.6ADS7.6 Stealth Persistence: SIDHistory, AdminSDHolder, DCShadow
- 7.7ADS7.7 Reconstructing a Domain Takeover
- 7.8Check My Knowledge
Active Directory Certificate Services is a second set of keys to the domain, and coercion is the trick that forces a domain controller to authenticate where an attacker wants.
Show 8 lessonsHide lessons
- 8.1ADS8.1 The Shape of AD CS and Coercion
- 8.2ADS8.2 ESC1: Enrollee-Supplies-Subject
- 8.3ADS8.3 The Rest of the ESC Family
- 8.4ADS8.4 Coercion: PetitPotam, the Printer Bug, and the Spooler
- 8.5ADS8.5 NTLM Relay and the ESC8 Chain
- 8.6ADS8.6 GPO Abuse
- 8.7ADS8.7 Reconstructing the Certificate Path
- 8.8Check My Knowledge
Phase 3: The Hybrid Seam
On-prem Active Directory and Entra ID are one trust boundary stitched together by synchronization, and the seam between them is how an attacker who owns the domain reaches the cloud. This module is the crossing: the pivot where a synced privileged identity signs into the cloud, the Entra Connect bridge that runs both ways, and the single-sign-on and federation keys that forge cloud identity wholesale.
Phase 4: Respond and Recover
Detecting a domain compromise is half the job; this module is the other half. Analyst-seat Active Directory incident response worked against the reconstructed Northgate intrusion: scope past the alert queue, contain without tipping the attacker, eradicate the keys the attacker forged from rather than the passwords, decide whether the domain can be cleaned or must be rebuilt, and separate fixing the vulnerability from evicting the adversary.
Show 7 lessonsHide lessons
Phase 5: Capstone
The course's two halves on one intrusion. You are handed an open incident cold and reconstruct the whole Northgate compromise from the evidence: a phished foothold, Kerberoasting, a lateral move, directory-write escalation, DCSync and a golden ticket, a forged certificate and a Domain Admins addition, spooler coercion, and a pivot into the cloud. Then you run the response end to end, eviction, the rebuild decision, and the paths closed last.
Show 8 lessonsHide lessons
Phase 0: Course Resources
The question, the query, what a hit means, and what the check does not prove, one sheet per attack stage.
Show 12 lessonsHide lessons
- 1Recon and Attack-Path Posture
- 2Authentication and Credential Storage
- 3Credential Theft and Replay
- 4Delegation Abuse
- 5Domain Dominance and Persistence
- 6AD CS and Coercion
- 7The Hybrid Seam
- 8Audit Policy and Visibility
- 9Respond and Recover
- 10The Attack Lifecycle
- 11Operating Cadence and Thresholds
- 12Event Reference and Detection Surfaces
Ordered procedures for the Active Directory hardening that recurs, each with the breakage it causes named up front.
A domain built with the misconfigurations this course finds, where you can run the attacks and watch what they leave behind.
Active Directory work reasoned end to end, including the cases where the finding was already there and the ones that end in doing nothing.
What to do when a detection fires or somebody asks: DCSync, ticket forgery, a coerced authentication, a delegation change, a locked-out estate.
Every practice surface available for this course, what each one gives you, and where the gaps are.
Microsoft Active Directory and identity documentation, MITRE ATT&CK techniques, security frameworks and standards, threat-intelligence research, and hardening and recovery guidance used throughout the Defending Active Directory course.
Show 1 lessonHide lessons
Course Completion
You've reached the end of Defending Active Directory. This closing module looks back at what you built across the course, how it changed the way you read an alert, and where to take the work next.
Show 1 lessonHide lessons
Course overview
Defending Active Directory teaches you to detect and shut down the attacks that turn one foothold into a whole domain. You work against a real compromised Northgate Engineering domain in the browser, reading the same Windows events a working analyst reads, and you leave with detections you can run anywhere. Learn how to:
By the end you detect a full domain compromise the way a working defender does, with nothing more than the events every domain already produces, and you know which tools sharpen that picture where you have them.
How this course works
Active Directory attacks are visible if you know which event the technique cannot avoid writing. This course runs the same loop for every technique across the attack path.
1. See the attack as an artifact, not a description. Every technique is shown as the real trace it leaves or the documented command that produces it, because recognition is what a defender needs.
2. Reason from what the protocol requires. Kerberos, LDAP and certificate issuance each have to do certain things. Detections built on those survive the attacker changing tools.
3. Write it once, render it everywhere. Detections are authored in Sigma and shown in Windows event terms, Sentinel KQL and Splunk SPL, so they travel to whatever the estate runs.
4. Check it against the corpus. Every runnable detection in this course is verified against real data rather than asserted, including the ones that return nothing.
5. Follow the path to the seam. On-premises AD and Entra ID are one attack surface with a synchronization boundary in the middle, and the crossings are where investigations stop too early.
The capstone works the full Northgate compromise end to end.
What this course assumes
No minimum experience and no prerequisite course. Kerberos, delegation, AD CS and the replication model are explained where they first matter rather than assumed.
What makes it go faster: a domain you can break, virtual is fine, and any prior exposure to Windows event logs. Neither is required, and every detection is shown against data.
What this course does not cover: Active Directory administration, penetration testing as a profession, and cloud-only identity, which is its own course. This is defending the directory.
Who this course is for
You are a SOC analyst, detection engineer, incident responder, threat hunter, or systems administrator who owns or defends Active Directory and wants to detect the attacks against it rather than only patch it. The course is self-contained, every concept explained at first use, and built so it works with or without a SIEM. It is for you if you want to:
What you'll learn
By the end of Defending Active Directory you will be able to:
Key course takeaways
Things you need to know
What are the prerequisites for this course?
None beyond a working familiarity with Active Directory as an administrator or defender. You do not need prior detection-engineering experience. Every attack, event, and query is explained from first use, and an experienced reader can skip past what they already know.
Do I need a SIEM or Defender for Identity?
No. The course is source-first by design. Every core detection rests on the Windows Security log that every domain produces. Where you have Defender for Identity, the course shows you the extra signal it adds, especially for reconnaissance, as an enhancement rather than a requirement.
How will the course benefit your career?
Active Directory remains the backbone of most enterprise identity, and the attacks against it are among the most common paths to full compromise. Defenders who can detect and harden AD, rather than only operate it, are valuable to any SOC, detection-engineering, or incident-response team. The portable, source-first approach means the skill travels with you regardless of which tools an employer runs.
Usage rights and disclaimer
Course materials: Licensed for individual professional development. You may not redistribute course content or share account credentials.
Attack techniques: All offensive detail is taught from the defender's side, against a synthetic corpus, for detection and hardening only. Running these techniques against systems you do not own or have permission to test is illegal.
Fictional environment: All scenarios use Northgate Engineering. Any resemblance to real organizations is coincidental.
End of Course Exam
Complete the course, then prove your skills under time pressure. Pass mark: 70. Earn your certificate with CPE credits.
One random scenario per attempt. Certificate issued on pass.