ad-audit

A methodology for auditing the security of Active Directory, Microsoft’s system for managing users, computers, groups, and access in a Windows network.

In plain words
What is it for?
Use it to map an AD environment, review passwords and accounts, inspect permissions and administrator access, examine group policies, and identify attack paths.
Why use it?
It provides a structured way to find weak account policies, excessive privileges, unsafe permissions, outdated systems, and common configuration vulnerabilities.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/kxlsys/openskill/ad-audit
Any agent
npx skills add KxlSys/OpenSkill --skill ad-audit
Clone the repo
git clone --depth 1 https://github.com/KxlSys/OpenSkill

Made for: Claude Code, Codex.

Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 400 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.00400
Opus 5 $0.00008 $0.00200
Sonnet 5 $0.00003 $0.00080
Haiku 4.5 $0.00002 $0.00040

Measured 3d ago against content hash 4632e2b1980b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ad-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cybersecurity/ad-audit/SKILL.md · 43 lines

What it actually says

Active Directory Audit

Cette compétence définit les étapes pour mener un audit de sécurité d'un environnement Active Directory (AD).

Procédure d'audit

  1. Collecte d'informations (Reconnaissance) :

    • Cartographier le domaine, les relations d'approbation et les contrôleurs de domaine.
    • Lister les utilisateurs, groupes et ordinateurs.
  2. Analyse de la Politique de Mots de Passe & Comptes :

    • Vérifier la robustesse de la politique de mots de passe fine (FGPP).
    • Identifier les comptes inactifs, expirés ou sans expiration de mot de passe.
  3. Recherche de Vulnérabilités & Mauvaises Configurations :

    • Analyser les délégations de droits non sécurisées (Kerberoasting, AS-REP Roasting).
    • Analyser les mauvaises configurations de ACLs (Access Control Lists).
    • Détecter les vulnérabilités courantes (ex: LDAP signing non requis, serveurs obsolètes).
  4. Analyse des Droits d'Administration :

    • Auditer les membres des groupes hautement privilégiés (Domain Admins, Enterprise Admins, Schema Admins).
    • Identifier les chemins de compromission (ex: via BloodHound / SharpHound).
  5. Évaluation de la Politique de GPO :

    • Analyser les stratégies de groupe appliquées pour détecter les faiblesses de configuration.

Rapport d'Audit AD

Synthèse Exécutive

Constats & Vulnérabilités (Classés par criticité)

Plan d'Action & Remédiation

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 43 lines · 16 tokens per session scan A 4632e2b1980b

Subscribe to this mod's changes

ad-audit is a skill published in the GitHub repository KxlSys/OpenSkill (2 stars, last pushed 11d ago), licensed MIT. It adds 16 tokens to every session and 400 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

abusing-dpapi-for-credential-access

Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys) online or offline using SharpDPAPI, SharpChrome, Mimikatz, or Impacket's dpapi.py, including domain-wide decryption via the DPAPI backup key. Use during authorized red-team…

mukul975/Anthropic-Cybersecurity-Skills · 97 tokens

abusing-shadow-credentials-for-privesc

Take over Active Directory accounts by writing attacker-controlled public keys to msDS-KeyCredentialLink (Shadow Credentials) with pyWhisker, Whisker, or Certipy, then authenticate via PKINIT to recover the target's NT hash without a password reset. Use when BloodHound shows…

mukul975/Anthropic-Cybersecurity-Skills · 97 tokens

analyzing-active-directory-acl-abuse

Detect dangerous ACL misconfigurations in Active Directory using ldap3 to identify GenericAll, WriteDACL, and WriteOwner abuse paths.

mukul975/Anthropic-Cybersecurity-Skills · 36 tokens

analyzing-ethereum-smart-contract-vulnerabilities

Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.

mukul975/Anthropic-Cybersecurity-Skills · 49 tokens

pentesting-everything

Guides authorized penetration testing with PentestingEverything as the source-grounded knowledge base. Use when scoping an engagement, building domain checklists, hunting a vulnerability class, choosing tools/commands, or drafting evidence-based findings from this repository's Markdown.

m14r41/PentestingEverything · 56 tokens

auditing-azure-active-directory-configuration

Auditing Microsoft Entra ID (Azure Active Directory) configuration to identify risky authentication policies, overly permissive role assignments, stale accounts, conditional access gaps, and guest user risks using AzureAD PowerShell, Microsoft Graph API, and ScoutSuite.

xalgorix/xalgorix · 58 tokens