02-vulnerability-scann…
Dependency auditing, CVE detection, configuration security review, CVSS scoring, and prioritized vulnerability reporting
Passive and active reconnaissance, subdomain enumeration, DNS analysis, technology fingerprinting, and OSINT data correlation for authorized security assessments
$ npx -y skills add Masriyan/Claude-Code-CyberSecurity-Skill --skill 01-recon-osint --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/01-recon-osintContext preview
The summary Claude sees to decide when to auto-load this skill.
Passive and active reconnaissance, subdomain enumeration, DNS analysis, technology fingerprinting, and OSINT data correlation for authorized security assessments
name: Reconnaissance & OSINT Automation description: Passive and active reconnaissance, subdomain enumeration, DNS analysis, technology fingerprinting, and OSINT data correlation for authorized security assessments version: 3.1.0 author: Masriyan tags: [cybersecurity, reconnaissance, osint, enumeration, dns, subdomain, fingerprinting]
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:**
---
**When the user asks for passive recon or OSINT:**
1. **WHOIS Analysis** — Query domain registration records for registrant, registrar, nameservers, and dates. Flag privacy-protected registrations and registrar patterns. 2. **Certificate Transparency Logs** — Search crt.sh for all certificates issued to the domain and subdomains. Extract SANs (Subject Alternative Names) to discover hidden subdomains. 3. **DNS Records (Passive)** — Enumerate A, AAAA, MX, NS, TXT, SOA, SRV, and CNAME records using public resolvers. Analyze SPF, DKIM, and DMARC for email security posture. 4. **Search Engine Dorking** — Generate targeted dork queries to discover exposed files, login portals, and configuration leaks:
5. **Shodan/Censys Queries** — Search for internet-exposed services, open ports, banners, and vulnerabilities associated with the target's IP ranges. 6. **Git/Code Repository Search** — Search GitHub/GitLab for leaked credentials, API keys, and internal information:
**When the user asks to enumerate subdomains:**
1. **Certificate Transparency** — Extract all SANs from crt.sh/Censys certificates (most effective passive method) 2. **DNS Brute-Force** — Run subdomain_enum.py against the common wordlist in `resources/` 3. **Wildcard Detection** — Query random subdomains to detect wildcard DNS responses and filter false positives 4. **Resolution Validation** — Resolve all candidates to IP addresses; discard NXDOMAINs 5. **HTTP Probing** — Check which subdomains respond on ports 80/443; identify web applications 6. **Infrastructure Grouping** — Group discovered subdomains by IP/ASN to map cloud vs. on-prem assets
**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:**
1. Define scan scope (host, subnet, CIDR range) and confirm authorization 2. Select scan technique: SYN scan (requires root), connect scan (no root), or stealth options 3. Run top-1000 ports first, then targeted service ports 4. Perform service version detection (`-sV`) on all open ports 5. Run OS fingerprinting (`-O`) if authorized 6. Grab banners from discovered services 7. Flag services with known vulnerabilities based on version data
**Provide 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:**
1. Enumerate all record types: A, AAAA, MX, NS, TXT, SOA, SRV, CNAME, PTR 2. **Zone Transfer Attempt** (AXFR) — Try against all discovered nameservers:
dig AXFR @ns1.example.com example.com
3. **Email Security Analysis:**
4. **Reverse DNS** — PTR lookups on all discovered IPs to find additional hostnames 5. **DNS History** — Check SecurityTrails or PassiveDNS for historical DNS records that may reveal old infrastructure
**Flag these misconfigurations:**
22 production-quality Claude Code Skills for cybersecurity professionals — covering offensive security, defensive operations, reverse engineering, threat hunting, threat intelligence, purple team / adversary emulation, CSOC automation, AI/LLM security,
Repo: Masriyan/Claude-Code-CyberSecurity-Skill
Dependency auditing, CVE detection, configuration security review, CVSS scoring, and prioritized vulnerability reporting
Proof-of-concept development, payload crafting, shellcode analysis, and exploitation technique research for authorized security testing
Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering
Static and dynamic malware analysis, YARA rule generation, sandbox configuration, behavioral profiling, and malware family classification
IOC extraction, threat intelligence correlation, MITRE ATT&CK mapping, hunt hypothesis generation, and detection rule creation
IR playbook execution, evidence collection, forensic timeline analysis, memory forensics, and post-incident reporting following NIST SP 800-61 and SANS PICERL…