From cybersecurity
Conducts authorized reconnaissance and OSINT including subdomain enumeration, DNS analysis, technology fingerprinting, and passive/active scanning using native analysis and included scripts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cybersecurity:01-recon-osintThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Enable Claude to conduct comprehensive reconnaissance and open-source intelligence gathering during authorized security assessments. Claude performs passive and active recon using its native analysis capabilities and orchestrates the included scripts for automation at scale.
Enable Claude to conduct comprehensive reconnaissance and open-source intelligence gathering during authorized security assessments. Claude performs passive and active recon using its native analysis capabilities and orchestrates the included scripts for automation at scale.
Authorization Required: Always confirm written authorization for the target scope before proceeding. Unauthorized reconnaissance is illegal in most jurisdictions.
This skill activates when the user asks about:
pip install requests dnspython python-whois beautifulsoup4 shodan
Optional enhanced capabilities:
nmap — Active port scanningamass — Advanced subdomain enumerationtheHarvester — Email and domain harvestingWhen the user asks for passive recon or OSINT:
site:target.com filetype:pdf — Exposed documentssite:target.com inurl:admin — Admin panelssite:target.com ext:env OR ext:config — Config files"@target.com" site:linkedin.com — Employee enumeration"target.com" site:pastebin.com — Credential leaksorg:targetorg api_keyfilename:.env target.com"target.com" passwordWhen the user asks to enumerate subdomains:
resources/Output format for subdomain findings:
Target: example.com
Discovery Method: CT Logs + DNS Brute-Force
Discovered: 47 subdomains
LIVE SUBDOMAINS:
admin.example.com → 203.0.113.10 [HTTP 200] [nginx/1.18]
dev.example.com → 203.0.113.11 [HTTP 302 → /login]
api.example.com → 203.0.113.12 [HTTP 200] [cloudflare]
internal.example.com → 10.0.0.5 [No public response — internal?]
INFRASTRUCTURE CLUSTERS:
203.0.113.10-15 → AS12345 (Company Hosting)
Cloudflare CDN → 7 subdomains proxied
When the user asks to scan ports or detect services:
-sV) on all open ports-O) if authorizedProvide Nmap commands ready to run:
# Quick discovery
nmap -sn 203.0.113.0/24
# Top 1000 TCP ports with service detection
nmap -sV -sC --top-ports 1000 -oA scan_results 203.0.113.10
# Full port scan with script engine
nmap -sV -sC -p- -T4 -oA full_scan 203.0.113.10
When the user asks for DNS analysis:
dig AXFR @ns1.example.com example.com
~all (softfail) or ?all (neutral) — both are weakp=none = monitoring onlyFlag these misconfigurations:
+all → Any server can send as this domainWhen the user asks to fingerprint technology:
Server: → Web server and versionX-Powered-By: → Application frameworkSet-Cookie: names → Session framework (PHPSESSID=PHP, JSESSIONID=Java)X-Generator: / X-WordPress-Cache: → CMS/robots.txt, /sitemap.xml, /.well-known/ for framework leaks/wp-admin/, /administrator/, /wp-json/)Technology stack report format:
URL: https://example.com
WEB SERVER: nginx/1.18.0 (Ubuntu)
APPLICATION: WordPress 6.4.2
LANGUAGE: PHP 8.1
DATABASE: MySQL (inferred from wp-config patterns)
CDN/WAF: Cloudflare
JS LIBRARIES: jQuery 3.6.0, Bootstrap 5.3
TLS: TLS 1.3, ECDHE-RSA-AES256-GCM-SHA384
NOTABLE HEADERS:
✗ Missing: X-Content-Type-Options
✗ Missing: X-Frame-Options
✗ Missing: Content-Security-Policy
✓ Present: Strict-Transport-Security
When the user asks to correlate OSINT findings:
Every recon engagement should produce a structured report:
# Reconnaissance Report — [Target]
Date: [Date] | Scope: [Authorized Scope] | Analyst: [Name]
## Executive Summary
[2-3 sentence overview of key findings]
## Discovered Assets
- Subdomains: N found, N live
- IP Ranges: [CIDRs]
- Open Services: [Top findings]
- Technologies: [Stack summary]
## Key Findings
1. [High-impact finding with evidence]
2. [Medium-impact finding]
...
## Attack Surface Summary
[Map of entry points for follow-on testing]
## Recommended Next Steps
- Feed live web apps → Skill 09 (Web Security)
- Feed discovered services → Skill 02 (Vulnerability Scanner)
- Feed cloud assets → Skill 10 (Cloud Security)
subdomain_enum.py# Passive CT log enumeration
python scripts/subdomain_enum.py --domain target.com --passive-only --output results.json
# Active brute-force with custom wordlist
python scripts/subdomain_enum.py --domain target.com --wordlist resources/common_subdomains.txt --threads 20 --output results.json
dns_recon.py# Full DNS reconnaissance
python scripts/dns_recon.py --domain target.com --output dns_report.json
# Check zone transfer vulnerability
python scripts/dns_recon.py --domain target.com --check-zone-transfer
tech_fingerprint.py# Single URL analysis
python scripts/tech_fingerprint.py --url https://target.com --output tech_report.json
# Batch URL fingerprinting
python scripts/tech_fingerprint.py --urls urls.txt --output tech_report.json
| Next Step | Condition | Target Skill |
|---|---|---|
| Vulnerability assessment | Live services discovered | → Skill 02 |
| Web application testing | Web apps found | → Skill 09 |
| Cloud asset auditing | Cloud-hosted assets found | → Skill 10 |
| Network traffic analysis | PCAP capture available | → Skill 08 |
| IOC correlation | Suspicious infrastructure found | → Skill 06 |
Sharper, more current recon tradecraft:
CNAME (pointing to an unclaimed S3/Azure/GitHub Pages/Heroku/Fastly target), flag it as a takeover candidate and identify the fingerprint of the orphaned service.cloud_enum-style logic). Map ASN → CIDR → cloud-provider attribution.mmh3 hashes and JARM/JA4S server fingerprints in Shodan/Censys to find sibling infrastructure behind CDNs./graphql for introspection; harvest schema, types, and mutations to feed Skill 09.*.map source maps that leak internal paths.Precision rule: always separate confirmed assets (resolved + responding) from candidate assets (CT-log only) in output, and tag the discovery source per asset so findings are reproducible.
npx claudepluginhub masriyan/claude-code-cybersecurity-skill --plugin cybersecurityPerforms structured reconnaissance and attack surface enumeration for authorized pentests, CTFs, and bug bounty programs. Handles passive recon (DNS, WHOIS, certificate transparency, dorking), active scanning (nmap, web content discovery, SSL analysis), and organizes findings into an actionable map.
Conducts passive OSINT reconnaissance to map external attack surfaces from DNS records, cert transparency logs, search engines, social media, repos, and breach databases. For pentesting footprinting.
Automates reconnaissance pipelines for bug bounty hunting: subdomain enumeration, live host discovery, tech fingerprinting. Uses Amass, Subfinder, httpx, Nuclei.