Uses PyMISP (the official MISP REST API library) to create events with structured IOCs (IPs, domains, hashes, URLs), enrich them with MITRE ATT&CK tags and galaxy clusters, manage sharing groups and distribution levels, search existing intelligence, and export in STIX 2.1 format. Use when creating, enriching, or sharing threat intelligence events on a MISP instance, or integrating IOC feeds with other platforms.
Start a fresh conversation. Replace the highlighted placeholders.
Use performing-threat-intelligence-sharing-with-misp to Create a MISP event for [incident details and IOCs], enrich it with appropriate TLP and MITRE ATT&CK tags, check for correlations, and produce the documented JSON report; stop for my explicit confirmation before publishing or sharing the event.
Required inputs
[incident details and IOCs]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: performing-threat-intelligence-sharing-with-mispdescription: >- Uses PyMISP (the official MISP REST API library) to create events with structured IOCs (IPs, domains, hashes, URLs), enrich them with MITRE ATT&CK tags and galaxy clusters, manage sharing groups and distribution levels, search existing intelligence, and export in STIX 2.1 format. Use when creating, enriching, or sharing threat intelligence events on a MISP instance, or integrating IOC feeds with other platforms.domain: cybersecuritysubdomain: threat-intelligencetags: - misp- pymisp- threat-intelligence- ioc-sharing- stix- taxii- threat-feeds- information-sharingversion: '1.0'author: mahipallicense: Apache-2.0nist_csf: - ID.RA-01- ID.RA-05- DE.CM-01- DE.AE-02mitre_attack: - T1591- T1592- T1593- T1589
Performing Threat Intelligence Sharing with MISP
Overview
MISP (Malware Information Sharing Platform) is an open-source threat intelligence platform designed for collecting, storing, distributing, and sharing cybersecurity indicators and threat information. PyMISP is the official Python library for interacting with MISP instances via the REST API, enabling programmatic event creation, attribute management, tag assignment, galaxy cluster attachment, and feed synchronization. This skill covers using PyMISP to create events with structured IOCs (IP addresses, domains, file hashes, URLs), enrich events with MITRE ATT&CK tags, manage sharing groups and distribution levels, search for existing intelligence, and export in STIX 2.1 format for interoperability with other platforms.
When to Use
When conducting security assessments that involve performing threat intelligence sharing with misp
When following incident response procedures for related security events
When performing scheduled security testing or auditing activities
When validating security controls through hands-on testing
Prerequisites
MISP instance (v2.4+) with API access enabled
Python 3.9+ with pymisp (pip install pymisp)
MISP API key (Settings > Auth Keys)
Understanding of MISP data model (Events, Attributes, Objects, Tags, Galaxies)
Create a MISPEvent with info, distribution level, threat level, and analysis status
Add attributes via event.add_attribute(type, value) for IPs, domains, hashes
Apply TLP tags and MITRE ATT&CK technique tags
Publish the event with misp.publish(event)
Search existing events with misp.search(controller='events', value=..., type_attribute=...)
Enable and configure threat feeds for automatic IOC ingestion
Export events in STIX 2.1 format for cross-platform sharing
Validate sharing group configuration and sync server settings
Expected Output
A JSON report summarizing events created, attributes added, tags applied, feed sync status, and any correlation hits against existing intelligence, with event IDs and distribution metadata.