跳到正文
Skillpedia
安全6.5k · #14147

passive-recon

它能做什么

它介绍被动侦察,即收集目标域名、网络范围和技术的公开记录。适用于梳理自身或已批准目标的安全团队。

适用场景

  • ✓当团队想从公开记录中列出自己公司网站的子域名时。
  • ✓当分析人员需要查看某个域名的所有者以及它使用哪些网络范围时。
  • ✓当有人想识别公开网站看起来使用了哪些网页技术时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/passive-recon/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“能否列出我们域名的所有公开子域名和 DNS 记录?”

每周 5 个新技能,1 分钟读完。

工作原理

该技能提供查询注册记录、DNS 条目和证书日志的步骤。这些都是公开记录,因此不会直接接触目标。

技术内容(原始 SKILL.md)

作者在 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

常见问题

这个技能会向目标发送流量吗?

它专注于公开记录,避免直接接触目标的系统。

它能找到什么?

它能找到域名、子域名、网络所有者,以及公开来源中列出的技术。

为什么团队要先用它?

团队在进行任何更主动的测试之前,先用它了解自身的暴露情况。

详情

作者的原始描述

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

repo: BitterSecurity/Decepticon

热度

GitHub 星标
6.5k
排名
#14147
许可证
Apache-2.0
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能