MISP (Malware Information Sharing Platform) and OpenCTI (Open Cyber Threat Intelligence) are leading open-source platforms for threat intelligence sharing, analysis, and collaboration. This lab provides hands-on experience with both platforms, teaching you how to collect, analyze, and share threat intelligence effectively.

Platform Comparison: MISP vs OpenCTI

Understanding the strengths and use cases for each platform:

MISP

Malware Information Sharing Platform

  • Primary Focus: Threat intelligence sharing and correlation
  • Key Features: IOC sharing, event correlation, feed management
  • Data Model: MISP core format, STIX 1/2 support
  • Best For: Operational intelligence sharing, SOC collaboration
  • Community: Large, established community with many integrations

OpenCTI

Open Cyber Threat Intelligence

  • Primary Focus: Knowledge management and relationship analysis
  • Key Features: Graph database, STIX 2.1 native, relationship mapping
  • Data Model: STIX 2.1 native, comprehensive knowledge graph
  • Best For: Strategic analysis, threat actor tracking, campaign analysis
  • Community: Growing community, developed by Filigran & ANSSI

Lab 1: MISP Fundamentals

Getting Started with MISP

This lab introduces the basic functionality of MISP for threat intelligence sharing.

Objectives
Step-by-Step Guide
Verification

1 Learning Objectives

  • • Understand MISP architecture and components
  • • Create and manage events and attributes
  • • Configure and use taxonomies and galaxies
  • • Share intelligence with other organizations

2 Prerequisites

  • • Access to MISP instance (demo or local install)
  • • Basic understanding of threat intelligence concepts
  • • Familiarity with IOCs and STIX format

3 Estimated Time

30-45 minutes

1 Access MISP Instance

Access the provided MISP instance or set up your own:

# For demo environment: # URL: https://demo.misp.example.com # Username: student # Password: CTITraining2026! # For local installation: docker run -it --rm -p 80:80 -p 443:443 \ -e MYSQL_ROOT_PASSWORD=root \ -e MISP_ADMIN_EMAIL=admin@example.com \ -e MISP_ADMIN_PASSPHRASE=admin \ -v /misp-data:/var/lib/mysql \ --name misp misp/misp

2 Create Your First Event

  • • Navigate to "Events" → "Add Event"
  • • Fill in event details:
    • - Info: "Phishing Campaign Targeting Financial Sector"
    • - Threat Level: High
    • - Analysis: Completed
    • - Distribution: Your organization only
  • • Save the event

3 Add Attributes to Event

Add IOCs to your event:

# Add these attributes: 1. Type: ip-src | Value: 192.0.2.1 | Category: Network activity 2. Type: domain | Value: evil-bank.com | Category: Network activity 3. Type: email-src | Value: attacker@phish.com | Category: Payload delivery 4. Type: filename | Value: invoice.pdf.exe | Category: Payload delivery 5. Type: sha256 | Value: a1b2c3... | Category: Payload delivery # Add tags for classification: - tlp:white - phishing - target:financial

4 Configure Taxonomy and Galaxies

  • • Navigate to "Galaxies" → "View Galaxies"
  • • Enable "MITRE ATT&CK" galaxy
  • • Tag your event with relevant ATT&CK techniques:
    • - T1566: Phishing
    • - T1204: User Execution
  • • Enable and use "MISP" taxonomy for classification

1 Lab Completion Checklist

Verify you have completed all required steps:

  • ✓ Successfully accessed MISP instance
  • ✓ Created an event with proper metadata
  • ✓ Added at least 5 different types of attributes
  • ✓ Applied appropriate tags and taxonomies
  • ✓ Enabled and used ATT&CK galaxy

2 Knowledge Check

Answer these questions to confirm understanding:

    2 Knowledge Check

    Answer these questions to confirm understanding:

    • 1. What is the primary purpose of MISP?
    • 2. How do taxonomies differ from galaxies in MISP?
    • 3. What are the three distribution levels for events?
    • 4. How does MISP ensure data quality when sharing?

