mcpbeat Sign in

Dt Sec Ioc Hunting Agent Skill

>- Hunt threat-intelligence indicators of compromise (IoCs) across Dynatrace logs and spans and produce a 0-100 threat-exposure score. Extracts and normalizes IoCs — IPs, Domains (hostnames included), URLs, Emails, CVEs, File hashes (md5/sha1/sha256), MITRE TTPs — from unstructured reports, advisories, advisory URLs, pasted text, or STIX, then hunts them in fetch check these indicators in my logs and traces, threat exposure report, extract IoCs from this advisory URL, search these hashes/domains/IPs in my environment. Routes CVE-to-vulnerability and IP/MITRE-to-detection legs to dt-sec-insights. compliance, THREAT_REPORT — use dt-sec-insights); general log queries not tied to an IoC hunt (use dt-obs-logs); general span/trace analysis (use dt-obs-tracing); explaining DQL syntax (use dt-dql-essentials).

12k tokens
context cost
the whole folder, loaded on every use
7
files
instructions only
0
copies elsewhere
how many repositories repackaged it
118
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Dynatrace/dynatrace-for-ai --skill dt-sec-ioc-hunting

What comes with it

39 463 bytes besides the instruction
references/exposure-scoring.md
references/hunt-logs.md
references/hunt-spans.md
references/ioc-intake.md
references/secondary-observable-extraction.md
references/timeframe-gating.md

The instruction itself

5 sections, as written by the author

IoC Hunting Skill

Hunt indicators of compromise (IoCs) across Dynatrace logs and spans,

and optionally correlate CVEs and attacker-IPs/MITRE techniques through

security.events (routed to dt-sec-insights). Produces matched-observable

evidence sets and an AI threat-exposure score (0–100%).

Universal Best Practices

  • Always load dt-dql-essentials first — it provides DQL syntax, function

reference, and query construction patterns required by all hunt templates.

  • Ground every query in a template — reference files contain validated DQL

adapted from the Dynatrace Threat Exposure Analysis dashboard. Do not improvise

hunt queries; modify only the IoC arrays and time window.

  • Use indexed log prefiltering for broad hunts — in log hunts, generate literal

matchesPhrase(content, "<ioc>") clauses before using contains to populate

matched-observable columns. Do not start unscoped log hunts with raw

iAny(contains(content, allObservables[])).

  • Chunk large log IoC sets — do not generate one DQL query with hundreds of

matchesPhrase clauses. Split large IoC lists into smaller chunks (default 25

IoCs; 10 for long URLs/emails/hashes or after a query-length failure), run each

chunk with the same timeframe/scope, and aggregate results outside DQL. A no-match

conclusion is valid only if every chunk completes cleanly.

  • Tight windows for logs and spans — default from:now()-15m for unanchored

hunts. Use event-anchored windows for IoCs derived from timestamped

detections/logs/events. Widen only on approval (see timeframe-gating.md).

  • Never send CVE or MITRE TTPs to logs/spans — they have no matching field there.

Route them to dt-sec-insights (threat-intelligence.md).

  • Emails and file hashes have no span home — logs only (hunt-logs.md).
  • Hostnames fold into Domains — there is no threat.observables.hosts field.

Hostname IoCs belong in the Domains array.

  • Report empty results truthfully — "no matches in the searched window" is a real, useful

answer; propose widening rather than fabricating evidence.

10. One-home-per-patternsecurity.events legs (VULNERABILITY, DETECTION_FINDING,

THREAT_REPORT) are exclusively owned by dt-sec-insights. Never re-author those

queries here.

11. Unscoped hunts are valid for broad discovery — when the user has only IoCs and

no entity context, run the hunt without a scope filter. Do not silently add a namespace,

host, or service filter. FETCH_EXEC_TIME_LIMIT on an unscoped hunt is INCONCLUSIVE,

not no-match. Offer scoped follow-up only if entity context exists or the user explicitly

provides one.

12. After primary hunts, extract and re-hunt secondary observables — before scoring,

inspect every matched log or span record for additional IPs in proxy/relay headers

(X-Forwarded-For, Forwarded, X-Real-IP, True-Client-IP, CF-Connecting-IP,

Akamai-True-Client-IP, etc.) and structured fields (clientIP, src_ip, source.ip,

remote_addr). Deduplicate against already-hunted IPs and re-hunt derived IPs across

logs, spans, and detection actor.ips using the same window and scope. Do this

automatically — never wait for user prompting. See secondary-observable-extraction.md.

IoC Type → Data Source → Reference

| IoC type | Logs | Spans (inbound + outbound) | security.events |

|---|---|---|---|

| IP | hunt-logs.md | hunt-spans.md | Detections → dt-sec-insights |

| Domain (incl. hostname) | hunt-logs.md | hunt-spans.md | — |

| URL | hunt-logs.md | hunt-spans.md | — |

| Email | hunt-logs.md | ❌ no span field | — |

