跳到正文
Skillpedia
安全35k · #7745

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/conducting-network-penetration-test/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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_icmp to find hosts responding to ping
  • ARP scan (internal networks): nmap -sn -PR 10.10.0.0/24 -oA discovery_arp or arp-scan -l for local subnet enumeration
  • TCP SYN discovery: nmap -sn -PS21,22,25,80,443,445,3389,8080 10.10.0.0/16 -oA discovery_tcp to find hosts with ICMP blocked
  • UDP discovery: nmap -sn -PU53,161,500 10.10.0.0/16 -oA discovery_udp for 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

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#7745
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能