Privacy and Security

From IOC Lists to STIX 2.1: Sharing Indicators the Structured Way

How to turn indicator lists from reports and tickets into STIX 2.1 bundles: defanging, patterns, validity dates, TLP markings and checks before you share.

Saizul Amin
Saizul Amin3 Nov 2026 · 3 min read
From IOC Lists to STIX 2.1: Sharing Indicators the Structured Way

From IOC Lists to STIX 2.1: Sharing Indicators the Structured Way

After an incident or a phishing campaign, someone usually produces a list of indicators of compromise: suspicious IP addresses, domains, URLs, sender addresses and file hashes. The list goes into a ticket, an email to a partner or a sector sharing group. Plain lists are easy to write but awkward to consume, because every recipient has to parse, clean and import them by hand. STIX 2.1, the OASIS standard for cyber threat intelligence, solves that by giving each indicator a structured form that platforms such as MISP, OpenCTI and most SIEMs can import directly.

Start with clean values

Indicators are often defanged so nobody clicks them by accident: hxxps://bad[.]example or 198.51.100[.]7. That is good practice for human-readable text, but machines need the real value. Before conversion, refang the list, remove duplicates, and remove anything that is not attacker infrastructure. Your own internal addresses, private ranges such as 10.0.0.0/8 and documentation ranges should not appear in a shared feed; they confuse recipients and reveal internal layout.

What a STIX indicator contains

A STIX 2.1 indicator is a JSON object with a type, a unique id built from a UUID, created and modified timestamps, a name, indicator types such as malicious-activity, and a pattern that describes what to look for. Patterns use the STIX patterning language, for example [domain-name:value = 'update-check.net'] or [file:hashes.'SHA-256' = '...']. Every indicator also has valid_from and, ideally, valid_until. Infrastructure changes hands quickly; an IP address that hosted a phishing kit last month may serve a legitimate site next month, so open-ended indicators cause false positives for years.

Markings and context

Sharing rules travel with the data. The Traffic Light Protocol tells recipients how widely they may pass indicators on: RED for named recipients only, AMBER for their organisation, GREEN for their community and WHITE without restriction. STIX 2.1 defines standard marking-definition objects for these, referenced from each object. An identity object records who produced the bundle, and relationships can link indicators to a malware family or a vulnerability, so analysts receiving the bundle see more than a list of values.

Bundles

A bundle is simply a container: a JSON object of type bundle with an id and an array of objects. Recipients import the bundle, and their platform creates the indicators, markings and relationships in one step.

Converting in the browser

The IOC to STIX 2.1 Bundle Converter handles the whole process locally. Paste a list or a section of a report, defanged or not. It refangs common styles, recognises IPv4 and IPv6 addresses, domains, URLs, e-mail addresses, MD5, SHA-1, SHA-256 and SHA-512 hashes and CVE IDs, removes duplicates, and marks private and reserved addresses, which it leaves out by default. You choose TLP, validity window, confidence, indicator types and an optional name prefix, organisation and malware family. The result is a STIX 2.1 bundle with correctly escaped patterns, a structure check for ids and references, and clean defanged and refanged lists for tickets and blocklists.

Check before you share

  1. Read every indicator once more. A typo in a domain can point at an innocent site.
  2. Remove shared hosting, CDN and cloud provider addresses unless you are sure; blocking them affects many unrelated services.
  3. Choose a realistic validity window, often 30 to 90 days for network indicators.
  4. Pick the TLP level your sharing agreement requires.
  5. Include enough context in names or descriptions for recipients to judge relevance.

Limits

Conversion does not make an indicator true. STIX gives your intelligence structure; its value still depends on the analysis behind it. Share less, share accurately, and expire old indicators.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages