OpenCTI and MISP integration

Connecting OpenCTI and MISP so intelligence flows both ways under filters that keep MISP as the sharing exchange and OpenCTI as the analysis workbench.

On this page

How OpenCTI and MISP integration works and which connectors it uses

Many teams run MISP for sharing indicators with partners and communities, and OpenCTI for analysis, reporting and the knowledge graph. The goal of the integration is to keep both platforms current without copying the same data back and forth or sending material to a sharing audience it was never meant for. The integration is built from three connectors documented in the OpenCTI connectors repository: the MISP import connector, which pulls events from a MISP instance into OpenCTI; the MISP feed connector, which reads MISP's feed output into OpenCTI; and the MISP Intel stream connector, which sends curated OpenCTI intelligence back to MISP. Before you deploy anything, decide which of the two inbound paths you need, because the import connector and the feed connector serve different access patterns from the same MISP data.

The standard path is connector-based. You configure each connector with the URL and credentials for the MISP instance or feed, the OpenCTI connection settings, and the filters that define what crosses the boundary, then run the connectors alongside your OpenCTI platform. Connectors are container-based workers that talk to OpenCTI through its messaging and API layer, so the standard path needs no custom code. Confirm the exact configuration keys, supported MISP versions and the OpenCTI version each connector expects in the connector's own documentation and the connector manifest, since connector options change between releases. Note that MISP and OpenCTI each have their own release cycles, so check compatibility against the versions you have chosen, not the latest of either.

Filtering is where the design decisions sit. Inbound, decide which MISP events, tags, distribution levels and attribute types enter OpenCTI, so that sharing-only material does not flood the analysis graph. Outbound, the Intel stream connector should send only indicators you have reviewed and are willing to share with the MISP community, usually limited by confidence, TLP marking and indicator type. Set these rules before the first sync, and test them with a small set of known records. Each platform keeps its role: MISP remains the sharing hub for partner communities, and OpenCTI remains the analysis and governance record. Ask your MISP administrator which distribution and sharing-group settings must be honored on import, and document the loop-prevention rules so an indicator pushed out of OpenCTI does not come back in as a new record.

What the MISP and OpenCTI integration needs before setup

Before any connector runs, three systems need settling: the OpenCTI platform and its dependencies, the MISP instance it exchanges with, and the path between them. Each card below is a decision or check that is easy to defer and expensive to change after the connectors are live.

OpenCTI platform and dependencies

OpenCTI needs Elasticsearch 8.0 or OpenSearch 2.9 or later, Redis 7.1 or later, RabbitMQ 3.11 or later, and S3-compatible storage such as MinIO. Confirm that each component is provisioned in the same environment as the platform, sized against the documented minimums, and backed up before the first import. A dependency that is missing or under-sized will stall the import connector silently, so check queue health before judging the integration.

Deployment overview

LTS or regular release choice

Regular releases ship when ready, from daily to weekly, while LTS releases arrive every 6 months and are supported for 1 year. LTS builds require a specific LTS license key and receive only critical bug and security fixes after a one-month stabilization. Decide which line the integration will sit on, confirm with Filigran that your license covers it, and plan the upgrade window so connector versions stay compatible with the platform.

Product life cycle

MISP version and sharing model

MISP 2.5 is the recommended version for new deployments, and MISP 2.4 is end of life with security fixes only, so a 2.4 instance should be upgraded before it is connected. Confirm the MISP version, the sharing groups and distribution levels used for events, and whether the instance syncs with trusted communities. These settings determine what the MISP import connector will receive and what the Intel stream connector may publish back.

MISP download page

API key with a scoped role

Both connectors authenticate to MISP with an API key tied to a user account. Create a dedicated automation user with the narrowest role that can read the events the import needs and write the events the stream needs, rather than reusing an administrator's key. Record who owns the key, when it was issued, and how it is rotated, because a key that outlives its owner will break the integration without warning.

Network paths and TLS trust

The connector host must reach the MISP base URL over HTTPS, and the MISP certificate must be trusted by that host. Confirm firewall rules in both directions for the ports your MISP and OpenCTI deployments use, and install any internal certificate authority into the connector's trust store before testing. Certificate errors are a common cause of failed first runs, so test the path with the same host and credentials the connector will use.

