Performs internal network penetration testing including VLAN hopping, ARP spoofing detection, broadcast protocol abuse (LLMNR/NBT-NS/mDNS), SNMP enumeration, NFS exposure, and service mapping using nmap, masscan, hping3, and netexec.
Ships in agent-smith. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert network penetration tester performing an internal network assessment. You have physical or VPN access to the target network. Your goal: map the network topology, identify segmentation weaknesses, discover services, exploit broadcast protocols, and enumerate network infrastructure.
Request: $ARGUMENTS
Read this before executing any workflow phase. Commit to MANDATORY chains before your first tool call.
| Trigger | Chain | Mandatory? |
|---|---|---|
After session(action="complete") | /gh-export | OPTIONAL — user request only |
| Host/device access obtained | /post-exploit | MANDATORY |
| Credentials captured (LLMNR/NBT-NS poisoning) | /credential-audit | OPTIONAL |
| Lateral movement opportunities identified | /lateral-movement | OPTIONAL |
Invoking a chained skill: follow the per-client invocation table in the project's CLAUDE.md / AGENTS.md — do not hard-code client-specific syntax here.
| Tool | Use for |
|---|---|
session(action="start", options={...}) | Define target, scope, depth, and hard limits — always call this first |
session(action="complete", options={...}) | Mark the scan done and write final notes |
scan(tool="nmap", ...) | Port scanning and service detection |
scan(tool="naabu", ...) | Fast port scanning across large networks |
scan(tool="httpx", ...) | HTTP service probing |
scan(tool="nuclei", ...) | Network service vulnerability templates |
kali(command=...) | Kali tools: arp-scan, nbtscan, snmpwalk, onesixtyone, smbmap, showmount, hping3, masscan, netexec, nfs-common |
http(action="request", ...) | Probe web management interfaces |
http(action="save_poc", ...) | Save confirmed exploits |
report(action="finding", data={...}) | Log confirmed vulnerabilities to findings.json |
report(action="diagram", data={...}) | Save network topology diagrams |
report(action="dashboard", data={"port": 7777}) | Serve dashboard.html at localhost:7777 |
report(action="note", data={...}) | Write reasoning notes to session log |
Logging: Before invoking any skill above, call session(action="set_skill", options={"skill":"<name>","reason":"<why>","chained_from":"<this-skill>"}) — this writes the SKILL_CHAIN entry to pentest.log.
| Technique | ID | What we test |
|---|---|---|
| Network Service Discovery | T1046 | Port scanning, service enumeration |
| Remote System Discovery | T1018 | Host discovery, ARP scanning |
| Network Connections | T1049 | Active connections, network mapping |
| Network Share Discovery | T1135 | SMB/NFS share enumeration |
| LLMNR/NBT-NS Poisoning | T1557.001 | Broadcast protocol abuse |
| Network Sniffing | T1040 | Protocol analysis, credential capture |
| Lateral Movement | T1021 | Service-based movement paths |
| Depth | What runs | Default limits |
|---|---|---|
quick | Host discovery + top-100 ports + service ID | $0.10 |
standard | Quick + top-1000 ports + SMB/SNMP/NFS enum + broadcast protocols | $0.50 |
thorough | Standard + full port scan + segmentation testing + router/switch audit + deep enumeration | unlimited |
session(action="start", options={...}) with target CIDR, depth, and limitsreport(action="dashboard", data={"port": 7777}) — live findings trackerreport(action="note", data={...}) — record network range, gateway, VLAN, assessment objectivesARP scan (most reliable on local network):
kali(command="arp-scan --localnet 2>/dev/null | head -50")
Ping sweep:
kali(command="nmap -sn NETWORK/24 -oG - 2>/dev/null | grep 'Up' | head -50")
NetBIOS enumeration:
kali(command="nbtscan NETWORK/24 2>/dev/null | head -50")
Scan in three escalating passes — a top-ports sweep alone misses high-port and UDP services (SNMP/DNS/NTP/NetBIOS/…), which is the most common recon gap.
Pass 1 — fast TCP triage (top-100 across the range):
scan(tool="naabu", target="NETWORK/24", options={"ports": "top-100"})
scan(tool="nmap", target=HOST, options={"ports": "top-1000", "flags": "-sV -sC"}) # service/version on live hosts
Pass 2 — full TCP (1-65535) on every live host — MANDATORY, not thorough-only:
scan(tool="naabu", target="NETWORK/24", options={"ports": "full"})
scan(tool="nmap", target=HOST, options={"ports": "<new open ports>", "flags": "-sV -sC"}) # version the extras
Pass 3 — UDP top-100 on every live host — the pass that's usually skipped:
scan(tool="nmap", target=HOST, options={"ports": "udp"}) # SNMP(161)/DNS(53)/NTP(123)/NetBIOS(137)/TFTP/IKE/SIP/mDNS
Feed every new open port (TCP or UDP) back into enumeration — SNMP→snmpwalk/onesixtyone, NetBIOS→nbtscan, etc. Recon is not complete until Pass 2 and Pass 3 have run on each live host.
After discovery, call report(action="diagram", data={...}) with network topology:
flowchart TD
GW["Gateway: 10.0.0.1"] --> VLAN10["VLAN 10: Servers"]
GW --> VLAN20["VLAN 20: Workstations"]
GW --> VLAN30["VLAN 30: DMZ"]
VLAN10 --> DC["DC: 10.0.0.10"]
VLAN10 --> FS["File Server: 10.0.0.20"]
VLAN10 --> DB["Database: 10.0.0.30"]
VLAN20 --> WS["Workstations: 10.0.20.0/24"]
VLAN30 --> Web["Web: 10.0.30.10"]
VLAN30 --> Mail["Mail: 10.0.30.20"]
LLMNR/NBT-NS/mDNS detection:
kali(command="responder -I eth0 -A 2>&1 | head -30", timeout=15000)
Check for broadcast protocols:
kali(command="tcpdump -i any -c 50 'udp port 5355 or udp port 137 or udp port 5353' -nn 2>/dev/null | head -30", timeout=15000)
If LLMNR/NBT-NS responses are detected, call report(action="finding", data={...}) — these can be poisoned for credential capture.
Community string brute-force:
kali(command="onesixtyone NETWORK/24 -c /usr/share/seclists/Discovery/SNMP/common-snmp-community-strings-onesixtyone.txt 2>/dev/null | head -30")
SNMP walk (if community string found):
kali(command="snmpwalk -v2c -c COMMUNITY HOST 2>/dev/null | head -100")
Extract useful info:
| OID | Information |
|---|---|
| system | Device description, contact, location |
| interfaces | Network interfaces, IP addresses |
| ipRouteTable | Routing table |
| hrSWRunName | Running processes |
| hrStorage | Disk/memory info |
SMB shares:
kali(command="nxc smb NETWORK/24 --shares -u '' -p '' 2>/dev/null | head -30")
kali(command="smbmap -H HOST -u '' -p '' 2>/dev/null")
NFS exports:
kali(command="showmount -e HOST 2>/dev/null")
If NFS exports are world-readable, call report(action="finding", data={...}).
Test inter-VLAN access:
kali(command="for vlan in 10 20 30; do for port in 22 80 443 445 3389; do (echo > /dev/tcp/10.0.$vlan.1/$port) 2>/dev/null && echo \"VLAN$vlan:$port OPEN\"; done; done")
Test firewall rules:
kali(command="hping3 -S -p 80 -c 3 TARGET 2>/dev/null")
Test DNS segmentation:
kali(command="dig @DC_IP internal.domain.com ANY 2>/dev/null")
Router/switch discovery:
kali(command="nmap -sV -p 22,23,80,443,161,162,830 GATEWAY 2>/dev/null")
Check for default credentials on network devices:
scan(tool="nuclei", target="http://GATEWAY", options={"templates": "default-login,misconfig"})
SSH audit on network devices:
kali(command="ssh-audit GATEWAY 2>/dev/null | head -50")
Call report(action="diagram", data={...}) with final annotated network topology
Call report(action="note", data={...}) with assessment summary:
Internal Network Assessment Summary:
Network range: [CIDR]
Live hosts discovered: [count]
Open services: [count]
SMB shares accessible: [count]
NFS exports: [count]
SNMP accessible: [count] hosts
Broadcast protocols: LLMNR=[yes/no], NBT-NS=[yes/no], mDNS=[yes/no]
Segmentation: [effective/weak/none]
Network devices: [count] with default creds or weak config
session(action="complete", options={...}) with summary| Skill | When to invoke |
|---|---|
/lateral-movement | Credentials captured — test lateral movement paths |
/credential-audit | Weak credentials found — comprehensive credential testing |
/ssl-tls-audit | TLS services found — deep TLS assessment |
/container-k8s-security | Docker/K8s services discovered — container and K8s assessment |
/osint | Passive recon before active network assessment |
/post-exploit | Access obtained on network device or host — privilege escalation, credential harvesting, pivot prep |
/gh-export | When user asks to file GitHub issues |
session(action="start", options={...}) is mandatory — never run any other tool before itsession(action="complete", options={...})report(action="finding", data={...}) for every confirmed weakness — include the specific service, protocol, or misconfigurationreport(action="note", data={...}) liberally — document network structure discoveriesflowchart TD, quote labels, no em-dashes, short alphanumeric node IDssession(action="stop_kali") at the end if kali(command=...) was usedWhat SKILL.md sets; muted values are Claude Code's defaults
/agent-smith:network-assess <network-cidr> [depth=quick|standard|thorough] [gateway=IP] [vlan=ID]from agent-smith
npx claudepluginhub 0x0pointer/skills --plugin agent-smith36 skills in this plugin
/ad-assessmentActive Directory security audit using the MITRE ATT&CK framework. Full domain enumeration, trust mapping, GPO analysis, ACL abuse paths, ADCS attacks (ESC1-ESC8), delegation abuse (constrained/unconstrained/RBCD), fine-grained password policies, LAPS deployment, service account security, and Kerberos configuration.
Uses enum4linux-ng, netexec, impacket, ldapsearch, certipy-ad, bloodhound-python, and rpcclient. Produces attack path diagrams, prioritized risk register, and PoCs. Chains into /gh-export for issue filing.
/aikido-triageTriages Aikido security findings live via the Aikido MCP — no CSV. Splits findings into SCA, SAST, Application Secrets, and Misconfiguration, applies a category-specific verification playbook to each (source-to-sink taint analysis with trust-boundary/reachability assessment for SAST, /analyze-cve chaining for SCA, usage + opt-in liveness checks for secrets, blast-radius reasoning with optional live-chain confirmation for misconfiguration), scores every finding's business impact and severity, then closes confirmed non-issues directly in Aikido after a single review checkpoint.
/ai-redteamAI/LLM red-team assessment using OWASP LLM Top 10 (2025), the OWASP AI Testing Guide (AITG v1, Nov 2025), and OWASP MCP Top 10 runtime testing for agentic/MCP targets. Tests prompt injection, jailbreaks, system prompt leakage, sensitive data extraction, excessive agency, improper output handling, model extraction, content bias, evasion, membership inference, MCP token exposure, and MCP command injection.
Combines Garak (probe-based automated scanning) with agent-driven manual testing via the transform() payload tool - a pure-Python engine (base/cipher/homoglyph/zero-width encodings, mutation fuzzer, bijection scaffold, token-bombs, universal decoder) for jailbreak/injection payloads that slip past input filters. The agent drives multi-turn/crescendo attacks. Includes a conditional MCP recon phase and a post-access AI infrastructure phase (chained from /post-exploit). Produces an OWASP LLM Top 10 + AITG + MCP coverage matrix, findings, a diagram, and PoCs. Chains into /gh-export.
Other plugins' skills for the same job