| File hash (md5/sha1/sha256) | hunt-logs.md | ❌ no span field | — |

| CVE | — | — | Vulnerabilities → dt-sec-insights |

| MITRE TTP | — | — | Detections → dt-sec-insights |

> Pull IoCs FROM a THREAT_REPORT event — route to dt-sec-insights

> threat-intelligence.md § Indicators of Compromise. THREAT_REPORT is a

> security.events dataset; this skill does not query it.

When to Use This Skill

| User says | Load this reference |

|---|---|

| Extract IoCs from an advisory URL / web page | ioc-intake.md (agent fetches the page; see intake note) |

| Extract IoCs from a pasted advisory / report / STIX text | ioc-intake.md |

| Hunt these IPs/domains/URLs/emails/hashes in logs | hunt-logs.md |

| Hunt these IPs/domains/URLs in spans/traces | hunt-spans.md |

| Score how exposed my environment is / threat exposure report | exposure-scoring.md |

| Cross-evidence correlation — do detection and CVE relate? | dt-sec-contextualizationcorrelation-and-coverage.md |

| Pod→node topology (detection on pod, CVE on node) | dt-sec-contextualizationcorrelation-and-coverage.md § Pod→Node Topology |

| Compliance enrichment on matched entities | dt-sec-insightscompliance.md § Entity Security-Tab View |

| A matched IoC — which threat reports mention it (actor/malware/campaign)? | dt-sec-contextualizationioc-enrichment.md |

| Timeframe too short / should I widen the search window? | timeframe-gating.md |

| Secondary IPs in evidence (X-Forwarded-For, proxy headers, structured fields) | secondary-observable-extraction.md |

| CVEs from this report — am I vulnerable? | Route to dt-sec-insights |

| IPs from this report — any detections? | Route to dt-sec-insights |

| MITRE techniques from this report — any detections? | Route to dt-sec-insights |

| Skill | Role |

|---|---|

| dt-dql-essentials | Load first. Core DQL syntax, functions, query patterns. |

| dt-sec-insights | security.events — vulnerabilities, detections, THREAT_REPORT IoC extraction. |

| dt-sec-contextualization | Cross-evidence correlation, pod→node topology, per-entity enrichment, compliance enrichment on matched entities, and IoC→threat-report attribution (ioc-enrichment.md). Load after hunt legs complete. |

| dt-obs-logs | Generic log exploration not tied to IoC hunting. |

| dt-obs-tracing | Generic span/trace analysis not tied to IoC hunting; span field semantics. |

Other skills for the same job

different authors, same section of the catalogue
Backend Security Coder
by ComeOnOliver
×2

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

5k tokens
Cloud Penetration Testing
by ComeOnOliver
×2

This skill should be used when the user asks to "perform cloud penetration testing", "assess Azure or AWS or GCP security", "enumerate cloud resources", "exploit cloud misconfigurations", "test O365 security", "extract secrets from cloud environments", or "audit cloud infrastructure". It provides comprehensive techniques for security assessment across major cloud platforms.

16k tokens
Codebase Cleanup Deps Audit
by ComeOnOliver
×2

You are a dependency security expert specializing in vulnerability scanning, license compliance, and supply chain security. Analyze project dependencies for known vulnerabilities, licensing issues, outdated packages, and provide actionable remediation strategies.

10k tokens
Flow Nexus Platform
by ComeOnOliver
×2

Comprehensive Flow Nexus platform management - authentication, sandboxes, app deployment, payments, and challenges

14k tokens
Linux Privilege Escalation
by ComeOnOliver
×2

This skill should be used when the user asks to "escalate privileges on Linux", "find privesc vectors on Linux systems", "exploit sudo misconfigurations", "abuse SUID binaries", "exploit cron jobs for root access", "enumerate Linux systems for privilege escalation", or "gain root access from low-privilege shell". It provides comprehensive techniques for identifying and exploiting privilege escalation paths on Linux systems.

8k tokens
Malware Analyst
by ComeOnOliver
×2

Expert malware analyst specializing in defensive malware research, threat intelligence, and incident response. Masters sandbox analysis, behavioral analysis, and malware family identification. Handles static/dynamic analysis, unpacking, and IOC extraction. Use PROACTIVELY for malware triage, threat hunting, incident response, or security research.

4k tokens
Metasploit Framework
by ComeOnOliver
×2

This skill should be used when the user asks to "use Metasploit for penetration testing", "exploit vulnerabilities with msfconsole", "create payloads with msfvenom", "perform post-exploitation", "use auxiliary modules for scanning", or "develop custom exploits". It provides comprehensive guidance for leveraging the Metasploit Framework in security assessments.

7k tokens
Mobile Security Coder
by ComeOnOliver
×2

Expert in secure mobile coding practices specializing in input validation, WebView security, and mobile-specific security patterns. Use PROACTIVELY for mobile security implementations or mobile security code reviews.

6k tokens

How to use it

Copy the folder

Take dynatrace/dt-sec-ioc-hunting from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.