Skip to main content
Active Directory Tiering, Group Policy & Delegation Security
Lesson 11 of 12

Active Directory Tiering, Group Policy & Delegation Security

Design a three-tier Active Directory administration model, audit Group Policy and Kerberos delegation permissions, and interpret attack-path graphs to break privilege escalation chains.

Advanced 28 min Linux & Windows
Authorised environments only — The techniques described here are used only in training labs and on systems you own or have written permission to test.

Learning objectives

  • Design a three-tier Active Directory administration model that isolates Tier 0 credentials from lower-tier hosts
  • Audit Group Policy Object (GPO) links and ACLs to identify unintended code-execution paths
  • Distinguish unconstrained, constrained, and resource-based constrained Kerberos delegation risks
  • Interpret BloodHound-style attack-path graphs to prioritize remediation at shared choke points

Recommended first: NTLM, Kerberos & Active Directory Authentication FlowsWindows Security Architecture, CLI, Registry & Services

#Why this matters

Active Directory security rarely fails because a Domain Controller lacks an operating system patch. Instead, domains fall because directory permissions, Group Policy links, administrative logons, and delegation settings form hidden paths from a standard user account to Domain Admins.

Defenders who evaluate accounts and servers in isolation miss these multi-hop relationships. Thinking in terms of trust tiers, directory ACLs, and graph paths lets you cut dozens of escalation routes with a handful of targeted architectural fixes.

#Administrative tiering and credential isolation

When an administrator signs in interactively or over RDP to a Windows host, credential material (such as Kerberos TGTs, NTLM hashes, or cached secrets) resides in the target machine's LSASS memory for the duration of the session. Anyone holding local Administrator rights on that machine can extract those credentials.

To prevent a single compromised laptop from exposing the entire forest, Microsoft introduced the three-tier administration model (now evolved into the Enterprise Access Model):

  1. Tier 0Control PlaneDomain Controllers, PKI, AD Connect, identity admins
  2. Tier 1Management & WorkloadMember servers, databases, file/application servers
  3. Tier 2User EndpointsWorkstations, laptops, printers, helpdesk targets

The core rule is strictly one-way separation: a Tier 0 account must never authenticate to a Tier 1 server or Tier 2 workstation, and Tier 1 server admins must not manage Tier 2 endpoints. You enforce this in the Group Policy Management Console (GPMC) using user rights assignments:

  • Apply Deny log on locally, Deny log on through Remote Desktop Services, and Deny access to this computer from the network (where compatible) on Tier 1 and Tier 2 Organizational Units (OUs) for Tier 0 groups.
  • Add human Tier 0 accounts to the built-in Protected Users security group, which blocks NTLM, RC4, delegation, and credential caching in LSASS.
  • Use dedicated Privileged Access Workstations (PAWs) for Tier 0 administration.

#Group Policy Objects and ACL risks

Group Policy Objects (GPOs) control Windows security settings, firewall rules, startup scripts, and local group memberships (Restricted Groups). Because the Group Policy client applies computer settings as NT AUTHORITY\SYSTEM, edit access to a GPO is equivalent to administrative code execution on every computer in the linked OUs.

Reviewing GPO risk requires checking two distinct permission layers:

  1. GPO object permissions: Principals holding Edit settings, delete, modify security, GenericAll, GenericWrite, WriteDacl, or WriteOwner on the GPO itself can add a malicious startup script or schedule a privileged task.
  2. OU gPLink permissions: A user with WriteProperty on an OU's gPLink attribute can link an attacker-controlled GPO to that OU without editing any existing GPO.
Auditing GPO permissions with PowerShell in a lab domain
PS C:\> Get-GPPermission -Name "Workstation-Baseline" -All | Select-Object Trustee, Permission

Trustee              Permission
-------              ----------
Domain Admins        GpoEditDeleteModifySecurity
Enterprise Admins    GpoEditDeleteModifySecurity
Helpdesk_Leads       GpoEditDeleteModifySecurity
Authenticated Users  GpoApply

