Skip to content
Skillpedia
Security6.5k · #14147

passive-recon

What it does

It describes passive reconnaissance, which means collecting public records about a target's domains, network ranges and technology. It is for security teams mapping their own or approved targets.

When to use it

  • ✓When a team wants to list the subdomains of their own company's website from public records.
  • ✓When an analyst needs to see who owns a domain and which network ranges it uses.
  • ✓When someone wants to identify the web technologies a public site appears to use.

Skill link

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/passive-recon/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/passive-recon/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you list all the public subdomains and DNS records for our domain?”

5 new skills a week. 1 minute to read.

How it works

The skill gives steps for looking up registration records, DNS entries and certificate logs. These are public records, so the target is not contacted directly.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Passive Reconnaissance Knowledge Base

Passive reconnaissance gathers intelligence without directly interacting with the target's systems. This leaves no logs, no alerts, and no fingerprints on the target. Always exhaust passive methods before transitioning to active techniques.

Quick Reference — Copy-Paste Commands

# Full passive workflow for <TARGET>
whois <TARGET>
dig <TARGET> ANY +noall +answer
subfinder -d <TARGET> -o subdomains.txt
amass enum -passive -d <TARGET> -o amass_subs.txt
curl -s "https://crt.sh/?q=%25.<TARGET>&output=json" | python3 -c "import sys,json; [print(x['name_value']) for x in json.load(sys.stdin)]" | sort -u
httpx -l subdomains.txt -sc -cl -ct -title -tech-detect -o httpx_<TARGET>.txt
curl -sI https://<TARGET>

1. WHOIS Intelligence

Domain WHOIS

whois example.com

Extract: Registrar, creation/expiration dates, nameservers, registrant organization, abuse contacts.

IP WHOIS (ASN Mapping)

whois -h whois.radb.net -- '-i origin AS12345'
whois <IP_ADDRESS>

Extract: ASN ownership, IP ranges allocated, network name, organization.

BGP/ASN Enumeration

# ASN lookup via Team Cymru
whois -h whois.cymru.com " -v <IP_ADDRESS>"

# All prefixes for an ASN
whois -h whois.radb.net -- '-i origin AS12345' | grep route

# Using amass for ASN intelligence
amass intel -asn <ASN_NUMBER>

Key Analysis Points

  • Registrar patterns: Same registrar across multiple domains may indicate shared ownership
  • Nameserver clustering: Shared NS records reveal infrastructure relationships
  • Registration dates: Recently registered domains may indicate campaign infrastructure
  • Privacy protection: WHOIS privacy services indicate security awareness
  • ASN ownership: Map all IP ranges belonging to the target organization

2. DNS Reconnaissance

Comprehensive Record Queries

# All record types
dig example.com ANY +noall +answer

# Specific records
dig example.com A +short
dig example.com AAAA +short
dig example.com MX +short
dig example.com NS +short
dig example.com TXT +short
dig example.com CNAME +short
dig example.com SOA +short

# Reverse DNS
dig -x <IP_ADDRESS> +short

DNS Zone Transfer Attempt

# Enumerate nameservers first
dig example.com NS +short

# Attempt zone transfer (AXFR)
dig @ns1.example.com example.com AXFR

Note: Zone transfers are a grey area — they are a DNS protocol feature but unauthorized transfers may violate ROE. Confirm scope before attempting.

DNS Analysis Patterns

  • MX records: Reveal email infrastructure (Google Workspace, Microsoft 365, self-hosted)
  • TXT records: SPF, DKIM, DMARC reveal email security posture; may contain verification tokens leaking service usage
  • NS delegation: Identifies DNS hosting provider (Cloudflare, AWS Route53, etc.)
  • CNAME chains: Expose CDN usage, third-party service integrations, potential subdomain takeover candidates
  • SOA records: Reveal primary DNS admin, serial numbers (change frequency indicator)
  • CAA records: Certificate Authority Authorization — reveals which CAs can issue certs

3. Subdomain Enumeration

subfinder (Primary Tool)

# Basic enumeration
subfinder -d example.com -silent

# Save to file for large results
subfinder -d example.com -o subdomains.txt

# Multiple sources with verbose
subfinder -d example.com -all -v

# Recursive enumeration
subfinder -d example.com -recursive

amass (Comprehensive)

# Passive-only enumeration (no DNS brute force)
amass enum -passive -d example.com -o amass_subs.txt

# With additional intelligence sources
amass enum -passive -d example.com -src -ip

# Intel mode — discover root domains from ASN/org
amass intel -org "Target Corp"
amass intel -asn 12345 -whois -d example.com

DNS Brute Force (Secondary)

# Using a wordlist if available
for sub in $(cat /usr/share/wordlists/subdomains.txt); do
    dig +short "$sub.example.com" | grep -v "^$" && echo "$sub.example.com"
done

Subdomain Analysis

  • Naming patterns: dev., staging., test., admin., vpn., mail. reveal internal structure
  • IP clustering: Group subdomains by IP to identify shared hosting / infrastructure segments
  • Cloud indicators: *.amazonaws.com, *.azurewebsites.net CNAME targets reveal cloud usage
  • Dangling CNAMEs: Subdomains pointing to deprovisioned services = potential subdomain takeover

4. Certificate Transpare

FAQ

Does this skill send traffic to the target?

It focuses on public records and avoids direct contact with the target's systems.

What does it find?

It finds domains, subdomains, network owners and the technologies listed in public sources.

Why do teams use it first?

Teams use it to learn their own exposure before any more active testing.

Details

Original description by the author

Passive intelligence gathering without touching the target — DNS, WHOIS, subdomain enumeration, Certificate Transparency, technology fingerprinting, ASN mapping.

repo: BitterSecurity/Decepticon

Popularity

GitHub stars
6.5k
Ranking position
#14147
License
Apache-2.0
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills