packet_detect_dns_tunneling
Detects DNS tunneling and data exfiltration in PCAP captures by analyzing subdomain entropy, label lengths, character encodings, and CDN patterns.
Instructions
Identifies DNS data exfiltration and tunneling channels (e.g. dnscat2, iodine, Cobalt Strike DNS beacons). Analyzes Shannon character entropy, subdomain label lengths, character set encodings (hex/base32/base64), and CDN heuristics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Base64-encoded PCAP file bytes (max 10MB). | |
| filePath | No | Absolute path to a PCAP file on disk (local stdio only). | |
| minSubdomains | No | Minimum unique subdomains under a parent domain to trigger analysis (default: 15). |