# Active Directory Security Assessment

> Assess Active Directory security for Kerberoasting, delegation risks, and privileged account sprawl from read-only exports.

Active Directory Security Assessment is a paid AI agent skill on Agensi by aingram702, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1.99 (one-time purchase)
- Creator: [aingram702](https://www.agensi.io/creators/aingram702)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-10-19
- Security: scan passed (2026-10-11); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/active-directory-security-assessment
- Tags: security, database, project-management, active-directory, powershell, pentesting, identity-management

## About this skill

Auditing Active Directory security often requires invasive tools or administrative privileges that trigger alerts. This skill provides a non-disruptive way to identify critical vulnerabilities like Kerberoasting, delegation risks, and privileged account sprawl using read-only LDAP queries.

### What it does
- **Identity exposure mapping** identifies Kerberoastable privileged accounts and accounts susceptible to AS-REP roasting.
- **Delegation risk analysis** flags unconstrained and constrained delegation paths that could lead to lateral movement or domain escalation.
- **Privilege sprawl auditing** detects excessive Domain, Enterprise, and Schema Admin memberships along with AdminCount=1 status.
- **Credential hygiene checks** surfaces passwords that never expire, stale accounts, and outdated krbtgt password rotations.
- **Infrastructure hardening** reports on legacy operating systems, missing LAPS coverage, and lack of Protected Users group membership.

### How it works
1. **Export data** using a provided PowerShell script that performs read-only LDAP queries via the RSAT AD module.
2. **Process results** by feeding the generated CSV and JSON exports into the Python analysis engine.
3. **Generate reports** in Markdown and JSON formats, scored by severity and risk category.

### Frameworks & tools
The skill utilizes PowerShell with the RSAT ActiveDirectory module for data collection and Python 3 for the analysis engine.

### Why this beats prompting it yourself
Generic LLMs lack the logic to parse raw LDAP exports or calculate password ages and delegation bitmask values accurately. This skill applies specific security heuristics to identify complex attack paths that simple keyword searches miss.

### Use cases
- **Pre-pentest hardening** to find and fix low-hanging fruit before an engagement begins.
- **Compliance auditing** for internal reviews of password policies and administrative group membership.
- **Acquisition due diligence** to quickly assess the security posture of a new organizational unit.
- **Remediation tracking** to verify the removal of legacy DES encryption or unconstrained delegation.

### Known limitations
Requires the RSAT ActiveDirectory module to be installed on the machine running the export script. The analysis is point-in-time and does not monitor real-time changes.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Active Directory Security Assessment skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill differ from traditional, invasive Active Directory scanning tools?

This skill uses non-disruptive, read-only LDAP queries via PowerShell, allowing you to identify critical risks like Kerberoasting and delegation paths without triggering security alerts or requiring administrative privileges.

### What specific components are included in the purchase?

The package includes a custom PowerShell export script for data collection, a Python-based analysis engine, and documentation for interpreting the generated Markdown and JSON risk reports.

### Are there any specific technical prerequisites or software requirements?

You need a Windows machine with the RSAT Active Directory module installed to run the initial export script; the analysis engine requires Python 3 for processing the exported data.

### Do I need high-level administrative credentials to run the assessment?

No, the skill relies on read-only LDAP exports, meaning you do not need Domain Admin rights to perform a comprehensive security assessment.

### Why should I use this skill instead of just pasting AD logs into a standard LLM?

While generic models struggle with LDAP bitmasks and complex attack paths, this skill uses specialized heuristics to accurately calculate password ages, flag delegation risks, and map identity exposure.

### Is the analysis performed in real-time or is it a point-in-time assessment?

The assessment provides a point-in-time snapshot of your security posture, making it ideal for pre-pentest hardening, compliance audits, or M&A due diligence.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