Lab 2: OpenCTI Knowledge Graph

Advanced Threat Intelligence with OpenCTI

This lab explores OpenCTI's knowledge graph capabilities for threat intelligence analysis.

Objectives
Step-by-Step Guide
Verification

1 Learning Objectives

  • • Understand OpenCTI's knowledge graph architecture
  • • Create and relate STIX 2.1 objects
  • • Build threat actor profiles and campaigns
  • • Analyze relationships between threat entities

2 Prerequisites

  • • Access to OpenCTI instance (demo or local)
  • • Basic understanding of STIX 2.1 format
  • • Familiarity with threat actor tracking concepts

3 Estimated Time

45-60 minutes

1 Access OpenCTI Instance

Access the OpenCTI demo environment or set up locally:

# For demo environment: # URL: https://demo.opencti.io # Username: demo@opencti.io # Password: demo # For local installation (Docker): git clone https://github.com/OpenCTI-Platform/docker.git cd docker docker-compose --file docker-compose.yml up -d # Access at: https://localhost # Default credentials: admin / admin

2 Create Threat Actor Profile

  • • Navigate to "Entities" → "Threat Actors" → "Add Threat Actor"
  • • Create a new threat actor:
    • - Name: "APT-C-39"
    • - Description: "Advanced Persistent Threat targeting financial services"
    • - Sophistication: Advanced
    • - Resource Level: Government
    • - Primary Motivation: Financial gain
  • • Add external references (MITRE ATT&CK group: G0016)

3 Build Campaign and Add IOCs

  • • Create a new Campaign:
    • - Name: "Operation Bank Heist"
    • - Description: "Phishing campaign targeting European banks"
    • - First seen: Last month
  • • Link Campaign to Threat Actor ("attributed-to" relationship)
  • • Add IOCs to the campaign:
    # Indicator 1: Malicious Domain Type: Domain Value: secure-banking-update.com Pattern: [domain-name:value = 'secure-banking-update.com'] # Indicator 2: Malicious IP Type: IPv4-Addr Value: 203.0.113.45 Pattern: [ipv4-addr:value = '203.0.113.45'] # Indicator 3: Malware Hash Type: File Value: invoice_loader.exe (SHA256: e3b0c44298fc1c149...) Pattern: [file:hashes.'SHA-256' = 'e3b0c44298fc1c149...']

4 Map ATT&CK Techniques

  • • Navigate to "Knowledge" → "Attack Patterns"
  • • Search for and add relevant ATT&CK techniques:
    • - T1566.001: Spearphishing Attachment
    • - T1204.002: Malicious File
    • - T1059.001: PowerShell
    • - T1071.001: Web Protocols
  • • Create relationships: Campaign "uses" these techniques
  • • Add kill chain phases to techniques

5 Create Relationships Graph

  • • Navigate to your Campaign entity
  • • Click "Knowledge" tab to view relationships
  • • Add additional relationships:
    • - Campaign targets "Sector: Financial Services"
    • - Campaign uses "Malware: Emotet"
    • - Campaign originates-from "Country: North Korea"
  • • Export the graph view for reporting

1 Lab Completion Checklist

Verify you have completed all required steps:

  • ✓ Created a detailed threat actor profile
  • ✓ Built a campaign with multiple IOCs
  • ✓ Mapped at least 4 ATT&CK techniques
  • ✓ Established relationships between entities
  • ✓ Exported a knowledge graph visualization

2 Knowledge Check

Answer these questions to confirm understanding:

  • 1. How does OpenCTI's knowledge graph differ from MISP's event-based model?
  • 2. What are the main STIX 2.1 object types in OpenCTI?
  • 3. How does relationship mapping enhance threat intelligence?
  • 4. What are the benefits of native STIX 2.1 support?

Demo Environment Access

Use these credentials to access the live demo environments for both platforms:

MISP Demo

URL: https://demo.misp.cti-training.com

User: student

Pass: CTI2026!

OpenCTI Demo

URL: https://demo.opencti.cti-training.com

User: analyst

