conducting-network-penetration-test
Ce qu’il fait
Cet agent simule un test de sécurité sur des réseaux informatiques. Il recherche les faiblesses et les vulnérabilités pour évaluer le niveau de sécurité d'un réseau.
Quand l’utiliser
- ✓Avant de mettre en service un nouveau réseau.
- ✓Pour vérifier que les défenses d'un réseau fonctionnent.
- ✓Pour respecter les réglementations de sécurité imposées par la loi.
Lien du skill
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/conducting-network-penetration-test/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Effectuez un test de sécurité sur le réseau interne de l'entreprise.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Il commence par découvrir les ordinateurs présents sur le réseau, puis vérifie quels ports sont ouverts et quels services sont en cours d'exécution. Ensuite, il recherche les vulnérabilités connues de ces services et tente de les exploiter de manière contrôlée.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
…
Questions fréquentes
Ai-je besoin d'une autorisation pour utiliser cet agent ?
Oui, il est indispensable d'obtenir une autorisation écrite du propriétaire du réseau avant de commencer le moindre test.
Puis-je tester n'importe quel réseau ?
Non, seulement les réseaux pour lesquels vous avez une autorisation explicite et écrite. Tester un réseau sans autorisation est interdit.
Que se passe-t-il si une vulnérabilité est détectée ?
L'agent documente la vulnérabilité trouvée, son impact potentiel et la manière dont elle a été exploitée, afin que la sécurité puisse être améliorée.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 35k
- Position au classement
- #7745
- Licence
- Apache-2.0
- Mis à jour
- 31/08/2026
Commentaires
- …
Autres skills de ce dépôt
abusing-dpapi-for-credential-access
35kFournit à votre agent IA des instructions prêtes à l'emploi pour une tâche précise, afin qu'il la réalise mieux et plus vite.
abusing-shadow-credentials-for-privesc
35kApprend à votre agent IA à écrire des textes clairs et bien structurés.
achieving-cmmc-level-2-compliance
35kAide votre agent à préparer un environnement conforme à la certification CMMC niveau 2. Il met en œuvre les exigences de sécurité et gère la documentation nécessaire.
acquiring-disk-image-with-dd-and-dcfldd
35kAide votre agent à créer des copies exactes de disques durs. Utile pour garantir qu'aucune information n'est perdue ou modifiée lors d'enquêtes.
Skills similaires
reverse-engineer-anything
422kAide votre agent à analyser les applications et paquets livrés, pour expliquer leurs fonctions, comparer des versions ou guider une reconstruction, avec REA.
1password
394kAide votre agent à configurer l'interface en ligne de commande de 1Password, à se connecter, et à lire ou injecter des secrets sans afficher leurs valeurs dans le chat.
healthcheck
394kAide votre agent à auditer l'ordinateur ou le serveur qui fait tourner OpenClaw pour détecter des risques de sécurité, comme SSH, le pare-feu, les mises à jour et les sauvegardes, puis à proposer des corrections sûres.