Privileged Groups Check
Reviews privileged group membership, built-in account status, and DCSync replication rights.
Prerequisite
Requires a valid Standard User account (authenticated).
Commands run
ad-kit runs NetExec and Impacket against the Domain Controller:
nxc ldap <dc_ip> -u <username> -p <password> --users
nxc ldap <dc_ip> -u <username> -p <password> --admin-count
Privileged group membership and the domain DACL are read in-process using
Impacket (get_privileged_group_members and dacledit.py).
What it checks
ad-kit:
- Compares membership of high-privilege groups against the number of enabled users (flagged above 10%).
- Counts accounts marked with
adminCount=1(flagged above 25%). - Checks the state of the built-in Guest and Administrator accounts.
- Reads the domain DACL with
dacledit.pyto find non-default principals with DCSync-related replication rights.
How it works
- Group membership proportional to the domain indicates that privileged access is distributed more broadly than intended.
adminCount=1marks accounts protected by privileged groups, but can remain set after membership is removed, so it flags accounts needing review.- Built-in Guest and Administrator are well-known, high-value identities that should be controlled carefully.
- DCSync rights (Replicating Directory Changes and Replicating Directory Changes All) let the holder replicate directory data including credential material.
Why it matters
These indicators together surface accounts and rights that could give an attacker administrative control, directory data, or credential material.
Findings
| Finding ID | Title |
|---|---|
| PRIV-001 | Excessive Membership of Privileged Active Directory Groups |
| PRIV-002 | Large Population of Accounts Marked as Protected |
| PRIV-003 | Built-in Guest Account Enabled |
| PRIV-004 | Built-in Administrator Account Enabled |
| PRIV-005 | Unexpected DCSync-Related Replication Rights |