<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Arun Work  on Medium]]></title>
        <description><![CDATA[Stories by Arun Work  on Medium]]></description>
        <link>https://medium.com/@arun.work.1006?source=rss-ec4d6fa51e2b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*puTRiYXeZrAng3Uw</url>
            <title>Stories by Arun Work  on Medium</title>
            <link>https://medium.com/@arun.work.1006?source=rss-ec4d6fa51e2b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 13:35:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arun.work.1006/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Active Directory: Security Groups vs ACL Rights — A Practical Map for Offensive Security]]></title>
            <link>https://medium.com/@arun.work.1006/active-directory-security-groups-vs-acl-rights-a-practical-map-for-offensive-security-6a6dadeb64de?source=rss-ec4d6fa51e2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a6dadeb64de</guid>
            <category><![CDATA[securitygroup]]></category>
            <category><![CDATA[network]]></category>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[attacker]]></category>
            <category><![CDATA[rights-abuse]]></category>
            <dc:creator><![CDATA[Arun Work ]]></dc:creator>
            <pubDate>Tue, 14 Jul 2026 17:06:14 GMT</pubDate>
            <atom:updated>2026-07-14T17:06:14.502Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Learning notes — mapping the two separate “power systems” in AD that people constantly conflate: <strong>group membership</strong> (coarse, intended privilege) and <strong>ACL/ACE rights</strong> (fine-grained, object-level permissions that are frequently misconfigured and become the actual attack path).</blockquote><h3>1. Why These Are Two Different Systems</h3><p>A common beginner mistake is thinking “if I’m not in Domain Admins, I have no path to DA.” In practice:</p><ul><li><strong>Groups</strong> grant privilege <em>by design</em> — membership is the intended control plane. Admins consciously add/remove members.</li><li><strong>ACLs (Access Control Lists) on AD objects</strong> grant privilege <em>by configuration</em> — every object (user, computer, group, GPO, OU) has a DACL made of ACEs (Access Control Entries). These are set explicitly or inherited, and in large environments they drift, get over-provisioned by helpdesk tooling, or are left over from decommissioned delegation.</li></ul><p>BloodHound’s entire value proposition is collapsing both systems into one graph, because attackers don’t care which system granted the edge — they only care that a path to DA exists.</p><h3>2. Part One — Security Groups (The Intended Privilege Layer)</h3><h3>2.1 High-Value Built-in Groups</h3><p>GroupPrivilegeWhy It’s Dangerous<strong>Domain Admins</strong>Full control of the domainLocal admin on every domain-joined machine by default<strong>Enterprise Admins</strong>Full control of the entire forestOnly exists in the forest root domain; can touch every domain in the forest<strong>Administrators</strong> (Builtin)Local admin rights, DA/EA nested in hereOften the actual escalation point on DCs<strong>Account Operators</strong>Can create/modify most user &amp; group objectsCannot touch protected groups directly, but can add themselves to nested groups that eventually reach DA<strong>Backup Operators</strong>SeBackupPrivilege / SeRestorePrivilege on DCsCan read the raw NTDS.dit file → full hash dump without ever touching DA group membership<strong>Server Operators</strong>Local admin-like rights on DCs (start/stop services, modify service binaries)Direct path to SYSTEM on a DC<strong>Print Operators</strong>Can load drivers on DCsKernel driver loading = SYSTEM on DC<strong>DNSAdmins</strong>Can configure the DNS server serviceClassic dnscmd /config DLL injection → SYSTEM on DC running DNS<strong>Group Policy Creator Owners</strong>Can create/edit GPOsGPO edit = code execution on every machine the GPO applies to<strong>Schema Admins</strong>Can modify the AD schemaRare in daily use, but permanent forest-wide implications if abused<strong>Protected Users</strong><em>Defensive</em> group — restricts NTLM, DES/RC4, delegation, cached credsWorth knowing as a <em>blocker</em>, not a target</p><h3>2.2 The Nesting Trap</h3><p>Group membership is <strong>transitive</strong>. If HelpdeskL1 → is a member of → HelpdeskL2 → is a member of → Server Operators, then every HelpdeskL1 member effectively has Server Operators rights, even though nobody explicitly &quot;gave&quot; it to them. This is one of the most common findings in real assessments — nested groups nobody remembers creating.</p><p><strong>Practice tip for your notes:</strong> always resolve group membership recursively (Get-ADGroupMember -Recursive, or better, let BloodHound do it) — never trust a flat membership list.</p><h3>3. Part Two — ACL / ACE Rights (The Misconfiguration Layer)</h3><p>Every AD object has a nTSecurityDescriptor attribute containing a DACL. Each ACE in that DACL grants a <strong>security principal</strong> (user, group, computer) a <strong>specific right</strong> over that object. These rights are what actually get abused in 80% of real AD lateral movement paths, because they&#39;re invisible unless you go looking.</p><h3>3.1 Generic Rights (apply broadly to any object type)</h3><p>RightWhat It GrantsAbuse Path<strong>GenericAll</strong>Full control of the objectIf on a user: reset password, no need to know old one. If on a group: add yourself as member. If on a computer: resource-based constrained delegation (RBCD) abuse. If on a GPO: full GPO takeover<strong>GenericWrite</strong>Write to (almost) any non-protected attributeOn a user: set an SPN → Kerberoast it on demand. On a group: add member. On a computer: write msDS-AllowedToActOnBehalfOfOtherIdentity for RBCD<strong>WriteOwner</strong>Change the object&#39;s ownerSet yourself as owner → owner implicitly gets WriteDACL → grant yourself GenericAll → full takeover in two hops<strong>WriteDACL</strong>Modify the object&#39;s own DACLGrant yourself any ACE you want, including GenericAll<strong>AllExtendedRights</strong>Grants <em>all</em> extended rights (see 3.3 below) at onceCovers password reset + DCSync-type rights in one ACE — very high value<strong>Self / Validated Write</strong>Limited self-service rights (e.g., self-membership)Add yourself to a group if Self has Validated Write - Self Membership on that group</p><h3>3.2 Property-Specific Writes</h3><p>RightWhat It GrantsAbuse Path<strong>WriteSPN</strong> (Write Property: servicePrincipalName)Set an SPN on a user accountTurns a normal user into a Kerberoastable target — request a TGS for the SPN, crack the ticket offline to recover the account’s plaintext-equivalent hash<strong>WriteProperty — msDS-AllowedToActOnBehalfOfOtherIdentity</strong>Configure RBCD on a computer objectAttacker adds a computer they control as a trusted delegator → impersonate any user (including DA, barring protections) to the target computer via S4U2Self/S4U2Proxy<strong>WriteProperty — Member</strong>Add members to a groupDirect group-add without needing GenericWrite on the whole object</p><h3>3.3 Extended Rights (control-access rights — not raw attribute writes)</h3><p>These are special GUID-mapped rights, not tied to a specific attribute:</p><p>RightWhat It GrantsAbuse Path<strong>User-Force-Change-Password</strong> (a.k.a. ForceChangePassword)Reset a user’s password <em>without</em> knowing the current oneDirectly take over the account — no crack needed<strong>DS-Replication-Get-Changes</strong> + <strong>DS-Replication-Get-Changes-All</strong> (together = “DCSync rights”)Replicate directory data, including secret attributes like password hashesIf a principal holds both extended rights on the domain object itself, they can run DCSync (mimikatz lsadump::dcsync, or Impacket secretsdump.py -just-dc) and pull every hash in the domain — including krbtgt — without ever touching a DC&#39;s disk<strong>DS-Replication-Get-Changes-In-Filtered-Set</strong>Needed only in RODC/filtered-attribute scenariosRarely relevant outside RODC environments</p><blockquote><strong><em>Note on DCSync specifically:</em></strong><em> DCSync isn’t a “vulnerability” — it’s legitimate domain controller replication behavior (used by DCs to replicate with each other). The attack is that a </em><strong><em>non-DC principal</em></strong><em> has been granted those two extended rights on the domain root, usually via over-broad delegation (“give the backup service account replication rights so the backup tool works”).</em></blockquote><h3>3.4 Where These ACEs Typically Come From (root causes you’ll actually find on engagements)</h3><ul><li>Delegated OU administration set up years ago and never revoked</li><li>Backup/monitoring/SIEM service accounts granted AllExtendedRights or DCSync rights &quot;to make the tool work&quot;</li><li>Helpdesk tooling scripts that grant GenericAll broadly instead of scoping to User-Force-Change-Password</li><li>Misconfigured GPO/SCCM/LAPS delegation</li><li>Leftover rights from a decommissioned admin’s old delegated task</li></ul><h3>4. Threat Actor Perspective — How This Actually Gets Chained</h3><p>A realistic attack path almost never uses one right in isolation. It’s a graph traversal:</p><pre>Compromised low-priv user<br>   → has GenericWrite on &quot;SVC-Backup&quot; (via nested help-desk group)<br>   → set SPN on SVC-Backup → Kerberoast it → crack offline → obtain SVC-Backup creds<br>   → SVC-Backup has WriteDACL on &quot;IT-Admins&quot; group<br>   → grant self GenericAll on IT-Admins → add self as member<br>   → IT-Admins is nested inside Server Operators<br>   → Server Operators = admin-equivalent on DC01<br>   → local admin on DC01 → Backup Operators-style privilege → dump NTDS.dit<br>   → domain compromised</pre><p>Every single edge in that chain is individually “minor” and would be dismissed in isolation during a manual review. This is exactly why BloodHound-style graph analysis matters more than checking each ACE by hand — the danger is in the <em>path</em>, not any single misconfiguration.</p><h3>4.1 Typical Tooling Per Right (for your own lab practice)</h3><p>Right / TechniqueEnumerationExploitationGroup membership (nested)BloodHound, Get-ADGroupMember -RecursiveN/A — informs targetingGenericAll / GenericWriteBloodHound (ReadGMSAPassword, GenericAll, etc. edges)PowerView Add-DomainGroupMember, Set-DomainUserPasswordWriteSPN → KerberoastBloodHound, PowerView Get-DomainUser -SPNRubeus kerberoast, Impacket GetUserSPNs.py, hashcat mode 13100WriteOwner / WriteDACLBloodHoundPowerView Set-DomainObjectOwner, Add-DomainObjectAclRBCD via computer WritePropertyBloodHound (AllowedToAct edge)PowerView Set-ADComputer, Rubeus s4uForceChangePasswordBloodHoundSet-DomainUserPassword, net rpc password (Samba)DCSync rightsBloodHound (DCSync edge)Mimikatz lsadump::dcsync, Impacket secretsdump.py -just-dc-ntlm</p><h3>5. Defensive / Blue Team Notes (worth including for a balanced post)</h3><ul><li>Run regular <strong>ACL audits</strong> on the domain root, AdminSDHolder, and Tier-0 OUs — these are the highest-value objects to check for stray ACEs.</li><li>Watch for <strong>AdminSDHolder</strong> abuse: any ACE placed there gets pushed down to every protected group member via SDProp every 60 minutes — a classic persistence technique, not just an initial-access one.</li><li>Alert on <strong>DCSync-capable extended rights</strong> being granted to any non-DC, non-tier-0 principal — this should almost never happen outside of DCs and a small allowlist (e.g., Azure AD Connect / Entra Connect service account).</li><li>Enable <strong>audit logging on directory service access</strong> (Event ID 4662) with a SACL on sensitive objects to catch replication-right abuse and ACL changes in near real time.</li><li>Treat any account with GenericAll/WriteDACL/WriteOwner on Tier-0 objects as Tier-0 itself, regardless of what group it&#39;s nested in.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a6dadeb64de" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>