Automating Ioc Enrichment
Overview
Cybersecurity skill for automating ioc enrichment. Follows industry best practices and security standards.
When to Use
Trigger phrases:
- "automating ioc enrichment"
- "Automates the enrichment of raw indicators of compromise with multi-source threa"
Use this skill when:
- Building a SOAR playbook that automatically enriches SIEM alerts with threat intelligence context before routing to analysts
- Creating a Python pipeline for bulk IOC enrichment from phishing email submissions
- Reducing analyst mean time to triage (MTTT) by pre-populating alert context with VT, Shodan, and MISP data
Do not use this skill for fully automated blocking decisions without human review — enrichment automation should inform decisions, not execute blocks autonomously for high-impact actions.
When NOT to Use
- When you lack proper authorization for testing
- For production systems without change management
- When the task requires legal or compliance expertise beyond technical scope
Prerequisites
- SOAR platform (Cortex XSOAR, Splunk SOAR, Tines, or n8n) or Python 3.9+ environment
- API keys: VirusTotal, AbuseIPDB, Shodan, and at minimum one TIP (MISP or OpenCTI)
- SIEM integration endpoint for alert consumption
- Rate limit budgets documented per API (VT: 4/min free, 500/min enterprise)
Workflow
# Example: IOC detection
import re
IOC_PATTERNS = {
"ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",
"domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",
"hash_md5": r"\b[a-f0-9]{32}\b",
"hash_sha256": r"\b[a-f0-9]{64}\b",
}
def extract_iocs(text: str) -> dict:
return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}
- Define Objectives — Clarify the goals and scope for ioc enrichment.
- Gather Resources — Collect tools, data, and access needed for ioc enrichment.
- Execute Process — Carry out ioc enrichment operations methodically.
- Verify Quality — Check results against acceptance criteria.
- Document Outcomes — Record findings, decisions, and next steps.
Tools
- Analysis Platform — Data processing and visualization
- Collaboration Tools — Team coordination and knowledge sharing
Process
- Prepare — Gather requirements, verify prerequisites, set up environment
- Execute — Run automating ioc enrichment workflow with configured parameters
- Verify — Validate output meets requirements, document results
Verification
Anti-Rationalization Table
| Rationalization |
Reality |
| "We are too small to be targeted" |
Automated attacks target everyone. Size does not matter. |
| "Security slows us down" |
A breach slows you down 100x more. Build security in from the start. |
| "We will fix it after launch" |
Vulnerabilities in production are exploited within hours. Fix before deploy. |
1---2name: automating-ioc-enrichment3description: Use when automates the enrichment of raw indicators of compromise with multi-source threat intelligence context using SOAR platforms, Python pipelines, or TIP playbooks to reduce analyst triage time and standardize enrichment outputs. Use when building automated enrichment workflows integrated with SIEM alerts, email submission pipelines, or bulk IOC processing from threat feeds.4license: Apache-2.05---67# Automating Ioc Enrichment89## Overview1011Cybersecurity skill for automating ioc enrichment. Follows industry best practices and security standards.1213## When to Use14**Trigger phrases:**15- "automating ioc enrichment"16- "Automates the enrichment of raw indicators of compromise with multi-source threa"171819Use this skill when:20- Building a SOAR playbook that automatically enriches SIEM alerts with threat intelligence context before routing to analysts21- Creating a Python pipeline for bulk IOC enrichment from phishing email submissions22- Reducing analyst mean time to triage (MTTT) by pre-populating alert context with VT, Shodan, and MISP data2324**Do not use** this skill for fully automated blocking decisions without human review — enrichment automation should inform decisions, not execute blocks autonomously for high-impact actions.252627## When NOT to Use2829- When you lack proper authorization for testing30- For production systems without change management31- When the task requires legal or compliance expertise beyond technical scope323334## Prerequisites3536- SOAR platform (Cortex XSOAR, Splunk SOAR, Tines, or n8n) or Python 3.9+ environment37- API keys: VirusTotal, AbuseIPDB, Shodan, and at minimum one TIP (MISP or OpenCTI)38- SIEM integration endpoint for alert consumption39- Rate limit budgets documented per API (VT: 4/min free, 500/min enterprise)4041## Workflow4243```python44# Example: IOC detection45import re4647IOC_PATTERNS = {48 "ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",49 "domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",50 "hash_md5": r"\b[a-f0-9]{32}\b",51 "hash_sha256": r"\b[a-f0-9]{64}\b",52}5354def extract_iocs(text: str) -> dict:55 return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}56```57581. **Define Objectives** — Clarify the goals and scope for ioc enrichment.592. **Gather Resources** — Collect tools, data, and access needed for ioc enrichment.603. **Execute Process** — Carry out ioc enrichment operations methodically.614. **Verify Quality** — Check results against acceptance criteria.625. **Document Outcomes** — Record findings, decisions, and next steps.6364## Tools6566- **Analysis Platform** — Data processing and visualization67- **Collaboration Tools** — Team coordination and knowledge sharing686970## Process71721. **Prepare** — Gather requirements, verify prerequisites, set up environment731. **Execute** — Run automating ioc enrichment workflow with configured parameters741. **Verify** — Validate output meets requirements, document results7576## Verification7778- [ ] All ioc enrichment procedures executed completely and documented79- [ ] Findings validated against multiple data sources80- [ ] False positives identified and filtered81- [ ] Results documented with evidence and timestamps82- [ ] Recommendations provided with risk-based prioritization8384## Anti-Rationalization Table8586| Rationalization | Reality |87|---|---|88| "We are too small to be targeted" | Automated attacks target everyone. Size does not matter. |89| "Security slows us down" | A breach slows you down 100x more. Build security in from the start. |90| "We will fix it after launch" | Vulnerabilities in production are exploited within hours. Fix before deploy. |