[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AFREVTXQCBAT08Y6M5123K":3,"skill-same:01M6AFREVTXQCBAT08Y6M5123K":112},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":66,"repositoryHtmlUrl":67,"repositoryHomepageUrl":68,"ownerHtmlUrl":69,"ownerBlogUrl":70,"ownerDescription":71,"updatedAt":72,"install":73,"resources":86},"01M6AFREVTXQCBAT08Y6M5123K","performing-dns-enumeration-and-zone-transfer","DNS 枚举与区域传送探测","Enumerates DNS records, attempts zone transfers, brute-forces subdomains, and maps DNS infrastructure during authorized reconnaissance to identify attack surface, misconfigurations, and information disclosure in target domains.","在授权侦察期间枚举 DNS 记录、尝试区域传送、暴力破解子域名并绘制 DNS 基础设施图谱，以识别目标域的攻击面、错误配置和信息泄露。","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-dns-enumeration-and-zone-transfer\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C7NMKVVN7CCC4BCVAW8B18","渗透测试与红队行动","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42],"transfer","dns","enumeration","performing dns enumeration and zone transfer","security","cybersecurity","pr","infrastructure","network","network-security","reconnaissance","zone-transfer","2026-11-10 10:12:30",false,"---\nname: performing-dns-enumeration-and-zone-transfer\ndescription: 'Enumerates DNS records, attempts zone transfers, brute-forces subdomains,\n  and maps DNS infrastructure during authorized reconnaissance to identify attack\n  surface, misconfigurations, and information disclosure in target domains.\n\n  '\ndomain: cybersecurity\nsubdomain: network-security\ntags:\n- network-security\n- dns\n- enumeration\n- zone-transfer\n- reconnaissance\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.IR-01\n- DE.CM-01\n- ID.AM-03\n- PR.DS-02\nmitre_attack:\n- T1046\n- T1040\n- T1557\n- T1071\n- T1595\n---\n# Performing DNS Enumeration and Zone Transfer\n\n## When to Use\n\n- Mapping the external attack surface of a target organization during authorized penetration tests\n- Discovering hidden subdomains, internal hostnames, and IP addresses exposed via DNS records\n- Testing whether DNS servers allow unauthorized zone transfers that leak the entire zone file\n- Identifying mail servers, name servers, and service records for further targeted testing\n- Validating DNS security configurations including DNSSEC, SPF, DKIM, and DMARC\n\n**Do not use** against domains you do not have authorization to test, for DNS amplification or reflection attacks, or to overwhelm DNS servers with excessive query volumes.\n\n## Prerequisites\n\n- Written authorization to perform DNS enumeration against the target domain\n- DNS enumeration tools installed: dig, nslookup, host, dnsrecon, dnsenum, subfinder, amass\n- Network access to the target's DNS servers (UDP\u002FTCP port 53)\n- Wordlist for subdomain brute-forcing (SecLists dns-wordlist or similar)\n- Understanding of DNS record types (A, AAAA, CNAME, MX, NS, TXT, SOA, SRV, PTR)\n\n## Workflow\n\n### Step 1: Identify DNS Servers and Basic Records\n\n```bash\n# Find authoritative name servers\ndig NS example.com +short\n# ns1.example.com.\n# ns2.example.com.\n\n# Get SOA record for zone metadata\ndig SOA example.com +short\n# ns1.example.com. admin.example.com. 2024031501 3600 900 604800 86400\n\n# Enumerate all common record types\ndig example.com ANY +noall +answer\n\n# Get MX records (mail servers)\ndig MX example.com +short\n# 10 mail.example.com.\n# 20 mail-backup.example.com.\n\n# Get TXT records (SPF, DKIM, DMARC, verification)\ndig TXT example.com +short\n\n# Check for DMARC policy\ndig TXT _dmarc.example.com +short\n\n# Check for DKIM selectors\ndig TXT default._domainkey.example.com +short\ndig TXT selector1._domainkey.example.com +short\ndig TXT google._domainkey.example.com +short\n\n# Get SRV records for common services\ndig SRV _sip._tcp.example.com +short\ndig SRV _ldap._tcp.example.com +short\ndig SRV _kerberos._tcp.example.com +short\n```\n\n### Step 2: Attempt Zone Transfers\n\n```bash\n# Attempt AXFR zone transfer against each name server\ndig AXFR example.com @ns1.example.com\ndig AXFR example.com @ns2.example.com\n\n# Use host command for zone transfer\nhost -t axfr example.com ns1.example.com\n\n# Use dnsrecon for automated zone transfer attempts\ndnsrecon -d example.com -t axfr\n\n# If zone transfer succeeds, save the output\ndig AXFR example.com @ns1.example.com > zone_transfer_results.txt\n\n# Test for IXFR (incremental zone transfer)\ndig IXFR=2024031500 example.com @ns1.example.com\n```\n\n### Step 3: Subdomain Enumeration via Brute Force\n\n```bash\n# Use dnsenum for comprehensive enumeration\ndnsenum --dnsserver ns1.example.com --enum -f \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FDNS\u002Fsubdomains-top1million-5000.txt -r example.com -o dnsenum_output.xml\n\n# Use dnsrecon with brute force\ndnsrecon -d example.com -t brt -D \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FDNS\u002Fsubdomains-top1million-5000.txt\n\n# Use gobuster for fast DNS brute forcing\ngobuster dns -d example.com -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FDNS\u002Fsubdomains-top1million-20000.txt -t 50 -o gobuster_dns.txt\n\n# Use subfinder for passive subdomain discovery\nsubfinder -d example.com -all -o subfinder_results.txt\n\n# Use amass for comprehensive enumeration (passive + active)\namass enum -d example.com -passive -o amass_passive.txt\namass enum -d example.com -active -brute -o amass_active.txt\n\n# Combine and deduplicate results\ncat subfinder_results.txt amass_passive.txt amass_active.txt gobuster_dns.txt | sort -u > all_subdomains.txt\n```\n\n### Step 4: Reverse DNS and PTR Enumeration\n\n```bash\n# Reverse DNS lookup on discovered IP ranges\ndnsrecon -d example.com -t rvl -r 10.10.0.0\u002F24\n\n# PTR record enumeration for IP range\nfor ip in $(seq 1 254); do\n  result=$(dig -x 10.10.1.$ip +short 2>\u002Fdev\u002Fnull)\n  if [ -n \"$result\" ]; then\n    echo \"10.10.1.$ip -> $result\"\n  fi\ndone\n\n# Use Nmap for reverse DNS on a subnet\nnmap -sL 10.10.0.0\u002F24 | grep \"(\" | awk '{print $5, $6}'\n\n# Check for DNS cache snooping (information about queried domains)\ndig @ns1.example.com www.competitor.com +norecurse\n```\n\n### Step 5: Analyze DNS Security Configuration\n\n```bash\n# Check DNSSEC validation\ndig example.com +dnssec +short\ndig DNSKEY example.com +short\ndig DS example.com +short\n\n# Test for DNS rebinding vulnerability\n# Check if the DNS server has a short TTL that could enable rebinding\ndig example.com +noall +answer | grep -i ttl\n\n# Check for open recursive resolver (misconfiguration)\ndig @ns1.example.com google.com +recurse\n# If it resolves, the server is an open resolver\n\n# Check for wildcard DNS records\ndig nonexistent-subdomain-xyz123.example.com +short\n# If it resolves, a wildcard record exists\n\n# Test DNS over HTTPS\u002FTLS support\n# DoH test\ncurl -s -H 'accept: application\u002Fdns-json' 'https:\u002F\u002Fdns.google\u002Fresolve?name=example.com&type=A'\n\n# Verify SPF record for email security\ndig TXT example.com +short | grep \"v=spf1\"\n# Check for overly permissive SPF (+all, ?all)\n```\n\n### Step 6: Resolve and Map All Discovered Subdomains\n\n```bash\n# Resolve all discovered subdomains to IP addresses\nwhile read subdomain; do\n  ip=$(dig +short A \"$subdomain\" | head -1)\n  if [ -n \"$ip\" ]; then\n    echo \"$subdomain,$ip\"\n  fi\ndone \u003C all_subdomains.txt > resolved_subdomains.csv\n\n# Identify unique IP addresses and their locations\ncut -d',' -f2 resolved_subdomains.csv | sort -u > unique_ips.txt\n\n# Check for internal IP addresses leaked via DNS\ngrep -E \"^10\\.|^172\\.(1[6-9]|2[0-9]|3[01])\\.|^192\\.168\\.\" resolved_subdomains.csv > internal_ip_leaks.txt\n\n# Use httpx to probe web services on discovered subdomains\ncat all_subdomains.txt | httpx -title -status-code -tech-detect -o httpx_results.txt\n\n# Screenshot web services for documentation\ncat all_subdomains.txt | httpx -screenshot -o screenshots\u002F\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **Zone Transfer (AXFR)** | DNS mechanism that replicates the complete zone file from a primary to secondary server; unauthorized transfers expose all records in the zone |\n| **Subdomain Enumeration** | Process of discovering valid subdomains through brute force, certificate transparency logs, search engines, and passive DNS databases |\n| **DNSSEC** | DNS Security Extensions that add cryptographic signatures to DNS responses, preventing cache poisoning and spoofing attacks |\n| **SPF\u002FDKIM\u002FDMARC** | Email authentication protocols defined in DNS TXT records that prevent email spoofing and domain impersonation |\n| **Wildcard DNS** | A DNS record using an asterisk (*) that matches any query for non-existent subdomains, potentially masking enumeration results |\n| **PTR Record** | Reverse DNS record that maps an IP address to a hostname, often revealing internal naming conventions and server roles |\n\n## Tools & Systems\n\n- **dig**: Standard DNS lookup utility with full support for all record types, DNSSEC validation, and zone transfer queries\n- **dnsrecon**: Comprehensive DNS enumeration tool supporting zone transfers, brute force, reverse lookup, cache snooping, and Google dork queries\n- **subfinder**: Fast passive subdomain discovery tool that queries certificate transparency logs, search engines, and DNS databases\n- **Amass (OWASP)**: Advanced attack surface mapping tool with both passive and active DNS enumeration, graph analysis, and data source integration\n- **gobuster**: Fast brute-force tool for DNS subdomain enumeration using configurable wordlists and concurrent threads\n\n## Common Scenarios\n\n### Scenario: External Reconnaissance for a Web Application Penetration Test\n\n**Context**: A security consultant is performing external reconnaissance for a web application penetration test. The client's primary domain is example.com, and the scope includes all subdomains and related infrastructure. The consultant has authorization to enumerate DNS records and probe discovered web services.\n\n**Approach**:\n1. Query NS, MX, TXT, and SOA records for example.com to map the DNS infrastructure\n2. Attempt zone transfers against both nameservers -- ns2 succeeds, revealing 347 DNS records including internal staging environments\n3. Run subfinder and amass in passive mode to discover 89 additional subdomains from certificate transparency logs\n4. Brute-force subdomains with a 20,000-word list using gobuster, discovering 12 more subdomains not found in passive sources\n5. Resolve all subdomains and identify 15 that resolve to internal RFC1918 addresses (information disclosure)\n6. Probe all web-accessible subdomains with httpx, discovering a staging environment (staging.example.com) with default credentials\n7. Report zone transfer vulnerability, internal IP disclosure, and exposed staging environment to the client\n\n**Pitfalls**:\n- Sending thousands of DNS queries per second and triggering rate limiting or DNS-based DDoS protection\n- Not checking for wildcard DNS records, resulting in false positive subdomain discoveries\n- Missing subdomains that use separate DNS providers or CDN-specific CNAME records\n- Overlooking TXT records that contain API keys, verification tokens, or internal comments\n\n## Output Format\n\n```\n## DNS Enumeration Report\n\n**Target Domain**: example.com\n**Authorized Nameservers**: ns1.example.com (203.0.113.10), ns2.example.com (203.0.113.11)\n\n### Zone Transfer Status\n| Nameserver | AXFR Result | Records Obtained |\n|------------|-------------|------------------|\n| ns1.example.com | REFUSED | 0 |\n| ns2.example.com | SUCCESS | 347 records |\n\n### Subdomain Discovery Summary\n| Method | Subdomains Found |\n|--------|-----------------|\n| Zone Transfer | 347 |\n| Passive (subfinder + amass) | 89 |\n| Active Brute Force | 12 |\n| **Total Unique** | **412** |\n\n### Critical Findings\n1. **Zone Transfer Allowed** (High): ns2.example.com allows AXFR from any source\n2. **Internal IP Disclosure** (Medium): 15 subdomains resolve to RFC1918 addresses\n3. **Exposed Staging Environment** (High): staging.example.com accessible with default credentials\n4. **Missing DMARC Policy** (Medium): No DMARC record found, enabling email spoofing\n5. **Weak SPF Record** (Low): SPF uses ~all (soft fail) instead of -all (hard fail)\n```\n","# Performing DNS Enumeration and Zone Transfer\n\n## When to Use\n\n- Mapping the external attack surface of a target organization during authorized penetration tests\n- Discovering hidden subdomains, internal hostnames, and IP addresses exposed via DNS records\n- Testing whether DNS servers allow unauthorized zone transfers that leak the entire zone file\n- Identifying mail servers, name servers, and service records for further targeted testing\n- Validating DNS security configurations including DNSSEC, SPF, DKIM, and DMARC\n\n**Do not use** against domains you do not have authorization to test, for DNS amplification or reflection attacks, or to overwhelm DNS servers with excessive query volumes.\n\n## Prerequisites\n\n- Written authorization to perform DNS enumeration against the target domain\n- DNS enumeration tools installed: dig, nslookup, host, dnsrecon, dnsenum, subfinder, amass\n- Network access to the target's DNS servers (UDP\u002FTCP port 53)\n- Wordlist for subdomain brute-forcing (SecLists dns-wordlist or similar)\n- Understanding of DNS record types (A, AAAA, CNAME, MX, NS, TXT, SOA, SRV, PTR)\n\n## Workflow\n\n### Step 1: Identify DNS Servers and Basic Records\n\n```bash\n# Find authoritative name servers\ndig NS example.com +short\n# ns1.example.com.\n# ns2.example.com.\n\n# Get SOA record for zone metadata\ndig SOA example.com +short\n# ns1.example.com. admin.example.com. 2024031501 3600 900 604800 86400\n\n# Enumerate all common record types\ndig example.com ANY +noall +answer\n\n# Get MX records (mail servers)\ndig MX example.com +short\n# 10 mail.example.com.\n# 20 mail-backup.example.com.\n\n# Get TXT records (SPF, DKIM, DMARC, verification)\ndig TXT example.com +short\n\n# Check for DMARC policy\ndig TXT _dmarc.example.com +short\n\n# Check for DKIM selectors\ndig TXT default._domainkey.example.com +short\ndig TXT selector1._domainkey.example.com +short\ndig TXT google._domainkey.example.com +short\n\n# Get SRV records for common services\ndig SRV _sip._tcp.example.com +short\ndig SRV _ldap._tcp.example.com +short\ndig SRV _kerberos._tcp.example.com +short\n```\n\n### Step 2: Attempt Zone Transfers\n\n```bash\n# Attempt AXFR zone transfer against each name server\ndig AXFR example.com @ns1.example.com\ndig AXFR example.com @ns2.example.com\n\n# Use host command for zone transfer\nhost -t axfr example.com ns1.example.com\n\n# Use dnsrecon for automated zone transfer attempts\ndnsrecon -d example.com -t axfr\n\n# If zone transfer succeeds, save the output\ndig AXFR example.com @ns1.example.com > zone_transfer_results.txt\n\n# Test for IXFR (incremental zone transfer)\ndig IXFR=2024031500 example.com @ns1.example.com\n```\n\n### Step 3: Subdomain Enumeration via Brute Force\n\n```bash\n# Use dnsenum for comprehensive enumeration\ndnsenum --dnsserver ns1.example.com --enum -f \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FDNS\u002Fsubdomains-top1million-5000.txt -r example.com -o dnsenum_output.xml\n\n# Use dnsrecon with brute force\ndnsrecon -d example.com -t brt -D \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FDNS\u002Fsubdomains-top1million-5000.txt\n\n# Use gobuster for fast DNS brute forcing\ngobuster dns -d example.com -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FDNS\u002Fsubdomains-top1million-20000.txt -t 50 -o gobuster_dns.txt\n\n# Use subfinder for passive subdomain discovery\nsubfinder -d example.com -all -o subfinder_results.txt\n\n# Use amass for comprehensive enumeration (passive + active)\namass enum -d example.com -passive -o amass_passive.txt\namass enum -d example.com -active -brute -o amass_active.txt\n\n# Combine and deduplicate results\ncat subfinder_results.txt amass_passive.txt amass_active.txt gobuster_dns.txt | sort -u > all_subdomains.txt\n```\n\n### Step 4: Reverse DNS and PTR Enumeration\n\n```bash\n# Reverse DNS lookup on discovered IP ranges\ndnsrecon -d example.com -t rvl -r 10.10.0.0\u002F24\n\n# PTR record enumeration for IP range\nfor ip in $(seq 1 254); do\n  result=$(dig -x 10.10.1.$ip +short 2>\u002Fdev\u002Fnull)\n  if [ -n \"$result\" ]; then\n    echo \"10.10.1.$ip -> $result\"\n  fi\ndone\n\n# Use Nmap for reverse DNS on a subnet\nnmap -sL 10.10.0.0\u002F24 | grep \"(\" | awk '{print $5, $6}'\n\n# Check for DNS cache snooping (information about queried domains)\ndig @ns1.example.com www.competitor.com +norecurse\n```\n\n### Step 5: Analyze DNS Security Configuration\n\n```bash\n# Check DNSSEC validation\ndig example.com +dnssec +short\ndig DNSKEY example.com +short\ndig DS example.com +short\n\n# Test for DNS rebinding vulnerability\n# Check if the DNS server has a short TTL that could enable rebinding\ndig example.com +noall +answer | grep -i ttl\n\n# Check for open recursive resolver (misconfiguration)\ndig @ns1.example.com google.com +recurse\n# If it resolves, the server is an open resolver\n\n# Check for wildcard DNS records\ndig nonexistent-subdomain-xyz123.example.com +short\n# If it resolves, a wildcard record exists\n\n# Test DNS over HTTPS\u002FTLS support\n# DoH test\ncurl -s -H 'accept: application\u002Fdns-json' 'https:\u002F\u002Fdns.google\u002Fresolve?name=example.com&type=A'\n\n# Verify SPF record for email security\ndig TXT example.com +short | grep \"v=spf1\"\n# Check for overly permissive SPF (+all, ?all)\n```\n\n### Step 6: Resolve and Map All Discovered Subdomains\n\n```bash\n# Resolve all discovered subdomains to IP addresses\nwhile read subdomain; do\n  ip=$(dig +short A \"$subdomain\" | head -1)\n  if [ -n \"$ip\" ]; then\n    echo \"$subdomain,$ip\"\n  fi\ndone \u003C all_subdomains.txt > resolved_subdomains.csv\n\n# Identify unique IP addresses and their locations\ncut -d',' -f2 resolved_subdomains.csv | sort -u > unique_ips.txt\n\n# Check for internal IP addresses leaked via DNS\ngrep -E \"^10\\.|^172\\.(1[6-9]|2[0-9]|3[01])\\.|^192\\.168\\.\" resolved_subdomains.csv > internal_ip_leaks.txt\n\n# Use httpx to probe web services on discovered subdomains\ncat all_subdomains.txt | httpx -title -status-code -tech-detect -o httpx_results.txt\n\n# Screenshot web services for documentation\ncat all_subdomains.txt | httpx -screenshot -o screenshots\u002F\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **Zone Transfer (AXFR)** | DNS mechanism that replicates the complete zone file from a primary to secondary server; unauthorized transfers expose all records in the zone |\n| **Subdomain Enumeration** | Process of discovering valid subdomains through brute force, certificate transparency logs, search engines, and passive DNS databases |\n| **DNSSEC** | DNS Security Extensions that add cryptographic signatures to DNS responses, preventing cache poisoning and spoofing attacks |\n| **SPF\u002FDKIM\u002FDMARC** | Email authentication protocols defined in DNS TXT records that prevent email spoofing and domain impersonation |\n| **Wildcard DNS** | A DNS record using an asterisk (*) that matches any query for non-existent subdomains, potentially masking enumeration results |\n| **PTR Record** | Reverse DNS record that maps an IP address to a hostname, often revealing internal naming conventions and server roles |\n\n## Tools & Systems\n\n- **dig**: Standard DNS lookup utility with full support for all record types, DNSSEC validation, and zone transfer queries\n- **dnsrecon**: Comprehensive DNS enumeration tool supporting zone transfers, brute force, reverse lookup, cache snooping, and Google dork queries\n- **subfinder**: Fast passive subdomain discovery tool that queries certificate transparency logs, search engines, and DNS databases\n- **Amass (OWASP)**: Advanced attack surface mapping tool with both passive and active DNS enumeration, graph analysis, and data source integration\n- **gobuster**: Fast brute-force tool for DNS subdomain enumeration using configurable wordlists and concurrent threads\n\n## Common Scenarios\n\n### Scenario: External Reconnaissance for a Web Application Penetration Test\n\n**Context**: A security consultant is performing external reconnaissance for a web application penetration test. The client's primary domain is example.com, and the scope includes all subdomains and related infrastructure. The consultant has authorization to enumerate DNS records and probe discovered web services.\n\n**Approach**:\n1. Query NS, MX, TXT, and SOA records for example.com to map the DNS infrastructure\n2. Attempt zone transfers against both nameservers -- ns2 succeeds, revealing 347 DNS records including internal staging environments\n3. Run subfinder and amass in passive mode to discover 89 additional subdomains from certificate transparency logs\n4. Brute-force subdomains with a 20,000-word list using gobuster, discovering 12 more subdomains not found in passive sources\n5. Resolve all subdomains and identify 15 that resolve to internal RFC1918 addresses (information disclosure)\n6. Probe all web-accessible subdomains with httpx, discovering a staging environment (staging.example.com) with default credentials\n7. Report zone transfer vulnerability, internal IP disclosure, and exposed staging environment to the client\n\n**Pitfalls**:\n- Sending thousands of DNS queries per second and triggering rate limiting or DNS-based DDoS protection\n- Not checking for wildcard DNS records, resulting in false positive subdomain discoveries\n- Missing subdomains that use separate DNS providers or CDN-specific CNAME records\n- Overlooking TXT records that contain API keys, verification tokens, or internal comments\n\n## Output Format\n\n```\n## DNS Enumeration Report\n\n**Target Domain**: example.com\n**Authorized Nameservers**: ns1.example.com (203.0.113.10), ns2.example.com (203.0.113.11)\n\n### Zone Transfer Status\n| Nameserver | AXFR Result | Records Obtained |\n|------------|-------------|------------------|\n| ns1.example.com | REFUSED | 0 |\n| ns2.example.com | SUCCESS | 347 records |\n\n### Subdomain Discovery Summary\n| Method | Subdomains Found |\n|--------|-----------------|\n| Zone Transfer | 347 |\n| Passive (subfinder + amass) | 89 |\n| Active Brute Force | 12 |\n| **Total Unique** | **412** |\n\n### Critical Findings\n1. **Zone Transfer Allowed** (High): ns2.example.com allows AXFR from any source\n2. **Internal IP Disclosure** (Medium): 15 subdomains resolve to RFC1918 addresses\n3. **Exposed Staging Environment** (High): staging.example.com accessible with default credentials\n4. **Missing DMARC Policy** (Medium): No DMARC record found, enabling email spoofing\n5. **Weak SPF Record** (Low): SPF uses ~all (soft fail) instead of -all (hard fail)\n```\n",{"name":5,"tags":48,"author":49,"domain":36,"license":16,"version":50,"nist_csf":51,"subdomain":40,"description":56,"mitre_attack":57},[40,32,33,42,41],"mahipal","1.0",[52,53,54,55],"PR.IR-01","DE.CM-01","ID.AM-03","PR.DS-02","Enumerates DNS records, attempts zone transfers, brute-forces subdomains, and maps DNS infrastructure during authorized reconnaissance to identify attack surface, misconfigurations, and information disclosure in target domains.\n",[58,59,60,61,62],"T1046","T1040","T1557","T1071","T1595","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Fperforming-dns-enumeration-and-zone-transfer",4425,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","https:\u002F\u002Fmahipal.engineer\u002FAnthropic-Cybersecurity-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fmukul975","Mahipal.engineer","🔐 Cybersecurity | 💻 Dev | 📷 Street Photographer\r\n🎓 MSc | 📚 Research & AI Security","2026-08-31 12:32:44",{"source":9,"skillName":5,"commands":74,"prompt":84,"zipAvailable":85},[75,78,81],{"tool":76,"command":77},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill performing-dns-enumeration-and-zone-transfer",{"tool":79,"command":80},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill performing-dns-enumeration-and-zone-transfer",{"tool":82,"command":83},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill performing-dns-enumeration-and-zone-transfer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-dns-enumeration-and-zone-transfer\u002FSKILL.md",true,[87,92,98,104,108],{"path":88,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-dns-enumeration-and-zone-transfer\u002FLICENSE",{"path":93,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fapi-reference.md","REFERENCE","参考文档",2198,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-dns-enumeration-and-zone-transfer\u002Freferences\u002Fapi-reference.md",{"path":99,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":102,"sourceHtmlUrl":103},"scripts\u002Fagent.py","SCRIPT","脚本",8492,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-dns-enumeration-and-zone-transfer\u002Fscripts\u002Fagent.py",{"path":105,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":106,"sourceHtmlUrl":107},"scripts\u002Fdatasets.sh",8601,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fweb-data\u002Fdata-feeds\u002Fscripts\u002Fdatasets.sh",{"path":109,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":110,"sourceHtmlUrl":111},"scripts\u002Ffetch.sh",1895,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fweb-data\u002Fdata-feeds\u002Fscripts\u002Ffetch.sh",[113,143,172,203,234,266],{"skillNo":114,"name":115,"nameZh":116,"description":117,"descriptionZh":118,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":125,"publishedAt":43},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","SLSA 构建来源验证","Verifies artifact signatures and SLSA provenance using Sigstore's cosign (verify, verify-attestation, verify-blob-attestation) and slsa-verifier (verify-artifact), enforcing keyless OIDC builder identity and source repo against SLSA Build levels. Use in CI\u002FCD before deploying artifacts, when consuming third-party attestations, establishing a SLSA Build L3 pipeline, or confirming provenance during incident response or admission control.","使用 Sigstore 的 cosign（verify、verify-attestation、verify-blob-attestation）和 slsa-verifier（verify-artifact）验证工件签名和 SLSA 来源（provenance），强制校验 keyless OIDC 构建者身份和源仓库是否符合 SLSA Build 级别。适用于 CI\u002FCD 中部署工件前、消费第三方证明时、建立 SLSA Build L3 管道，或在事件响应或准入控制期间确认来源的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[121,122],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":123,"categoryName":124,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全",[126,127,128,129,35,36,130,131,37,132,133,134,135,136,137,138,139,140,141,142],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","incident response","identity","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":144,"name":145,"nameZh":146,"description":147,"descriptionZh":148,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":149,"categories":150,"keywords":155,"publishedAt":43},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","TPM 测量启动验证","Verifies TPM 2.0 measured-boot integrity and remote attestation with tpm2-tools -- reading PCRs (tpm2_pcrread), replaying the boot event log, generating and checking signed quotes (tpm2_quote\u002Ftpm2_checkquote), and sealing secrets to a PCR policy. Use to confirm a system booted trusted firmware\u002Fkernel for Zero Trust device posture, detect boot-chain tampering via PCR drift, or build a golden-value baseline for fleet attestation.","使用 tpm2-tools 验证 TPM 2.0 测量启动（measured boot）的完整性和远程证明：读取 PCR（tpm2_pcrread）、重放启动事件日志、生成并检查签名报价（tpm2_quote\u002Ftpm2_checkquote），以及将机密封印（seal）到 PCR 策略。适用于确认系统已启动可信固件\u002F内核以实现零信任（Zero Trust）设备状态、通过 PCR 漂移检测启动链篡改，或构建黄金值基线用于机群（fleet）证明。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[151,152],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":153,"categoryName":154,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[156,139,157,158,35,159,36,37,160,161,162,163,164,165,166,167,168,169,170,171],"boot","TPM","validating tpm measured boot attestation","policy","verification","ZeRO","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":173,"name":174,"nameZh":175,"description":176,"descriptionZh":177,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":178,"categories":179,"keywords":186,"publishedAt":43},"01M6AGDCW0Y4FXZ3362GT1941M","validating-backup-integrity-for-recovery","备份完整性验证","Validates backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to confirm backups are reliable for disaster recovery and ransomware response. Use before relying on backups for recovery, when building post-backup validation pipelines, auditing backup infrastructure for compliance, or checking immutable\u002Fair-gapped backups for silent corruption or tampering.","通过加密哈希验证、自动化恢复测试、损坏检测和可恢复性检查来验证备份完整性，确认备份对于灾难恢复和勒索软件响应是可靠的。适用于在依赖备份进行恢复之前、构建备份后验证管道、审计备份基础设施以满足合规要求，或检查不可变\u002Fair-gapped（气隙）备份是否存在静默损坏或篡改的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[180,183],{"categoryNo":181,"categoryName":182,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":184,"categoryName":185,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[166,187,188,189,190,36,38,191,160,192,193,194,195,196,197,198,199,200,201,202],"backup","recovery","validating backup integrity for recovery","testing","validation","compliance","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1078","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":204,"name":205,"nameZh":206,"description":207,"descriptionZh":208,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":209,"categories":210,"keywords":215,"publishedAt":43},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","KAPE Windows 取证收集","Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment\u002Ftriage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, including at-scale remote collection.","运行 KAPE（Kroll Artifact Parser and Extractor），通过 Targets 收集目标取证工件（注册表配置单元、$MFT、事件日志、prefetch、浏览器数据），并使用封装 Eric Zimmerman 的 EZ Tools（PECmd、MFTECmd、RECmd）的 Modules 进行解析。适用于事件遏制\u002F分诊早期阶段——此时完整磁盘镜像不切实际，但需要快速获得可采信、可解析的 Windows 工件集，包括大规模远程收集。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[211,212],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":213,"categoryName":214,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[216,217,218,36,219,220,221,222,223,224,225,226,227,228,229,230,163,231,232,233],"windows","kape","triaging windows with kape","registry","browser","logs","windows-forensics","dfir","mft","mftecmd","data","prefetch","eric-zimmerman","digital-forensics","SET","collection","pecmd","artifact-collection",{"skillNo":235,"name":236,"nameZh":237,"description":238,"descriptionZh":239,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":240,"categories":241,"keywords":246,"publishedAt":43},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","SSVC 漏洞优先级分诊","Triages and prioritizes vulnerabilities with CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree, weighing exploitation status (via the CISA KEV catalog and FIRST EPSS API), technical impact, automatability, and mission prevalence to output Track\u002FTrack*\u002FAttend\u002FAct decisions. Use when prioritizing vulnerability scan results (OpenVAS, Nessus, Qualys) for remediation planning beyond raw CVSS scores.","使用 CISA 的 Stakeholder-Specific Vulnerability Categorization（SSVC，利益相关方特定漏洞分类）决策树对漏洞进行分诊和优先级排序，权衡利用状态（通过 CISA KEV 目录和 FIRST EPSS API）、技术影响、自动化程度和任务普遍性，输出 Track\u002FTrack*\u002FAttend\u002FAct 决策。适用于对漏洞扫描结果（OpenVAS、Nessus、Qualys）进行优先级排序以制定修复计划，而不局限于原始 CVSS 分数的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[242,245],{"categoryNo":243,"categoryName":244,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[247,248,249,36,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265],"vulnerabilities","framework","triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","risk","vulnerability","api","prioritization","ssvc","decision-tree",{"skillNo":267,"name":268,"nameZh":269,"description":270,"descriptionZh":271,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":272,"categories":273,"keywords":278,"publishedAt":43},"01M6AGD24TTQQM4CXG69E3B9TJ","triaging-security-incident","安全事件初步分诊","Performs initial triage of security incidents using the NIST SP 800-61r3 and SANS PICERL frameworks, classifying incident type, assigning priority by business impact, and routing to the appropriate response team. Use when a SIEM\u002FEDR alert needs human classification, concurrent alerts must be prioritized, or a user report or threat-intel IOC match requires initial incident categorization.","使用 NIST SP 800-61r3 和 SANS PICERL 框架对安全事件进行初步分诊，分类事件类型、按业务影响分配优先级，并路由到相应的响应团队。适用于 SIEM\u002FEDR 告警需要人工分类、并发告警必须确定优先级，或用户报告或威胁情报 IOC 匹配需要初步事件分类的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[274,275],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":276,"categoryName":277,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[35,279,36,280,281,282,283,284,285,286,287,198,288,199,289,290,291,292,293,294],"triaging security incident","siem","file","ioc","soc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]