OpenCTI Connectors

Introduce

Connectors are little programs that connect to OpenCTI dedicate API. Will interact with OpenCTI to keep their state, authenticatre and fulfill their role. To keep their state they can use a data slot dedicated to each connector. It can contain a brief JSON document.

Connectors are the cornerstone of the OpenCTI platform and allow organizations to easily ingest, enrich or export data.

Configure a connector

Most of OpenCTi connector are available in a https://github.com/OpenCTI-Platform/connectorsarrow-up-right. They are grouped by type:

  • external-import: connectors that automatically fetch data from external source to feed into OpenCTI.

  • internal-enrichment: connectors that fetch data from external sources to enrich already existing data. This is typically used by users when clicking the enrichment buttons.

  • internal-export-file: connectors that allow to export data from OpenCTI to a file. They are triggered when a user asks for an export from the platform.

  • internal-import-file: connectors that allow to import data from a file. They are triggered when a user imports a file into the platform.

  • stream : connectors adapting OpenCTI data sharing stream, typically used to send data to tools incompatible with standard feeds (SIEM, SOAR, v.v.)

Parameter

Here is an example of a connector docker-compose.yml file:

Here is an example in a connector config.yml file:

Networking

Connector must be able to reach RabbitMQ on the specified hostname and port. If you have a specific Docker network configuration, please be sure to adapt your docker-compose.yml file in such way that the connector container gets attached to the OpenCTI Network.

Connector token

Create the user

By default in platform, a group name Connectors already exists. Let's create a new user with the name [C] Name of the connector in Settings > Security > Users.

Put the user in the group

Just go to the user you have just created and add it to the Connectors group.

Now, you have get the token of the user displayed in the interface.

Docker activation

You can either directly run the Docker image of connectors or add them to your current docker-compose.yml file. Enable the MISP connector, you can add a new service to your docker-compose.yml file.

Connectors status

The connector status can be displayed in the dedicate section of the platform available in Data > Ingestion > Connectors. You will be able to see the statistics of the RabbitMQ queue of the connector:

Last updated