[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78J3CNTYR806FYAYDRARRPS":3,"skill-same:01M78J3CNTYR806FYAYDRARRPS":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M78J3CNTYR806FYAYDRARRPS","building-threat-intelligence-feed-integration",null,"Builds automated threat intelligence feed integration pipelines connecting STIX\u002FTAXII feeds, open-source threat intel, and commercial TI platforms into SIEM and security tools for real-time IOC matching and alerting. Use when SOC teams need to operationalize threat intelligence by automating feed ingestion, normalization, scoring, and distribution to detection systems.","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-threat-intelligence-feed-integration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-threat-intelligence-feed-integration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: building-threat-intelligence-feed-integration\ndescription: >\n  Builds automated threat intelligence feed integration pipelines connecting STIX\u002FTAXII feeds,\n  open-source threat intel, and commercial TI platforms into SIEM and security tools for real-time\n  IOC matching and alerting. Use when SOC teams need to operationalize threat intelligence by\n  automating feed ingestion, normalization, scoring, and distribution to detection systems.\ndomain: cybersecurity\nsubdomain: soc-operations\ntags: [soc, threat-intelligence, stix, taxii, misp, feeds, ioc, siem-integration]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\n---\n# Building Threat Intelligence Feed Integration\n\n## When to Use\n\nUse this skill when:\n- SOC teams need automated ingestion of threat intelligence feeds into SIEM platforms\n- Multiple TI sources require normalization into a common format (STIX 2.1)\n- Detection systems need real-time IOC matching against network and endpoint telemetry\n- TI feed quality assessment and deduplication processes need to be established\n\n**Do not use** for manual IOC lookup — use dedicated enrichment tools (VirusTotal, AbuseIPDB) for ad-hoc queries.\n\n## Prerequisites\n\n- MISP instance or Threat Intelligence Platform (TIP) for feed aggregation\n- STIX\u002FTAXII client library (`taxii2-client`, `stix2` Python packages)\n- SIEM platform (Splunk ES, Elastic Security, or Sentinel) with TI framework configured\n- API keys for commercial and open-source feeds (AlienVault OTX, Abuse.ch, CISA AIS)\n- Python 3.8+ for feed processing automation\n\n## Workflow\n\n### Step 1: Identify and Catalog Intelligence Sources\n\nMap available feeds by type, format, and update frequency:\n\n| Feed Source | Format | IOC Types | Update Freq | Cost |\n|-------------|--------|-----------|-------------|------|\n| AlienVault OTX | STIX\u002FJSON | IP, Domain, Hash, URL | Real-time | Free |\n| Abuse.ch URLhaus | CSV\u002FJSON | URL, Domain | Every 5 min | Free |\n| Abuse.ch MalwareBazaar | JSON API | File Hash | Real-time | Free |\n| CISA AIS | STIX\u002FTAXII 2.1 | All types | Daily | Free (US Gov) |\n| CrowdStrike Intel | STIX\u002FJSON | All types + Actor TTP | Real-time | Commercial |\n| Mandiant Advantage | STIX 2.1 | All types + Reports | Real-time | Commercial |\n\n### Step 2: Ingest STIX\u002FTAXII Feeds\n\nConnect to a TAXII 2.1 server and download indicators:\n\n```python\nfrom taxii2client.v21 import Server, Collection\nfrom stix2 import parse\n\n# Connect to TAXII server (example: CISA AIS)\nserver = Server(\n    \"https:\u002F\u002Ftaxii.cisa.gov\u002Ftaxii2\u002F\",\n    user=\"your_username\",\n    password=\"your_password\"\n)\n\n# List available collections\nfor api_root in server.api_roots:\n    print(f\"API Root: {api_root.title}\")\n    for collection in api_root.collections:\n        print(f\"  Collection: {collection.title} (ID: {collection.id})\")\n\n# Fetch indicators from a collection\ncollection = Collection(\n    \"https:\u002F\u002Ftaxii.cisa.gov\u002Ftaxii2\u002Fcollections\u002FCOLLECTION_ID\u002F\",\n    user=\"your_username\",\n    password=\"your_password\"\n)\n\n# Get indicators added in last 24 hours\nfrom datetime import datetime, timedelta\nadded_after = (datetime.utcnow() - timedelta(days=1)).strftime(\"%Y-%m-%dT%H:%M:%S.000Z\")\n\nresponse = collection.get_objects(added_after=added_after, type=[\"indicator\"])\nfor obj in response.get(\"objects\", []):\n    indicator = parse(obj)\n    print(f\"Type: {indicator.type}\")\n    print(f\"Pattern: {indicator.pattern}\")\n    print(f\"Valid Until: {indicator.valid_until}\")\n    print(f\"Confidence: {indicator.confidence}\")\n    print(\"---\")\n```\n\n### Step 3: Ingest Open-Source Feeds\n\n**Abuse.ch URLhaus Feed:**\n\n```python\nimport requests\nimport csv\nfrom io import StringIO\n\n# Download URLhaus recent URLs\nresponse = requests.get(\"https:\u002F\u002Furlhaus.abuse.ch\u002Fdownloads\u002Fcsv_recent\u002F\")\nreader = csv.reader(StringIO(response.text), delimiter=',')\n\nindicators = []\nfor row in reader:\n    if row[0].startswith(\"#\"):\n        continue\n    indicators.append({\n        \"id\": row[0],\n        \"dateadded\": row[1],\n        \"url\": row[2],\n        \"url_status\": row[3],\n        \"threat\": row[5],\n        \"tags\": row[6]\n    })\n\nprint(f\"Ingested {len(indicators)} URLs from URLhaus\")\n\n# Filter for active threats only\nactive = [i for i in indicators if i[\"url_status\"] == \"online\"]\nprint(f\"Active threats: {len(active)}\")\n```\n\n**AlienVault OTX Pulse Feed:**\n\n```python\nfrom OTXv2 import OTXv2, IndicatorTypes\n\notx = OTXv2(\"YOUR_OTX_API_KEY\")\n\n# Get subscribed pulses (last 24 hours)\npulses = otx.getall(modified_since=\"2024-03-14T00:00:00\")\n\nfor pulse in pulses:\n    print(f\"Pulse: {pulse['name']}\")\n    print(f\"Tags: {pulse['tags']}\")\n    for indicator in pulse[\"indicators\"]:\n        print(f\"  IOC: {indicator['indicator']} ({indicator['type']})\")\n```\n\n**Abuse.ch Feodo Tracker (C2 IPs):**\n\n```python\nresponse = requests.get(\"https:\u002F\u002Ffeodotracker.abuse.ch\u002Fdownloads\u002Fipblocklist_recommended.json\")\nc2_data = response.json()\n\nfor entry in c2_data:\n    print(f\"IP: {entry['ip_address']}:{entry['port']}\")\n    print(f\"Malware: {entry['malware']}\")\n    print(f\"First Seen: {entry['first_seen']}\")\n    print(f\"Last Online: {entry['last_online']}\")\n```\n\n### Step 4: Normalize and Deduplicate\n\nConvert all feeds to STIX 2.1 format for standardization:\n\n```python\nfrom stix2 import Indicator, Bundle\nimport hashlib\n\ndef create_stix_indicator(ioc_value, ioc_type, source, confidence=50):\n    \"\"\"Convert raw IOC to STIX 2.1 indicator\"\"\"\n    pattern_map = {\n        \"ipv4\": f\"[ipv4-addr:value = '{ioc_value}']\",\n        \"domain\": f\"[domain-name:value = '{ioc_value}']\",\n        \"url\": f\"[url:value = '{ioc_value}']\",\n        \"sha256\": f\"[file:hashes.'SHA-256' = '{ioc_value}']\",\n        \"md5\": f\"[file:hashes.MD5 = '{ioc_value}']\",\n    }\n\n    return Indicator(\n        name=f\"{ioc_type}: {ioc_value}\",\n        pattern=pattern_map[ioc_type],\n        pattern_type=\"stix\",\n        valid_from=\"2024-03-15T00:00:00Z\",\n        confidence=confidence,\n        labels=[source],\n        custom_properties={\"x_source_feed\": source}\n    )\n\n# Deduplicate across sources\nseen_iocs = set()\nunique_indicators = []\n\nfor ioc in all_collected_iocs:\n    ioc_hash = hashlib.sha256(f\"{ioc['type']}:{ioc['value']}\".encode()).hexdigest()\n    if ioc_hash not in seen_iocs:\n        seen_iocs.add(ioc_hash)\n        unique_indicators.append(\n            create_stix_indicator(ioc[\"value\"], ioc[\"type\"], ioc[\"source\"])\n        )\n\nbundle = Bundle(objects=unique_indicators)\nprint(f\"Unique indicators: {len(unique_indicators)}\")\n```\n\n### Step 5: Push to SIEM Threat Intelligence Framework\n\n**Push to Splunk ES Threat Intelligence:**\n\n```python\nimport requests\n\nsplunk_url = \"https:\u002F\u002Fsplunk.company.com:8089\"\nheaders = {\"Authorization\": f\"Bearer {splunk_token}\"}\n\nfor indicator in unique_indicators:\n    # Extract IOC value from STIX pattern\n    ioc_value = indicator.pattern.split(\"'\")[1]\n\n    # Upload to Splunk ES threat intel collection\n    data = {\n        \"ip\": ioc_value,\n        \"description\": indicator.name,\n        \"weight\": indicator.confidence \u002F\u002F 10,\n        \"threat_key\": indicator.id,\n        \"source_feed\": indicator.get(\"x_source_feed\", \"unknown\")\n    }\n\n    requests.post(\n        f\"{splunk_url}\u002Fservices\u002Fdata\u002Fthreat_intel\u002Fitem\u002Fip_intel\",\n        headers=headers, data=data,\n        verify=not os.environ.get(\"SKIP_TLS_VERIFY\", \"\").lower() == \"true\",  # Set SKIP_TLS_VERIFY=true for self-signed certs in lab environments\n    )\n```\n\n**Push to MISP for centralized management:**\n\n```python\nfrom pymisp import PyMISP, MISPEvent, MISPAttribute\n\nmisp = PyMISP(\"https:\u002F\u002Fmisp.company.com\", \"YOUR_MISP_API_KEY\")\n\n# Create event for feed batch\nevent = MISPEvent()\nevent.info = f\"TI Feed Import - {datetime.now().strftime('%Y-%m-%d')}\"\nevent.threat_level_id = 2  # Medium\nevent.analysis = 2  # Completed\n\n# Add indicators as attributes\nfor ioc in unique_indicators:\n    attr = MISPAttribute()\n    attr.type = \"ip-dst\" if \"ipv4\" in ioc.pattern else \"domain\"\n    attr.value = ioc.pattern.split(\"'\")[1]\n    attr.to_ids = True\n    attr.comment = f\"Source: {ioc.get('x_source_feed', 'mixed')}\"\n    event.add_attribute(**attr)\n\nresult = misp.add_event(event)\nprint(f\"MISP Event created: {result['Event']['id']}\")\n```\n\n### Step 6: Monitor Feed Health and Quality\n\nTrack feed effectiveness metrics:\n\n```spl\nindex=threat_intel sourcetype=\"threat_intel_manager\"\n| stats count AS total_iocs,\n        dc(threat_key) AS unique_iocs,\n        dc(source_feed) AS feed_count\n  by source_feed\n| join source_feed [\n    search index=notable source=\"Threat Intelligence\"\n    | stats count AS matches by source_feed\n  ]\n| eval match_rate = round(matches \u002F unique_iocs * 100, 2)\n| sort - match_rate\n| table source_feed, unique_iocs, matches, match_rate\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **STIX 2.1** | Structured Threat Information Expression — standardized JSON format for sharing threat intelligence objects |\n| **TAXII** | Trusted Automated eXchange of Indicator Information — transport protocol for sharing STIX data via REST API |\n| **TIP** | Threat Intelligence Platform — centralized system for aggregating, scoring, and distributing threat intelligence |\n| **IOC Scoring** | Process of assigning confidence values to indicators based on source reliability and corroboration |\n| **Feed Deduplication** | Removing duplicate IOCs across multiple sources while preserving multi-source attribution |\n| **IOC Expiration** | Time-to-live policy removing aged indicators (IP: 30 days, Domain: 90 days, Hash: 1 year) |\n\n## Tools & Systems\n\n- **MISP**: Open-source threat intelligence platform for feed aggregation, correlation, and sharing\n- **AlienVault OTX**: Free threat intelligence sharing platform with community pulse feeds\n- **Abuse.ch**: Suite of free threat feeds (URLhaus, MalwareBazaar, Feodo Tracker, ThreatFox)\n- **OpenCTI**: Open-source cyber threat intelligence platform supporting STIX 2.1 native storage\n- **TAXII2 Client**: Python library for connecting to STIX\u002FTAXII 2.1 servers for automated indicator retrieval\n\n## Common Scenarios\n\n- **New Feed Onboarding**: Evaluate feed quality, map fields to STIX, configure automated ingestion pipeline\n- **Multi-SIEM Distribution**: Push normalized IOCs from MISP to Splunk, Elastic, and Sentinel simultaneously\n- **False Positive Reduction**: Score IOCs by source count and age, expire stale indicators automatically\n- **Feed Quality Audit**: Compare detection match rates across feeds to identify highest-value sources\n- **Incident IOC Sharing**: Package investigation IOCs as STIX bundle and share with ISACs via TAXII\n\n## Output Format\n\n```\nTHREAT INTEL FEED STATUS — Daily Report\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nDate:         2024-03-15\nTotal IOCs:   45,892 active indicators\n\nFeed Health:\n  Feed                  IOCs    Matches  Match Rate  Status\n  Abuse.ch URLhaus      12,340  47       0.38%       HEALTHY\n  AlienVault OTX        18,567  23       0.12%       HEALTHY\n  Abuse.ch Feodo        1,203   12       1.00%       HEALTHY\n  CISA AIS              8,945   8        0.09%       HEALTHY\n  CrowdStrike Intel     4,837   31       0.64%       HEALTHY\n\nActions Today:\n  New IOCs ingested:    1,247\n  IOCs expired:         892\n  Duplicates removed:   156\n  SIEM matches:         121 notable events generated\n  False positives:      3 (CDN IPs removed from feed)\n```\n","# Building Threat Intelligence Feed Integration\n\n## When to Use\n\nUse this skill when:\n- SOC teams need automated ingestion of threat intelligence feeds into SIEM platforms\n- Multiple TI sources require normalization into a common format (STIX 2.1)\n- Detection systems need real-time IOC matching against network and endpoint telemetry\n- TI feed quality assessment and deduplication processes need to be established\n\n**Do not use** for manual IOC lookup — use dedicated enrichment tools (VirusTotal, AbuseIPDB) for ad-hoc queries.\n\n## Prerequisites\n\n- MISP instance or Threat Intelligence Platform (TIP) for feed aggregation\n- STIX\u002FTAXII client library (`taxii2-client`, `stix2` Python packages)\n- SIEM platform (Splunk ES, Elastic Security, or Sentinel) with TI framework configured\n- API keys for commercial and open-source feeds (AlienVault OTX, Abuse.ch, CISA AIS)\n- Python 3.8+ for feed processing automation\n\n## Workflow\n\n### Step 1: Identify and Catalog Intelligence Sources\n\nMap available feeds by type, format, and update frequency:\n\n| Feed Source | Format | IOC Types | Update Freq | Cost |\n|-------------|--------|-----------|-------------|------|\n| AlienVault OTX | STIX\u002FJSON | IP, Domain, Hash, URL | Real-time | Free |\n| Abuse.ch URLhaus | CSV\u002FJSON | URL, Domain | Every 5 min | Free |\n| Abuse.ch MalwareBazaar | JSON API | File Hash | Real-time | Free |\n| CISA AIS | STIX\u002FTAXII 2.1 | All types | Daily | Free (US Gov) |\n| CrowdStrike Intel | STIX\u002FJSON | All types + Actor TTP | Real-time | Commercial |\n| Mandiant Advantage | STIX 2.1 | All types + Reports | Real-time | Commercial |\n\n### Step 2: Ingest STIX\u002FTAXII Feeds\n\nConnect to a TAXII 2.1 server and download indicators:\n\n```python\nfrom taxii2client.v21 import Server, Collection\nfrom stix2 import parse\n\n# Connect to TAXII server (example: CISA AIS)\nserver = Server(\n    \"https:\u002F\u002Ftaxii.cisa.gov\u002Ftaxii2\u002F\",\n    user=\"your_username\",\n    password=\"your_password\"\n)\n\n# List available collections\nfor api_root in server.api_roots:\n    print(f\"API Root: {api_root.title}\")\n    for collection in api_root.collections:\n        print(f\"  Collection: {collection.title} (ID: {collection.id})\")\n\n# Fetch indicators from a collection\ncollection = Collection(\n    \"https:\u002F\u002Ftaxii.cisa.gov\u002Ftaxii2\u002Fcollections\u002FCOLLECTION_ID\u002F\",\n    user=\"your_username\",\n    password=\"your_password\"\n)\n\n# Get indicators added in last 24 hours\nfrom datetime import datetime, timedelta\nadded_after = (datetime.utcnow() - timedelta(days=1)).strftime(\"%Y-%m-%dT%H:%M:%S.000Z\")\n\nresponse = collection.get_objects(added_after=added_after, type=[\"indicator\"])\nfor obj in response.get(\"objects\", []):\n    indicator = parse(obj)\n    print(f\"Type: {indicator.type}\")\n    print(f\"Pattern: {indicator.pattern}\")\n    print(f\"Valid Until: {indicator.valid_until}\")\n    print(f\"Confidence: {indicator.confidence}\")\n    print(\"---\")\n```\n\n### Step 3: Ingest Open-Source Feeds\n\n**Abuse.ch URLhaus Feed:**\n\n```python\nimport requests\nimport csv\nfrom io import StringIO\n\n# Download URLhaus recent URLs\nresponse = requests.get(\"https:\u002F\u002Furlhaus.abuse.ch\u002Fdownloads\u002Fcsv_recent\u002F\")\nreader = csv.reader(StringIO(response.text), delimiter=',')\n\nindicators = []\nfor row in reader:\n    if row[0].startswith(\"#\"):\n        continue\n    indicators.append({\n        \"id\": row[0],\n        \"dateadded\": row[1],\n        \"url\": row[2],\n        \"url_status\": row[3],\n        \"threat\": row[5],\n        \"tags\": row[6]\n    })\n\nprint(f\"Ingested {len(indicators)} URLs from URLhaus\")\n\n# Filter for active threats only\nactive = [i for i in indicators if i[\"url_status\"] == \"online\"]\nprint(f\"Active threats: {len(active)}\")\n```\n\n**AlienVault OTX Pulse Feed:**\n\n```python\nfrom OTXv2 import OTXv2, IndicatorTypes\n\notx = OTXv2(\"YOUR_OTX_API_KEY\")\n\n# Get subscribed pulses (last 24 hours)\npulses = otx.getall(modified_since=\"2024-03-14T00:00:00\")\n\nfor pulse in pulses:\n    print(f\"Pulse: {pulse['name']}\")\n    print(f\"Tags: {pulse['tags']}\")\n    for indicator in pulse[\"indicators\"]:\n        print(f\"  IOC: {indicator['indicator']} ({indicator['type']})\")\n```\n\n**Abuse.ch Feodo Tracker (C2 IPs):**\n\n```python\nresponse = requests.get(\"https:\u002F\u002Ffeodotracker.abuse.ch\u002Fdownloads\u002Fipblocklist_recommended.json\")\nc2_data = response.json()\n\nfor entry in c2_data:\n    print(f\"IP: {entry['ip_address']}:{entry['port']}\")\n    print(f\"Malware: {entry['malware']}\")\n    print(f\"First Seen: {entry['first_seen']}\")\n    print(f\"Last Online: {entry['last_online']}\")\n```\n\n### Step 4: Normalize and Deduplicate\n\nConvert all feeds to STIX 2.1 format for standardization:\n\n```python\nfrom stix2 import Indicator, Bundle\nimport hashlib\n\ndef create_stix_indicator(ioc_value, ioc_type, source, confidence=50):\n    \"\"\"Convert raw IOC to STIX 2.1 indicator\"\"\"\n    pattern_map = {\n        \"ipv4\": f\"[ipv4-addr:value = '{ioc_value}']\",\n        \"domain\": f\"[domain-name:value = '{ioc_value}']\",\n        \"url\": f\"[url:value = '{ioc_value}']\",\n        \"sha256\": f\"[file:hashes.'SHA-256' = '{ioc_value}']\",\n        \"md5\": f\"[file:hashes.MD5 = '{ioc_value}']\",\n    }\n\n    return Indicator(\n        name=f\"{ioc_type}: {ioc_value}\",\n        pattern=pattern_map[ioc_type],\n        pattern_type=\"stix\",\n        valid_from=\"2024-03-15T00:00:00Z\",\n        confidence=confidence,\n        labels=[source],\n        custom_properties={\"x_source_feed\": source}\n    )\n\n# Deduplicate across sources\nseen_iocs = set()\nunique_indicators = []\n\nfor ioc in all_collected_iocs:\n    ioc_hash = hashlib.sha256(f\"{ioc['type']}:{ioc['value']}\".encode()).hexdigest()\n    if ioc_hash not in seen_iocs:\n        seen_iocs.add(ioc_hash)\n        unique_indicators.append(\n            create_stix_indicator(ioc[\"value\"], ioc[\"type\"], ioc[\"source\"])\n        )\n\nbundle = Bundle(objects=unique_indicators)\nprint(f\"Unique indicators: {len(unique_indicators)}\")\n```\n\n### Step 5: Push to SIEM Threat Intelligence Framework\n\n**Push to Splunk ES Threat Intelligence:**\n\n```python\nimport requests\n\nsplunk_url = \"https:\u002F\u002Fsplunk.company.com:8089\"\nheaders = {\"Authorization\": f\"Bearer {splunk_token}\"}\n\nfor indicator in unique_indicators:\n    # Extract IOC value from STIX pattern\n    ioc_value = indicator.pattern.split(\"'\")[1]\n\n    # Upload to Splunk ES threat intel collection\n    data = {\n        \"ip\": ioc_value,\n        \"description\": indicator.name,\n        \"weight\": indicator.confidence \u002F\u002F 10,\n        \"threat_key\": indicator.id,\n        \"source_feed\": indicator.get(\"x_source_feed\", \"unknown\")\n    }\n\n    requests.post(\n        f\"{splunk_url}\u002Fservices\u002Fdata\u002Fthreat_intel\u002Fitem\u002Fip_intel\",\n        headers=headers, data=data,\n        verify=not os.environ.get(\"SKIP_TLS_VERIFY\", \"\").lower() == \"true\",  # Set SKIP_TLS_VERIFY=true for self-signed certs in lab environments\n    )\n```\n\n**Push to MISP for centralized management:**\n\n```python\nfrom pymisp import PyMISP, MISPEvent, MISPAttribute\n\nmisp = PyMISP(\"https:\u002F\u002Fmisp.company.com\", \"YOUR_MISP_API_KEY\")\n\n# Create event for feed batch\nevent = MISPEvent()\nevent.info = f\"TI Feed Import - {datetime.now().strftime('%Y-%m-%d')}\"\nevent.threat_level_id = 2  # Medium\nevent.analysis = 2  # Completed\n\n# Add indicators as attributes\nfor ioc in unique_indicators:\n    attr = MISPAttribute()\n    attr.type = \"ip-dst\" if \"ipv4\" in ioc.pattern else \"domain\"\n    attr.value = ioc.pattern.split(\"'\")[1]\n    attr.to_ids = True\n    attr.comment = f\"Source: {ioc.get('x_source_feed', 'mixed')}\"\n    event.add_attribute(**attr)\n\nresult = misp.add_event(event)\nprint(f\"MISP Event created: {result['Event']['id']}\")\n```\n\n### Step 6: Monitor Feed Health and Quality\n\nTrack feed effectiveness metrics:\n\n```spl\nindex=threat_intel sourcetype=\"threat_intel_manager\"\n| stats count AS total_iocs,\n        dc(threat_key) AS unique_iocs,\n        dc(source_feed) AS feed_count\n  by source_feed\n| join source_feed [\n    search index=notable source=\"Threat Intelligence\"\n    | stats count AS matches by source_feed\n  ]\n| eval match_rate = round(matches \u002F unique_iocs * 100, 2)\n| sort - match_rate\n| table source_feed, unique_iocs, matches, match_rate\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **STIX 2.1** | Structured Threat Information Expression — standardized JSON format for sharing threat intelligence objects |\n| **TAXII** | Trusted Automated eXchange of Indicator Information — transport protocol for sharing STIX data via REST API |\n| **TIP** | Threat Intelligence Platform — centralized system for aggregating, scoring, and distributing threat intelligence |\n| **IOC Scoring** | Process of assigning confidence values to indicators based on source reliability and corroboration |\n| **Feed Deduplication** | Removing duplicate IOCs across multiple sources while preserving multi-source attribution |\n| **IOC Expiration** | Time-to-live policy removing aged indicators (IP: 30 days, Domain: 90 days, Hash: 1 year) |\n\n## Tools & Systems\n\n- **MISP**: Open-source threat intelligence platform for feed aggregation, correlation, and sharing\n- **AlienVault OTX**: Free threat intelligence sharing platform with community pulse feeds\n- **Abuse.ch**: Suite of free threat feeds (URLhaus, MalwareBazaar, Feodo Tracker, ThreatFox)\n- **OpenCTI**: Open-source cyber threat intelligence platform supporting STIX 2.1 native storage\n- **TAXII2 Client**: Python library for connecting to STIX\u002FTAXII 2.1 servers for automated indicator retrieval\n\n## Common Scenarios\n\n- **New Feed Onboarding**: Evaluate feed quality, map fields to STIX, configure automated ingestion pipeline\n- **Multi-SIEM Distribution**: Push normalized IOCs from MISP to Splunk, Elastic, and Sentinel simultaneously\n- **False Positive Reduction**: Score IOCs by source count and age, expire stale indicators automatically\n- **Feed Quality Audit**: Compare detection match rates across feeds to identify highest-value sources\n- **Incident IOC Sharing**: Package investigation IOCs as STIX bundle and share with ISACs via TAXII\n\n## Output Format\n\n```\nTHREAT INTEL FEED STATUS — Daily Report\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nDate:         2024-03-15\nTotal IOCs:   45,892 active indicators\n\nFeed Health:\n  Feed                  IOCs    Matches  Match Rate  Status\n  Abuse.ch URLhaus      12,340  47       0.38%       HEALTHY\n  AlienVault OTX        18,567  23       0.12%       HEALTHY\n  Abuse.ch Feodo        1,203   12       1.00%       HEALTHY\n  CISA AIS              8,945   8        0.09%       HEALTHY\n  CrowdStrike Intel     4,837   31       0.64%       HEALTHY\n\nActions Today:\n  New IOCs ingested:    1,247\n  IOCs expired:         892\n  Duplicates removed:   156\n  SIEM matches:         121 notable events generated\n  False positives:      3 (CDN IPs removed from feed)\n```\n",{"name":5,"tags":25,"author":34,"domain":35,"license":15,"version":36,"subdomain":37,"description":38},[26,27,28,29,30,31,32,33],"soc","threat-intelligence","stix","taxii","misp","feeds","ioc","siem-integration","mahipal","cybersecurity","1.0","soc-operations","Builds automated threat intelligence feed integration pipelines connecting STIX\u002FTAXII feeds, open-source threat intel, and commercial TI platforms into SIEM and security tools for real-time IOC matching and alerting. Use when SOC teams need to operationalize threat intelligence by automating feed ingestion, normalization, scoring, and distribution to detection systems.\n","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fbuilding-threat-intelligence-feed-integration",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill building-threat-intelligence-feed-integration",{"tool":54,"command":55},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill building-threat-intelligence-feed-integration",{"tool":57,"command":58},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill building-threat-intelligence-feed-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-threat-intelligence-feed-integration\u002FSKILL.md",true,[62,66,72],{"path":63,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fapi-reference.md","REFERENCE","参考文档",2187,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-threat-intelligence-feed-integration\u002Freferences\u002Fapi-reference.md",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Fagent.py","SCRIPT","脚本",6391,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-threat-intelligence-feed-integration\u002Fscripts\u002Fagent.py",[79,87,94,101,108,116],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":20},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":20},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":20},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":20},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":20},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":20},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]