Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Assess Active Directory security posture using PingCastle, BloodHound, and Purple Knight to identify misconfigurations, privilege escalation paths, and attack vectors.
Imported from mukul975/anthropic-cybersecurity-skills (skills/performing-active-directory-vulnerability-assessment/SKILL.md). Install upstream with npx skills add mukul975/anthropic-cybersecurity-skills --skill performing-active-directory-vulnerability-assessment. Copyright stays with the author (Apache-2.0).
Performing Active Directory Vulnerability Assessment
Overview
Active Directory (AD) is the primary identity and access management system in most enterprise environments, making it a critical attack target. This skill covers comprehensive AD security assessment using PingCastle for health checks, BloodHound for attack path analysis, and Purple Knight for security posture scoring. These tools identify misconfigurations, excessive privileges, Kerberos weaknesses, and lateral movement opportunities.
When to Use
When conducting security assessments that involve performing active directory vulnerability assessment
When following incident response procedures for related security events
When performing scheduled security testing or auditing activities
When validating security controls through hands-on testing
Prerequisites
Domain-joined workstation or domain admin access for scanning
BloodHound Community Edition with SharpHound collector
Purple Knight from Semperis (free community tool)
Python 3.9+ for analysis scripts
.NET Framework 4.7+ for PingCastle on Windows
Tool 1: PingCastle Health Check
Installation and Execution
# Download PingCastleInvoke-WebRequest -Uri "https://github.com/netwrix/pingcastle/releases/latest/download/PingCastle.zip" ` -OutFile "PingCastle.zip"Expand-Archive PingCastle.zip -DestinationPath C:\Tools\PingCastle# Run health check against current domaincd C:\Tools\PingCastle.\PingCastle.exe --healthcheck# Run health check against specific domain.\PingCastle.exe --healthcheck --server dc01.corp.local --user CORP\scanner_account --password P@ssw0rd# Run in scanner mode for multiple domains.\PingCastle.exe --scanner --scannerlp# Generate consolidated report.\PingCastle.exe --healthcheck --level Full
PingCastle Scoring Categories
Category
Description
Risk Areas
Stale Objects
Inactive accounts, old passwords, obsolete OS
Ghost accounts, expired credentials
Privileged Accounts
Excessive admin rights, nested groups
Domain Admin sprawl, SID history
Trusts
Forest and domain trust configurations
Transitive trust abuse, SID filtering
Anomalies
Security setting deviations
GPO misconfigurations, schema issues
Key PingCastle Checks
# Critical items to review in PingCastle report:
- Accounts with "Password Never Expires" flag
- Accounts with Kerberos pre-authentication disabled (AS-REP roastable)
- Accounts with Kerberos delegation (unconstrained/constrained)
- Domain Controllers running unsupported OS versions
- AdminSDHolder permission modifications
- Accounts in privileged groups (Domain Admins, Enterprise Admins, Schema Admins)
- Trust relationships with SID filtering disabled
- GPO vulnerabilities allowing privilege escalation
Tool 2: BloodHound Attack Path Analysis
SharpHound Data Collection
# Download SharpHound collector# https://github.com/SpecterOps/BloodHound/tree/main/packages/csharp/SharpHound# Run SharpHound collection (all methods).\SharpHound.exe --collectionmethods All --domain corp.local --zipfilename bloodhound_data.zip# Stealthy collection (minimal noise).\SharpHound.exe --collectionmethods Session,LoggedOn --domain corp.local --stealth# Collection with specific domain controller.\SharpHound.exe --collectionmethods All --domain corp.local --domaincontroller dc01.corp.local# Run via PowerShellImport-Module .\SharpHound.ps1Invoke-BloodHound -CollectionMethod All -Domain corp.local -OutputDirectory C:\BH_Data
BloodHound CE Setup
# Deploy BloodHound Community Edition with Dockercurl -L https://ghst.ly/getbhce -o docker-compose.ymldocker compose up -d# Access BloodHound CE at http://localhost:8080# Default credentials shown in docker compose logs# Upload SharpHound data through web UI or APIcurl -X POST "http://localhost:8080/api/v2/file-upload/start" \ -H "Authorization: Bearer $BH_TOKEN" \ -H "Content-Type: application/json" \ -d '{"fileName": "bloodhound_data.zip"}'
# Check if LLMNR is disabled via GPOGet-ItemProperty "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient" -Name EnableMulticast -ErrorAction SilentlyContinue
Install performing-active-directory-vulnerability-assessment and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
When a provider is down or over quota the request moves on; the trace says it did.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.