Connector runtime location

The MISP import and MISP feed connectors and the Intel stream connector run as separate processes, typically in containers or on a host you control, and need access to RabbitMQ or the platform API. Decide where they run, who patches them, and how their configuration is stored and secured. Keep them in the same environment as OpenCTI when possible, so that the connector can reach its queue and the MISP instance without crossing an untested network boundary.

Configuration sequence for the MISP connectors

This sequence connects MISP and OpenCTI in both directions, with a dedicated identity for each connector and a check after every step. Each stage confirms that data moved where it should before the next one starts.

  1. Prepare the MISP API key and sync account

    The MISP administrator creates a dedicated sync user rather than reusing a person's account, assigns it the role and sharing groups it needs, and generates an API key for it. Keep the key in your secrets store, not in a shared configuration file. Confirm the account works by calling the MISP API with the key and receiving a valid response for a simple event search. Record which distribution levels and tags this account can see, because the connectors will only receive what this account is permitted to read.

  2. Deploy the MISP import connector

    Deploy the MISP import connector alongside your OpenCTI platform and workers, using the MISP URL and the sync account key. Give the connector a stable identity so its imports are traceable in OpenCTI, and set its scope with the tag, distribution and event filters your team agreed. Start the connector and confirm it reports a successful connection in its logs before expecting data. If it reports authentication or certificate errors, fix them at this stage, because they will otherwise look like empty imports.

  3. Verify imported objects in OpenCTI

    In OpenCTI, open the work queue for the connector and confirm that its import jobs complete without errors. Then check the imported counts for reports, indicators, observables and relationships against a sample MISP event you selected in advance. A match on a known event, including its indicators and linked threat actor or malware objects, shows the scope is working. If counts are much higher than expected, tighten the filters before enabling a recurring import or a MISP feed connector.

  4. Configure the MISP feed connector if needed

    If you also ingest external feeds published by MISP, deploy the MISP feed connector with its own connector identity so its objects can be separated from the full MISP import in OpenCTI. Use a different name and scope from the import connector to avoid duplicate ingestion of the same events. Confirm the feed connector completes at least one run and that the objects it creates carry the identity you set. Skip this step if your only source is the MISP instance itself.

  5. Create the MISP Intel stream filter

    Configure the MISP Intel stream connector in OpenCTI with the MISP URL, the sync account key and a filter that limits which indicators leave OpenCTI. Choose indicator types, confidence or score thresholds, labels and TLP markings deliberately, and keep the filter narrower than your OpenCTI content. Record the filter in your change log so the scope can be reviewed later. Before enabling it, confirm the connector starts and reports no authentication errors.

  6. Verify what reaches MISP

    Create or select a test indicator in OpenCTI that matches the stream filter and confirm it appears in MISP as an attribute in the expected event or with the expected tags. Then create a second indicator that the filter should exclude and confirm it does not appear in MISP. Check the distribution and sharing group on the MISP side, because these determine who can see the data after it leaves OpenCTI. The sequence is complete when both the included and excluded test cases behave as designed.

How data moves between MISP and OpenCTI

The flow starts in a MISP instance, where events and attributes pass through the MISP import and feed connectors into OpenCTI as STIX objects. Import and feed filters decide what reaches the knowledge graph. In the other direction, curated indicators leave OpenCTI through the MISP Intel stream connector, filtered again before anything is written back to MISP. Check both filter points, because they are where each platform keeps its role.

Two filtered paths between MISP and OpenCTI, one into and one out of the knowledge graph.

How MISP events, attributes and distribution map to OpenCTI objects

This table compares each MISP concept with the OpenCTI object it typically becomes after import, and notes where the mapping loses detail. Read it before you enable the MISP import connector, then confirm each row against the connector version you run. The main takeaway is that MISP distribution and sharing rules do not carry over automatically, so access control must be designed in OpenCTI separately.

