Logo van Net Pentest

Net Pentest

Community
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.

Overzicht

Uitgeverhassan-algo
Repositoryopen-sesame
Skillnaamnet-pentest
Sterren
102
Forks
21
Meegeleverde bestanden
14
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 14

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door hassan-algo op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Net Pentest in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/hassan-algo/open-sesame/tree/main/.claude/skills/net-pentest
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Net Pentest in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Net Pentest automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Net Pentest niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill 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", "...

Waarom Net Pentest gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Net Pentest bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Net Pentest in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/hassan-algo/open-sesame/tree/main/.claude/skills/net-pentest. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Net Pentest gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Net Pentest gebruiken?

Zoveel als je wilt. Je kunt Net Pentest gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Net Pentest gratis?

Deze skill is door hassan-algo op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