Chuyển đến nội dung
Skillpedia
Bảo mật6.5k · #14147

passive-recon

Skill này làm gì

Skill này mô tả thu thập thông tin thụ động, nghĩa là thu thập bản ghi công khai về tên miền, dải mạng và công nghệ của mục tiêu. Dành cho đội bảo mật lập bản đồ tên miền của chính họ hoặc mục tiêu đã duyệt.

Khi nào nên dùng

  • ✓Khi một đội muốn liệt kê các subdomain của trang web công ty mình từ bản ghi công khai.
  • ✓Khi một nhà phân tích cần xem ai sở hữu một tên miền và dùng dải mạng nào.
  • ✓Khi ai đó muốn xác định các công nghệ web mà một trang công khai dường như đang dùng.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/passive-recon/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể liệt kê tất cả subdomain công khai và bản ghi DNS của tên miền chúng tôi không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill cung cấp các bước tra cứu bản ghi đăng ký, mục DNS và nhật ký chứng chỉ. Đây là bản ghi công khai nên mục tiêu không bị liên hệ trực tiếp.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

Câu hỏi thường gặp

Skill này có gửi lưu lượng đến mục tiêu không?

Nó tập trung vào bản ghi công khai và tránh liên hệ trực tiếp với hệ thống của mục tiêu.

Nó tìm được gì?

Nó tìm tên miền, subdomain, chủ sở hữu mạng và các công nghệ được liệt kê trong nguồn công khai.

Vì sao các đội dùng nó trước?

Các đội dùng nó để biết mức độ lộ của chính họ trước khi làm bất kỳ kiểm thử chủ động nào.

Chi tiết

Mô tả gốc của tác giả

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

repo: BitterSecurity/Decepticon

Độ phổ biến

Sao GitHub
6.5k
Vị trí xếp hạng
#14147
Giấy phép
Apache-2.0
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự