The OpenCTI data model: STIX, observables, indicators, and TLP.
This chapter addresses three common questions: which object type to create, when a relationship is justified, and how to preserve confidence, time, and sharing restrictions. You should finish able to turn a report passage into data that can be checked, rather than simply filling in fields.
On a first visit to OpenCTI, the long menu of unfamiliar, similar-looking terms can be more intimidating than the software itself. Why do you need Observable, Indicator, Report, and Relationship just to record a suspicious domain? These categories help your future self distinguish what was observed, what is believed, and what you intend to do with it.
This chapter follows the official data model and uses the handbook's fictional SecTools Lab scenario. Interface fields can change with version, permissions, and administrator settings. The examples explain modeling decisions; conceptual examples are not presented as observed platform output.
Break a sentence into objects and relationships
Suppose a fictional report says: ‘Demo Intrusion Set used Demo Malware in a teaching incident, and investigators separately recorded login.example.’ This gives us at least four separate objects and one usage relationship that needs supporting evidence.
| Scenario item | Suitable type | Question it answers |
|---|---|---|
| SecTools Lab teaching report | Report | Which analysis presented these clues? |
| Demo Intrusion Set | Intrusion Set | Which activities are treated by analysts as a related set of behavior? |
| Demo Malware | Malware | Which malware concept does the report discuss? |
| login.example | Domain Name | Which specific domain value was recorded? |
| The intrusion set uses the malware | Relationship: uses | How are the two objects related, and in which direction? |
OpenCTI's data model is based on STIX 2.1 with platform extensions. SDOs express threat intelligence concepts, SCOs express technical observable objects, and SROs express relationships or sightings. Start by recognizing their roles; you do not need to memorize every type at once. Official data model
A report containing a domain does not establish that the domain belongs to the intrusion set. Their appearance in the same paragraph does not justify relationships the source never stated. A graph is valuable when its connections can be explained, not when it has the most lines.
Observable and indicator: a recorded value and a detection judgment.
An observable is a technical item you record, such as a domain or IP address. An indicator includes a pattern used to identify activity. Keeping them separate prevents the assumption that everything in the database must be malicious.
Observable value: login.example
Indicator pattern: [domain-name:value = 'login.example']
Analytical rationale: the teaching scenario assumes this domain is relevant to activity under investigation
Usage restriction: SecTools Lab exercise only; never use it as a real blocking listIf a source only says that a sample queried a domain, preserve the observable and the original statement first. Creating an indicator also requires considering the evidence, validity period, and cost of false positives. ‘This domain deserves investigation’ does not mean ‘every host that contacted it is compromised’; that conclusion requires evidence from the actual environment. Check pattern syntax and required object properties against the STIX 2.1 specification.
A reliable source can still make an uncertain claim.
Reliability evaluates the source; confidence evaluates a particular piece of information. You may trust a research team over time while remaining cautious about one attribution claim. An unfamiliar source may also provide a specific observation that independent verification supports strongly. OpenCTI's confidence mechanism affects data processing, and accounts can be subject to a maximum confidence level. Official reliability and confidence guidance
Agree on simple scoring criteria before choosing numbers. The following is a teaching convention, not an OpenCTI default:
- Low confidence: A single, unchecked statement, retained as a lead for investigation.
- Medium confidence: Evidence is available for inspection, but important parts lack independent support.
- High confidence: Several pieces of evidence support one another, with reasoning and checks for counterexamples recorded.
Often, the most useful information is not the number ‘80,’ but why the score is 80 today and what new evidence would change it. Preserve unknowns as unknowns. Filling every blank with high confidence only makes later automation harder to trust.
Do not mistake an import date for an incident date.
The platform creation time created_at, source creation time created, and activity observation time first_seen/last_seen answer different questions. Source and platform updates also have distinct modified, updated_at fields. Available date fields depend on the object type. Official date definitions
Suppose an incident occurred on November 3, its report was published on November 10, and you imported it on November 27. A dashboard grouped by platform creation time may show a November 27 spike. That means many records were added that day; it does not establish that attacks suddenly increased that day. This distinction is easy to miss when reading charts.
Record time zones and precision in handover notes. If a source provides only a date, do not invent observation times accurate to the second. If a timestamp is required, document the conversion convention you used. Honest uncertainty is more useful than a polished but misleading timeline.
TLP defines sharing boundaries, not severity.
TLP:RED does not mean a threat is the most dangerous, and TLP:CLEAR does not mean information is trustworthy. Under FIRST TLP 2.0, RED is restricted to the original recipients. AMBER permits need-to-know sharing within the recipients' organizations and with their clients; AMBER+STRICT restricts sharing to the organization. GREEN permits sharing within the relevant community, but not public release. CLEAR adds no TLP sharing restriction, while other applicable restrictions still apply. Official FIRST TLP guidance
Our public fictional teaching materials can be identified as original educational content. If you use a real partner report instead, retain its markings and additional conditions. Do not downgrade markings just to make a record visible to colleagues, or assume that marking a report automatically completes every access-control task. Verify visibility using the relevant accounts.
Check quality before expanding the dataset.
Search for existing objects before creating new ones. OpenCTI deduplicates according to object type and specific fields; names, aliases, and report publication dates may participate in that decision. Changing a display name alone is not a reliable way to determine whether something is new data. Official deduplication rules
Try a small team exercise: give the same material to two colleagues and ask each to identify its objects and relationships. If one treats a domain as attacker infrastructure and the other treats it only as an unverified lead, ask both to identify the supporting passage. The point is to expose unclear modeling rules, not to decide who knows the interface better. Record the agreed naming and modeling conventions so the discussion does not have to start over next time.
Completion is concrete: choose suitable types for the four example objects, explain the direction of ‘uses,’ distinguish report membership from factual relationships, and record source, confidence, sharing restrictions, and time separately. Then, when a colleague asks whether a record is trustworthy, you can offer more than ‘it is in the system.’
Resolve field questions through both the standard and the implementation.
When an import rejects a field, do not keep changing the data simply until the error disappears. First establish whether you are handling a standard STIX object or an OpenCTI extension, then check which fields your deployed version accepts. This avoids treating one platform version's behavior as the definition of the entire standard.
- Check object semantics: Find Report, Malware, or Relationship in the OASIS STIX 2.1 specification and verify required properties and relationship meaning. Decide what the record represents before deciding how to populate its fields.
- Check accepted platform inputs: Use the OpenCTI data model reference and inspect the GraphQL schema at your deployed version's Git tag. For example, compare
ReportwithReportAddInput. One describes a returned object and the other a creation input; you cannot send every output field back unchanged. - Check vocabulary values: The official taxonomy reference lists field vocabularies. Your platform may have customized options. Confirm actual values before creating a mapping for a CSV Mapper or API script, rather than using translated display labels as stored values.
Finally, create one teaching record, read it back, and compare the input with the result. Keep the platform version, original source, and observations together. At the next upgrade, that evidence helps you distinguish changed data from changed platform behavior.
For TLP sharing audiences, consult the FIRST TLP 2.0 definitions directly. AMBER and AMBER+STRICT, for example, have different scopes. Carry that distinction into sharing decisions and access-control tests instead of relying only on graph colors.
Finished this chapter?
Mark it when you are ready. Opening or scrolling through a chapter does not complete it automatically. You can undo your choice.
Progress is saved only in this browser. No account or automatic device sync. Clearing site data also removes progress.