skills/network-pentest/SKILL.md
Internal network and Active Directory penetration testing skill for corporate environments. Use when performing authorized internal network assessments, AD attack path analysis, lateral movement, privilege escalation, and post-exploitation across Windows/Linux estates. Covers BloodHound, Impacket, NetExec/CrackMapExec, Responder, Rubeus, mimikatz, certipy. Triggers on requests to pentest internal networks, attack AD, perform lateral movement, Kerberoast, DCSync, or escalate privileges.
npx skillsauth add hardw00t/ai-security-arsenal network-pentestInstall 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.
This skill executes offensive techniques against live infrastructure. Before any action:
Destructive/high-blast-radius actions (DCSync against production DCs, Zerologon, Skeleton Key, GPO edits, krbtgt reset, cert forgery) require a second, specific written approval in addition to the base engagement letter. Every such action must be logged with timestamp, operator, and justification for the customer's IR reconciliation.
Prefer read-only enumeration and dry-run modes first. Escalate only when the previous step establishes the precondition. Never chain offensive actions speculatively.
This skill enables comprehensive internal network and Active Directory penetration testing: reconnaissance, credential attacks, lateral movement, privilege escalation, and domain dominance. It is a thin router — heavy content lives in workflows/, references/, and payloads/. Load only the file you need.
cloud-security. This skill is for on-prem AD, not cloud-native identity. (Azure Hybrid / AD-Connect scenarios may touch both.)dast-automation for unauthenticated web surface, Burp-based testing, and API security.container-security.iac-security / sast-review.mobile-security.If the engagement has a cloud + on-prem hybrid target (e.g., Entra Connect, AAD joined workstations), start here for the on-prem side and hand off specific cloud identity paths to cloud-security.
Are you authorized (see STOP section)?
├── No -> stop, request written scope + ROE
└── Yes
│
├── No creds yet, no foothold
│ -> workflows/recon.md
│ -> workflows/credential_attacks.md (Responder, spray)
│
├── Low-priv domain cred in hand
│ -> workflows/ad_enumeration.md (BloodHound + LDAP)
│ -> workflows/credential_attacks.md (Kerberoast, AS-REP)
│
├── Local admin on one host, need to spread
│ -> workflows/lateral_movement.md
│
├── Need to elevate (local or domain)
│ -> workflows/privilege_escalation.md
│
└── Domain Admin / replication rights in hand
-> workflows/domain_dominance.md (DCSync, golden ticket, rollback)
Independent — run concurrently (one sub-agent each):
Default, ACL, LocalGroup, Session (independent LDAP/SMB streams)Must be sequential (shared state / lockout / replication):
attempts < LOCKOUT_THRESHOLD - 1 per observation window, with delays between passes.secretsdump -just-dc runs against the same DC (replication contention)engagement-notes.md.Do NOT fan out credential spraying — it is a single-threaded, lockout-aware operation.
Extended thinking pays off for:
Minimal reasoning — execute without deep thought:
linpeas / winpeas / nxc output for known signaturesGet-ADDomain, whoami /all) — link via schemas/finding.json#evidence.screenshot.schemas/finding.json#evidence.pcap.All findings conform to schemas/finding.json. Skill-specific fields: target_host, ip, port, protocol, service_version, domain, compromised_account (object w/ sam/upn/credential_type), privilege_level, attack_chain (ordered step objects with MITRE technique IDs), mitre_attack, kill_chain_phase, blast_radius, authorized (must be true).
| Workflow | Use when | File |
|----------|----------|------|
| Reconnaissance | Start of engagement, inventory the scope | workflows/recon.md |
| AD enumeration | Have a domain cred, need the graph | workflows/ad_enumeration.md |
| Credential attacks | Need (more) creds: spray / roast / coerce | workflows/credential_attacks.md |
| Lateral movement | Have creds + one host, need to spread | workflows/lateral_movement.md |
| Privilege escalation | Local or domain elevation | workflows/privilege_escalation.md |
| Domain dominance | DA reached — evidence + rollback | workflows/domain_dominance.md |
| File | Purpose |
|------|---------|
| payloads/responder_config.md | Three Responder.conf profiles (capture / relay / WPAD) |
| payloads/cme_modules.md | Curated NetExec/CME module list by phase |
| payloads/gpo_abuse_templates.md | SharpGPOAbuse / pyGPOAbuse templates + rollback |
| File | Content |
|------|---------|
| references/nmap_cheatsheet.md | Host discovery, port/service scans, masscan handoff |
| references/bloodhound_queries.md | Cypher queries for paths, ACLs, delegation, sessions |
| references/impacket_toolkit.md | GetUserSPNs, GetNPUsers, secretsdump, psexec, wmiexec, ticketer, ntlmrelayx, addcomputer |
| references/crackmapexec.md | NetExec/CME protocols, spraying cadence, module list |
| references/ad_attack_matrix.md | Kerberoast, AS-REP, DCSync, delegation, ACL, GPO, ADCS mapping with MITRE IDs |
| references/lateral_movement.md | PtH, PtT, overpass, DCOM, WMI, WinRM, SSH pivot, ligolo |
| references/bounty_patterns_2024_2026.md | Post-2023 bounty TTPs as network-recon primitives (HTTP/2 CONNECT scan, TE.0 smuggling recon, K8s SA-token theft pivot) |
| Tool | Purpose | Install |
|------|---------|---------|
| nmap | Network/service scan | apt install nmap / brew install nmap |
| masscan | Fast large-scope discovery | apt install masscan |
| NetExec (nxc) | Multi-proto post-auth | pipx install netexec |
| Impacket | SMB/Kerberos/MSRPC suite | pipx install impacket |
| BloodHound CE + SharpHound / bloodhound-python | AD graph | pipx install bloodhound + CE docker |
| certipy-ad | ADCS attack toolkit | pipx install certipy-ad |
| Rubeus | Windows Kerberos toolkit | Binary from GitHub |
| mimikatz / pypykatz | Credential extraction | Binary / pipx install pypykatz |
| Responder | LLMNR/NBT-NS/mDNS poisoner | git clone + run from repo |
| evil-winrm | WinRM client | gem install evil-winrm |
| kerbrute | Kerberos user enum + spray | Binary from GitHub |
| hashcat | Hash cracking | apt install hashcat |
| ligolo-ng / chisel | Modern pivoting / tunneling | Binaries |
development
Software Composition Analysis: find vulnerable dependencies, correlate CVE/GHSA/OSV across ecosystems, generate CycloneDX/SPDX SBOMs, assess license compliance, and run reachability-aware triage to suppress unexploitable findings. Use when scanning package dependencies (npm, PyPI, Maven, Cargo, Go, RubyGems, Composer), reviewing PR lockfile diffs, generating SBOMs, auditing licenses, hunting malicious packages, or auditing the software supply chain. Triggers on requests to scan dependencies, check vulnerable packages, generate SBOM, license compliance, typosquat/dependency-confusion review, or reachability-based vuln triage.
development
Static Application Security Testing orchestration — run and compose Semgrep, CodeQL, Bandit, gosec, Brakeman, SpotBugs, ESLint; author custom rules; ingest SARIF; triage and rank findings by exploitability. Use this skill when asked to scan code for vulnerabilities, write Semgrep/CodeQL rules, triage SAST output, reduce false positives, or integrate SAST into CI/CD. Triggers on phrases like 'scan this code', 'write a Semgrep rule', 'triage these findings', 'SARIF', 'SAST in CI', or when a repo is handed over for a security review.
tools
LLM and AI application security testing skill for prompt injection (direct, indirect, multimodal), system-prompt extraction, RAG poisoning, memory poisoning, MCP server injection, skill-file injection, agentic tool misuse, computer-use UI injection, and excessive agency. Authorization required — this skill tests AI systems you are explicitly permitted to assess. Triggers on requests to test LLM / AI-agent / RAG / MCP / computer-use security, perform prompt injection, extract system prompts, poison RAG or memory, audit agent tool use, or evaluate AI guardrails.
development
iOS mobile application penetration testing with Frida and Objection on jailbroken or non-jailbroken devices. Use for static + dynamic analysis of IPAs, SSL pinning / jailbreak / biometric bypass, keychain & local-storage extraction, network interception, and OWASP MASTG iOS assessments. Triggers on requests to pentest iOS apps, analyze IPAs, bypass iOS security controls, or produce MASTG-aligned findings.