[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71FC9FET4DRFVPFNF470HR1":3,"skill-same:01M71FC9FET4DRFVPFNF470HR1":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":14,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M71FC9FET4DRFVPFNF470HR1","net-capture-zeek-dnstunnel",null,"-| | T1071.004 | Application Layer Protocol: DNS | | T1048.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fnet-capture-zeek-dnstunnel\u002FSKILL.md",[],[19,20,21,22,23,24,25,26],"Zeek","capture","net capture zeek dnstunnel","cybersecurity","protocol","dns","application","layer","2026-11-10 10:12:30",false,"---\nname: net-capture-zeek-dnstunnel\ndescription: \"-| | T1071.004 | Application Layer Protocol: DNS | | T1048.\"\ndomain: cybersecurity\n---\n\n-|\n| T1071.004 | Application Layer Protocol: DNS |\n| T1048.003 | Exfiltration Over Alternative Protocol: DNS |\n| T1572 | Protocol Tunneling |\n| Shannon Entropy | Measure of randomness in subdomain strings |\n| Zeek dns.log | DNS query\u002Fresponse metadata |\n| RITA | Automated DNS tunneling detection from Zeek logs |\n| iodine | IPv4-over-DNS tunneling tool |\n| dnscat2 | DNS-based command-and-control tool |\n| DNSExfiltrator | Data exfiltration tool using DNS requests |\n\n## Detection Queries\n\n### Zeek Script -- DNS Tunnel Detection\n```zeek\n@load base\u002Fprotocols\u002Fdns\nmodule DNSTunnel;\n\nexport {\n    redef enum Notice::Type += { DNSTunnel::Long_DNS_Query };\n    const query_length_threshold = 50 &redef;\n    const query_count_threshold = 100 &redef;\n}\n\nevent dns_request(c: connection, msg: dns_msg, query: string, qtype: count, qclass: count) {\n    if ( |query| > query_length_threshold ) {\n        NOTICE([$note=DNSTunnel::Long_DNS_Query,\n                $msg=fmt(\"Long DNS query detected: %s (%d chars)\", query, |query|),\n                $conn=c]);\n    }\n}\n```\n\n### Splunk -- DNS Tunneling Indicators from Zeek\n```spl\nindex=zeek sourcetype=bro_dns\n| rex field=query \"(?\u003Csubdomain>[^.]+)\\.(?\u003Cbasedomain>[^.]+\\.[^.]+)$\"\n| stats count dc(subdomain) as unique_subs avg(len(query)) as avg_len max(len(query)) as max_len by src basedomain\n| where count > 100 AND (unique_subs > 50 OR avg_len > 40)\n| sort -unique_subs\n```\n\n### Splunk -- High Entropy Subdomain Detection\n```spl\nindex=zeek sourcetype=bro_dns\n| rex field=query \"^(?\u003Csubdomain>[^.]+)\"\n| where len(subdomain) > 20\n| eval char_count=len(subdomain)\n| stats count dc(query) as unique_queries avg(char_count) as avg_sub_len by src query_type_name basedomain\n| where unique_queries > 30 AND avg_sub_len > 25\n| sort -unique_queries\n```\n\n### RITA Analysis\n```bash\nrita import \u002Fpath\u002Fto\u002Fzeek\u002Flogs dataset_name\nrita show-dns-fqdn-ips-long dataset_name\nrita show-exploded-dns dataset_name\nrita show-dns-tunneling dataset_name --csv > dns_tunnel_results.csv\n```\n\n## Common Scenarios\n\n1. **dnscat2 C2**: Encodes command-and-control traffic in DNS CNAME\u002FTXT queries with Base64-encoded subdomain labels. Produces high query volumes with long, high-entropy subdomains.\n2. **iodine IPv4 Tunnel**: Creates a virtual network interface tunneling all IP traffic through DNS. Generates massive DNS query volumes with NULL record types.\n3. **Data Exfiltration via DNS**: Sensitive data encoded in subdomain labels (e.g., `aGVsbG8gd29ybGQ.exfil.attacker.com`), sent as A or TXT queries. Each query carries ~63 bytes of data.\n4. **DNS-over-HTTPS Tunneling**: Bypasses traditional DNS monitoring by sending DNS queries over HTTPS to public resolvers (8.8.8.8, 1.1.1.1), requiring TLS inspection for detection.\n5. **Cobalt Strike DNS Beacon**: Uses DNS A\u002FTXT records for C2 communication with configurable subdomain encoding schemes.\n\n## Output Format\n\n```\nHunt ID: TH-DNSTUNNEL-[DATE]-[SEQ]\nSource IP: [Internal IP]\nSource Host: [Hostname]\nTarget Domain: [Base domain]\nQuery Count: [Total queries in window]\nUnique Subdomains: [Count]\nAvg Query Length: [Characters]\nMax Query Length: [Characters]\nSubdomain Entropy: [Bits per character]\nPrimary Record Type: [A\u002FTXT\u002FCNAME\u002FNULL]\nData Volume Estimate: [Bytes exfiltrated]\nRisk Level: [Critical\u002FHigh\u002FMedium\u002FLow]\n```\n","-|\n| T1071.004 | Application Layer Protocol: DNS |\n| T1048.003 | Exfiltration Over Alternative Protocol: DNS |\n| T1572 | Protocol Tunneling |\n| Shannon Entropy | Measure of randomness in subdomain strings |\n| Zeek dns.log | DNS query\u002Fresponse metadata |\n| RITA | Automated DNS tunneling detection from Zeek logs |\n| iodine | IPv4-over-DNS tunneling tool |\n| dnscat2 | DNS-based command-and-control tool |\n| DNSExfiltrator | Data exfiltration tool using DNS requests |\n\n## Detection Queries\n\n### Zeek Script -- DNS Tunnel Detection\n```zeek\n@load base\u002Fprotocols\u002Fdns\nmodule DNSTunnel;\n\nexport {\n    redef enum Notice::Type += { DNSTunnel::Long_DNS_Query };\n    const query_length_threshold = 50 &redef;\n    const query_count_threshold = 100 &redef;\n}\n\nevent dns_request(c: connection, msg: dns_msg, query: string, qtype: count, qclass: count) {\n    if ( |query| > query_length_threshold ) {\n        NOTICE([$note=DNSTunnel::Long_DNS_Query,\n                $msg=fmt(\"Long DNS query detected: %s (%d chars)\", query, |query|),\n                $conn=c]);\n    }\n}\n```\n\n### Splunk -- DNS Tunneling Indicators from Zeek\n```spl\nindex=zeek sourcetype=bro_dns\n| rex field=query \"(?\u003Csubdomain>[^.]+)\\.(?\u003Cbasedomain>[^.]+\\.[^.]+)$\"\n| stats count dc(subdomain) as unique_subs avg(len(query)) as avg_len max(len(query)) as max_len by src basedomain\n| where count > 100 AND (unique_subs > 50 OR avg_len > 40)\n| sort -unique_subs\n```\n\n### Splunk -- High Entropy Subdomain Detection\n```spl\nindex=zeek sourcetype=bro_dns\n| rex field=query \"^(?\u003Csubdomain>[^.]+)\"\n| where len(subdomain) > 20\n| eval char_count=len(subdomain)\n| stats count dc(query) as unique_queries avg(char_count) as avg_sub_len by src query_type_name basedomain\n| where unique_queries > 30 AND avg_sub_len > 25\n| sort -unique_queries\n```\n\n### RITA Analysis\n```bash\nrita import \u002Fpath\u002Fto\u002Fzeek\u002Flogs dataset_name\nrita show-dns-fqdn-ips-long dataset_name\nrita show-exploded-dns dataset_name\nrita show-dns-tunneling dataset_name --csv > dns_tunnel_results.csv\n```\n\n## Common Scenarios\n\n1. **dnscat2 C2**: Encodes command-and-control traffic in DNS CNAME\u002FTXT queries with Base64-encoded subdomain labels. Produces high query volumes with long, high-entropy subdomains.\n2. **iodine IPv4 Tunnel**: Creates a virtual network interface tunneling all IP traffic through DNS. Generates massive DNS query volumes with NULL record types.\n3. **Data Exfiltration via DNS**: Sensitive data encoded in subdomain labels (e.g., `aGVsbG8gd29ybGQ.exfil.attacker.com`), sent as A or TXT queries. Each query carries ~63 bytes of data.\n4. **DNS-over-HTTPS Tunneling**: Bypasses traditional DNS monitoring by sending DNS queries over HTTPS to public resolvers (8.8.8.8, 1.1.1.1), requiring TLS inspection for detection.\n5. **Cobalt Strike DNS Beacon**: Uses DNS A\u002FTXT records for C2 communication with configurable subdomain encoding schemes.\n\n## Output Format\n\n```\nHunt ID: TH-DNSTUNNEL-[DATE]-[SEQ]\nSource IP: [Internal IP]\nSource Host: [Hostname]\nTarget Domain: [Base domain]\nQuery Count: [Total queries in window]\nUnique Subdomains: [Count]\nAvg Query Length: [Characters]\nMax Query Length: [Characters]\nSubdomain Entropy: [Bits per character]\nPrimary Record Type: [A\u002FTXT\u002FCNAME\u002FNULL]\nData Volume Estimate: [Bytes exfiltrated]\nRisk Level: [Critical\u002FHigh\u002FMedium\u002FLow]\n```\n",{"name":5,"domain":22,"description":7},"main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fnet-capture-zeek-dnstunnel","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill net-capture-zeek-dnstunnel",{"tool":45,"command":46},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill net-capture-zeek-dnstunnel",{"tool":48,"command":49},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill net-capture-zeek-dnstunnel","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fnet-capture-zeek-dnstunnel\u002FSKILL.md",true,[53],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"index.json","REFERENCE","参考文档",536,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fnet-capture-zeek-dnstunnel\u002Findex.json",[60,70,95,118,140,162],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":65,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":69},"01M73MDK3NT5XHNYTQ5P5172V9","devel-jb-algorithmic-art","- Embed algorithms inline in the HTML artifact (don't create separate .","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":27},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[77,78,79,80,81,82,83,22,84,85,86,87,88,89,90,91,92,93,94],"services","detect","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript","cm","de",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":27},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[102,80,103,77,104,105,106,107,108,22,109,110,111,112,113,114,115,116,94,117],"exec","services wmi exec exploit","exploit","across","Bash","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":27},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[125,126,127,128,129,130,131,132,133,134,114,94,135,136,107,137,106,22,138,139],"extract","registry artifact extract","registry","artifact","digital-forensics","sonnet","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":27},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[147,148,149,78,22,150,93,151,152,153,82,94,154,155,156,157,158,159,160,161],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":27},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[169,147,170,78,171,172,83,94,154,173,174,175,107,82,22,150,176,93,177,152],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]