| Internet-Draft | Safe-IOC Sharing | March 2026 |
| Grimminck | Expires 2 October 2026 | [Page] |
This document codifies a consistent and reversible convention used in the threat intelligence and security communities for sharing potentially malicious indicators of compromise (IOCs), such as URLs, IP addresses, email addresses, and domain names. It describes a safe obfuscation format that reduces the risk of accidental execution or activation when IOCs are displayed or transmitted. These conventions aim to improve interoperability among tools and feeds that exchange threat intelligence data.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 2 October 2026.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document.¶
The secure sharing of malicious artifacts is vital to threat intelligence, open-source intelligence (OSINT), and incident response. However, sharing raw URLs, IP addresses, and email addresses associated with malware or threat actors poses a risk of accidental activation.¶
Participants who routinely share indicators of compromise (IOCs) include security operations center (SOC) analysts, computer emergency response teams (CERTs), OSINT researchers, incident responders, and vendors of threat intelligence platforms and feeds. IOCs appear in email threads, instant-messaging channels, ticketing systems, PDF and HTML reports, blog posts, paste sites, and machine-readable formats such as STIX/TAXII. Both human readers and automated pipelines consume this material.¶
When a raw URI such as "https://malicious-host.example/path" is embedded in those channels, many systems automatically detect it and render it as a clickable or otherwise actionable link. An analyst may then activate the resource unintentionally: navigating to an attacker-controlled URI can reveal the analyst's IP address and organizational affiliation, trigger delivery of malware, or alert the threat actor that a particular indicator is under active investigation. Some mail and web infrastructure pre-fetches or resolves links for scanning or preview purposes, producing the same exposure without any deliberate user action. PDF viewers and rich-text editors may turn strings that resemble URIs into hyperlinks even when the author intended plain text.¶
A longstanding, well-established practice in the security community is to alter IOCs so that they remain human-readable but are not treated as live URIs by typical software: for example, replacing "http" with "hxxp" and "." with "[.]". Many variant spellings exist (e.g., "h**p", different bracketing conventions for dots). That inconsistency hinders reliable parsing, exchange, and automation. This document codifies the most widely adopted spellings and a canonical order of operations so that independent implementations can interoperate. It does not introduce new URI schemes.¶
The character sequences used in this convention (e.g., "hxxp", "hxxps", "fxp") are not URI schemes as defined in Section 3.1 of [RFC3986]. They are not registered in the IANA URI Schemes registry. This document does not recommend or endorse the practice of placing unregistered strings in the syntactic position of a URI scheme; new specifications SHOULD NOT define such strings. Implementations MUST NOT treat the sequences documented here as resolvable URI schemes.¶
This document records an existing operational convention that arose organically in the threat intelligence community and is already in widespread use. The convention predates this standardization effort. The purpose of this document is to improve interoperability among implementations that already follow this convention, not to advocate for its pattern of URI scheme substitution.¶
The authors acknowledge that strings occupying the same syntactic position as a URI scheme create a potential for confusion with the IANA URI Schemes registry. This document SHOULD NOT be cited as precedent for other specifications to place unregistered strings in the URI scheme namespace. The security implications of this namespace overlap, including the possibility of a future registry collision, are discussed in Section 11.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
Obfuscating: The process of altering an indicator so that it cannot be accidentally activated or clicked. The goal is to prevent automatic execution or resolution, not to conceal the content from human readers; the original indicator remains visually recognizable.¶
De-obfuscating: The process of restoring an obfuscated indicator to its original, actionable form.¶
IOC: Indicator of Compromise - data such as a URL, IP address, domain name, email address, or hash associated with malicious activity.¶
Inconsistent obfuscation practices hinder the reliable and automated exchange of threat intelligence. For example:¶
Such inconsistencies reduce the effectiveness of threat detection and response.¶
To prevent nested obfuscation (e.g., "hxxps://example[[.]]example") when an LLM or tool processes the same string twice or in the wrong order, implementations MUST apply transformations in the following strict order of operations. Implementations MUST treat already-obfuscated substrings (e.g., "[.]", "[@]") as opaque and MUST NOT apply transformations to them again; thus, the transformation is idempotent. Using encoded characters (such as %2e for ".") SHOULD be avoided to prevent ambiguity.¶
Identify and replace the scheme first. The following mappings are the canonical set documented by this specification:¶
| Original Scheme | Obfuscated Form |
|---|---|
| http | hxxp |
| https | hxxps |
| ftp | fxp |
These are specific, well-known tokens adopted by convention in the threat intelligence community. Schemes not listed above (e.g., "sftp", "telnet", "ftps") do not yet have widely established obfuscated forms. Implementations encountering such schemes SHOULD leave them unmodified and rely on host-level obfuscation (Steps 2-3) to prevent accidental activation.¶
Identify the "@" symbol in the userinfo subcomponent (per [RFC3986]) and replace it with "[@]". This applies to email addresses and URIs containing userinfo (e.g., "username:password@host").¶
Replace all "." (period) characters in the Host subcomponent with "[.]". This applies to domain names and IPv4 addresses, including standalone values (e.g., "evil.example" or "198.51.100.1" without a scheme). IPv6 addresses enclosed in square brackets (e.g., "[2001:db8::1]") MUST retain their colon-based syntax and brackets; do not alter colons or brackets within the IPv6 literal.¶
Do not process the Path, Query, or Fragment components unless they contain nested URIs that require separate obfuscation. Applying transformations beyond the Host in the primary URI may cause incorrect results.¶
The following uses Augmented BNF (ABNF) per [RFC5234] to illustrate tokens that commonly appear in obfuscated IOC strings. The rules are not an exhaustive registry of every scheme observed in the field; they document the widely used HTTP(S) and FTP forms and the bracketed delimiters. An implementation MAY use this grammar to help validate whether a string is already obfuscated or still requires processing.¶
; Illustrative Safe-IOC tokens (not exhaustive) safe-scheme = "hxxp" / "hxxps" / "fxp" safe-dot = "[" "." "]" safe-at = "[" "@" "]"
A compliant implementation MUST recognize strings containing safe-scheme, safe-dot, and safe-at as obfuscated when those tokens appear in the roles described in this document. A string that requires obfuscation is one that contains literal "http", "https", "." in host/domain contexts, or "@" in userinfo/email contexts without the Safe-IOC bracketing.¶
Tools designed to ingest obfuscated data SHOULD automatically reverse these transformations in a deterministic manner:¶
Longer scheme tokens MUST be reversed before shorter prefixes that are substrings of them (e.g., reverse "hxxps" before "hxxp"). De-obfuscation MUST maintain the original semantics of the data to avoid misinterpretation.¶
De-obfuscation MUST only be performed when the output is written to a non-executable buffer (e.g., a variable, string, or file) that cannot be automatically interpreted, executed, or rendered as a clickable link by the system or application. The tool MUST NOT de-obfuscate a string if it is currently being rendered in a "live" environment (e.g., a web browser preview, an active document viewer, or any context where the resulting string could be automatically executed, resolved, or displayed as a clickable link).¶
De-obfuscation SHOULD only occur in controlled contexts such as:¶
Accidental activation during the de-obfuscation process poses a security risk and MUST be prevented.¶
Common scenarios include:¶
Software designed to parse threat intelligence feeds should explicitly support these obfuscation and de-obfuscation conventions. Implementations SHOULD verify correct behavior through unit tests and validation scripts using the test vectors in Section 10.¶
Internationalized Domain Names (IDNs): Obfuscate punycode domains similarly (e.g., "xn--n3h[.]example").¶
Non-Standard URI Schemes: Schemes not listed in the canonical mapping table in Step 1 of Section 4 SHOULD be left unmodified. Implementations SHOULD rely on host-level obfuscation (Steps 2-3) to prevent accidental activation for such schemes.¶
IPv6 Literals in URIs: Do not alter colon characters (":") or brackets ("[", "]") in IPv6 addresses. For example, "[2001:db8::1]" MUST remain unchanged. Only scheme names or domain elements surrounding them should be obfuscated.¶
The following provides a "golden set" of inputs and expected outputs. Domain names use the "example" reserved space per [RFC2606]; IPv4 addresses use documentation ranges per [RFC5737]; IPv6 addresses use the documentation prefix per [RFC3849]. Implementations SHOULD use these vectors to ensure correct behavior and to avoid under-obfuscation (e.g., missing email addresses) or over-obfuscation (e.g., obfuscating IPv6 colons).¶
Note: The IPv6 rows demonstrate that colons and brackets within the IPv6 literal MUST NOT be altered, including IPv4-mapped IPv6 (::ffff:192.0.2.1). The deep-link row shows that Path, Query, and Fragment (per Step 4) are not processed. The Punycode row shows that IDN labels in punycode form receive the same "[.]" treatment as regular domain labels. The idempotency row confirms that applying the transformation to an already-obfuscated string produces no change.¶
While these obfuscation techniques reduce the risk of accidental activation of malicious indicators, obfuscated data SHOULD always be handled with caution.¶
As noted in the Introduction, the obfuscated scheme prefixes documented here are not URI schemes and MUST NOT be treated as valid or resolvable URI schemes by generic URI parsers. Software that encounters these strings outside of a threat intelligence context MUST NOT attempt to resolve or dereference them.¶
If a future assignment in the IANA URI Schemes registry were to collide with one of these strings, implementations would need to disambiguate by context (IOC obfuscation versus a registered scheme). Implementers should be aware of this possibility and design parsers to consider the surrounding context when interpreting these tokens.¶
When the original scheme appears in the canonical mapping table (Section 4), a compliant tool MUST obfuscate both the scheme and the host-level delimiters (periods, at-sign). For schemes not listed in that table, host-level obfuscation alone (Steps 2-3) is sufficient, because no canonical obfuscated scheme form exists. Partial obfuscation of a listed scheme - for example, replacing only "." with "[.]" while leaving "https" unchanged - creates a false sense of security. A user may incorrectly assume a URL is safe because the period is bracketed, when the scheme remains active and could still trigger automatic linkification or execution in some environments. Implementations MUST NOT produce partially obfuscated output when full obfuscation is intended.¶
Implementations that parse Safe-IOC strings may become confused by malformed or inconsistently obfuscated input. For example, "hxxps://example.example" (scheme obfuscated but dots not) or "https://example[.]example" (dots obfuscated but scheme not) are not valid Safe-IOC formats. Parsers SHOULD validate that obfuscated strings conform to the canonical transformation rule and the illustrative ABNF before de-obfuscation. Rejecting or flagging ambiguous input reduces the risk of misinterpretation.¶
As stated in Section 6, de-obfuscation MUST only occur when the result is placed in a non-executable buffer. A non-executable buffer is one that cannot be automatically interpreted by the system (e.g., as a URI to fetch, a command to run, or a link to display). Writing de-obfuscated output into a live document, rich-text editor, or browser address bar before explicit user action creates an unacceptable risk of accidental activation.¶
This document has no IANA actions.¶