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 with4 multi-source threat intelligence context using SOAR platforms, Python pipelines,5 or TIP playbooks to reduce analyst triage time and standardize enrichment outputs.6 Use when building automated enrichment workflows integrated with SIEM alerts, email7 submission pipelines, or bulk IOC processing from threat feeds.8domain: cybersecurity9tags:10- SOAR11- enrichment12- IOC13- Cortex-XSOAR14- Splunk-SOAR15- VirusTotal16- automation17- CTI18- NIST-CSF19subdomain: threat-intelligence20version: 1.0.021author: oyi7722license: Apache-2.023nist_csf:24- ID.RA-0125- ID.RA-0526- DE.CM-0127- DE.AE-0228category: cybersecurity29metadata:30 source: https://skillmd.com/skills/oyi77/automating-ioc-enrichment31---3233# Automating Ioc Enrichment3435## Overview3637Cybersecurity skill for automating ioc enrichment. Follows industry best practices and security standards.3839## When to Use40**Trigger phrases:**41- "automating ioc enrichment"42- "Automates the enrichment of raw indicators of compromise with multi-source threa"434445Use this skill when:46- Building a SOAR playbook that automatically enriches SIEM alerts with threat intelligence context before routing to analysts47- Creating a Python pipeline for bulk IOC enrichment from phishing email submissions48- Reducing analyst mean time to triage (MTTT) by pre-populating alert context with VT, Shodan, and MISP data4950**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.515253## When NOT to Use5455- When you lack proper authorization for testing56- For production systems without change management57- When the task requires legal or compliance expertise beyond technical scope585960## Prerequisites6162- SOAR platform (Cortex XSOAR, Splunk SOAR, Tines, or n8n) or Python 3.9+ environment63- API keys: VirusTotal, AbuseIPDB, Shodan, and at minimum one TIP (MISP or OpenCTI)64- SIEM integration endpoint for alert consumption65- Rate limit budgets documented per API (VT: 4/min free, 500/min enterprise)6667## Workflow6869```python70# Example: IOC detection71import re7273IOC_PATTERNS = {74 "ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",75 "domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",76 "hash_md5": r"\b[a-f0-9]{32}\b",77 "hash_sha256": r"\b[a-f0-9]{64}\b",78}7980def extract_iocs(text: str) -> dict:81 return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}82```83841. **Define Objectives** — Clarify the goals and scope for ioc enrichment.852. **Gather Resources** — Collect tools, data, and access needed for ioc enrichment.863. **Execute Process** — Carry out ioc enrichment operations methodically.874. **Verify Quality** — Check results against acceptance criteria.885. **Document Outcomes** — Record findings, decisions, and next steps.8990## Tools9192- **Analysis Platform** — Data processing and visualization93- **Collaboration Tools** — Team coordination and knowledge sharing949596## Process97981. **Prepare** — Gather requirements, verify prerequisites, set up environment991. **Execute** — Run automating ioc enrichment workflow with configured parameters1001. **Verify** — Validate output meets requirements, document results101102## Verification103104- [ ] All ioc enrichment procedures executed completely and documented105- [ ] Findings validated against multiple data sources106- [ ] False positives identified and filtered107- [ ] Results documented with evidence and timestamps108- [ ] Recommendations provided with risk-based prioritization109110## Anti-Rationalization Table111112| Rationalization | Reality |113|---|---|114| "We are too small to be targeted" | Automated attacks target everyone. Size does not matter. |115| "Security slows us down" | A breach slows you down 100x more. Build security in from the start. |116| "We will fix it after launch" | Vulnerabilities in production are exploited within hours. Fix before deploy. |