Logotipo de Net Pentest

Net Pentest

Comunidad
hassan-algo
net-pentest

Guides authorized network and infrastructure penetration testing — external perimeter and internal/Active Directory — from scoping through reporting. Use this skill whenever the user is testing a network, hosts, or infrastructure they're authorized to assess: their own network, a client engagement with a signed scope, or a lab (HackTheBox, TryHackMe, GOAD, a local range). Trigger it for requests like "pentest my network", "scan this subnet", "enumerate these hosts", "what's exposed on our perimeter", "help with Active Directory / AD attacks", "Kerberoasting / BloodHound / password spray", "privilege escalation on this box", "which nmap/netexec/impacket command do I run", or "map lateral movement" — even when the user doesn't say "pentest". Follows the PTES / NIST SP 800-115 flow, organizes tooling into a repeatable workflow, and produces clean technical + stakeholder reports (PDF). Sibling to the web-pentest skill; use that one for a single web application. Authorized testing only — third-party and cloud-provider infrastructure is out of scope by default.

Descripción general

Editorhassan-algo
Repositorioopen-sesame
Nombre de la habilidadnet-pentest
Estrellas
102
Forks
21
Archivos incluidos
14
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 14

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por hassan-algo en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Net Pentest en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/hassan-algo/open-sesame/tree/main/.claude/skills/net-pentest
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hassan-algo/open-sesame.git /tmp/open-sesame
mkdir -p .claude/skills
cp -r /tmp/open-sesame/.claude/skills/net-pentest .claude/skills/net-pentest
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Net Pentest en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Net Pentest automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Net Pentest no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Network & Infrastructure Penetration Testing

This skill helps you run a disciplined network penetration test — external or internal, including Active Directory — and turn what you find into a clear report. It follows the Penetration Testing Execution Standard (PTES) and NIST SP 800-115 so coverage stays systematic.

For testing a single web application, use the sibling web-pentest skill instead. Use this one for networks, hosts, services, and AD.

Authorization comes first — every time

Network testing is only legal and ethical against infrastructure you're allowed to test. Before any active work (scanning, enumeration, exploitation), confirm the engagement is one of:

  • The user's own network / infrastructure.
  • A client engagement with a signed scope / rules of engagement (RoE).
  • A lab the user controls or is licensed to use (HackTheBox, TryHackMe, GOAD, Vulnhub, a local range).

If authorization or scope is unclear, ask once before proceeding: "Is this a network you're authorized to test, and what's the exact scope?" Scanning or attacking infrastructure you don't own, without authorization, is a crime — don't help with it, and say why.

