conducting-network-penetration-test
できること
このエージェントは、コンピューターネットワーク上でセキュリティテストをシミュレーションします。弱点や脆弱性を探し、ネットワークがどの程度安全かを評価します。
使う場面
- ✓新しいネットワークを稼働させる前。
- ✓ネットワークの防御が機能しているかを確認したいとき。
- ✓法律で義務付けられているセキュリティ規制を満たすとき。
スキルのリンク
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/conducting-network-penetration-test/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“会社の社内ネットワークでセキュリティテストを実施してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
まず、ネットワーク上にどのコンピューターがあるかを検出し、どのポートが開いているか、どのサービスが動作しているかを確認します。次に、これらのサービスに既知の脆弱性がないかを調べ、管理された方法で悪用を試みます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Conducting Network Penetration Test
When to Use
- Assessing the security posture of internal or external network infrastructure before or after deployment
- Validating firewall rules, network segmentation, and access controls under realistic attack conditions
- Identifying exploitable vulnerabilities in network services, protocols, and configurations
- Meeting compliance requirements for PCI-DSS, HIPAA, SOC 2, or ISO 27001 that mandate periodic penetration testing
- Evaluating the effectiveness of IDS/IPS, SIEM, and SOC detection capabilities against real attack traffic
Do not use for testing networks without explicit written authorization from the asset owner, against production systems without a pre-approved change window and rollback plan, or for denial-of-service testing unless explicitly scoped and authorized.
Prerequisites
- Signed Rules of Engagement (RoE) document specifying target IP ranges, excluded hosts, testing hours, and emergency contacts
- Written authorization letter (get-out-of-jail letter) from the network owner
- Dedicated testing laptop with Kali Linux or equivalent distribution with up-to-date tools
- VPN or direct network access to the target scope as defined in the RoE
- Out-of-band communication channel with the client's incident response team
- Scope document listing in-scope IP ranges, domains, and any explicitly excluded systems (medical devices, SCADA, critical infrastructure)
Workflow
Step 1: Pre-Engagement and Scope Validation
Validate the scope by confirming IP ranges with the client. Verify that all IP addresses in scope are owned by the client using ARIN/RIPE WHOIS lookups. Confirm testing windows, escalation procedures, and any sensitivity constraints. Set up the testing environment with a dedicated VM, VPN connection, and logging enabled on all tools. Create a timestamped activity log that records every command executed, every scan launched, and every exploit attempted throughout the engagement.
Step 2: Host Discovery and Network Mapping
Identify live hosts within the authorized scope using layered discovery techniques:
- ICMP sweep:
nmap -sn -PE -PP -PM 10.10.0.0/16 -oA discovery_icmpto find hosts responding to ping - ARP scan (internal networks):
nmap -sn -PR 10.10.0.0/24 -oA discovery_arporarp-scan -lfor local subnet enumeration - TCP SYN discovery:
nmap -sn -PS21,22,25,80,443,445,3389,8080 10.10.0.0/16 -oA discovery_tcpto find hosts with ICMP blocked - UDP discovery:
nmap -sn -PU53,161,500 10.10.0.0/16 -oA discovery_udpfor hosts only responding on UDP
Consolidate live hosts into a target list. Map the network topology by identifying gateways, VLAN boundaries, and trust relationships using traceroute and SNMP community string guessing where authorized.
Step 3: Port Scanning and Service Enumeration
Perform detailed port scanning on discovered hosts:
- Full TCP scan:
nmap -sS -p- --min-rate 1000 -T4 -oA full_tcp <target>to identify all open TCP ports - Top UDP ports:
nmap -sU --top-ports 200 -T4 -oA top_udp <target>for commonly exploitable UDP services - Service version detection:
nmap -sV -sC -p <open_ports> -oA service_enum <target>to fingerprint service versions and run default NSE scripts - OS fingerprinting:
nmap -O --osscan-guess -oA os_detection <target>to identify operating systems
Enumerate discovered services in depth using protocol-specific tools:
- SMB:
enum4linux -a <target>,crackmapexec smb <target> --shares - SNMP:
snmpwalk -v2c -c public <target> - DNS:
dig axfr @<dns_server> <domain>for zone transfer attempts - LDAP:
ldapsearch -x -H ldap://<target> -b "dc=example,dc=com"
Step 4: Vulnerability Identification
Correlate discovered service versions against known vulnerability databases:
- Run
nmap --script vuln -p <ports> <target>for NSE vulnerability scripts - Use
searchsploit <service> <version>to query the Exploit-DB offline database - Cross-reference with NVD (National Vulnerability Database) and CVE records for confirmed vulnerabilities
- Check for default credentials on management interfaces (Tomcat Manager, Jenkins, phpMyAdmin, database consoles)
- Test for common misconfigurations: anonymous FTP, open SMTP relays, unrestricted SNMP communities, NFS exports without authentication
…
よくある質問
このエージェントを使うには許可が必要ですか?
はい。テストを始める前に、ネットワーク所有者から書面による許可を得ることが不可欠です。
どのネットワークでもテストできますか?
いいえ。明示的な許可と書面による承認を得ているネットワークのみが対象です。許可のないネットワークのテストは禁止されています。
脆弱性が見つかった場合はどうなりますか?
エージェントは発見した脆弱性、その潜在的な影響、悪用方法を記録し、セキュリティを改善できるようにします。
詳細
作者による元の説明
Conducts comprehensive network penetration tests against authorized target environments by performing host discovery, port scanning, service enumeration, vulnerability identification, and controlled exploitation to assess the security posture of network infrastructure. The tester follows PTES methodology from reconnaissance through post-exploitation and reporting. Activates for requests involving
人気
- GitHubのスター
- 35k
- ランキング
- #7745
- ライセンス
- Apache-2.0
- 更新日
- 2026/8/31
コメント
- …
このリポジトリの他のスキル
abusing-dpapi-for-credential-access
35k特定のタスク向けに用意された指示をAIエージェントに与え、より良く、より速く作業できるようにします。
abusing-shadow-credentials-for-privesc
35kAIエージェントに、明確で構成のしっかりした文章の書き方を教えます。
achieving-cmmc-level-2-compliance
35kエージェントがCMMC Level 2への準拠に向けた環境を整えられるようにします。セキュリティ要件を実装し、必要なドキュメントを管理します。
acquiring-disk-image-with-dd-and-dcfldd
35kエージェントがハードディスクの完全なコピーを作成できるようにします。調査中に情報が失われたり改変されたりしないようにするのに役立ちます。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。