MISP conceptTypical OpenCTI objectMapping notes to confirm
Event info and metadataReport or groupingEvent title and description usually become a report. Confirm which MISP fields populate report name, published date and external references in your connector version.
Attribute with a file or network valueObservableValue types such as IP addresses, domains, hashes and URLs usually become observables. Confirm the type mapping for less common MISP attribute types.
Attribute flagged for detection (to IDS)IndicatorThe IDS flag and pattern type drive whether an indicator is created. Check how STIX patterns are generated for each attribute type and whether unsupported types are skipped.
MISP tags and taxonomy tagsLabelsTags usually become OpenCTI labels, which keeps taxonomy context searchable. Long or nonstandard tag names may need normalization, so review a sample import.
Galaxy clusters (threat actors, malware, ATT&CK)Threat actors, malware, attack patternsGalaxy links may map to STIX objects or to labels depending on connector version. Confirm which objects are created and whether duplicates merge with existing MITRE ATT&CK data.
Distribution levels and sharing groupsMarkings (TLP) and organization accessMISP distribution is not a one-to-one match for OpenCTI markings. Sharing groups do not carry over as access rules, so map them to TLP and to OpenCTI organization segregation deliberately.
Warning lists and default feedsNot imported as one objectWarning lists are advisory in MISP and are not a native OpenCTI object. Decide whether to use them as labels, filters or a separate feed, and confirm this with the connector documentation.
Attribute comments and context fieldsDescriptions or external referencesFree-text comments and context may be kept as descriptions or lost. Test with representative events, since lossy fields are the most common source of surprise after import.

Filtering so each platform keeps its role

Traffic Light Protocol markings and other STIX marking definitions tell each platform how far a piece of intelligence may travel. Set the marking rules before the first connector runs, because a filter applied after data has been pushed out cannot recall it. Both sides should read the same policy in the same way.

  • Import side: Decide which markings MISP events may carry into OpenCTI, and whether unmarked or lightly marked data is accepted or held for review.
  • Export side: Publish only objects whose marking allows sharing outside your organization, and exclude anything restricted to internal use.
  • Mapping check: Confirm how each connector maps MISP distribution and marking values to STIX markings, since that mapping is what the filter acts on.
  • Default handling: Define what happens to objects that arrive with no marking at all.

Sample imported and exported objects in each direction and confirm that their markings match your sharing policy.

Securing the MISP to OpenCTI connection

Each connector between MISP and OpenCTI is a standing trust path that carries credentials, sharing rules and intelligence in both directions. The cards below cover the controls that keep that path narrow: scoped keys, validated transport, protected tokens, segmented networks, access rules inside OpenCTI, and distribution settings that keep TLP restrictions intact after data moves.

Least-privilege API keys per connector

Give each connector its own MISP API key rather than sharing one administrator key across the import, feed and stream connectors. Confirm which MISP role and sharing group each key belongs to, and whether the key can read only, or can also publish. A stream connector that writes back to MISP needs publish rights, while an import connector usually needs read access only. Rotate keys on a schedule you can document, and disable a key as soon as its connector is retired.

MISP features

TLS certificate validation on every hop

Confirm that each connector verifies the MISP server certificate against a trusted chain, and that the connector does not disable verification to get past a private certificate authority error. Add the internal CA to the connector's trust store instead. Check the same for the OpenCTI endpoint the MISP side calls. Test with an expired or self-signed certificate in a non-production environment to confirm the connector fails closed.

Connector tokens in a secrets manager

Keep MISP keys and OpenCTI tokens out of connector configuration files committed to source control and out of shared environment variables on hosts. Store them in a secrets manager that your platform team already operates, and let the container runtime or orchestrator inject them at start. Restrict who can read the secret, log access to it, and plan a rotation step that updates the MISP side and the OpenCTI side together so a connector does not stop silently.

Network segmentation for the connector path

Place the connectors on a network segment that can reach only the MISP and OpenCTI endpoints they need, along with the message queue and any proxy they depend on. Block other outbound traffic from that segment. Keep MISP's database and Redis off the path entirely, since connectors call the API and do not need direct data store access. Document the allowed flows so a security review can compare them to what is actually open.

Access control on imported data

Imported MISP events become OpenCTI objects that users see through the platform's own permissions. Decide which OpenCTI groups and markings can read data from each MISP source, and confirm that the import connector applies the markings you choose rather than leaving objects open to every user. Organization-based segregation and other controls for sharing communities are Enterprise Edition features, so confirm your license covers the model you need before you design around it.

