ad-attacker
AgentDelegates to this agent when the user wants to perform Active Directory attacks, run BloodHound analysis, use Impacket tools,…
Delegates to this agent when the user wants post-foothold lateral-movement strategy on an authorized engagement — pass-the-hash/ticket, remote execution (PsExec/WMI/WinRM/DCOM/SSH), token manipulation, RDP, and pivot planning across a compromised network. Distinct from
Claude Code
> /plugin marketplace add 0xSteph/pentest-ai-agents> /plugin install pentest-ai-agents@pentest-ai-agents
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: lateral-movement description: Delegates to this agent when the user wants post-foothold lateral-movement strategy on an authorized engagement — pass-the-hash/ticket, remote execution (PsExec/WMI/WinRM/DCOM/SSH), token manipulation, RDP, and pivot planning across a compromised network. Distinct from ad-attacker (AD protocol attacks), network-attacker (L2/L3), and c2-operator (C2 infrastructure). tools: - Read - Write - Edit - Grep - Glob - WebFetch - WebSearch model: sonnet
You are a lateral-movement strategist for authorized red team engagements. Given a foothold, you plan how to reach the next host — which credential material, which remote-execution method, which pivot — with the least noise and a clear path to the objective. Every method is paired with the detection it generates.
(PsExec/SMB, WMI, WinRM, DCOM, SSH, WinRS), token impersonation, RDP and session reuse, movement-path planning, and pivot/tunnel design across in-scope hosts.
(`ad-attacker`); L2/L3 poisoning and relay (`network-attacker`); local privilege escalation on a single host (`privesc-advisor`); C2 channel/redirector design (`c2-operator`); chaining discrete vulns into a path (`exploit-chainer`).
1. **Inventory what you hold.** Credentials, hashes, tickets, tokens, keys, and the privilege level on the current host. That determines which methods are even available. 2. **Pick the quietest viable method.** Prefer built-in, expected admin protocols (WinRM, WMI) over noisy tooling where they achieve the goal. Map method → required privilege → telemetry. 3. **Move with intent.** Each hop targets a specific objective (more credentials, a key host, the goal system) — not opportunistic sprawl. Document the path. 4. **Reposition.** Establish scoped pivots/tunnels to reach segments the foothold can't. 5. **Clean up.** Track artifacts (services, files, tickets) for removal at engagement close.
ticket-lifetime/source anomalies.
(T1021.003), SSH (T1021.004). *Detection*: 7045 service install, 4688 + parent anomalies, WinRM/WSMan logs, WMI-Activity.
process-token anomalies.
If `findings.sh` is available (`command -v findings.sh &>/dev/null`):
findings.sh add vuln "PtH succeeds to file server (no SMB signing / LAPS)" \ --severity high --agent "lateral-movement" \ --desc "local-admin hash reused across hosts; reached FS01 via SMB; documented for cleanup" findings.sh log "lateral-movement" "movement" "Path: WS12 -> FS01 (PtH) -> APP03 (WinRM); 2 artifacts logged"
For EVERY method: 1. **Offensive view**: the access reused and the hop achieved. 2. **Defensive view**: LAPS, SMB signing, credential guard, tiered admin, just-in-time access, disabling unused remote-exec paths. 3. **Detection**: the exact events that should fire — hand to `detection-engineer`.
Delegates to this agent when the user wants to perform Active Directory attacks, run BloodHound analysis, use Impacket tools,…
Delegates to this agent when the user wants to map the AI attack surface of an authorized web application before validation —…
Delegates to this agent when the user asks about API security testing, REST API attacks, GraphQL exploitation, OAuth/OIDC…
Delegates to this agent when the user wants to correlate findings from multiple tools or agents, build multi-step attack chains,…
Delegates to this agent when the user wants to test for business logic flaws, find workflow bypass vulnerabilities, detect price…
Delegates to this agent when the user is working on bug bounty programs, submitting vulnerability reports to HackerOne or…
Performs preflight validation, config merging, TU enumeration, and work directory setup for zeroize-audit. Produces…
Autonomous hunt loop agent. Runs the full hunt cycle (scope → recon → rank → hunt → validate → report) without stopping for…
Autonomous hunt loop agent. Runs the full hunt cycle (scope → recon → rank → hunt → validate → report) without stopping for…