技能 编程开发 MISP 威胁情报平台构建

MISP 威胁情报平台构建

v20260317
implementing-threat-intelligence-platform
基于 PyMISP 构建 MISP 威胁情报平台,采集多源 IOC、关联事件、标注 ATT&CK 技术、通过 VirusTotal 与 AbuseIPDB 丰富数据,并导出 STIX 2.1 供 SIEM 使用。
获取技能
65 次下载
概览

Instructions

  1. Install dependencies: pip install pymisp requests stix2
  2. Deploy MISP instance and generate an API key from Administration > Auth Keys.
  3. Use PyMISP to connect and create threat intelligence events:
  • Create events with threat level, distribution, and analysis status
  • Add attributes (ip-dst, domain, sha256, url) with to_ids flags
  • Tag events with MITRE ATT&CK technique identifiers
  • Correlate events across organizations
  1. Ingest from external feeds: URLhaus, Feodo Tracker, MalwareBazaar.
  2. Enrich IOCs via VirusTotal and AbuseIPDB APIs.
  3. Export correlated events as STIX 2.1 bundles.
python scripts/agent.py --misp-url https://misp.local --misp-key <api_key> --ingest-feeds --output misp_report.json

Examples

Create MISP Event with IOCs

from pymisp import PyMISP, MISPEvent, MISPAttribute
misp = PyMISP("https://misp.local", "api_key")
event = MISPEvent()
event.info = "Phishing Campaign - 2024-Q1"
event.threat_level_id = 2
event.add_attribute("ip-dst", "185.143.223.47", to_ids=True)
misp.add_event(event)
信息
分类 编程开发
名称 implementing-threat-intelligence-platform
版本 v20260317
大小 8.77KB
更新时间 2026-03-18
语言