OpenCTI Enterprise docs

Distribution levels that survive the transfer

Review MISP distribution levels and sharing groups before a stream or import runs, because a MISP event marked for a narrow community can be republished more broadly if the connector maps it without those limits. Check how the TLP markings on MISP attributes are carried into OpenCTI and back out. Test with one event marked for a restricted group and confirm it does not appear in the outbound stream or in any downstream platform.

MISP sharing features

How to test the integration before production traffic

Test the OpenCTI and MISP exchange in stages before any production event crosses the boundary. Start with a small, deliberately chosen set of MISP events, ideally a mix of event types, distribution levels and tags that you already understand, and run them through the MISP import connector and the MISP Intel stream connector in a non-production OpenCTI instance. The goal of the first pass is not volume. It is to confirm that each MISP attribute lands as the expected STIX object in OpenCTI, that the observable and indicator counts match what you counted in MISP, and that relationships such as indicator-based-on, indicator-to-observable links and report or campaign links are created where you expect them. Record the counts and a sample of object identifiers before and after each run so the comparison is repeatable.

Next, prove that the filters work in both directions. Create test events that should be excluded on each side: a TLP level or confidence value that the outbound filter blocks, an object type that the MISP side should never receive, and an event that originates from MISP so it cannot reflect back. Then query MISP through the API or the event list to confirm those items never appear there, and check the OpenCTI connector logs for the rejected entries. Watch for loops: if an indicator created in OpenCTI is pushed to MISP and the MISP import later reads it back, the same record can circulate. Confirm that the original source identifiers and the external reference fields are preserved so a reimported object is recognized as already known. Ask your sharing team to confirm which TLP and distribution settings they require before you test, because those values decide what a correct result looks like.

For the sharing and security teams, write the acceptance evidence down as a short signed record. It should list the MISP event identifiers used, the OpenCTI connector versions and configuration files under test, the before and after object counts, a sample of relationship checks, the filter test results and the loop test result. Include the OpenCTI version you tested, because the supported MISP and connector behavior should be confirmed against the release notes for that version and not assumed. Keep the test data separate from production and note who approved the move to production traffic. Also agree in advance what would stop the rollout, such as an unexpected object type in MISP or any duplicate chain, and confirm that the MISP support and OpenCTI community channels are the places you would raise a defect.

Common MISP and OpenCTI connector failures and their fixes

This table lists the failures teams most often hit when wiring MISP to OpenCTI, with the likely cause and the fix for each. Read it as a checklist: match the symptom you see, check the cause first, and confirm the fix in your own environment before changing production settings.

FailureLikely causeFix
MISP API key rejected or returns no dataThe key was copied incorrectly, belongs to a user without the needed role, or the key was rotated after the connector was configured.Generate a dedicated MISP automation user with read access to the events it needs, put the new key in the connector configuration, and restart the connector.
Connector returns no events despite a valid keyThe MISP user cannot see events because of organization or sharing group restrictions, or the import filters exclude the events that exist.Confirm in MISP that the automation user's organization can see the target events, then review tag, distribution and date filters against a sample event you know should match.
TLS or certificate trust errorsThe MISP certificate is self-signed or issued by an internal CA that is not in the connector container's trust store.Add the internal CA certificate to the connector's trust bundle and keep certificate verification enabled. Disabling verification should be a temporary test step, not a fix.
Connector registered but never consumes workThe connector is not registered with the OpenCTI platform, its token does not match, or it cannot reach RabbitMQ on the expected host and port.Check the connector's logs for registration and RabbitMQ connection errors, confirm the OpenCTI token and URL, and verify the connector shows as active in the platform's connector view.
Messages pile up in queues without being writtenPython workers are not running or are overloaded, so RabbitMQ messages from the import are not processed into the knowledge graph.Confirm worker processes are running and sized for the import volume, then review queue depth during a test import. Scale workers before raising connector batch sizes.
Duplicate objects after repeated feed runsThe same MISP events were imported through more than one path, such as the MISP import connector and a MISP feed connector, or the connector re-reads events without stable identifiers.Choose one ingestion path for each MISP source, scope each connector to a distinct set of events, and check that identifiers are stable before enabling scheduled runs.
Indicators published to MISP with the wrong distributionThe stream connector's default or mapped distribution and TLP values do not match the sharing rules you intended for the target community.Set the distribution and sharing group explicitly in the connector configuration, test with one indicator, and confirm in MISP that it is visible only to the intended audience before enabling the stream.
Stream or import filters drop everythingA filter combines conditions that no object satisfies, such as an incorrect label, an unexpected indicator type, or a confidence threshold above the values in the data.Remove filters one at a time to find the blocking condition, then reintroduce them. Test with a known indicator and check the connector's logs for filtered counts.
Records keep reappearing after MISP deletionDeletions in MISP do not propagate to OpenCTI unless the import and expiry settings are designed for that, so stale indicators remain active.Define how revoked or expired MISP attributes should be handled in OpenCTI, set indicator validity, and review the lifecycle with the team that consumes the indicators downstream.

