enumerating-network-services

A guide to finding and testing network services exposed on a computer or network, such as SSH, web servers, file sharing, databases, and DNS. It includes identifying services by their ports and versions.

In plain words
What is it for?
Testing SMB, FTP, SSH, RDP, HTTP, database, LDAP, NFS, DNS, and SNMP services, including banner checks, configuration reviews, and authorized exploitation.
Why use it?
It helps reveal reachable services, unsafe settings, and service-specific weaknesses that may provide a route into an authorized test environment.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/evilfreelancer/secs/enumerating-network-services
Any agent
npx skills add EvilFreelancer/secs --skill enumerating-network-services
Clone the repo
git clone --depth 1 https://github.com/EvilFreelancer/secs

Made for: Claude Code, Codex.

Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,550 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00060 $0.03550
Opus 5 $0.00030 $0.01775
Sonnet 5 $0.00012 $0.00710
Haiku 4.5 $0.00006 $0.00355

Measured 3d ago against content hash 238bf6b897d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

enumerating-network-services scanned grade A with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo nmap -sU --top-ports 1000 10.10.10.10

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

wget -r ftp://anonymous:[email protected]/
.agents/skills/enumerating-network-services/SKILL.md · 419 lines

How it starts

The opening of the file, as written. The whole thing — 419 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Network Service Enumeration Skill

You are a network penetration testing expert specializing in service enumeration and exploitation. Use this skill when the user requests help with:

  • Enumerating network services by port
  • Exploiting common network services (SMB, FTP, SSH, RDP, etc.)
  • Database service testing (MySQL, MSSQL, PostgreSQL, MongoDB)
  • Service-specific vulnerability identification
  • Banner grabbing and version detection
  • Network protocol analysis

When to Use

Activate this skill when the user asks to:

  • Enumerate network services on specific ports
  • Test common network service vulnerabilities
  • Connect to and exploit database services
  • Perform service-specific reconnaissance
  • Identify service misconfigurations
  • Extract data from network services
  • Help with network penetration testing

When NOT to Use

  • Source code is available — use auditing-code-for-vulnerabilities
  • Web application layer specifically — use testing-web-applications
  • Cloud provider APIs and control plane — use exploiting-cloud-platforms
  • Passive OSINT before you touch the target — use performing-reconnaissance
  • ICS/OT protocols on the network (Modbus/502, DNP3, S7comm/102, OPC UA, BACnet) — use testing-ics-ot-protocols; scanning these the way you scan IT services can crash a PLC, and the safety rules differ

Core Methodologies

1. Port Scanning and Service Discovery

Nmap Scanning Strategies:

# Quick TCP scan
nmap -sC -sV -oA scan 10.10.10.10

# Full TCP port scan
nmap -p- -T4 10.10.10.10
nmap -p- -sV -sC -A 10.10.10.10 -oA full-scan

# UDP scan (top 1000)
sudo nmap -sU --top-ports 1000 10.10.10.10

# Aggressive scan
nmap -A -T4 10.10.10.10

# Specific port scan with scripts
nmap -p 445 --script smb-* 10.10.10.10
nmap -p 21 --script ftp-* 10.10.10.10

# Service version detection
nmap -sV --version-intensity 9 10.10.10.10

# OS detection
sudo nmap -O 10.10.10.10

Fast Port Scanning:

# masscan - very fast
masscan -p1-65535 10.10.10.10 --rate=1000

# rustscan - fast with nmap integration
rustscan -a 10.10.10.10 -- -sC -sV

Read the full file on GitHub · 419 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 419 lines · 60 tokens per session scan A 238bf6b897d3

Subscribe to this mod's changes

enumerating-network-services is a skill published in the GitHub repository EvilFreelancer/secs (10 stars, last pushed 24d ago), licensed Apache-2.0. It adds 60 tokens to every session and 3,550 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

Blue Team Defense & Hardening

System hardening, detection engineering, security baseline monitoring, patch management, defense-in-depth architecture, and security posture improvement.

Masriyan/Claude-Code-CyberSecurity-Skill · 30 tokens

analyzing-email-headers-for-phishing-investigation

Parse and analyze email headers to trace the origin of phishing emails, verify sender authenticity, and identify spoofing through SPF, DKIM, and DMARC validation.

26zl/cybersec-toolkit · 44 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware using Ghidra with specialized scripts for function recovery, string extraction, and type reconstruction in stripped Go binaries.

26zl/cybersec-toolkit · 40 tokens

analyzing-prefetch-files-for-execution-history

Parse Windows Prefetch files to determine program execution history including run counts, timestamps, and referenced files for forensic investigation.

26zl/cybersec-toolkit · 34 tokens

analyzing-ios-app-security-with-objection

Performs runtime mobile security exploration of iOS applications using Objection, a Frida-powered toolkit that enables security testers to interact with app internals without jailbreaking. Use when assessing iOS app security posture, bypassing client-side protections, dumping keychain items, inspecting filesystem…

26zl/cybersec-toolkit · 99 tokens

add-tool

Use when adding a new cybersecurity tool to this installer. Walks through editing the right module file, adding to toolsconfig.json, running validators, and syncing MCP server data if needed. Triggers on phrases like "add tool", "add ", "register a new tool", "include X in the installer".

26zl/cybersec-toolkit · 68 tokens