Groups in Active Directory

AD has exactly two group types: security groups (usable in ACLs — they are security principals) and distribution groups (email lists only — not security-enabled, ignored in ACLs). Every group also has a scope controlling who can be a member and where the group can be granted permissions. Security groups can double as email lists (universal security groups explicitly so), but the security properties are what matter for access control. Group type and scope are bit flags on the groupType attribute.

Scopes

ScopeMembers may come fromPermissions granted inMember of
Local (machine)Anywhere (domain accounts/groups)That one machine onlyLocal groups on that machine; never leaves the SAM
Domain LocalAny domain in the forest + trusted domains/forestsThis domain onlyDomain Local groups in same domain; local machine groups
GlobalThis domain onlyAny domain in forest + trusting forestsGlobal (same domain), Domain Local (any domain), Universal
UniversalAny domain in the forestAny domain in forest + trusting forestsUniversal, Domain Local anywhere

Global and Domain Local are near-inverses: Global groups take members only from home but get permissions anywhere; Domain Local groups take members from anywhere but grant permissions only at home. Universal is both at once — and its membership is replicated to every global catalog in the forest, so membership changes are forest-wide replication events.

Conventions worth knowing

  • AGDLP / AGLP: accounts → Global groups → Domain Local groups → Permissions. The nesting discipline that keeps scope rules straight at scale.
  • Scope conversion is allowed in native-mode domains with restrictions (e.g. Global→Universal only if the group isn’t a member of another Global); type conversion (security ↔ distribution) is free — but converting a security group to distribution silently invalidates every ACE referencing it.
  • Default privileged groups (Domain Admins, Enterprise Admins) are protected by AdminSDHolder: their DACLs are periodically reset to a protected template.
  • Enterprise Admins (Universal, RID 519) exists only in the forest root and is the highest-value group in the forest — the target SID in trust pivot forgeries.

Offensive relevance

  • Recursive group membership mapping is core enumeration (Get-DomainGroupMember -Recurse, net group "Domain Admins" /domain).
  • Misscoped or over-delegated groups create weak-permission attack paths — a GenericAll over a group is an AddMember primitive.
  • Membership changes are high-fidelity detection events (4728/4732/4756).

Sources

Related: active-directory-enumeration, active-directory-weak-permissions, active-directory-trusts, active-directory-trust-pivoting, powerview.