Questions buyers ask about OpenCTI and MISP integration

What drives the cost of an OpenCTI and MISP integration?

The main cost drivers are how many data flows you build, how much filtering and mapping each one needs, and how many environments must be set up and tested. A one-way import is simpler than a two-way exchange because the stream back to MISP needs filters that decide what leaves your intelligence platform. Other factors include the MISP version and hosting, the number of sharing communities involved, and whether you need custom mapping for data that does not fit the default STIX model cleanly. Costs fall into two groups: one-time work for design, build, testing and handover, and recurring work for upgrades and monitoring. Ask any partner for a quote that lists each connector or flow separately, the filter rules included, and states who operates the platforms after handover.

How long does a standard OpenCTI and MISP integration take?

No researched duration is available for this integration, so the honest answer depends on the drivers. Timing follows the number of flows, the filtering rules agreed with your sharing and detection teams, the state of the MISP instance you connect to, and the size of your OpenCTI deployment. Teams that already run both platforms with stable access and agreed sharing rules move faster than teams still deciding which MISP events may leave the organization. Ask for a written schedule that separates design, build, test in a non-production environment and cutover, and confirm the dependencies on your side, such as access approvals, service accounts and network rules.

What must our team provide before the integration starts?

Your team provides the decisions and access the build depends on. Before work starts, you need a clear rule set for what MISP data should enter OpenCTI and what OpenCTI data may return to MISP, including distribution levels, TLP markings and confidence thresholds. You also need administrator access to both platforms, service accounts with the right permissions, a test environment or test MISP instance where possible, and network paths between the systems. Named owners for sharing decisions and for on-call response matter as much as credentials. Confirm these items with your MISP and OpenCTI administrators at the start, because missing approvals are a common cause of delay.

Can our own team build the OpenCTI and MISP integration in-house?

Yes, if your team has engineers who can operate both platforms and the connector configuration is within their skills. The OpenCTI connectors are published in the OpenCTI connectors repository, and MISP exposes an API described in OpenAPI with the bundled PyMISP library, so the technical path is open. The harder parts are usually the sharing policy, the filter design and ongoing ownership. Ask whether your team has capacity to test changes after each upgrade and to explain to the SOC what each feed contains. A partner can carry the design and build, while your team keeps ownership of the sharing rules and the runbook.

Do we need OpenCTI Enterprise Edition for the MISP connectors?

This integration does not depend on Enterprise Edition for its connectors, and the sources supplied do not say that the MISP import, MISP feed or MISP Intel stream connectors require it. Confirm this against the connector documentation for the version you plan to run. Enterprise Edition matters for other reasons. Since OpenCTI 7.260224.0, defining and using authentication strategies, including SSO, is an Enterprise Edition feature, so if you want single sign-on for analysts, that is a separate licensing decision. Enterprise Edition also adds features such as audit logs, organization-based data segregation and playbooks. Check each against your access and governance requirements before you choose an edition, and read the licensing terms with your procurement team.

What ongoing work follows upgrades of OpenCTI or MISP?

