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.

Included with Specialist, from $29/month, or $289/year and save 25%. Preview the first module free, no account needed.
Your subscription also includes the Practice Hub: graded scenarios, forensic cases, query drills and the response playbooks.
View Pricing Take End of Course Exam → 40 CPE Credits

What you'll be able to do

✓Map every stage of an Active Directory attack, from recon to domain dominance, to the exact Windows event that records it
✓Build and tune detections for Kerberoasting, credential replay, delegation abuse, DCSync, golden tickets, and AD CS ESC1 through ESC8
✓Render any detection across four surfaces, Sigma, Windows, Sentinel KQL, and Splunk SPL, and reason about its false positives in each
✓Audit your own domain with free tooling such as BloodHound, PingCastle, Locksmith, and setspn, and reduce what an attacker's recon yields
✓Detect the on-premises to Entra pivot at the hybrid seam, and hand off cleanly to cloud-side investigation
✓Apply tiering, Protected Users, LAPS, gMSA, and KRBTGT rotation, and run AD-specific incident response through to forest recovery
SEC406 | Specialist tier | 7 modules across 5 phases | 36–40 hours at your own pace | 40 CPE credits

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

Module 0Course OrientationCourse Preview

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
  1. 0.1ADS0.1 What Is Active DirectoryPreview
  2. 0.2ADS0.2 Threats Against Active DirectoryPreview
  3. 0.3ADS0.3 The Active Directory Attack SurfacePreview
  4. 0.4ADS0.4 The Most Common Paths to Active Directory CompromisePreview
  5. 0.5ADS0.5 Challenges to Maintaining a Secure Active DirectoryPreview
  6. 0.6ADS0.6 AD Architecture: Domains, Forests, Trusts, ControllersPreview
  7. 0.7ADS0.7 The Core Components of a DomainPreview
  8. 0.8ADS0.8 The Modern Context: Entra ID, AD CS, and ADFSPreview
  9. 0.9ADS0.9 Logical and Physical StructurePreview
  10. 0.10ADS0.10 Build Your Active Directory LabPreview
Module 2Common Attacks and Techniques

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
  1. 2.1ADS2.1 Enumeration and Recon
  2. 2.2ADS2.2 Credential Attacks
  3. 2.3ADS2.3 Kerberos Roasting
  4. 2.4ADS2.4 Kerberos Ticket Forgery and Delegation
  5. 2.5ADS2.5 Privilege Escalation and Persistence
  6. 2.6ADS2.6 AD CS Abuse
  7. 2.7ADS2.7 Hybrid and Identity Federation
  8. 2.8ADS2.8 Other Vectors
  9. 2.9Check My Knowledge
Module 3Recon, Enumeration, and Attack-Path Posture

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.

Show 6 lessonsHide lessons
  1. 3.1ADS3.1 The Reconnaissance Problem
  2. 3.2ADS3.2 LDAP and SAMR Enumeration
  3. 3.3ADS3.3 Attack-Path Mapping with BloodHound
  4. 3.4ADS3.4 Posture: Tiering and ACL Hygiene
  5. 3.5ADS3.5 Where Recon Becomes Visible: Defender for Identity
  6. 3.6Check My Knowledge
Module 4Authentication and Access Management

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
  1. 4.1ADS4.1 The Authentication and Access Management Attack Surface
  2. 4.2ADS4.2 Authentication Concerns
  3. 4.3ADS4.3 Access and Privilege Concerns
  4. 4.4ADS4.4 Reducing the Authentication and Access Attack Surface
  5. 4.5ADS4.5 Authentication Protocols Deep Dive
  6. 4.6ADS4.6 Credential Storage and Protection
  7. 4.7ADS4.7 Major Authentication Attacks
  8. 4.8ADS4.8 Access Control and Authorization
  9. 4.9ADS4.9 Group Policy and Authentication Hardening
  10. 4.10ADS4.10 Hybrid and Modern Authentication
  11. 4.11ADS4.11 Detection and Monitoring
  12. 4.12Check My Knowledge

