- Learn more
- Threat Intelligence Platforms 101
- Product track
- Cyber Threat Intelligence
What Are STIX and TAXII?
STIX and TAXII are open standards from the OASIS Cyber Threat Intelligence Technical Committee. OASIS defines STIX as “a language and serialization format used to exchange cyber threat intelligence”. It defines TAXII as “an application protocol for exchanging CTI over HTTPS”. In short, STIX says what the data looks like, and TAXII says how it moves.
The current versions are STIX 2.1 and TAXII 2.1. Both became OASIS Standards on 10 June 2021. Each also works alone: a STIX file can sit on GitHub or travel by email, and a TAXII server can carry other formats. Microsoft calls them the most common open standards for sharing threat intelligence.
| Question | STIX | TAXII |
|---|---|---|
| What it is | A data model and a JSON format | A REST API and the rules for using it |
| What it defines | Objects such as Indicator, Malware and Relationship | Discovery, API roots, collections and query filters |
| How data is written | UTF-8 JSON, every object at the top level | HTTPS with the media type application/taxii+json;version=2.1 |
| Current version | STIX 2.1, OASIS Standard of 10 June 2021 | TAXII 2.1, OASIS Standard of 10 June 2021 |
| What you handle | An object, or a bundle of objects | A collection, read as an envelope of objects |
| Example on this page | A SHA-256 indicator for RedLine Stealer | MITRE’s public ATT&CK TAXII 2.1 server |
What Does a Real STIX Indicator Look Like?
The object below is a STIX 2.1 Indicator built from Brandefense research. Its hash comes from the RedLine Stealer YARA rule in our public IoC repository on GitHub, uploaded on 30 May 2023. The created_by_ref value points to the Brandefense identity object in our open threat actor dataset.
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--0f551bc1-7109-4683-a803-d70594d1d477",
"created": "2026-11-10T09:00:00.000Z",
"modified": "2026-11-10T09:00:00.000Z",
"created_by_ref": "identity--aca20eaa-d689-5f0a-9ab0-02dee5881216",
"name": "RedLine Stealer unpacked sample, SHA-256",
"description": "SHA-256 of an unpacked RedLine Stealer sample, from the YARA rule in the Brandefense IoC repository, uploaded 30 May 2023.",
"indicator_types": ["malicious-activity"],
"pattern": "[file:hashes.'SHA-256' = '32f02983aee882d0b7a04d1c16db805f24e51b210cb1864d730f22715c60119c']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2023-05-30T13:10:00.000Z",
"object_marking_refs": ["marking-definition--613f2e26-407d-48c7-9eca-b8e91df99dc9"]
}
Read it from the top. Each property has one job:
type,spec_versionandidname the object. An ID is the object type, two hyphens and a UUID.patternis the test. It matches any file whose SHA-256 hash equals this value.pattern_typenames the language of the test, here the STIX patterning language.valid_fromis when the indicator starts to apply. We used the time the hash was published, not a time of infection.object_marking_refspoints to TLP:WHITE, a marking that STIX 2.1 defines with a fixed ID. The data is public, so anyone may share it.
Beyond the common fields, an Indicator needs only pattern, pattern_type and valid_from. The pattern does not have to be STIX. The STIX 2.1 pattern type list also names yara, sigma, snort, suricata and pcre, so a YARA or Sigma rule can travel inside an Indicator with its context.
This hash dates from 2023. Our IoC repository says its indicators are not updated, so check their age before you block on them. An old file hash is still useful for hunting past infections and for testing that an import works. For a field-by-field lesson that ends in a validator run, read our STIX 2.1 example walkthrough.
How Do STIX Objects Connect to Each Other?
STIX is a graph. Domain objects and cyber-observable objects are the nodes, and relationships are the edges. The Relationship below says that our Indicator indicates the RedLine Stealer Malware object, which is also part of our open dataset.
{
"type": "relationship",
"spec_version": "2.1",
"id": "relationship--be2cfa8c-b979-4b96-ad22-bc7c33809816",
"created": "2026-11-10T09:00:00.000Z",
"modified": "2026-11-10T09:00:00.000Z",
"created_by_ref": "identity--aca20eaa-d689-5f0a-9ab0-02dee5881216",
"relationship_type": "indicates",
"source_ref": "indicator--0f551bc1-7109-4683-a803-d70594d1d477",
"target_ref": "malware--53ab6406-f5c3-588f-8edd-de6443aef423"
}
The Malware object it points to holds the name, the alias RedLine and a short description. Its source links include MITRE ATT&CK entry S1240 and the US Department of Justice.
In the dataset, 16 more relationships link RedLine Stealer to techniques it uses, such as T1539, Steal Web Session Cookie. So a tool that loads these objects can show an analyst a malware family and its behavior, not a bare hash. Our RedLine Stealer profile has the same facts in readable form.
- Domain objects (18)Attack Pattern, Campaign, Indicator, Intrusion Set, Malware, Report, Threat Actor, Vulnerability and more
- Cyber-observable objects (18)Facts such as File, Domain Name, IPv4 Address, URL and Process
- Relationship objects (2)Relationship, and Sighting for something seen
- Meta objectsMarking Definition, Language Content and Extension Definition
- BundleA wrapper that carries objects but adds no shared context
OASIS lists 18 domain objects in STIX 2.1, and the specification adds Incident as a stub with no incident fields yet. Version 2.1 also lets cyber-observable objects stand on their own. In STIX 2.0 they could only sit inside an Observed Data object.
We put four objects in one bundle: the identity, the malware, the indicator and the relationship. Then we ran the OASIS stix2-validator 3.2.0 on 10 November 2026. The Indicator alone passed with --strict, and the bundle was valid with three warnings.
Two warnings flag the version 5 UUIDs in our dataset IDs, which keep each profile’s ID the same between builds. STIX 2.1 says domain objects should use version 4 and allows other versions with a unique namespace. The third warning asks for a hash of a linked web page. With --strict, all three become errors, so ask which mode a partner’s platform enforces before you send data.
Same Malware, Two IDs: Why Do Feeds Need Deduplication?
A STIX ID belongs to the producer, not to the threat. MITRE’s TAXII server describes RedLine Stealer as malware--8c8e8b01-b4b1-479b-a7a9-78c40a12b916. Our dataset describes it as malware--53ab6406-f5c3-588f-8edd-de6443aef423. Load both feeds into a platform that matches on ID, and you get two RedLine records.
A shared outside key solves this. Both objects point to ATT&CK software S1240, but in different shapes. MITRE puts it in external_id under the source name mitre-attack, while ours carries it in the reference URL and description. Normalize such keys before you merge, and keep each producer’s object so you can trace who said what.
How Does TAXII 2.1 Work?
A TAXII server publishes one or more API roots. Each API root is a separate instance of the API at its own URL, and it holds collections. A collection is a store of objects that clients read from, and sometimes write to, in a request and response pattern. TAXII 2.1 reserves the words for channels, a publish and subscribe model, but does not define them yet.
Every request runs over HTTPS and must name a TAXII media type in the Accept header. For version 2.1 that is application/taxii+json;version=2.1, and every endpoint path ends with a slash. HTTP Basic is the suggested login: clients must support it, and servers are encouraged to. Other schemes are allowed, such as the API key that Microsoft Sentinel’s export connector offers or the PKI certificates that CISA’s sharing service requires.
| Endpoint | Method | What it returns |
|---|---|---|
/taxii2/ |
GET | Discovery: the server title and its API roots |
{api-root}/ |
GET | Details of one API root |
{api-root}/collections/ |
GET | The collections you can see, each with can_read and can_write |
{api-root}/collections/{id}/ |
GET | Details of one collection, such as its title and read and write rights |
{api-root}/collections/{id}/manifest/ |
GET | Object IDs, versions and dates added, without the objects |
{api-root}/collections/{id}/objects/ |
GET, POST | Objects in an envelope; POST adds objects |
{api-root}/collections/{id}/objects/{object-id}/ |
GET, DELETE | One object, or its removal |
{api-root}/collections/{id}/objects/{object-id}/versions/ |
GET | The list of versions of one object |
{api-root}/status/{status-id}/ |
GET | Whether objects you posted were accepted |
OASIS designed TAXII to support the widely used sharing models:
- Hub and spoke: one hub relays data for all members.
- Source and subscriber: one producer feeds many readers.
- Peer to peer: members share with each other directly.
Which model applies depends on the sharing group, not on the protocol.
A Real TAXII 2.1 Session, Step by Step
MITRE runs a public, read-only TAXII 2.1 server for ATT&CK, so you can try each step without an account. We ran these requests on 10 November 2026. The responses below are trimmed.
Step 1 asks the discovery endpoint which API roots exist:
curl -s -H "Accept: application/taxii+json;version=2.1" \
https://attack-taxii.mitre.org/taxii2/
{"title": "MITRE ATT&CK TAXII 2.1",
"default": "/api/v21",
"api_roots": ["/api/v21", "/api/v21/attack-1.0", ...]}
The server listed 47 API roots: the default /api/v21 and 46 named after ATT&CK releases, such as /api/v21/attack-17.1. A release root lets you pin one version of ATT&CK.
Step 2 lists the collections under the default root:
curl -s -H "Accept: application/taxii+json;version=2.1" \
https://attack-taxii.mitre.org/api/v21/collections/
Three collections came back: Enterprise ATT&CK, Mobile ATT&CK and ICS ATT&CK. Each says "can_read": true and "can_write": false, so you can read but not post. The Enterprise ID is x-mitre-collection--1f5f1533-f617-4ca8-9ab4-6a02367fa019.
Step 3 asks that collection for malware objects, two at a time, and prints the headers too:
C=x-mitre-collection--1f5f1533-f617-4ca8-9ab4-6a02367fa019
curl -s -g -D - -H "Accept: application/taxii+json;version=2.1" \
"https://attack-taxii.mitre.org/api/v21/collections/$C/objects/?match[type]=malware&limit=2"
x-taxii-date-added-first: 2021-06-30T14:44:35.055000Z
x-taxii-date-added-last: 2022-08-11T22:00:20.194000Z
{"more": true, "next": "1",
"objects": [{"type": "malware", "name": "PyDCrypt", ...},
{"type": "malware", "name": "Nebulae", ...}]}
The -g option stops curl from reading the square brackets as a pattern. The envelope says "more": true, so another page exists. Send the same request with &next=1 to get it. The two headers give the date-added range of the page.
Step 4 lets a library do the paging. The taxii2-client library from the OASIS repositories installs with pip install taxii2-client. This script, run with version 2.3.0, reads every malware object in the Enterprise collection, 200 at a time:
from taxii2client.v21 import Collection, as_pages
URL = ("https://attack-taxii.mitre.org/api/v21/collections/"
"x-mitre-collection--1f5f1533-f617-4ca8-9ab4-6a02367fa019/")
collection = Collection(URL)
found = 0
for envelope in as_pages(collection.get_objects, per_request=200, type="malware"):
for obj in envelope.get("objects", []):
found += 1
if obj["name"] == "RedLine Stealer":
print(obj["id"], obj["modified"])
print(found, "malware objects")
On 10 November 2026 it printed 750 malware objects. RedLine Stealer was among them, with the MITRE ID quoted in the deduplication section above. MITRE last changed that object on 24 October 2025.
How Do You Poll a TAXII Feed Without Gaps or Repeats?
Connectors read a feed on a schedule, such as the polling frequency you set in Microsoft Sentinel. The hard part is knowing where the last run stopped. TAXII 2.1 gives you the parts for a clean loop:
- Start with added_afterOn the first run, set it to how far back you want to go. It filters on the time an object was added to the collection, not on dates inside the STIX object.
- Page with limit and nextRepeat the same request with the next value while the envelope says more is true.
- Save a cursorKeep the X-TAXII-Date-Added-Last header of the last page and send it as added_after on the next run.
- Ask for the version you needBy default you get the latest version of each object. Ask for all versions only when you track changes.
- Filter by spec versionSend match[spec_version]=2.1 if your tools cannot read STIX 2.0 objects.
- Handle revoked objectsA producer can revoke an object. Remove or expire whatever you built on it.
TAXII 2.1 says servers must return objects oldest first, by the date they were added. Not every server does. On 10 November 2026 the manifest of MITRE’s Enterprise collection listed its 750 malware objects out of date-added order. Treat the cursor as a hint, keep the IDs and versions you already hold, and skip repeats.
What Changed Between STIX 1.x, 2.0 and 2.1?
STIX and TAXII 1.x used XML. OASIS says certain XML constructs made them hard to implement, so version 2 moved to JSON. In 2016 the committee also merged STIX with CybOX, the older format for observables, whose objects became STIX cyber-observables.
| Version | Format | What changed |
|---|---|---|
| STIX 1.x and TAXII 1.x | XML | Objects could be nested inside other objects; observables were a separate standard, CybOX |
| STIX 2.0 | JSON | Every object at the top level, linked by Relationship objects; observables only inside Observed Data |
| STIX 2.1 | JSON | New objects such as Grouping, Infrastructure, Location, Malware Analysis, Note and Opinion; observables at the top level; a confidence property |
| TAXII 2.1 | JSON over HTTPS | Discovery moved from /taxii/ to /taxii2/; new media types; an envelope instead of a bundle; new DELETE and versions endpoints; limit and next paging |
Check the versions on both ends before you connect. Microsoft Sentinel, for example, imports from TAXII 2.0 and 2.1 servers but exports only over TAXII 2.1.
Who Shares Threat Data Over STIX and TAXII?
| Who | What they share or accept | What you need |
|---|---|---|
| CISA Automated Indicator Sharing (AIS) | A free, real-time exchange of machine-readable indicators and defensive measures between public and private-sector organizations | Signed terms of use, a TAXII 2.1 client, a PKI certificate from a Federal Bridge certificate authority, an interconnection agreement and your IP address |
| MITRE ATT&CK | The ATT&CK knowledge base as STIX 2.1 objects | Nothing: a public, read-only TAXII 2.1 server |
| Microsoft Sentinel | Imports indicators from TAXII 2.0 and 2.1 servers; exports over TAXII 2.1 | An API root URL and collection ID, plus a user name and password if the server asks |
| Brandefense open datasets | Threat groups, malware, ATT&CK techniques and exploited or high-severity CVEs as STIX 2.1 bundles, free under CC BY 4.0 | Nothing: download the bundle file from GitHub, no TAXII needed |
Some servers add their own rules. Microsoft notes that FS-ISAC, for example, requires the IP addresses of the Sentinel TAXII client on its allowlist.
When we read our threat actor dataset on 10 November 2026, its STIX 2.1 bundle held 2,033 objects. That is 80 intrusion sets for 52 APT and 28 ransomware groups, 59 malware families, 358 attack patterns, 1,535 relationships and one identity. The exploited vulnerabilities dataset adds 93 Vulnerability objects.
How Do You Connect a STIX/TAXII Feed?
- Get the API root and collection IDProviders list them in their documentation. Some give only a discovery URL, which you can read with curl.
- Test by hand firstRun the three curl requests above against the provider: discovery, collections, then one small objects call with limit.
- Match the versionsAgree on TAXII 2.0 or 2.1, and on the STIX spec_version your tools can read.
- Set up accessUse the credentials, client certificate or API key the server asks for. Some servers accept only listed IP addresses.
- Send each object type to the right toolIndicators with patterns go to the SIEM, EDR or firewall. Groups, malware and reports go to the threat intelligence platform.
- Respect the markingsRead object_marking_refs. Keep TLP:AMBER and TLP:RED objects out of places their label does not allow, such as partner exports.
- Expire and reviewHonor valid_until and revoked, and set your own age limit for hashes, domains and IP addresses.
- Measure the valueCount matches per collection, and drop collections that only add noise.
Standards make data portable, not correct. A valid bundle can still hold stale or wrong indicators. A Bundle also says nothing about how its objects relate; OASIS points to the Grouping object when objects share a context. For the platform side, see our threat intelligence platforms guide, and for a hands-on setup, our OpenCTI and MISP lab.
How Do STIX and TAXII Relate to Other Terms?
| Term | What it is | Link with STIX and TAXII |
|---|---|---|
| Indicator of compromise | A sign of an intrusion, such as a hash, domain or IP address | A STIX Indicator wraps the value in a pattern, with dates, a producer and links |
| Threat feed | A stream of threat data from one source | TAXII is one way to deliver a feed, with STIX as the content |
| Threat intelligence platform TIP definition | A tool that collects, links and shares intelligence | Can read collections over TAXII and keep the STIX graph |
| Traffic Light Protocol | FIRST’s labels for how far information may be shared | STIX 2.1 defines fixed marking objects for TLP:WHITE, GREEN, AMBER and RED; TLP 2.0, in force since August 2022, uses TLP:CLEAR and adds TLP:AMBER+STRICT |
| MITRE ATT&CK | A knowledge base of attacker tactics and techniques | Published as STIX 2.1 objects and served over TAXII 2.1 |
| SIEM | A system that collects and searches security logs | Matches STIX indicators against your logs |
Brandefense offers a RESTful API with STIX 2.0 and TAXII 2.1 support, and our integrations include TAXII connections for Microsoft Sentinel, IBM QRadar and FortiGate. Read more about Brandefense Cyber Threat Intelligence.
Also Called
- STIX
- TAXII
Frequently Asked Questions
What is the difference between STIX and TAXII?
STIX is the language and format that describes threat intelligence as JSON objects, such as an indicator linked to a malware family. TAXII is the protocol that moves those objects between systems over HTTPS, through API roots and collections. You can use STIX without TAXII, for example as a file.
What do STIX and TAXII stand for?
STIX stands for Structured Threat Information Expression. TAXII stands for Trusted Automated Exchange of Intelligence Information. Both are OASIS standards, and the current versions, STIX 2.1 and TAXII 2.1, became OASIS Standards in June 2021.
What is a TAXII server?
A TAXII server is a web service that holds threat intelligence in collections and answers TAXII requests over HTTPS. A client finds its API roots at the /taxii2/ discovery endpoint, then reads or posts objects. MITRE runs a public, read-only TAXII 2.1 server for ATT&CK.
Is a STIX/TAXII feed the same as a threat feed?
It is one kind of threat feed. A threat feed is any stream of threat data, and it can be a plain list of IP addresses or hashes. A STIX/TAXII feed uses a standard shape, so each indicator can carry its dates, producer, sharing label and links.
Can a STIX indicator hold a YARA or Sigma rule?
Yes. The pattern_type field of a STIX 2.1 Indicator can name yara, sigma, snort, suricata or pcre as well as stix. The rule goes in the pattern field, and the Indicator adds the dates, producer and relationships around it.
Which versions of STIX and TAXII should I use?
Use STIX 2.1 and TAXII 2.1, the current OASIS Standards, when both ends support them. Version 1.x used XML, while 2.x uses JSON. Some tools still accept 2.0 as well: Microsoft Sentinel, for example, imports from TAXII 2.0 and 2.1 servers.
Sources
- STIX Version 2.1, OASIS1
- TAXII Version 2.1, OASIS2
- Introduction to STIX, OASIS Cyber Threat Intelligence TC3
- Introduction to TAXII, OASIS Cyber Threat Intelligence TC4
- Automated Indicator Sharing (AIS), CISA5
- ATT&CK Data and Tools, MITRE ATT&CK6
- Use STIX/TAXII to import and export threat intelligence in Microsoft Sentinel, Microsoft Learn7
- Threat Actor Dataset (STIX 2.1 bundle), Brandefense on GitHub8