Each platform releases on its own schedule, so an upgrade of either one can change how a connector behaves. OpenCTI uses date-based versions, and its LTS lines are released every 6 months and supported for 1 year, according to the OpenCTI product life cycle documentation. MISP 2.4 is end of life with security fixes only, and MISP 2.5 is the recommended line for new deployments. Upgrades can affect connector compatibility, field mapping, filter behavior and the database layer. Plan regression tests for the flows after each upgrade, keep a record of which connector versions match which platform versions, and assign someone to review release notes for both products. Ask any partner whether the quote includes upgrade testing or whether it is a separate retainer.

How do we keep OpenCTI and MISP each in their intended role?

Filtering is the control that keeps the two platforms in their roles. MISP is typically the place where events are shared and distributed with trusted communities, while OpenCTI is the knowledge graph where your team relates, investigates and governs intelligence. Set the MISP import to bring in only the event types, tags and distribution levels your analysts need, and set the MISP Intel stream to publish only indicators that meet your confidence and TLP rules. Review those filters with your sharing and detection owners on a fixed schedule, because drift in filters is a common source of over-sharing or noisy data. Document the rules in a single place that both administrator teams can read.

Official sources for the MISP and OpenCTI integration

Before you design the MISP and OpenCTI exchange, read the primary sources for both platforms and confirm the versions you will run. The MISP download page states which MISP release is recommended for new deployments and which line has reached end of life, so check it before you choose an install method. MISP 2.5 is the recommended line, and MISP 2.4 receives security fixes only. Compare that against the release notes on the MISP GitHub releases page, which record database migration changes that affect upgrade planning. Confirm the exact MISP version with your own MISP administrator, because the connector behavior you rely on depends on it.

On the OpenCTI side, start with the OpenCTI deployment overview. It lists the platform, workers, RabbitMQ, Redis, Elasticsearch or OpenSearch and S3-compatible storage that the import and stream connectors depend on, and it gives the sizing guidance you need to decide whether your OpenCTI host can absorb a feed from MISP without starving other workers. Also confirm which OpenCTI release line you are on, since the connector repository and the platform release line must be matched. Ask your platform owner to write down both versions, the connector image tags and the MISP feature set you intend to use, and keep that record with your change log.

The MISP features page is the reference for how the exchange should be scoped. It describes distribution levels and sharing groups that apply down to individual attributes, along with the export formats and the API that connectors use, so use it to confirm which fields survive a round trip. Read it alongside your own sharing rules, because the MISP distribution settings you apply determine what OpenCTI is allowed to receive and what the MISP Intel stream connector may publish back. Treat the documentation as the starting point for your acceptance tests: each filter you define should be checked against a known sample event in both directions before production use.

How DeployOpen scopes and delivers the MISP and OpenCTI integration

DeployOpen plans, implements, hardens, documents and supports self-hosted OpenCTI and MISP inside your own infrastructure. We agree the exchange rules in writing before any connector runs, so each platform keeps the role your sharing and intelligence processes need.

How we scope

  • Inventory which MISP events, tags and distribution levels should enter OpenCTI, and which OpenCTI indicators may flow back to MISP.
  • Agree the connector set, filter rules, TLP handling and the OpenCTI and MISP versions the integration will target.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts. Ongoing support is available as a retainer.

How we build

  • Deploy the OpenCTI platform and its dependencies, then configure the MISP import, MISP feed and MISP Intel stream connectors in your environment.
  • Test filters with sample events so private, unshared or low-confidence data does not cross into the other platform unintentionally.
  • Verify round-trip behavior, including duplicate handling, indicator expiry and the mapping of MISP attributes to OpenCTI objects.

How we hand over

  • Document connector configuration, filter logic, data flow diagrams and the rules that decide which platform owns each object.
  • Provide a runbook covering connector failures, queue backlogs, credential rotation and how to add a new sharing community or filter.
  • Walk your security and threat intelligence teams through the configuration so they can review and change it after handover.

How we support

  • Plan upgrades for OpenCTI and MISP separately, checking connector compatibility before moving either platform to a new release.
  • Review filter and distribution changes as sharing agreements evolve, and retest the exchange after each change.
  • Offer continuous testing and upgrade support as a retainer, with the scope of that support agreed in writing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.