External Network Penetration Testing
БесплатноБез исполняемых скриптовНе проверенThis skill should be used when the user asks to "perform external pentesting", "conduct external network assessment", "enumerate external attack surface"…
Об этом скилле
External Network Penetration Testing
Purpose
Conduct comprehensive external network penetration testing including OSINT reconnaissance, subdomain enumeration, exposed service discovery, vulnerability scanning, and exploitation of internet-facing assets. This methodology covers the full external assessment lifecycle.
Prerequisites
Required Tools
- Nmap for network scanning
- Amass/Subfinder for subdomain enumeration
- Shodan/Censys for passive recon
- Recon-ng for OSINT framework
- Nuclei/Nessus for vulnerability scanning
Required Knowledge
- Network protocols and services
- DNS and certificate transparency
- Cloud infrastructure concepts
- OSINT techniques
Outputs and Deliverables
- Attack Surface Report - Complete external footprint
- Subdomain Inventory - All discovered subdomains
- Exposed Services - Internet-facing services and versions
- Vulnerability Assessment - Identified security issues
Core Workflow
Phase 1: OSINT Reconnaissance
Gather intelligence without direct target interaction:
# Google Dorks
site:company.com -site:www.company.com
site:*.company.com
filetype:pdf site:company.com
inurl:admin site:company.com
intitle:"index of" site:company.com
# Bing Dorks
site:company.com -site:www.company.com
# Certificate Transparency
curl -s "https://crt.sh/?q=%25.company.com&output=json" | jq -r '.[].name_value' | sort -u
# ASN Lookup
amass intel -org "Company Name"
whois -h whois.radb.net -- '-i origin AS12345'
# Using bgp.he.net
# https://bgp.he.net/dns/company.com
# Shodan search
shodan search "ssl.cert.subject.CN:company.com"
shodan search "hostname:company.com"
OSINT tools:
# SpiderFoot - automated OSINT
spiderfoot -s company.com -o output.html
# theHarvester
theHarvester -d company.com -b all
# Maltego - visual OSINT
# Use GUI for comprehensive link analysis
Phase 2: Passive Reconnaissance
Discover assets without active scanning:
# DNS History
# SecurityTrails, DNSdumpster, ViewDNS.info
# Web Archive
waybackurls company.com | sort -u > archived_urls.txt
# Pastebin monitoring
# https://github.com/carlospolop/Pastos
# Credential leaks check
# dehashed, breach-parse, HaveIBeenPwned
# Social networks
# LinkedIn - employee enumeration
python3 linkedin2username.py -c "Company Name"
# Hunter.io - email discovery
curl "https://api.hunter.io/v2/domain-search?domain=company.com&api_key=KEY"
Phase 3: Subdomain Enumeration
Comprehensive subdomain discovery:
# Amass - comprehensive enumeration
amass enum -d company.com -o subdomains.txt
amass enum -d company.com -passive -o passive_subs.txt
# Subfinder - fast passive enumeration
subfinder -d company.com -o subfinder.txt
# DNS brute-force
aiodnsbrute -t 20 company.com -w subdomains-top1million.txt
# DNScan
python3 dnscan.py -d company.com -w subdomains.txt
# Combine and dedupe
cat amass.txt subfinder.txt | sort -u > all_subs.txt
# Certificate Transparency with ct-exposer
python3 ct-exposer.py -d company.com
# TLSX for SAN extraction
echo "10.0.0.0/8" | tlsx -san -silent
# Resolve live subdomains
cat all_subs.txt | httpx -o live_subs.txt
Phase 4: Subdomain Takeover Testing
Check for vulnerable subdomains:
# Subjack
subjack -w subdomains.txt -t 100 -timeout 30 -o takeover.txt -ssl
# Nuclei subdomain takeover templates
nuclei -l subdomains.txt -t takeovers/
# Manual checks for:
# - CNAME pointing to unclaimed services
# - Azure/AWS/Heroku/GitHub Pages misconfigurations
# - Expired domain CNAMEs
# Common vulnerable services:
# AWS S3, Azure, Heroku, GitHub Pages, Shopify
# Zendesk, Fastly, Pantheon, Tumblr, WordPress
Phase 5: Active Reconnaissance
Direct target scanning:
# Masscan - fast port discovery
masscan -p1-65535 --rate 10000 -iL targets.txt -oG masscan.out
# Nmap - service enumeration
nmap -sV -sC -p- -iL live_hosts.txt -oA nmap_full
# NSE script categories
nmap --script=default,vuln,discovery -p 22,80,443 target.com
# Shodan integration
shodan host <IP>
shodan search "hostname:company.com"
# Censys
censys search "parsed.names: company.com"
# HTTP/HTTPS screenshots
gowitness file -f live_subs.txt -P screenshots/
eyewitness -f live_subs.txt --web
aquatone -out aquatone_output < live_subs.txt
Phase 6: Exposed Services Testing
HTTP/HTTPS
# Technology fingerprinting
whatweb https://target.com
wappalyzer https://target.com
# Directory enumeration
gobuster dir -u https://target.com -w directory-list.txt
feroxbuster -u https://target.com -w wordlist.txt
# Virtual host discovery
gobuster vhost -u https://target.com -w vhosts.txt
# IIS specific
java -jar iis_shortname_scanner.jar https://iiswebsite.com
# Check aspnet_client folder
curl https://target.com/aspnet_client/
Email Services (SMTP)
# SPF/DKIM/DMARC check
python3 spoofy.py -d company.com -o stdout
./spoofcheck.py company.com
# Open relay testing
nmap --script smtp-open-relay -p 25 targe
Установить External Network Penetration Testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл External Network Penetration Testing?
This skill should be used when the user asks to "perform external pentesting", "conduct external network assessment", "enumerate external attack surface", "perform OSINT reconnaissance", or "test perimeter security". It provides comprehensive external network penetration testing methodologies.
Как установить скилл External Network Penetration Testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл External Network Penetration Testing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic