service-fingerprinting

macaugh's avatarfrom macaugh

Techniques for accurately identifying services, versions, and technologies running on discovered hosts

⭐3stars🔀0forks📁View on GitHub🕐Updated Oct 13, 2025⬇️1downloads

When & Why to Use This Skill

This Claude skill provides comprehensive techniques for service fingerprinting, enabling users to accurately identify software versions, operating systems, and network configurations. By leveraging industry-standard tools like Nmap, Curl, and specialized scanners, it facilitates precise vulnerability assessments and infrastructure mapping to enhance overall security posture and reconnaissance efficiency.

Use Cases

  • Vulnerability Assessment: Identifying outdated software versions and unpatched services to prioritize security remediation efforts.
  • Penetration Testing Reconnaissance: Mapping the technology stack of discovered hosts to develop targeted and effective exploitation strategies.
  • Infrastructure Auditing: Cataloging active services and versions across a network to maintain an accurate and up-to-date asset inventory.
  • Security Monitoring: Detecting unauthorized, misconfigured, or unexpected services running on production environments to prevent data breaches.
nameService Fingerprinting
descriptionTechniques for accurately identifying services, versions, and technologies running on discovered hosts
when_to_useAfter discovering live hosts during reconnaissance, when mapping technology stack for vulnerability assessment, or when preparing targeted exploitation strategies
version1.0.0
languagesbash, python

Service Fingerprinting

Overview

Service fingerprinting identifies the specific software, version, and configuration of network services. Accurate fingerprinting enables targeted vulnerability assessment, exploit selection, and understanding of the attack surface. This skill combines active probing, banner grabbing, and behavioral analysis.

Core principle: Start passive, escalate to active when needed. Combine multiple techniques for accuracy.

When to Use

  • After discovering live hosts (from subdomain enumeration)
  • Before vulnerability scanning or exploitation
  • When building detailed target intelligence
  • During penetration testing reconnaissance phase

Techniques

Port Scanning

# Fast SYN scan of common ports
nmap -sS -F target.com

# Comprehensive scan of all ports
nmap -p- -T4 target.com

# Service version detection
nmap -sV -p 80,443,22,3306 target.com

# OS detection
sudo nmap -O target.com

# Aggressive scan (version, OS, scripts, traceroute)
nmap -A target.com
# Manual banner grab
nc target.com 80
GET / HTTP/1.0

# Automated with nmap
nmap -sV --version-intensity 9 -p 80,443 target.com

# Multiple services
for port in 21 22 25 80 443 3306; do
  echo "=== Port $port ===" 
  nc -w 2 target.com $port
done

HTTP/HTTPS Fingerprinting

# Detailed HTTP headers
curl -I https://target.com

# Technology detection
whatweb -a 3 https://target.com

# Certificate information
echo | openssl s_client -connect target.com:443 2>/dev/null | openssl x509 -noout -text

Specialized Scanners

# Database fingerprinting
nmap -p 3306 --script mysql-info target.com
nmap -p 5432 --script pgsql-info target.com

# SMB enumeration
nmap -p 445 --script smb-os-discovery target.com

# SSH fingerprinting
ssh-audit target.com

Common Services

Port Service Fingerprinting Command
21 FTP nc target.com 21
22 SSH nc target.com 22
80/443 HTTP/HTTPS curl -I https://target.com
3306 MySQL nmap -p 3306 --script mysql-info
5432 PostgreSQL nmap -p 5432 --script pgsql-info
6379 Redis redis-cli -h target.com info
27017 MongoDB nmap -p 27017 --script mongodb-info

Integration with Other Skills

  • skills/reconnaissance/automated-subdomain-enum - Provides targets
  • skills/reconnaissance/web-app-recon - Detailed HTTP analysis
  • skills/exploitation/* - Informs exploit selection