Skip to content
Back to skills

Network Pentest

ASecurity

Network and infrastructure penetration testing — host discovery and port/service scanning, service enumeration and exploitation (SMB, RDP, SSH, FTP, SNMP, databases, web services), default/weak credentials and password spraying, SMB relay and coercion, Active Directory attacks (Kerberoasting, AS-REP, delegation, ACL abuse), privilege escalation, and pivoting/tunneling. Use for internal/external network and AD engagements.

  • 16 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 17, 2026
securitygoshellsqltestinggitapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill network-pentest --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Network Pentest?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Network Pentest
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-network-pentest/badge)](https://www.skillsdirectory.com/skills/anandjogawade-network-pentest)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: network-pentest
description: Network and infrastructure penetration testing — host discovery and port/service scanning, service enumeration and exploitation (SMB, RDP, SSH, FTP, SNMP, databases, web services), default/weak credentials and password spraying, SMB relay and coercion, Active Directory attacks (Kerberoasting, AS-REP, delegation, ACL abuse), privilege escalation, and pivoting/tunneling. Use for internal/external network and AD engagements.
---

# Network & Infrastructure Penetration Testing

Externally: find exposed services and known-vulnerable software. Internally: get a foothold, harvest credentials, move laterally, and escalate to domain/infra control. Run tools in WSL/Kali or via HexStrike.

## Trigger phrases

`network pentest, internal network, port scan, nmap, smb, active directory, kerberoasting, lateral movement, privilege escalation, password spray, relay, pivoting`

## 1. Discovery & scanning
- Host discovery: `nmap -sn`, `fping`, ARP sweep (internal), `masscan`/`naabu` for speed.
- Port/service: `nmap -sCV -p-` on live hosts; `-sU --top-ports` for UDP (SNMP/TFTP/IKE/NTP). Version detail drives CVE work (→ `vulnerable-components`).

## 2. Service enumeration & exploitation
- **SMB (139/445):** `enum4linux-ng`, `smbclient`, `netexec smb` — null/guest sessions, shares, users, password policy, signing status (relay target). Access shares, hunt creds/configs, test for EternalBlue-class and SMB CVEs (confirm, don't assume).
- **LDAP/AD (389/636/3268):** `ldapsearch`/`netexec ldap`/BloodHound collectors — users, groups, computers, ACLs, delegations, GPOs.
- **Kerberos (88):** user enum, AS-REP roasting, Kerberoasting (below).
- **RDP (3389):** NLA status, weak creds, BlueKeep-class checks, cert info.
- **SSH (22):** version, auth methods, weak/default creds, key reuse.
- **FTP (21):** anonymous, writable dirs, cleartext.
- **SNMP (161/udp):** community strings (`public`/`private`), `snmpwalk` for device/config/cred leakage.
- **Databases (1433/3306/5432/1521/27017/6379):** default/weak creds, unauth access (open Redis/Mongo/Elasticsearch), then DBMS-specific escalation (→ `web-sqli` §escalation for xp_cmdshell/COPY FROM PROGRAM etc.).
- **Mail/other:** SMTP user enum/open relay, NFS exports (`showmount`), rsync, VNC, Jenkins/CI, printers, IPMI.
- **Web services:** hand to the web skills + `vulnerable-components`.

## 3. Credentials
- **Default/weak creds** on every service and admin panel.
- **Password spraying:** one common password across many users (respect lockout; `netexec`, `kerbrute`). Credential stuffing with found creds.
- **Harvest:** config files on shares, SNMP, memory, LSASS (post-foothold), browser/credential stores, `.git`/backups.

## 4. SMB relay & coercion (internal AD)
- If SMB signing is disabled on targets: `responder` (LLMNR/NBT-NS/mDNS poisoning) + `ntlmrelayx` to relay captured NTLM auth to other hosts (SMB/LDAP/ADCS). Coercion: PetitPotam/PrinterBug/Coerce to force auth from privileged hosts. Relay to ADCS (ESC8) for cert-based DA.

## 5. Active Directory attacks
- **AS-REP roasting:** users with pre-auth disabled → crack offline.
- **Kerberoasting:** request service tickets for SPN accounts → crack offline for service creds.
- **Delegation abuse:** unconstrained (capture TGTs), constrained/RBCD (impersonate).
- **ACL abuse:** BloodHound paths — `GenericAll`/`WriteDACL`/`ForceChangePassword`/`AddMember` to escalate; shadow-credentials (msDS-KeyCredentialLink).
- **ADCS:** ESC1-ESC8 template/misconfig abuse for privilege escalation to DA.
- **Kerberos ticket attacks:** pass-the-ticket, overpass-the-hash, golden/silver tickets (post-compromise, within RoE).
- **DCSync** with sufficient rights → dump domain hashes.

## 6. Privilege escalation (host)
- **Linux:** `linpeas`, SUID/sudo misconfig, writable cron/services/paths, kernel exploits (confirm version), capabilities, container escape (→ cloud/container).
- **Windows:** `winpeas`, unquoted service paths, weak service/registry/file perms, token impersonation (`PrintSpoofer`/Potato family on SeImpersonate), AlwaysInstallElevated, UAC bypass, credential dumping (LSASS/SAM/DPAPI), kernel exploits.

## 7. Lateral movement & pivoting
- Reuse creds/hashes (pass-the-hash) via `netexec`/`impacket` (`psexec`/`wmiexec`/`smbexec`), WinRM, RDP, SSH.
- Pivot/tunnel: `chisel`, `ligolo-ng`, SSH tunnels, proxychains, socks — reach segmented networks. Map and document the path.

## Depth & chaining
- Foothold → cred harvest → lateral → escalate → domain/infra. Keep a BloodHound-style attack path and a compromise map.
- Validate every "vuln version" by exploitation or safe PoC, not banner alone.

## Evidence
Tool output, obtained creds/hashes (handle per RoE), accessed data, screenshots of access, and the full kill-chain narrative for the report.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.