IOC to STIX 2.1 Bundle Converter
Paste indicators from a report or ticket, defanged or not, and get a valid STIX 2.1 bundle for a TIP or SIEM, plus clean defanged and refanged lists.
S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho
…
Com es fa
- 1Paste IOCs
Paste a list or a chunk of a report; defanged values are fine.
- 2Check the table
Confirm each value's type and look at notes for private or reserved addresses.
- 3Set the indicator details
Choose TLP, validity window, confidence, indicator types and an optional name prefix.
- 4Add context
Optionally enter your organisation and a related malware family.
- 5Review the bundle
Open the STIX tab and read the structure check result.
- 6Export
Download the bundle JSON and copy the defanged list for your ticket.
Sobre aquesta eina
Indicators of compromise travel between teams as plain lists in reports, chat and tickets, usually defanged so nobody clicks them: hxxps://evil[.]example, 203.0.113[.]5. Threat intelligence platforms, SIEMs and sharing communities such as MISP and ISACs prefer STIX 2.1, the OASIS standard for structured threat data. This converter bridges the two. It reads free text line by line, refangs common defanging styles, recognises IPv4 and IPv6 addresses and ranges, domains, URLs, e-mail addresses, MD5, SHA-1, SHA-256 and SHA-512 hashes and CVE identifiers, and drops duplicates. Each indicator becomes a STIX indicator object with a correct pattern, indicator types, a confidence value, valid_from and valid_until dates, an optional TLP marking and an optional identity for your organisation. A related malware name adds a malware object with indicates relationships, and CVEs become vulnerability objects. The bundle is checked for consistent ids and references, and plain defanged and refanged lists are produced alongside.
Recognising and refanging
Defanged values are restored before classification: hxxp and hxxps become http and https, [.], (.), [dot] and a dot in curly braces become dots, [@] and [at] become @, and [://] becomes ://. Tokens are split on spaces, commas, semicolons, pipes and tabs, so lines copied from tables work. Lines with nothing recognisable are listed as not read, so you can spot a typo. Private, loopback, link-local, multicast and documentation addresses and internal domain suffixes are marked, and by default they are left out, because sharing your own internal addresses as indicators causes confusion and can leak network layout.
The STIX objects
Each IOC becomes an indicator with spec_version 2.1, a random UUID id, created and modified timestamps, a name, indicator_types from the STIX open vocabulary (malicious-activity by default), a pattern such as [ipv4-addr:value = '185.220.101.34'] or [file:hashes.'SHA-256' = '...'], pattern_type stix, valid_from and, unless you choose an open window, valid_until. Single quotes and backslashes in values are escaped as the pattern grammar requires. With the combine option, one indicator per IOC type joins its patterns with OR, which some platforms prefer for large lists.
Markings, identity and relationships
TLP markings use the four marking-definition objects defined in section 7.2.1.4 of the STIX 2.1 specification (WHITE, GREEN, AMBER and RED), included in the bundle and referenced from every object. An organisation name creates an identity object used as created_by_ref. A malware name creates a malware family object linked from each indicator with an indicates relationship, and any CVE in the list becomes a vulnerability object targeted by that malware.
Limits
The converter does not look up or enrich indicators and cannot tell whether an address or domain is really malicious. It writes indicators, not observed-data or cyber observable objects, and it uses TLP 1.0 markings from the core specification rather than the newer TLP 2.0 extension. Review every IOC before sharing: a wrong indicator in a feed can block a legitimate service for every recipient.
Exemple resolt
A defanged report contains ten lines. The converter reads nine IOCs: one URL (https://login-micros0ft.com/owa/auth.php), three IPv4 addresses, one domain (update-check.net), one e-mail address, an MD5 and a SHA-256 hash (both of the harmless EICAR test file) and CVE-2024-3400. One line, see attached notes, is not read. The private address 10.0.4.17 is left out. With TLP:GREEN, 90 days validity from 3 November 2026, confidence 70, the organisation Example SOC and the malware name Test Loader, the bundle holds 7 indicators valid until 1 February 2027, one identity, one TLP marking, one malware object, one vulnerability object and 8 relationships, and the structure check reports no problems.
En resum
- Categoria: Seguretat
- S'executa al navegador, sense registre, sense pujar res.
- La informació que introdueixes es queda al dispositiu.
- Disponible en anglès.
- Contingut revisat per última vegada:
- Font oficial: OASIS STIX Version 2.1 specification
Preguntes freqüents
Which IOC types are recognised?
IPv4 and IPv6 addresses and CIDR ranges, domain names, URLs, e-mail addresses, MD5, SHA-1, SHA-256 and SHA-512 hashes, and CVE identifiers.
Which defanging styles are undone?
hxxp and hxxps, fxp, [.], (.), [dot], (dot), a dot in curly braces, [@], [at], (at), [:] and [://]. If a style is not recognised, the line shows up as not read.
Which TLP version is used?
The TLP 1.0 marking definitions with the fixed ids from the STIX 2.1 specification: WHITE, GREEN, AMBER and RED. They are understood by every STIX 2.1 consumer.
Why are private addresses left out?
They are usually your own systems, not attacker infrastructure, and sharing them can confuse recipients and reveal internal layout. Untick the option to keep them.
Can I import the bundle into MISP or OpenCTI?
Yes, both import STIX 2.1 bundles. Check your platform's import settings for how it treats indicator validity and TLP.
Are my indicators sent anywhere?
No. Nothing is looked up or uploaded; the bundle is built in the browser.
