Extracting iocs from analysis output

From meltedinhex/analyst-ai-pack · View interactive version

Extracting iocs from analysis output is an AI agent skill from the GitHub repository meltedinhex/analyst-ai-pack. Extracts indicators of compromise from raw analysis artifacts: parsing strings dumps, sandbox reports, PCAP summaries, and logs for URLs, domains, IPs, hashes, mutexes, and file paths, then deduplicating and typing them. Activates for requests to extract IOCs from analysis output, pull indicators fr

How to use this skill

Skill file

Extracting IOCs from Analysis Output

When to Use

indicators out of it.

Do not use naive substring matching that produces noise — validate indicator shapes and

filter obvious false positives (version strings that look like IPs, library domains).

Prerequisites

Workflow

Step 1: Gather the artifacts

Collect strings output, sandbox report fields, network summaries, and relevant log excerpts into

text the extractor can scan.

Step 2: Extract by pattern

Pull URLs, domains, IPv4 addresses, email addresses, and hashes (MD5/SHA-1/SHA-256) with

validated patterns; also capture host artifacts (mutexes, registry keys, file paths) where the

format allows.

python scripts/analyst.py extract analysis.txt

Step 3: Filter and deduplicate

Drop benign noise (Microsoft/CDN domains, localhost, RFC1918 where irrelevant) and deduplicate;

keep a record of what was filtered and why.

Step 4: Type and hand off

Tag each indicator with its type and pass the set to enrichment/defanging for reporting.

Validation

Pitfalls

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.