Skip to content
FunCoding

active-directory-attacks

Assess Active Directory attack paths using scoped configuration review and controlled synthetic lab validation; identify prerequisites, evidence and mitigations.

Star
50,682
Category
Security
License
MIT
Last commit
Dec 1, 2026

skills/active-directory-attacks/SKILL.md

View on GitHub

⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.

Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. Wait for explicit confirmation in the current conversation.

Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.

Active Directory Attack-Path Assessment

When to Use

For explicitly authorized AD security assessments or isolated training labs. Start with supplied configuration and owner evidence, then choose the smallest permitted validation. This document does not provide tools, credentials, a licensed lab or a verified exploit chain.

Mandatory confirmation gate

Before probing, authentication, collection, ticket requests, credential access, coercion, exploitation or configuration changes, obtain the exact domain/controllers/hosts/accounts, written owner authorization and permitted techniques, timing and lockout/request limits. Show the exact proposed operation and its expected effect; wait for explicit confirmation in this conversation. No confirmation means supplied-evidence analysis only. Credentials or a tool installation are not authorization.

Keep production secrets and privileged identities out of exercises. Prefer synthetic users, service accounts, tickets, certificates and canary resources in a disposable owner lab. Never default to password sprays, DCSync/krbtgt extraction, credential dumps, remote shells, machine-password resets, malicious updates, persistence or using another user's ticket. Stop on unexpected real data or cross-domain scope.

Evidence workflow

  1. Record immutable scope and owner-supplied topology: domains/forests/trusts, domain-controller and client patch/configuration state, relevant privileges, service accounts and certificate services. Note missing evidence.
  2. Map the candidate principal → permission → resource → possible action. Confirm effective groups/ACL inheritance, denied rights, authentication conditions, host access and actual controls; an attack-graph edge is a hypothesis.
  3. Identify the specific technique's preconditions using the advanced reference. Separate credential disclosure, authentication, execution and privileged state change; one does not automatically prove the next.
  4. If active validation is authorized, propose a bounded lab operation with a synthetic marker and a control case. Set stop/cleanup conditions, request/time budget and a reviewer-visible observation before execution. Do not install a historical tool or collector unreviewed.
  5. Report exact evidence, limits and mitigation. Owner-approved remediation and retest are separate actions.

Core checks

AreaInspectAvoid this false conclusion
KerberosConfigured clock-skew allowance, time source, encryption types and service principalsA universal five-minute rule or fixed date command safely repairs time
Account exposureAuthorized SPN/preauthentication/account policy inventory and owner access reviewEmpty tool output proves no service accounts or exposure
Replication privilegesEffective directory replication rights and who can exercise themOne named replication right or a successful login proves DCSync eligibility
Ticket abuseOrigin and intended identity of synthetic tickets, actual validation policyPass-the-ticket and forging a golden ticket are the same operation
RelaySigning/channel binding/extended protection, protocol and target permissionsFailed SMB relay authorizes switching to LDAP or another target
AD CSTemplate and CA permissions, enrollment/approval, EKUs/subject/mapping policyOne template flag alone proves arbitrary administrator impersonation
Known CVEsExact product, installed patch/configuration and vendor advisory prerequisitesRPC exposure or a version banner alone proves vulnerability

BloodHound collection can contact many hosts and disclose sensitive topology. Agree collector version, collection methods and scope rather than running All by default. Do not launch browser tools with sandbox disabled as routine setup. Modern and legacy BloodHound/collector versions have different deployment and query formats. Tools named in older playbooks may be retired, renamed or incompatible; inspect official release/help in a safe environment and do not infer current flags from this document.

Controlled example

For a possible overprivileged synthetic service account, first inspect the supplied group/ACL evidence. In the approved isolated lab, compare the account's access to one owner-created resource with a baseline account. Record success/denial without reading real data, dumping hashes or launching a shell. If the requested privilege cannot be tested safely, report it as a configuration risk pending owner confirmation. Do not claim Domain Admin access from an inferred graph path.

Reporting

Scope and authorization:
Evidence versions/collection window:
Candidate source-to-permission-to-resource path:
Required versus observed preconditions:
Minimal authorized validation and control:
Observed result, hypothetical impact and severity rationale:
Sensitive evidence location (no values in report):
Remediation owner, cleanup, retest and uncertainty:

Limitations

No commands or exploit behavior have been run or certified by this document. Remote identity and credential operations can trigger lockouts, monitoring, outages and durable artifacts. A cleanup command does not guarantee restoration; record pre-state and verify it independently. Do not change the host clock, bypass endpoint controls, reset a domain-controller password or weaken trust/ADCS policy to make a demonstration work. Owner incident procedures govern accidentally exposed secrets.

Similar Skills

agent-security-hardening

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

Featured

ponytail-audit

Audit the whole repo: find bugs, security holes and performance bottlenecks. Get a ranked report in plain English.

DIDietrichGebert/ponytail203k4,904 new stars in the last 7 days

gstack

GAgarrytan/gstack143k598 new stars in the last 7 days

Featured

security-and-hardening

Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.

ADaddyosmani/agent-skills122k1,667 new stars in the last 7 days

doubt-driven-development

ADaddyosmani/agent-skills122k1,667 new stars in the last 7 days

ruview-rvagent

RUruvnet/RuView106k739 new stars in the last 7 days