Phase 2: The Attack Chain

Module 5Credential Theft and Replay

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
  1. 5.1ADS5.1 The Shape of Credential Theft and Replay
  2. 5.2ADS5.2 Where Credentials Live and How They Are Lifted
  3. 5.3ADS5.3 Pass-the-Hash: Replaying the NTLM Secret
  4. 5.4ADS5.4 Pass-the-Ticket and Overpass-the-Hash
  5. 5.5ADS5.5 BadSuccessor and dMSA Abuse
  6. 5.6ADS5.6 Reconstructing Lateral Movement
  7. 5.7ADS5.7 Detecting Credential Replay
  8. 5.8ADS5.8 Capstone: Working the Northgate Intrusion
  9. 5.9Check My Knowledge
Module 6Privilege Escalation

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
  1. 6.1ADS6.1 The Shape of Privilege Escalation
  2. 6.2ADS6.2 Unconstrained Delegation
  3. 6.3ADS6.3 Constrained Delegation and Protocol Transition
  4. 6.4ADS6.4 Resource-Based Constrained Delegation
  5. 6.5ADS6.5 SPN-Write Abuse
  6. 6.6ADS6.6 Reconstructing a Delegation Escalation
  7. 6.7ADS6.7 Detecting Privilege Escalation
  8. 6.8Check My Knowledge
Module 7Domain Dominance

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
  1. 7.1ADS7.1 The Shape of Domain Dominance
  2. 7.2ADS7.2 DCSync
  3. 7.3ADS7.3 Golden Tickets and the KRBTGT Key
  4. 7.4ADS7.4 Silver and Diamond Tickets
  5. 7.5ADS7.5 Privileged-Group Persistence
  6. 7.6ADS7.6 Stealth Persistence: SIDHistory, AdminSDHolder, DCShadow
  7. 7.7ADS7.7 Reconstructing a Domain Takeover
  8. 7.8Check My Knowledge

Phase 3: The Hybrid Seam

Module 9The 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.

Show 6 lessonsHide lessons
  1. 9.1ADS9.1 The Shape of the Hybrid Seam
  2. 9.2ADS9.2 The Pivot: An On-Prem Identity in the Cloud
  3. 9.3ADS9.3 The Entra Connect Bridge
  4. 9.4ADS9.4 Seamless SSO, Federation, and Golden SAML
  5. 9.5ADS9.5 Reconstructing the Crossing
  6. 9.6Check My Knowledge

Phase 4: Respond and Recover

Module 10Respond 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
  1. 10.1ADS10.1 Responding to an AD Compromise
  2. 10.2ADS10.2 Scoping the Compromise
  3. 10.3ADS10.3 Containing Without Tipping the Attacker
  4. 10.4ADS10.4 Eradication: Resetting the Keys
  5. 10.5ADS10.5 Recovery: When Rebuild Is the Only Answer
  6. 10.6ADS10.6 What a Patch Does Not Fix
  7. 10.7Check My Knowledge

Phase 5: Capstone

Module 11Capstone: The Northgate Compromise

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
  1. 11.1ADS11.1 The Brief
  2. 11.2ADS11.2 Phase 1: Entry and Credential Access
  3. 11.3ADS11.3 Phase 2: Escalation and Dominance
  4. 11.4ADS11.4 Phase 3: Persistence, Coercion, and the Crossing
  5. 11.5ADS11.5 The Reconstruction
  6. 11.6ADS11.6 The Response
  7. 11.7ADS11.7 Capstone Summary
  8. 11.8Check My Knowledge

Phase 0: Course Resources

ResourcesCookbooks

Ordered procedures for the Active Directory hardening that recurs, each with the breakage it causes named up front.

Show 7 lessonsHide lessons
  1. 1Building Tiering That Holds
  2. 2Reducing NTLM Without an Outage
  3. 3Cleaning Up Delegation
  4. 4Fixing Certificate Templates
  5. 5Turning On the Visibility
  6. 6Reducing Standing Privilege
  7. 7Responding to a Domain Compromise
