Internal network and Active Directory penetration testing skill for corporate environments...
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 |