skills/adscan/SKILL.md
Use when performing Active Directory pentest orchestration without using ADscan itself, especially for domain enumeration, credential validation, BloodHound collection, AD CS abuse, SMB share analysis, relay/cracking workflows, or when replacing ADscan with underlying tools like NetExec, Impacket, Certipy, BloodHound, kerbrute, Responder, hashcat, SMBMap, or Snaffler.
npx skillsauth add 0X6C7879/aegissec adscanInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Recreate the main ADscan workflows by composing the underlying AD toolchain directly. Start from operator intent, detect what tools are available locally, choose the narrowest viable workflow, save evidence as you go, and never call adscan itself.
Treat this skill as an orchestrator, not a giant tool list.
scripts/detect_ad_toolchain.pyreferences/tool-matrix.mdUnauth Enumeration belowCredential Validation and ExpansionBloodHound and Graph AnalysisAD CS WorkflowSMB Share AnalysisRelay and Lateral MovementCracking and Feedback LoopFor exact tool substitutions and fallback order, read references/tool-matrix.md.
Run:
python scripts/detect_ad_toolchain.py
Run it from the skills/adscan/ directory or adapt the path to this plugin checkout.
Additional helpers in scripts/:
kerberoast.py - SPN roast and ticket hash export wrapperasreproast.py - AS-REP roast wrapper for no-preauth usersbloodhound_collect.py - bloodhound-python collection wrapperldap_enum.py - LDAP object enumeration wrapper with NetExec fallbackvulnscan.py - NetExec SMB CVE module wrapper for AD-focused fingerprintingnmap_wrapper.py - Nmap profile wrapper for AD discovery and SMB enumerationrelay_setup.py - Responder and ntlmrelayx command builder for relay workflowsUse a per-engagement directory and keep these subfolders:
recon/creds/bloodhound/adcs/shares/relay/cracking/notes/Naming and evidence rules are in references/output-conventions.md.
Capture at minimum:
Use when you have no working AD credentials.
Preferred sequence:
nmap for host and service mappingmassdns if you need broad DNS coverage and it existskerbrute userenum or equivalentNetExec smb / NetExec ldap with safe unauth probesResponder only when the environment and scope allow itDo not jump into spraying before you know the domain naming pattern and blast radius.
Use when you have usernames, passwords, NTLM hashes, tickets, or certificate-derived auth.
Preferred sequence:
NetExecGood outputs here:
Use when you have enough foothold to collect AD relationship data.
Preferred collectors:
bloodhound-pythonSharpHoundrusthound-ce if available and appropriateThen:
Do not treat BloodHound paths as proof of exploitability until you validate them.
Use when certificate services may exist or BloodHound/LDAP suggests CA/template exposure.
Preferred sequence:
Certipy findAlways record:
Use when you have read access to shares or want low-noise secret hunting.
Preferred sequence:
NetExec or SMBMapSnaffler, MANSPIDER, or controlled recursive listingsmbclient, SMBMap, or rcloneHigh-value artifacts include:
web.config, .config, .ini, .ps1, .batUse when SMB signing is weak, coercion is possible, or you already have a privileged foothold.
Preferred components:
Responderimpacket-ntlmrelayxCoercerImpacket exec tools or NetExec exec pathspypsrp / WinRM for PowerShell remotingWorkflow:
Use when you have hashes, AS-REP / Kerberoast material, or NTLM captures.
Preferred sequence:
hashcat or johnNetExec validationThis loop is the closest thing to ADscan's automation engine: every new credential should reopen enumeration and path analysis.
NetExec as the main multi-protocol operator when available.Impacket for relay, dump, and precise protocol abuse.Certipy for any AD CS work.BloodHound for structural relationship analysis, but validate graph edges before acting.SMBMap/Snaffler for share triage over blind recursive looting.hashcat for large cracking workloads.For substitutions, prerequisites, and per-tool fit, read references/tool-matrix.md.
For every meaningful step, report:
Keep this structured even in exploratory sessions. The point is to preserve the orchestration value that ADscan normally gives you.
references/tool-matrix.md - primary tools, substitutes, and where each fitsreferences/workflows.md - stage-by-stage operating playbooksreferences/output-conventions.md - evidence layout and reporting formatdevelopment
WooYun-derived business-logic testing methodology for web apps and APIs. Use when the request involves 支付、退款、订单、越权、认证、授权、价格篡改或业务流程绕过 review, especially black-box probing for price tampering, account takeover, and process bypass flaws.
tools
Escalate privileges on Windows systems using service misconfigurations, DLL hijacking, token manipulation, UAC bypasses, registry exploits, and credential dumping. Use when performing Windows post-exploitation or privilege escalation.
development
Use when performing AD pentest tunneling and pivoting, especially with Ligolo-ng, Chisel, frp, proxychains, SSH forwarding, SOCKS relays, reverse tunnels, or when internal reachability is the main blocker.
development
Threat model, security audit, find vulnerabilities, check security of my app, risk assessment, penetration test prep, analyze attack surface, what could an attacker exploit. Use this skill whenever a user wants holistic security analysis of a codebase, application, or project. MUST be invoked instead of analyzing security yourself — it runs a specialized 8-phase STRIDE workflow producing professional deliverables you cannot generate alone: risk assessment reports, DFD diagrams, threat inventories, attack path validation, mitigation plans, and pentest plans. Trigger on: 威胁建模, 安全评估, 渗透测试, 安全分析, 安全审计, 安全检查, 风险评估. NOT for: fixing one specific bug, adding one security feature (rate limiting, CORS), writing tests, CI/CD setup, or debugging errors.