Performing Dns Tunneling Detection
Detects DNS tunneling by computing Shannon entropy of DNS query names, analyzing query length distributions, inspecting TXT record payloads, and identifying high subdomain cardinality. Uses scapy for packet capture analysis and statistical methods to distinguish legitimate DNS from covert channels. Use when hunting for data exfiltration.
Install
npx skills add adriannoes/awesome-agentic-ai --skill performing-dns-tunneling-detectiongit clone --depth 1 https://github.com/adriannoes/awesome-agentic-ai.git /tmp/awesome-agentic-ai
mkdir -p ~/.claude/skills
cp -r /tmp/awesome-agentic-ai/cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/performing-dns-tunneling-detection ~/.claude/skills/performing-dns-tunneling-detectionPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Performing DNS Tunneling Detection
## When to Use
- When conducting security assessments that involve performing dns tunneling detection
- When following incident response procedures for related security events
- When performing scheduled security testing or auditing activities
- When validating security controls through hands-on testing
## Prerequisites
- Familiarity with security operations concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
## Instructions
Analyze DNS traffic for indicators of DNS tunneling using entropy analysis and
statistical methods on query name characteristics.
```python
import math
from collections import Counter
def shannon_entropy(data):
if not data:
return 0
counter = Counter(data)
length = len(data)
return -sum((c/length) * math.log2(c/length) for c in counter.values())
# Legitimate domain: low entropy (~3.0-3.5)
print(shannon_entropy("www.google.com"))
# DNS tunnel: high entropy (~4.0-5.0)
print(shannon_entropy("aGVsbG8gd29ybGQ.tunnel.example.com"))
```
Key detection indicators:
1. High Shannon entropy in query names (> 3.5 for subdomain labels)
2. Unusually long query names (> 50 characters)
3. High volume of TXT record requests to a single domain
4. High unique subdomain count per parent domain
5. Non-standard character distribution in labels
## ExamplesDetails
- Skill name
performing-dns-tunneling-detection- Repository
- adriannoes/awesome-agentic-ai
- Path
cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/performing-dns-tunneling-detection/SKILL.md- License
- MIT
- Repo updated
- 2 November 2026
FAQ
What does the Performing Dns Tunneling Detection skill do?
Detects DNS tunneling by computing Shannon entropy of DNS query names, analyzing query length distributions, inspecting TXT record payloads, and identifying high subdomain cardinality. Uses scapy for packet capture analysis and statistical methods to distinguish legitimate DNS from covert channels. Use when hunting for data exfiltration.
How do I install the Performing Dns Tunneling Detection skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add adriannoes/awesome-agentic-ai --skill performing-dns-tunneling-detection. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Performing Dns Tunneling Detection popular?
It lives in adriannoes/awesome-agentic-ai, which has 100 GitHub stars and 27 forks, and is included in 2 curated skill lists.
Related skills
Browserstack
100adriannoes/awesome-agentic-ai
Run tests on BrowserStack. Use when user mentions "browserstack", "cross-browser", "cloud testing", "browser matrix", "test on safari", "test on firefox", or "browser compatibility".
Coverage
100adriannoes/awesome-agentic-ai
Analyze test coverage gaps. Use when user says "test coverage", "what's not tested", "coverage gaps", "missing tests", "coverage report", or "what needs testing".
Fix
100adriannoes/awesome-agentic-ai
Fix failing or flaky Playwright tests. Use when user says "fix test", "flaky test", "test failing", "debug test", "test broken", "test passes sometimes", or "intermittent failure".
Plotly Chart Generator
100adriannoes/awesome-agentic-ai
Generate plotly chart generator operations. Auto-activating skill for Visual Content. Triggers on: plotly chart generator, plotly chart generator Part of the Visual Content skill category. Use when working with plotly chart generator functionality. Trigger with phrases like "plotly chart generator", "plotly generator", "plotly".
Paw Mkt Dashboard
118pawbytes/skill-suites
Generates SvelteKit + sql.js dashboards with LLM-built UI. Use when the user requests 'marketing dashboard', 'campaign tracker', 'marketing tracker', or 'build dashboard'.
Price Action
43kain26/price-action-skill
Expert price action analysis skill combining ICT methodology, GEX/gamma mechanics, classic S/R structure, and VWAP/liquidity pool concepts. Use this skill whenever the user asks to: analyze chart structure or price behavior, generate a trade setup with entry/SL/TP logic, write price action commentary for Futu NiuNiu or Discord posts (in Chinese or English), recap intraday price action for a community or bot, identify key levels (gamma walls, FVG, SSL/BSL, VWAP), discuss dealer hedging dynamics, or explain why price moved the way it did. Trigger even for casual phrasing like "what's price doing
Browse the most popular Claude skills, all data & analytics skills, or write your own with the skills generator.