conducting-network-penetration-test
Skill này làm gì
Agent này mô phỏng một bài kiểm tra bảo mật trên mạng máy tính. Nó tìm điểm yếu và lỗ hổng để đánh giá mức độ an toàn của mạng.
Khi nào nên dùng
- ✓Trước khi đưa một mạng mới vào hoạt động.
- ✓Để kiểm tra xem các biện pháp phòng thủ của mạng có hoạt động không.
- ✓Để đáp ứng các quy định bảo mật theo luật.
Liên kết skill
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/conducting-network-penetration-test/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thực hiện kiểm tra bảo mật trên mạng nội bộ của công ty.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ bắt đầu bằng việc tìm các máy tính trong mạng, sau đó kiểm tra cổng nào đang mở và dịch vụ nào đang chạy. Tiếp theo, nó tìm các lỗ hổng đã biết trong những dịch vụ này và thử khai thác có kiểm soát.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
…
Câu hỏi thường gặp
Tôi có cần sự cho phép để dùng agent này không?
Có, cần có văn bản ủy quyền từ chủ mạng trước khi bắt đầu bất kỳ bài kiểm tra nào.
Tôi có thể kiểm tra mọi mạng không?
Không, chỉ được kiểm tra những mạng mà bạn có quyền và ủy quyền rõ ràng. Kiểm tra mạng không được phép là bị cấm.
Điều gì xảy ra nếu phát hiện lỗ hổng?
Agent ghi lại lỗ hổng đã tìm thấy, tác động tiềm ẩn và cách nó bị khai thác, để bộ phận bảo mật có thể cải thiện.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 35k
- Vị trí xếp hạng
- #7745
- Giấy phép
- Apache-2.0
- Cập nhật
- 31/8/2026
Bình luận
- …
Thêm skill từ kho mã này
abusing-dpapi-for-credential-access
35kCung cấp cho agent AI của bạn hướng dẫn có sẵn cho một tác vụ cụ thể, giúp nó làm việc tốt hơn và nhanh hơn.
abusing-shadow-credentials-for-privesc
35kDạy agent AI của bạn viết văn bản rõ ràng và có cấu trúc tốt.
achieving-cmmc-level-2-compliance
35kGiúp agent của bạn chuẩn bị môi trường để tuân thủ CMMC Level 2. Triển khai các yêu cầu bảo mật và quản lý tài liệu cần thiết.
acquiring-disk-image-with-dd-and-dcfldd
35kGiúp agent của bạn tạo bản sao chính xác của ổ đĩa. Cách này đảm bảo không mất hay thay đổi thông tin trong quá trình điều tra.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.