A lightweight PowerShell script to quickly identify Centrally Managed Computers User & Groups (CUGs) within an Active Directory domain.
Designed to operate even from non-domain-joined machines, provided DNS resolution to the domain controllers is possible (e.g., over VPN or jumpbox). Ideal for auditors, security engineers, or object owners who need to enumerate AD groups from a lightly integrated or external environment.
- 🔍 Discover CUGs across multiple trusted domains
- 💻 Works without domain joined assets
- 🛠 Auto-detects and installs missing AD modules (with fallback support)
- 💾 Save presets for commonly inspected items—great for objects you own.
- 📁 Configuration persistence via JSON (e.g. last used domain, credentials (Except your password.... Obviously))
- 📡 DNS-based discovery of domain controllers
- ✅ Supports full prettified output
- 👤 Detects managers, secretaries, and group descriptions
- Run
installer.ps1- This will configure your environment
- Optionally installs the Active Directory module
- Stores preferences in a local JSON file
.\interrogator.ps1-
✅ Highlight Domain Admin accounts
Clearly flag any accounts that are members ofDomain Admins,Enterprise Admins, or other privileged groups. <-- Currently In Testing -
🔓 Detect weak permissions on users or groups <-- Currently In Testing Alert if
GenericAll,GenericWrite,WriteOwner,WriteDACL, or similar ACEs are found in the user's ACL. -
📎 Group nesting and indirect membership
Trace indirect group membership (e.g. via nested groups) to uncover hidden privilege paths. -
🧠 Security scoring
Assign a basic risk score based on membership, permissions, exposure, and naming patterns (e.g.svc_,admin_,helpdesk_). -
🔁 Interactive "follow path" navigation
Allow selecting a group member and pivoting directly into their object inspection. -
📤 Export results to CSV or JSON
Output group/user details for integration into wider reporting or data pipelines. -
🪄 BloodHound-ready mode
Export select objects (e.g., with privileges) in a format readable by BloodHound or compatible withneo4j.