ResourcesLab Setup

A domain built with the misconfigurations this course finds, where you can run the attacks and watch what they leave behind.

Show 5 lessonsHide lessons
  1. 1Building the Domain
  2. 2Planting the Misconfigurations
  3. 3Attacking It, and Reading What Appeared
  4. 4Hardening It, and Breaking Things
  5. 5Verify, and What the Lab Cannot Teach
ResourcesWalkthroughs

Active Directory work reasoned end to end, including the cases where the finding was already there and the ones that end in doing nothing.

Show 6 lessonsHide lessons
  1. 1The DCSync That Was Not
  2. 2The Hardening That Would Have Stopped Payroll
  3. 3The Template That Had Been There Six Years
  4. 4The Lateral Movement That Was a Patch Cycle
  5. 5The One That Was Real
  6. 6The Recovery That Did Not Recover
ResourcesPlaybooks

What to do when a detection fires or somebody asks: DCSync, ticket forgery, a coerced authentication, a delegation change, a locked-out estate.

Show 7 lessonsHide lessons
  1. 1A DCSync Alert Fires
  2. 2A Delegation Attribute Changed
  3. 3Roasting Activity Detected
  4. 4An Account Is Moving Across the Estate
  5. 5A Certificate Was Issued for Somebody Else
  6. 6You Believe They Have the Domain
  7. 7The Hardening Locked People Out
ResourcesPlayground

Every practice surface available for this course, what each one gives you, and where the gaps are.

ResourcesReferences & Further Reading

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
  1. 1ADS100.1 References & Further Reading

Course Completion

CompletionCourse 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
  1. 1Course Completion. Defending Active Directory

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:

✓ Read Kerberoasting, AS-REP roasting, DCSync, golden tickets, and AD CS abuse directly off the Windows Security log
✓ Write each detection once as portable Sigma, then render it for Windows, Sentinel KQL, and Splunk SPL
✓ Detect privilege escalation through delegation, SPN abuse including CVE-2026-25177, and the Server 2025 dMSA path
✓ Harden the configuration that removes each attack path, and recover a domain once trust is broken

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:

✓ Understand why a fully patched domain still falls, and learn to see the abuse of features working as designed
✓ Detect AD attacks with the Windows Security log alone, then add Defender for Identity where you have it
✓ Carry your detections between tools and jobs instead of relearning one vendor's query language
✓ Turn detection into hardening, closing the path rather than only alerting on it

What you'll learn

By the end of Defending Active Directory you will be able to:

✓ Map every stage of an AD attack, from recon to domain dominance, to the exact Windows event that records it
✓ Build and tune detections for Kerberoasting, credential replay, delegation abuse, DCSync, golden tickets, and AD CS ESC1 through ESC8
✓ Render any detection across four surfaces and reason about its false positives in each
✓ Audit your own domain with free tooling such as BloodHound, PingCastle, Locksmith, and setspn, and reduce what an attacker's recon yields
✓ Detect the on-premises to Entra pivot at the hybrid seam, and hand off cleanly to cloud-side investigation
✓ Apply tiering, Protected Users, LAPS, gMSA, and KRBTGT rotation, and run AD-specific incident response through to forest recovery

Key course takeaways

✓ A source-first detection habit that does not depend on owning any particular SIEM
✓ A library of AD detections you can run from a domain controller, a collector, or any SIEM that reads Windows events
✓ The judgment to tell an attack from the legitimate activity that looks just like it, by the field that distinguishes them
✓ A hardening and recovery playbook for the attacks a patch does not fix

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.

COURSE ASSESSMENT

End of Course Exam

Complete the course, then prove your skills under time pressure. Pass mark: 70. Earn your certificate with CPE credits.

40minutes
3phases
100points
1scenario
Take End of Course Exam

One random scenario per attempt. Certificate issued on pass.