You are reading the documentation of OpenCTI 7.260309 LTS · 7.260309.0-lts.8, supported until 2027-04.Latest is 7.261119.0 →
Concept

Data processing

What OpenCTI does to each object on its way in, from the STIX bundle to the knowledge base, why it explains what analysts see, and what administrators set to control it.

OpenCTIFor CTI analysts and administrators

OpenCTI does not store data as it arrives. Each object from a connector, a feed, a file or another platform is checked, matched against what you already have, and written within the trust of its source. Once it is written, background processes go on with it: they infer relationships, age indicators and run your automations. This page follows an object through these steps. It explains what you see as an analyst, such as a report that fills in over a few minutes or a feed that does not overwrite your assessment. It also lists what administrators set to control each step.

The path of an object

SOURCESQUEUEWRITINGKNOWLEDGEAFTER WRITINGSourceConnector, feed, file, platformSplit bundleOne object per messageWorkerSends objects to the APIPlatformReferences, markings, duplicates,confidenceKnowledge baseCreated or updatedBackground processesRules, decay, playbooks
  1. Source → Split bundle: STIX bundle
  2. Split bundle → Worker: fewest references first
  3. Worker → Platform: API call
  4. Platform → Knowledge base: write
  5. Knowledge base → Background processes: live stream
  6. Background processes → Platform: new knowledge
A STIX bundle is split into one message per object, each written by a worker through the platform checks, then consolidated by background processes

Most data arrives as a Structured Threat Information Expression (STIX) 2.1 bundle. Take Example CERT's advisory "Velvet Harbor targets hotel booking systems", with its intrusion set, malware, indicators and relationships:

  1. The bundle is split. It becomes one message per object, ordered so that an object comes after the objects it refers to: the label hotel-sector and the author Example CERT before the report that points to them.
  2. Workers write each object. Several workers take the messages from the queue in parallel and send each object to the platform, as the user of the connector, the feed or the person who imported the file.
  3. References are resolved. The platform finds each object the incoming one refers to. A relationship whose source or target is missing is rejected and tried again later. Another missing reference, such as a label or an object of a report, can hold the object back for a few attempts; then the platform writes it without that reference.
  4. Access is checked. The user must hold every marking of the object, or the object is rejected. An Indicator must also have a valid pattern that no exclusion list excludes.
  5. Duplicates are resolved. The platform looks for an object it already has. It creates the object, or updates the existing one within the limits of confidence.
  6. The change is published. Each creation and update becomes an event in the live stream, which the background processes, the streams and the notifications read.

How the platform, its workers and its queues carry these steps is in How OpenCTI works.

When the data goes to a draft instead, as an import from a file usually does, steps 2 to 5 happen inside the draft and nothing reaches the live stream. Approving the draft sends its content through the same path, as the user who approved it.

What it explains for your analysis

What you seeWhyWhere it is set
A report appears, then its content fills in over a few minutesObjects are written one by one, by several workers at onceNot configurable
A report lacks an object its source listedThe object was rejected (a marking its source may not write, an excluded or invalid indicator), or arrived too lateThe connector user's groups, Keep benign values out of indicators
A feed did not overwrite the description or the confidence you setThe feed's confidence, capped at its max confidence level, is lower than the object's confidenceReliability and confidence
Two sources about Velvet Harbor point to the same Intrusion SetThe name of one is an alias of the otherDeduplication
Velvet Harbour and Velvet Harbor Group stay separate from Velvet HarborTheir names are not aliases of each other yetMerge them, as Merging explains
A relationship appears that nobody createdAn inference rule derived it from existing factsTurn inference rules on or off
An indicator's score drops, then the indicator is revokedIts decay rule lowers the score over timeAge indicators with decay rules
A partner does not see a report you seeMarkings or organizations hide it from themHow OpenCTI decides who sees what

Deduplication

The platform identifies each object by a few properties, such as the name and aliases of an Intrusion Set or the value of an IP address. Data that matches an existing object enriches it instead of creating a copy: the report keeps its own link to it, and the object gains the new source's details.

Relationships match on their type, their source and their target. When they have dates, the start and stop times must also be within 30 days of the existing ones. So "Velvet Harbor uses Spearphishing Attachment from March 2025" and the same link starting in October 2025 stay two relationships, which is how you follow an actor's techniques over time. The properties of each type are in Deduplication.

Confidence levels

Every user, and so every connector, feed and synchronizer, has a max confidence level, set on its groups or on itself. It caps the confidence of what the user creates. When an object already exists, an update whose confidence, capped at its source's max confidence level, is equal to or higher than the object's confidence replaces its values. An update below it can only fill fields that are still empty and add labels and external references. A community feed at 40 cannot overwrite the Intrusion Set your team rated 80. See Reliability and confidence.

Markings and organizations

Markings, such as the Traffic Light Protocol (TLP) levels, classify data. A user only sees, and can only write, data whose markings their groups allow: a connector whose user may not write TLP:RED loses every TLP:RED object of its source. With the Enterprise Edition, organizations add a second barrier: an object shared with some organizations is only visible to their members, and a report or a case shared with an organization shares its content too. See How OpenCTI decides who sees what.

Merging

Some duplicates cannot be recognized: Velvet Harbour and Velvet Harbor Group are the same actor as Velvet Harbor for you, but nothing in their names says so. A user with the Merge knowledge capability merges them. Select two to four entities of the same type in a list and choose Merge. You keep one entity, and the others are merged into it: their names become aliases, and their relationships and containers move to the kept entity. See Merge duplicates.

Inference rules

The rules engine derives knowledge from what you have. For example, when an Indicator indicates Velvet Harbor and is sighted at Grand Meridian Hotels, a rule infers that Velvet Harbor targets Grand Meridian Hotels. Another rule raises an Incident when a valid Indicator is sighted. Every rule is off until an administrator turns it on:

  • Turning a rule on applies it to all existing data in the background, then to every change.
  • Turning a rule off deletes everything it inferred.

Inferred knowledge is marked as such, with the rule and the facts it comes from. See How OpenCTI infers new relationships, and Turn inference rules on or off to turn rules on.

Indicator decay

An Indicator loses value with time. Its decay rule, chosen by the type of observable it detects, lowers its score over time and revokes it when the score reaches the revoke score. A source that sends the indicator again with a new score restarts the decay. See How indicators age and expire and Age indicators with decay rules.

What administrators control

Most of these steps follow settings that administrators own. Each one changes what analysts get:

SettingEffectWhere
Max confidence level of each connector's userWhich sources can overwrite which knowledgeCreate accounts for integrations, Organize users in groups
Markings allowed to each connector's groupsWhich classified objects a source can bring inOrganize users in groups, Restrict access with markings
Exclusion listsIndicators that are never created, such as your own IP rangesKeep benign values out of indicators
Inference rulesThe relationships the platform derivesTurn inference rules on or off
Decay rulesHow fast indicators lose their score, and when they are revokedAge indicators with decay rules
Relationship date window: relations_deduplication:past_days and relations_deduplication:next_days (RELATIONS_DEDUPLICATION__PAST_DAYS, RELATIONS_DEDUPLICATION__NEXT_DAYS), 30 days eachWhen two dated relationships count as oneFunctional customization
PlaybooksYour own processing steps on incoming dataAutomate with playbooks
Retention rulesWhich data is deleted after a whileRetention

What's next

NextDeduplication
OpenCTI
Cyber threat intelligence as a knowledge graph: ingest, analyze, automate, share.

Published

Overview