Pass: OpenCTI2026!

Integration Lab

MISP-OpenCTI Connector

Sync data between platforms

Sample Data

Pre-loaded with:

• 50+ threat actor profiles

• 200+ campaigns & IOCs

Demo environments reset every 24 hours. Data is synthetic and for training purposes only.

Lab 3: Integration & Automation

Connecting MISP and OpenCTI

Learn how to integrate both platforms for enhanced threat intelligence workflows.

1 MISP to OpenCTI Connector

Configure the MISP connector in OpenCTI:

# OpenCTI MISP Connector Configuration 1. In OpenCTI, navigate to "Data" → "Connectors" 2. Click "Add a connector" and select "MISP" 3. Configure connection parameters: - MISP URL: https://your-misp-instance.com - MISP Key: Your_MISP_Auth_Key_Here - SSL Verification: Enabled - Use Proxy: If required 4. Configure ingestion settings: - Import only with tag: "opencti:import=true" - Create indicators: Yes - Create observables: Yes - Create reports: Yes 5. Enable the connector and run manually first

2 OpenCTI to MISP Export

  • • In OpenCTI, select entities to export
  • • Use "Export" function with STIX2 format
  • • Import STIX2 bundle into MISP:
  • # Using MISP API to import STIX2 curl -X POST \ https://misp.example.com/events/upload_stix \ -H 'Authorization: YOUR_MISP_KEY' \ -H 'Content-Type: application/json' \ -d @stix2-bundle.json

3 Automated Workflow Example

Create an automated intelligence pipeline:

# Python script for MISP-OpenCTI sync import requests import json from pycti import OpenCTIApiClient from pymisp import PyMISP # Initialize connections misp = PyMISP('MISP_URL', 'MISP_KEY', ssl=True) opencti = OpenCTIApiClient( 'OPENCTI_URL', 'OPENCTI_TOKEN' ) # Query MISP for events with specific tag misp_events = misp.search(tags=['to_opencti']) # Process and push to OpenCTI for event in misp_events: # Convert MISP event to STIX2 stix_bundle = convert_misp_to_stix2(event) # Send to OpenCTI opencti.stix2.import_bundle( stix_bundle, update=True ) # Tag as processed in MISP misp.add_tag(event, 'opencti:processed')

Practical Assignments

Complete these assignments to apply your knowledge in real-world scenarios:

Assignment 1: IOC Enrichment Pipeline

Build a pipeline that takes raw IOCs, enriches them with threat intelligence, and creates both MISP events and OpenCTI entities.

  • • Use VirusTotal API for enrichment
  • • Create MISP event with proper taxonomies
  • • Build OpenCTI knowledge graph
  • • Export report in STIX2 format

Assignment 2: Threat Actor Analysis

Research a real threat actor group and create comprehensive profiles in both MISP and OpenCTI.

  • • Identify 5+ campaigns attributed to group
  • • Map to MITRE ATT&CK techniques
  • • Document tools, infrastructure, and TTPs
  • • Create visual relationship graph

Assignment 3: Automation Script

Develop a Python script that automates intelligence sharing between MISP and OpenCTI.

  • • Use MISP and OpenCTI Python libraries
  • • Implement bi-directional sync
  • • Add data validation and deduplication
  • • Create logging and error handling

Key Takeaways

MISP Strengths

Excellent for operational intelligence sharing, IOC distribution, and community collaboration with strong tagging and taxonomy systems.

OpenCTI Advantages

Superior for strategic analysis, relationship mapping, and knowledge management with native STIX 2.1 support and graph database.

Integration Value

Combining both platforms provides comprehensive coverage from tactical IOC sharing to strategic threat analysis and reporting.

Industry Adoption

Both platforms are widely adopted: MISP by CSIRTs and SOCs, OpenCTI by intelligence teams and large enterprises.

Download Lab Materials

Get all lab instructions, sample data, and scripts in one package.

Download Lab Package (ZIP)

Includes: Lab guides, sample STIX bundles, Python scripts, configuration templates