performing-active-directory-vulnerability-assessment

Assess Active Directory security posture using PingCastle, BloodHound, and Purple Knight.

954|172|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill performing-active-directory-vulnerability-assessment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performing-active-directory-vulnerability-assessment
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/vulnerability-management/performing-active-directory-vulnerability-assessment
Command: npx skills add https://github.com/xalgord/xalgorix --skill performing-active-directory-vulnerability-assessment

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enterprise Active Directory environments accumulate misconfigurations, excessive privileges, and Kerberos weaknesses that attackers exploit for lateral movement and privilege escalation, but these risks are hard to identify without structured assessment tooling.

Core Features & Use Cases

  • PingCastle Health Checks: Run domain health scans covering stale objects, privileged accounts, trusts, and anomalies with risk-scored reporting.
  • BloodHound Attack Path Analysis: Collect data with SharpHound and run Cypher queries to find shortest paths to Domain Admin, Kerberoastable accounts, and delegation abuse.
  • Purple Knight Posture Scoring: Evaluate 130+ security indicators across account security, GPO, Kerberos, and AD delegation with a 0-100 score.
  • Use Case: During a scheduled internal audit, an analyst runs all three tools against the corp.local domain, cross-validates findings like AS-REP roastable accounts and unconstrained delegation hosts, and produces a prioritized remediation table for the IT team.

Quick Start

Assess the security posture of the corp.local Active Directory domain using PingCastle, BloodHound, and Purple Knight and list the critical findings with remediation priorities.

Frequently Asked Questions about performing-active-directory-vulnerability-assessment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run an Active Directory vulnerability assessment?

Run PingCastle with the --healthcheck flag against your domain, collect data with SharpHound for BloodHound attack path analysis, and execute Purple Knight for a posture score. Cross-validate findings across at least two tools before reporting.

What is the difference between PingCastle, BloodHound, and Purple Knight?

PingCastle scores domain health across stale objects, privileged accounts, trusts, and anomalies. BloodHound maps attack paths to privileged groups using graph queries. Purple Knight checks 130+ security indicators and produces an overall posture score.

How do I find Kerberoastable accounts in Active Directory?

Use the PowerShell command Get-ADUser filtered on ServicePrincipalName to list accounts with SPNs, or run the BloodHound Cypher query matching users with hasspn:true who belong to admin groups. Validate the account is enabled and crackable before rating it Critical.

What permissions are needed to run SharpHound and PingCastle?

A domain-joined workstation with a standard domain account covers basic collection, but read access to AdminSDHolder, GPOs, and session data is needed for complete results. Purple Knight and full PingCastle scans work best with domain admin or equivalent read rights.

Why does BloodHound miss some attack paths?

Single collections capture only a snapshot, so live admin sessions that change constantly are missed, and single-domain collection ignores trust-based paths. Re-run SharpHound near the assessment window and enumerate all domains and trusts.

What are the limitations of read-only AD scanning?

Read-only scope without sufficient rights causes PingCastle and SharpHound to miss ACLs and session data. Validate the scan account can read AdminSDHolder, GPOs, and session information, and confirm delegation findings are on reachable non-DC hosts.