In this lab output, Helpdesk_Leads (a Tier 2 support group) has edit rights on a GPO. If that GPO is ever linked to a Tier 1 server OU, or if a Tier 0 admin logs onto a Tier 2 workstation under that policy, Helpdesk_Leads holds an indirect path to higher-tier credentials. Also confirm no legacy Group Policy Preferences (GPP) XML files containing cpassword remain in SYSVOL, as the AES key used for GPP passwords was published years ago.

#Kerberos delegation models

Kerberos delegation allows a front-end server to act on behalf of a signed-in user when contacting a back-end resource such as a SQL database. Misconfigured delegation is one of the fastest ways to jump tiers.

Delegation mode AD attribute / flag Scope of impersonation Key security risk
Unconstrained TRUSTED_FOR_DELEGATION Any SPN in the domain Server caches incoming user TGTs in memory; compromise exposes any caller
Constrained msDS-AllowedToDelegateTo Listed target SPNs only If protocol transition (S4U2Self) or Tier 0 SPNs (ldap/) are allowed, scope widens sharply
Resource-Based (RBCD) msDS-AllowedToActOnBehalfOfOtherIdentity Defined on target resource Anyone with GenericWrite on a target computer object can authorise their own machine to delegate to it

Unconstrained delegation should only exist on Domain Controllers. On any member server, if a Tier 0 admin connects or a coerced authentication hits that server, the server receives and caches the Tier 0 TGT.

With Resource-Based Constrained Delegation (RBCD), the permission lives on the target computer account rather than the source. Because Active Directory defaults (ms-DS-MachineAccountQuota = 10) often allow standard users to join a machine account to the domain, a user who also holds GenericWrite or WriteDacl on a server object can write that machine account into the server's msDS-AllowedToActOnBehalfOfOtherIdentity attribute and impersonate an administrator to that server.

#Reading an attack-path graph

Graph tools such as BloodHound map AD objects (Users, Groups, Computers, GPOs, OUs) as nodes and relationships (MemberOf, AdminTo, HasSession, GenericAll, WriteDacl, AllowedToDelegate) as directed edges. Instead of guessing which misconfiguration matters most, defenders trace shortest paths to Tier 0.

  1. Collect AD ACLs and sessionsSharpHound / AzureHound
  2. Render shortest paths to Tier 0BloodHound graph
  3. Locate shared choke pointsCommon intermediate nodes
  4. Apply tiering or ACL fixRe-run graph to verify cut

When reading a graph, do not patch every leaf node first. Look for choke points where dozens of paths converge on one edge, such as an overly permissive WriteDacl on AdminSDHolder, an unisolated Tier 0 session on a file server, or Authenticated Users having modify rights on a widely linked GPO.

#Defending and common mistakes

Keep directory paths closed with ongoing verification:

  • Enforce tier boundaries technically: Do not rely on policy documents alone; enforce logon restrictions via GPO, Protected Users, and Authentication Policy Silos.
  • Lock down machine account creation: Set ms-DS-MachineAccountQuota to 0 at the domain level so standard users cannot create attacker-controlled machine accounts for RBCD.
  • Monitor directory ACL and GPO changes: Enable Directory Service Changes auditing and alert on Windows Security Event 5136 (directory object modified) for changes to gPLink, msDS-AllowedToActOnBehalfOfOtherIdentity, and AdminSDHolder.
  • Audit non-obvious Tier 0 groups: Protect Account Operators, Backup Operators, Server Operators, Print Operators, and DnsAdmins with the same rigor as Domain Admins.

Common mistakes include delegating GPO edit permissions to helpdesk teams for convenience, ignoring AdminSDHolder (which resets protected group ACLs every 60 minutes but does not fix custom groups), and auditing only Domain Admins while overlooking delegated ACLs on the domain root object.

#Summary

Active Directory security depends on controlling multi-hop relationships across tier boundaries, Group Policy ACLs, and Kerberos delegation settings. Separating Tier 0 identity infrastructure from servers and workstations stops credential harvesting across tiers, while restricting GPO edit rights and legacy unconstrained or RBCD delegation prevents privilege escalation. Graph-based auditing helps defenders locate and remove shared choke points before attackers can chain them together.

Knowledge check

Sign in to take the test, complete lessons and save your progress. Log in