Network engagements need a tighter RoE than web, because scans and exploits can disrupt live services. Record before starting:

  • In-scope IP ranges / CIDRs and hostnames, and every host explicitly out of scope (domain controllers, SCADA/OT, medical or safety systems, shared infrastructure).
  • Test windows and rate/intensity limits — fragile services can crash under aggressive scans or exploits.
  • Whether exploitation, password attacks, DoS-prone checks, and AD changes are permitted, or detection/enumeration only.
  • A point of contact for "stop" and emergencies, and a rollback plan.
  • Third-party / cloud-provider infrastructure is out of scope by default — test your own hosts and config, not the cloud platform, ISP, or hosting provider underneath (and note each provider's own testing policy; many require prior notice).

Engagement types

  • External — testing from the internet against the perimeter: what's exposed, what's exploitable from outside.
  • Internal — testing from inside the network (assumed-breach or on-site): lateral movement, privilege escalation, and Active Directory, where most real-world compromise happens.

Say which you're doing; it changes the emphasis (perimeter hardening vs. AD and lateral movement).

The workflow

  1. Scope & RoE — confirm authorization, record scope (above).
  2. Host discovery — find live hosts in the in-scope ranges.
  3. Port & service scanning — open ports, service/version detection.
  4. Enumeration — dig into each service (SMB, LDAP, SNMP, SSH, web, DB, mail…) and, internally, enumerate Active Directory.
  5. Vulnerability identification — map versions/configs to known issues; confirm, don't just trust a scanner.
  6. Exploitation & privilege escalation — gain and elevate access, safely and in scope.
  7. Post-exploitation, lateral movement & pivoting — demonstrate real impact (and, in AD, the path to Domain Admin).
  8. Reporting — write each finding up with evidence, severity, and a fix.

Keep running notes of every host, port, service, credential, and foothold — the report and the attack path depend on them.

Where to go next

Read the reference for the phase you're in:

  • references/methodology.md — the phase-by-phase network testing checklist (discovery, scanning, per-service enumeration, vuln ID, exploitation, privesc, pivoting). The core of the skill.
  • references/active-directory.md — internal AD attacks: enumeration, Kerberoasting / AS-REP roasting, password spraying, SMB/NTLM relay, BloodHound attack paths, credential abuse (pass-the-hash, DCSync), and the path to Domain Admin. Open it on internal engagements.
  • references/privesc.md — privilege escalation after a foothold, Linux and Windows (sudo/SUID/cron/caps; token privileges, service misconfig, stored creds).
  • references/pivoting.md — tunneling and pivoting into deeper in-scope segments (SSH, chisel, ligolo-ng, proxychains, SOCKS/port-forwards).
  • references/password-attacks.md — safe credential testing: spraying vs brute force, lockout policy, offline hash cracking, default/reused creds.
  • references/cloud-identity.md — hybrid/cloud identity: Entra ID (Azure AD) and AWS — what's in scope (the client's tenant/config) vs the provider's platform (out of scope). Open it on hybrid/cloud engagements.
  • references/wireless.md — Wi-Fi testing (WPA2/3-PSK handshake/PMKID, Enterprise/802.1X evil-twin, WPS, guest segmentation). Needs a monitor-mode adapter.
  • references/containers.md — Docker & Kubernetes: exposed APIs (Docker socket, kube API/kubelet/etcd) and container escapes.
  • references/tooling.md — how to run nmap, masscan, netexec (CrackMapExec), impacket, enum4linux-ng, responder, BloodHound, Metasploit, etc., with safe-usage notes.
  • references/reporting.md — severity (CVSS), evidence, the attack-path narrative, and the three deliverables (technical report, stakeholder summary, how-to-recreate), all as PDF via scripts/render-report.sh.
  • references/lab-targets.md — legal practice ranges and a learning path.
  • assets/report-template.md — fill-in network pentest report.

Working principles

  • Don't break production. Scans and exploits can crash services — start low-intensity, respect the RoE, and never run a DoS-prone or known-unstable exploit on a live target without explicit sign-off.
  • Confirm before you exploit. Prove a vulnerability with the lightest safe proof; a reliable, in-scope demonstration beats a risky one-shot exploit.
  • Handle credentials carefully. Treat any credential or hash you recover as sensitive; record where it came from and what it unlocked, and don't reuse it outside scope.
  • Map the path, not just the bugs. The valuable output of an internal test is the attack path (foothold → escalation → Domain Admin), not a pile of isolated findings.
  • Stay in scope, always. An interesting host outside the agreed ranges is still out of scope — note it, don't touch it.
  • Log everything with timestamps for the report and to prove scope discipline.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Net Pentest?

Guides authorized network and infrastructure penetration testing — external perimeter and internal/Active Directory — from scoping through reporting. Use this skill whenever the user is testing a network, hosts, or infrastructure they're authorized to assess: their own network, a client engagement with a signed scope, or a lab (HackTheBox, TryHackMe, GOAD, a local range). Trigger it for requests like "pentest my network", "scan this subnet", "enumerate these hosts", "what's exposed on our perimeter", "help with Active Directory / AD attacks", "Kerberoasting / BloodHound / password spray", "...

¿Por qué usar Net Pentest en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Net Pentest está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Net Pentest en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/hassan-algo/open-sesame/tree/main/.claude/skills/net-pentest. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Net Pentest?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Net Pentest?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Net Pentest con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Net Pentest?

hassan-algo la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