Skills for Real Engineers. Straight from my .agents directory.
analyzing-dns-logs-for-exfiltration
Agent skill frommukul975/Anthropic-Cybersecurity-Skills
'Analyzes DNS query logs to detect data exfiltration via DNS tunneling,
How to install analyzing-dns-logs-for-exfiltration
npx skills add mukul975/Anthropic-Cybersecurity-Skills# or add only this skill to Claude Code: copy the folder
skills/analyzing-dns-logs-for-exfiltration/
# into
~/.claude/skills/analyzing-dns-logs-for-exfiltration/ (all projects)
.claude/skills/analyzing-dns-logs-for-exfiltration/ (one project)
1# Analyzing DNS Logs for Exfiltration23## When to Use45Use this skill when:6- SOC teams suspect data exfiltration through DNS tunneling to bypass firewall/proxy controls7- Threat intelligence indicates adversaries using DNS-based C2 channels (e.g., Cobalt Strike DNS beacon)8- UEBA detects anomalous DNS query volumes from specific hosts9- Malware analysis reveals DNS-over-HTTPS (DoH) or DNS tunneling capabilities1011**Do not use** for standard DNS troubleshooting or availability monitoring — this skill focuses on security-relevant DNS abuse detection.1213## Prerequisites1415- DNS query logging enabled (Windows DNS Server, Bind, Infoblox, or Cisco Umbrella)16- DNS logs ingested into SIEM (Splunk with `Stream:DNS`, `dns` sourcetype, or Zeek DNS logs)17- Passive DNS data for historical domain resolution analysis18- Baseline of normal DNS behavior (query volume, domain distribution, TXT record frequency)19- Python with `math` and `collections` libraries for entropy calculation2021## Workflow2223### Step 1: Detect DNS Tunneling via Subdomain Length Analysis2425DNS tunneling encodes data in subdomain labels, creating unusually long queries:2627```spl28index=dns sourcetype="stream:dns" query_type IN ("A", "AAAA", "TXT", "CNAME", "MX")29| eval domain_parts = split(query, ".")30| eval subdomain = mvindex(domain_parts, 0, mvcount(domain_parts)-3)31| eval subdomain_str = mvjoin(subdomain, ".")32| eval subdomain_len = len(subdomain_str)33| eval tld = mvindex(domain_parts, -1)34…
Excerpt shown under the repository's Apache-2.0 license.
More skills in Anthropic-Cybersecurity-Skills
- ▸abusing-dpapi-for-credential-access
- ▸abusing-shadow-credentials-for-privesc
- ▸achieving-cmmc-level-2-compliance
- ▸acquiring-disk-image-with-dd-and-dcfldd
- ▸analyzing-active-directory-acl-abuse
- ▸analyzing-android-malware-with-apktool
- ▸analyzing-api-gateway-access-logs
- ▸analyzing-apt-group-with-mitre-navigator
- ▸analyzing-azure-activity-logs-for-threats
- ▸analyzing-bootkit-and-rootkit-samples
- ▸analyzing-browser-forensics-with-hindsight
- ▸analyzing-campaign-attribution-evidence
Similar skill repositories
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
