Works with the AI tools you already use
Active Directory Security Assessment
Assess Active Directory security for Kerberoasting, delegation risks, and privileged account sprawl from read-only exports.
$12.99
Active Directory Security Assessment
Example session with this skill installed
I have a read-only export of our domain data in ./ad_export. Run a security assessment and highlight the top 3 high-priority risks I need to address.
- Read your context and instructions
- Compiled the active directory security
- Generated the UI component
The Active Directory security assessment is complete. I processed users.csv, computers.csv, and domain.json to identify misconfigurations and credential risks.
Active Directory Security Findings
| Risk ID | Category | Severity | Finding | Recommendation |
|---|---|---|---|---|
| AD-01 | Kerberoasting | Critical | 4 Domain Admins have ServicePrincipalNames (SPNs) set. | Remove SPNs or move to gMSA; ensure passwords are >25 characters. |
| AD-02 | Delegation | High | 2 App Servers configured with Unconstrained Delegation. | Convert to Resource-Based Constrained Delegation (RBCD). |
| AD-03 | Persistence | High | KRBTGT password has not been rotated in 412 days. | Perform a double reset of the KRBTGT account, 10+ hours apart. |
| AD-04 | Hygiene | Medium | 12 accounts with AdminCount=1 are not in Protected Users. | Move privileged users to the Protected Users security group. |
| AD-05 | Legacy | Medium | 3 Windows Server 2008 R2 instances detected. | Decommission legacy OS or isolate behind restricted VLANs. |
Summary Statistics
- Privileged SPNs: 4
- Stale Accounts (>90 days): 28
- Passwords Never Expiring: 15
- Missing LAPS: 42 computers
Next steps
- Review
ad_findings.jsonfor the full list of Distinguished Names (DNs) for the 4 Kerberoastable admins. - Run the cleanup script for stale accounts identified in the medium severity section.
- Schedule the first KRBTGT password reset during a low-traffic window.
users.csv
TSX · React component
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
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
- Export data using a provided PowerShell script that performs read-only LDAP queries via the RSAT AD module.
- Process results by feeding the generated CSV and JSON exports into the Python analysis engine.
- 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
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 day ago
- Passed all security checks, Safe to install