<pid="section-abstract-1">This document describes the MISP core format used to exchange indicators and threat information between
MISP (Open Source Threat Intelligence Sharing Platform formerly known as Malware Information Sharing Platform) instances.
The JSON format includes the overall structure along with the semantic associated for each
respective key. The format is described to support other implementations which reuse the
format and ensuring an interoperability with existing MISP <span>[<ahref="#MISP-P"class="xref">MISP-P</a>]</span> software and other Threat Intelligence Platforms.<ahref="#section-abstract-1"class="pilcrow">¶</a></p>
</section>
<divid="status-of-memo">
<sectionid="section-boilerplate.1">
<h2id="name-status-of-this-memo">
<ahref="#name-status-of-this-memo"class="section-name selfRef">Status of This Memo</a>
</h2>
<pid="section-boilerplate.1-1">
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.<ahref="#section-boilerplate.1-1"class="pilcrow">¶</a></p>
<pid="section-boilerplate.1-2">
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 <span><ahref="https://datatracker.ietf.org/drafts/current/">https://datatracker.ietf.org/drafts/current/</a></span>.<ahref="#section-boilerplate.1-2"class="pilcrow">¶</a></p>
<pid="section-boilerplate.1-3">
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."<ahref="#section-boilerplate.1-3"class="pilcrow">¶</a></p>
<pid="section-boilerplate.1-4">
This Internet-Draft will expire on 18 August 2022.<ahref="#section-boilerplate.1-4"class="pilcrow">¶</a></p>
<pid="section-toc.1-1.1.2.1.1"class="keepWithNext"><ahref="#section-1.1"class="xref">1.1</a>.<ahref="#name-conventions-and-terminology"class="xref">Conventions and Terminology</a></p>
<pid="section-1-1">Sharing threat information became a fundamental requirements in the Internet, security and intelligence community at large. Threat
information can include indicators of compromise, malicious file indicators, financial fraud indicators
or even detailed information about a threat actor. MISP <span>[<ahref="#MISP-P"class="xref">MISP-P</a>]</span> started as an open source project in late 2011 and
the MISP format started to be widely used as an exchange format within the community in the past years. The aim of this document
is to describe the specification and the MISP core format.<ahref="#section-1-1"class="pilcrow">¶</a></p>
<divid="conventions-and-terminology">
<sectionid="section-1.1">
<h3id="name-conventions-and-terminology">
<ahref="#section-1.1"class="section-number selfRef">1.1. </a><ahref="#name-conventions-and-terminology"class="section-name selfRef">Conventions and Terminology</a>
</h3>
<pid="section-1.1-1">The key words "<spanclass="bcp14">MUST</span>", "<spanclass="bcp14">MUST NOT</span>", "<spanclass="bcp14">REQUIRED</span>", "<spanclass="bcp14">SHALL</span>", "<spanclass="bcp14">SHALL NOT</span>",
"<spanclass="bcp14">SHOULD</span>", "<spanclass="bcp14">SHOULD NOT</span>", "<spanclass="bcp14">RECOMMENDED</span>", "<spanclass="bcp14">MAY</span>", and "<spanclass="bcp14">OPTIONAL</span>" in this
document are to be interpreted as described in RFC 2119 <span>[<ahref="#RFC2119"class="xref">RFC2119</a>]</span>.<ahref="#section-1.1-1"class="pilcrow">¶</a></p>
<pid="section-2.1-1">The MISP core format is in the JSON <span>[<ahref="#RFC8259"class="xref">RFC8259</a>]</span> format. In MISP, an event is composed of a single JSON object.<ahref="#section-2.1-1"class="pilcrow">¶</a></p>
<pid="section-2.1-2">A capitalized key (like Event, Org) represent a data model and a non-capitalised key is just an attribute. This nomenclature
can support an implementation to represent the MISP format in another data structure.<ahref="#section-2.1-2"class="pilcrow">¶</a></p>
<pid="section-2.2.1.1-1">uuid represents the Universally Unique IDentifier (UUID) <span>[<ahref="#RFC4122"class="xref">RFC4122</a>]</span> of the event. The uuid <spanclass="bcp14">MUST</span> be preserved
for any updates or transfer of the same event. UUID version 4 is <spanclass="bcp14">RECOMMENDED</span> when assigning it to a new event.<ahref="#section-2.2.1.1-1"class="pilcrow">¶</a></p>
<pid="section-2.2.1.1-2">uuid is represented as a JSON string. uuid <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.2.1.1-2"class="pilcrow">¶</a></p>
<pid="section-2.2.1.2-1">id represents the human-readable identifier associated to the event for a specific MISP instance. A human-readable identifier <spanclass="bcp14">MUST</span> be
represented as an unsigned integer.<ahref="#section-2.2.1.2-1"class="pilcrow">¶</a></p>
<pid="section-2.2.1.2-2">id is represented as a JSON string. id <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.2.1.2-2"class="pilcrow">¶</a></p>
<pid="section-2.2.1.3-1">published represents the event publication state. If the event was published, the published value <spanclass="bcp14">MUST</span> be true.
In any other publication state, the published value <spanclass="bcp14">MUST</span> be false.<ahref="#section-2.2.1.3-1"class="pilcrow">¶</a></p>
<pid="section-2.2.1.3-2">published is represented as a JSON boolean. published <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.2.1.3-2"class="pilcrow">¶</a></p>
<pid="section-2.2.1.4-1">info represents the information field of the event. info is a free-text value to provide a human-readable summary
of the event. info <spanclass="bcp14">SHOULD</span> NOT be bigger than 256 characters and <spanclass="bcp14">SHOULD</span> NOT include new-lines.<ahref="#section-2.2.1.4-1"class="pilcrow">¶</a></p>
<pid="section-2.2.1.4-2">info is represented as a JSON string. info <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.2.1.4-2"class="pilcrow">¶</a></p>
<pid="section-2.2.1.5-3">If a higher granularity is required, a MISP taxonomy applied as a Tag <spanclass="bcp14">SHOULD</span> be preferred.<ahref="#section-2.2.1.5-3"class="pilcrow">¶</a></p>
<pid="section-2.2.1.5-4">threat_level_id is represented as a JSON string. threat_level_id <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.2.1.5-4"class="pilcrow">¶</a></p>
<pid="section-2.2.1.6-3">If a higher granularity is required, a MISP taxonomy applied as a Tag <spanclass="bcp14">SHOULD</span> be preferred.<ahref="#section-2.2.1.6-3"class="pilcrow">¶</a></p>
<pid="section-2.2.1.6-4">analysis is represented as a JSON string. analysis <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.2.1.6-4"class="pilcrow">¶</a></p>
<pid="section-2.2.1.7-1">date represents a reference date to the event in ISO 8601 format (date only: YYYY-MM-DD). This date corresponds to the date the event occurred, which may be in the past.<ahref="#section-2.2.1.7-1"class="pilcrow">¶</a></p>
<pid="section-2.2.1.7-2">date is represented as a JSON string. date <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.2.1.7-2"class="pilcrow">¶</a></p>
<pid="section-2.2.1.8-1">timestamp represents a reference time when the event, or one of the attributes within the event was created, or last updated/edited on the instance. timestamp is expressed in seconds (decimal) since 1st of January 1970 (Unix timestamp). The time zone <spanclass="bcp14">MUST</span> be UTC.<ahref="#section-2.2.1.8-1"class="pilcrow">¶</a></p>
<pid="section-2.2.1.8-2">timestamp is represented as a JSON string. timestamp <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.2.1.8-2"class="pilcrow">¶</a></p>
<pid="section-2.2.1.9-1">publish_timestamp represents a reference time when the event was published on the instance. published_timestamp is expressed in seconds (decimal) since 1st of January 1970 (Unix timestamp). At each publication of an event, publish_timestamp <spanclass="bcp14">MUST</span> be updated. The time zone <spanclass="bcp14">MUST</span> be UTC. If the published_timestamp is present and the published flag is set to false, the publish_timestamp represents the previous publication timestamp. If the event was never published, the published_timestamp <spanclass="bcp14">MUST</span> be set to 0.<ahref="#section-2.2.1.9-1"class="pilcrow">¶</a></p>
<pid="section-2.2.1.9-2">publish_timestamp is represented as a JSON string. publish_timestamp <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.2.1.9-2"class="pilcrow">¶</a></p>
<pid="section-2.2.1.10-1">org_id represents a human-readable identifier referencing an Org object of the organisation which generated the event. A human-readable identifier <spanclass="bcp14">MUST</span> be
represented as an unsigned integer.<ahref="#section-2.2.1.10-1"class="pilcrow">¶</a></p>
<pid="section-2.2.1.10-2">The org_id <spanclass="bcp14">MUST</span> be updated when the event is generated by a new instance.<ahref="#section-2.2.1.10-2"class="pilcrow">¶</a></p>
<pid="section-2.2.1.10-3">org_id is represented as a JSON string. org_id <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.2.1.10-3"class="pilcrow">¶</a></p>
<pid="section-2.2.1.11-1">orgc_id represents a human-readable identifier referencing an Orgc object of the organisation which created the event.<ahref="#section-2.2.1.11-1"class="pilcrow">¶</a></p>
<pid="section-2.2.1.11-2">The orgc_id and Org object <spanclass="bcp14">MUST</span> be preserved for any updates or transfer of the same event.<ahref="#section-2.2.1.11-2"class="pilcrow">¶</a></p>
<pid="section-2.2.1.11-3">orgc_id is represented as a JSON string. orgc_id <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.2.1.11-3"class="pilcrow">¶</a></p>
<pid="section-2.2.1.12-1">attribute_count represents the number of attributes in the event. attribute_count is expressed in decimal.<ahref="#section-2.2.1.12-1"class="pilcrow">¶</a></p>
<pid="section-2.2.1.12-2">attribute_count is represented as a JSON string. attribute_count <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.2.1.12-2"class="pilcrow">¶</a></p>
<pid="section-2.2.1.13-1">distribution represents the basic distribution rules of the event. The system must adhere to the distribution setting for access control and for dissemination of the event.<ahref="#section-2.2.1.13-1"class="pilcrow">¶</a></p>
<pid="section-2.2.1.13-2">distribution is represented by a JSON string. distribution <spanclass="bcp14">MUST</span> be present and be one of the following options:<ahref="#section-2.2.1.13-2"class="pilcrow">¶</a></p>
<pid="section-2.2.1.14-1">sharing_group_id represents a human-readable identifier referencing a Sharing Group object that defines the distribution of the event, if distribution level "4" is set. A human-readable identifier <spanclass="bcp14">MUST</span> be represented as an unsigned integer.<ahref="#section-2.2.1.14-1"class="pilcrow">¶</a></p>
<pid="section-2.2.1.14-2">sharing_group_id is represented by a JSON string and <spanclass="bcp14">SHOULD</span> be present. If a distribution level other than "4" is chosen the sharing_group_id <spanclass="bcp14">MUST</span> be set to "0".<ahref="#section-2.2.1.14-2"class="pilcrow">¶</a></p>
<pid="section-2.2.1.15-1">extends_uuid represents which event is extended by this event. The extends_uuid is described as a Universally Unique IDentifier (UUID) <span>[<ahref="#RFC4122"class="xref">RFC4122</a>]</span> with the UUID of the extended event.<ahref="#section-2.2.1.15-1"class="pilcrow">¶</a></p>
<pid="section-2.2.1.15-2">extends_uuid is represented as a JSON string. extends_uuid <spanclass="bcp14">SHOULD</span> be present.<ahref="#section-2.2.1.15-2"class="pilcrow">¶</a></p>
<pid="section-2.2.2.1-1">An Org object is composed of an uuid, name and id.<ahref="#section-2.2.2.1-1"class="pilcrow">¶</a></p>
<pid="section-2.2.2.1-2">The uuid represents the Universally Unique IDentifier (UUID) <span>[<ahref="#RFC4122"class="xref">RFC4122</a>]</span> of the organisation.
The organisation UUID is globally assigned to an organisation and <spanclass="bcp14">SHALL</span> be kept overtime.<ahref="#section-2.2.2.1-2"class="pilcrow">¶</a></p>
<pid="section-2.2.2.1-3">The name is a readable description of the organisation and <spanclass="bcp14">SHOULD</span> be present.
The id is a human-readable identifier generated by the instance and used as reference in the event.
A human-readable identifier <spanclass="bcp14">MUST</span> be represented as an unsigned integer.<ahref="#section-2.2.2.1-3"class="pilcrow">¶</a></p>
<pid="section-2.2.2.1-4">uuid, name and id are represented as a JSON string. uuid, name and id <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.2.2.1-4"class="pilcrow">¶</a></p>
<pid="section-2.2.2.2-1">An Orgc object is composed of an uuid, name and id.<ahref="#section-2.2.2.2-1"class="pilcrow">¶</a></p>
<pid="section-2.2.2.2-2">The uuid <spanclass="bcp14">MUST</span> be preserved for any updates or transfer of the same event. UUID version 4 is <spanclass="bcp14">RECOMMENDED</span> when assigning it to a new event.
The organisation UUID is globally assigned to an organisation and <spanclass="bcp14">SHALL</span> be kept overtime.<ahref="#section-2.2.2.2-2"class="pilcrow">¶</a></p>
<pid="section-2.2.2.2-3">The name is a readable description of the organisation and <spanclass="bcp14">SHOULD</span> be present.
The id is a human-readable identifier generated by the instance and used as reference in the event.
A human-readable identifier <spanclass="bcp14">MUST</span> be represented as an unsigned integer.<ahref="#section-2.2.2.2-3"class="pilcrow">¶</a></p>
<pid="section-2.2.2.2-4">uuid, name and id are represented as a JSON string. uuid, name and id <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.2.2.2-4"class="pilcrow">¶</a></p>
<pid="section-2.3-1">Attributes are used to describe the indicators and contextual data of an event. The main information contained in an attribute is made up of a category-type-value triplet,
where the category and type give meaning and context to the value. Through the various category-type combinations a wide range of information can be conveyed.<ahref="#section-2.3-1"class="pilcrow">¶</a></p>
<pid="section-2.3-2">A MISP document <spanclass="bcp14">MUST</span> at least includes category-type-value triplet described in section "Attribute Attributes".<ahref="#section-2.3-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.1-1">uuid represents the Universally Unique IDentifier (UUID) <span>[<ahref="#RFC4122"class="xref">RFC4122</a>]</span> of the event. The uuid <spanclass="bcp14">MUST</span> be preserved
for any updates or transfer of the same event. UUID version 4 is <spanclass="bcp14">RECOMMENDED</span> when assigning it to a new event.<ahref="#section-2.3.2.1-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.1-2">uuid is represented as a JSON string. uuid <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.3.2.1-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.2-1">id represents the human-readable identifier associated to the event for a specific MISP instance. A human-readable identifier <spanclass="bcp14">MUST</span> be
represented as an unsigned integer.<ahref="#section-2.3.2.2-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.2-2">id is represented as a JSON string. id <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.3.2.2-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.3-1">type represents the means through which an attribute tries to describe the intent of the attribute creator, using a list of pre-defined attribute types.<ahref="#section-2.3.2.3-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.3-2">type is represented as a JSON string. type <spanclass="bcp14">MUST</span> be present and it <spanclass="bcp14">MUST</span> be a valid selection for the chosen category. The list of valid category-type combinations is as follows:<ahref="#section-2.3.2.3-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.3-4">Attributes are based on the usage within their different communities. Attributes can be extended on a regular basis and this reference document is updated accordingly.<ahref="#section-2.3.2.3-4"class="pilcrow">¶</a></p>
<pid="section-2.3.2.4-1">category represents the intent of what the attribute is describing as selected by the attribute creator, using a list of pre-defined attribute categories.<ahref="#section-2.3.2.4-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.4-2">category is represented as a JSON string. category <spanclass="bcp14">MUST</span> be present and it <spanclass="bcp14">MUST</span> be a valid selection for the chosen type. The list of valid category-type combinations is mentioned above.<ahref="#section-2.3.2.4-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.5-1">to_ids represents whether the attribute is meant to be actionable. Actionable defined attributes that can be used in automated processes as a pattern for detection in Local or Network Intrusion Detection System, log analysis tools or even filtering mechanisms.<ahref="#section-2.3.2.5-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.5-2">to_ids is represented as a JSON boolean. to_ids <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.3.2.5-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.6-1">event_id represents a human-readable identifier referencing the Event object that the attribute belongs to. A human-readable identifier <spanclass="bcp14">MUST</span> be
represented as an unsigned integer.<ahref="#section-2.3.2.6-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.6-2">The event_id <spanclass="bcp14">SHOULD</span> be updated when the event is imported to reflect the newly created event's id on the instance.<ahref="#section-2.3.2.6-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.6-3">event_id is represented as a JSON string. event_id <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.3.2.6-3"class="pilcrow">¶</a></p>
<pid="section-2.3.2.7-1">distribution represents the basic distribution rules of the attribute. The system must adhere to the distribution setting for access control and for dissemination of the attribute.<ahref="#section-2.3.2.7-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.7-2">distribution is represented by a JSON string. distribution <spanclass="bcp14">MUST</span> be present and be one of the following options:<ahref="#section-2.3.2.7-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.8-1">timestamp represents a reference time when the attribute was created or last modified. timestamp is expressed in seconds (decimal) since 1st of January 1970 (Unix timestamp). The time zone <spanclass="bcp14">MUST</span> be UTC.<ahref="#section-2.3.2.8-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.8-2">timestamp is represented as a JSON string. timestamp <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.3.2.8-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.9-1">comment is a contextual comment field.<ahref="#section-2.3.2.9-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.9-2">comment is represented by a JSON string. comment <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.3.2.9-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.10-1">sharing_group_id represents a human-readable identifier referencing a Sharing Group object that defines the distribution of the attribute, if distribution level "4" is set. A human-readable identifier <spanclass="bcp14">MUST</span> be represented as an unsigned integer.<ahref="#section-2.3.2.10-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.10-2">sharing_group_id is represented by a JSON string and <spanclass="bcp14">SHOULD</span> be present. If a distribution level other than "4" is chosen the sharing_group_id <spanclass="bcp14">MUST</span> be set to "0".<ahref="#section-2.3.2.10-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.11-1">deleted represents a setting that allows attributes to be revoked. Revoked attributes are not actionable and exist merely to inform other instances of a revocation.<ahref="#section-2.3.2.11-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.11-2">deleted is represented by a JSON boolean. deleted <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.3.2.11-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.12-1">data contains the base64 encoded contents of an attachment or a malware sample. For malware samples,
the sample <spanclass="bcp14">MUST</span> be encrypted using a password protected zip archive, with the password being "infected".<ahref="#section-2.3.2.12-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.12-2">data is represented by a JSON string in base64 encoding. data <spanclass="bcp14">MUST</span> be set for attributes of type malware-sample and attachment.<ahref="#section-2.3.2.12-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.13-1">RelatedAttribute is an array of attributes correlating with the current attribute. Each element in the array represents an JSON object which contains an Attribute dictionnary with the external attributes who correlate. Each Attribute <spanclass="bcp14">MUST</span> include the id, org_id, info and a value. Only the correlations found on the local instance are shown in RelatedAttribute.<ahref="#section-2.3.2.13-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.13-2">RelatedAttribute <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.3.2.13-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.14-1">ShadowAttribute is an array of shadow attributes that serve as proposals by third parties to alter the containing attribute. The structure of a ShadowAttribute is similar to that of an Attribute,
which can be accepted or discarded by the event creator. If accepted, the original attribute containing the shadow attribute is removed and the shadow attribute is converted into an attribute.<ahref="#section-2.3.2.14-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.14-2">Each shadow attribute that references an attribute <spanclass="bcp14">MUST</span> contain the containing attribute's ID in the old_id field and the event's ID in the event_id field.<ahref="#section-2.3.2.14-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.15-1">value represents the payload of an attribute. The format of the value is dependent on the type of the attribute.<ahref="#section-2.3.2.15-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.15-2">value is represented by a JSON string. value <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.3.2.15-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.16-1">first_seen represents a reference time when the attribute was first seen. first_seen is expressed as an ISO 8601 datetime up to the micro-second with time zone support.<ahref="#section-2.3.2.16-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.16-2">first_seen is represented as a JSON string. first_seen <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.3.2.16-2"class="pilcrow">¶</a></p>
<pid="section-2.3.2.17-1">last_seen represents a reference time when the attribute was last seen. last_seen is expressed as an ISO 8601 datetime up to the micro-second with time zone support.<ahref="#section-2.3.2.17-1"class="pilcrow">¶</a></p>
<pid="section-2.3.2.17-2">last_seen is represented as a JSON string. last_seen <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.3.2.17-2"class="pilcrow">¶</a></p>
<pid="section-2.4-1">ShadowAttributes are 3rd party created attributes that either propose to add new information to an event or modify existing information. They are not meant to be actionable until the event creator accepts them - at which point they will be converted into attributes or modify an existing attribute.<ahref="#section-2.4-1"class="pilcrow">¶</a></p>
<pid="section-2.4-2">They are similar in structure to Attributes but additionally carry a reference to the creator of the ShadowAttribute as well as a revocation flag.<ahref="#section-2.4-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.1-1">uuid represents the Universally Unique IDentifier (UUID) <span>[<ahref="#RFC4122"class="xref">RFC4122</a>]</span> of the event. The uuid <spanclass="bcp14">MUST</span> be preserved
for any updates or transfer of the same event. UUID version 4 is <spanclass="bcp14">RECOMMENDED</span> when assigning it to a new event.<ahref="#section-2.4.2.1-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.1-2">uuid is represented as a JSON string. uuid <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.4.2.1-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.2-1">id represents the human-readable identifier associated to the event for a specific MISP instance. human-readable identifier <spanclass="bcp14">MUST</span> be represented as an unsigned integer.
id is represented as a JSON string. id <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.4.2.2-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.3-1">type represents the means through which an attribute tries to describe the intent of the attribute creator, using a list of pre-defined attribute types.<ahref="#section-2.4.2.3-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.3-2">type is represented as a JSON string. type <spanclass="bcp14">MUST</span> be present and it <spanclass="bcp14">MUST</span> be a valid selection for the chosen category. The list of valid category-type combinations is as follows:<ahref="#section-2.4.2.3-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.3-4">Attributes are based on the usage within their different communities. Attributes can be extended on a regular basis and this reference document is updated accordingly.<ahref="#section-2.4.2.3-4"class="pilcrow">¶</a></p>
<pid="section-2.4.2.4-1">category represents the intent of what the attribute is describing as selected by the attribute creator, using a list of pre-defined attribute categories.<ahref="#section-2.4.2.4-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.4-2">category is represented as a JSON string. category <spanclass="bcp14">MUST</span> be present and it <spanclass="bcp14">MUST</span> be a valid selection for the chosen type. The list of valid category-type combinations is mentioned above.<ahref="#section-2.4.2.4-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.5-1">to_ids represents whether the Attribute to be created if the ShadowAttribute is accepted is meant to be actionable. Actionable defined attributes that can be used in automated processes as a pattern for detection in Local or Network Intrusion Detection System, log analysis tools or even filtering mechanisms.<ahref="#section-2.4.2.5-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.5-2">to_ids is represented as a JSON boolean. to_ids <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.4.2.5-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.6-1">event_id represents a human-readable identifier referencing the Event object that the ShadowAttribute belongs to.<ahref="#section-2.4.2.6-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.6-2">The event_id <spanclass="bcp14">SHOULD</span> be updated when the event is imported to reflect the newly created event's id on the instance.<ahref="#section-2.4.2.6-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.6-3">event_id is represented as a JSON string. event_id <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.4.2.6-3"class="pilcrow">¶</a></p>
<pid="section-2.4.2.7-1">old_id represents a human-readable identifier referencing the Attribute object that the ShadowAttribute belongs to. A ShadowAttribute can this way target an existing Attribute, implying that it is a proposal to modify an existing Attribute, or alternatively it can be a proposal to create a new Attribute for the containing Event.<ahref="#section-2.4.2.7-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.7-2">The old_id <spanclass="bcp14">SHOULD</span> be updated when the event is imported to reflect the newly created Attribute's id on the instance. Alternatively, if the ShadowAttribute proposes the creation of a new Attribute, it should be set to 0.<ahref="#section-2.4.2.7-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.7-3">old_id is represented as a JSON string. old_id <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.4.2.7-3"class="pilcrow">¶</a></p>
<pid="section-2.4.2.8-1">timestamp represents a reference time when the attribute was created or last modified. timestamp is expressed in seconds (decimal) since 1st of January 1970 (Unix timestamp). The time zone <spanclass="bcp14">MUST</span> be UTC.<ahref="#section-2.4.2.8-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.8-2">timestamp is represented as a JSON string. timestamp <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.4.2.8-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.9-1">comment is a contextual comment field.<ahref="#section-2.4.2.9-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.9-2">comment is represented by a JSON string. comment <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.4.2.9-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.10-1">org_id represents a human-readable identifier referencing the proposal creator's Organisation object. A human-readable identifier <spanclass="bcp14">MUST</span> be represented as an unsigned integer.<ahref="#section-2.4.2.10-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.10-2">Whilst attributes can only be created by the event creator organisation, shadow attributes can be created by third parties. org_id tracks the creator organisation.<ahref="#section-2.4.2.10-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.10-3">org_id is represented by a JSON string and <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.4.2.10-3"class="pilcrow">¶</a></p>
<pid="section-2.4.2.11-1">proposal_to_delete is a boolean flag that sets whether the shadow attribute proposes to alter an attribute, or whether it proposes to remove it completely.<ahref="#section-2.4.2.11-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.11-2">Accepting a shadow attribute with this flag set will remove the target attribute.<ahref="#section-2.4.2.11-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.11-3">proposal_to_delete is a JSON boolean and it <spanclass="bcp14">MUST</span> be present. If proposal_to_delete is set to true, old_id <spanclass="bcp14">MUST NOT</span> be 0.<ahref="#section-2.4.2.11-3"class="pilcrow">¶</a></p>
<pid="section-2.4.2.12-1">deleted represents a setting that allows shadow attributes to be revoked. Revoked shadow attributes only serve to inform other instances that the shadow attribute is no longer active.<ahref="#section-2.4.2.12-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.12-2">deleted is represented by a JSON boolean. deleted <spanclass="bcp14">SHOULD</span> be present.<ahref="#section-2.4.2.12-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.13-1">data contains the base64 encoded contents of an attachment or a malware sample. For malware samples,
the sample <spanclass="bcp14">MUST</span> be encrypted using a password protected zip archive, with the password being "infected".<ahref="#section-2.4.2.13-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.13-2">data is represented by a JSON string in base64 encoding. data <spanclass="bcp14">MUST</span> be set for shadow attributes of type malware-sample and attachment.<ahref="#section-2.4.2.13-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.14-1">first_seen represents a reference time when the attribute was first seen. first_seen as an ISO 8601 datetime up to the micro-second with time zone support.<ahref="#section-2.4.2.14-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.14-2">first_seen is represented as a JSON string. first_seen <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.4.2.14-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.15-1">last_seen represents a reference time when the attribute was last seen. last_seen as an ISO 8601 datetime up to the micro-second with time zone support.<ahref="#section-2.4.2.15-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.15-2">last_seen is represented as a JSON string. last_seen <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.4.2.15-2"class="pilcrow">¶</a></p>
<pid="section-2.4.2.16-1">value represents the payload of an attribute. The format of the value is dependent on the type of the attribute.<ahref="#section-2.4.2.16-1"class="pilcrow">¶</a></p>
<pid="section-2.4.2.16-2">value is represented by a JSON string. value <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.4.2.16-2"class="pilcrow">¶</a></p>
<pid="section-2.4.3.1-1">An Org object is composed of an uuid, name and id.<ahref="#section-2.4.3.1-1"class="pilcrow">¶</a></p>
<pid="section-2.4.3.1-2">The uuid represents the Universally Unique IDentifier (UUID) <span>[<ahref="#RFC4122"class="xref">RFC4122</a>]</span> of the organization.
The organization UUID is globally assigned to an organization and <spanclass="bcp14">SHALL</span> be kept overtime.<ahref="#section-2.4.3.1-2"class="pilcrow">¶</a></p>
<pid="section-2.4.3.1-3">The name is a readable description of the organization and <spanclass="bcp14">SHOULD</span> be present.
The id is a human-readable identifier generated by the instance and used as reference in the event.
A human-readable identifier <spanclass="bcp14">MUST</span> be represented as an unsigned integer.<ahref="#section-2.4.3.1-3"class="pilcrow">¶</a></p>
<pid="section-2.4.3.1-4">uuid, name and id are represented as a JSON string. uuid, name and id <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.4.3.1-4"class="pilcrow">¶</a></p>
<pid="section-2.5-1">Objects serve as a contextual bond between a list of attributes within an event. Their main purpose is to describe more complex structures than can be described by a single attribute
Each object is created using an Object Template and carries the meta-data of the template used for its creation within. Objects belong to a meta-category and are defined by a name.<ahref="#section-2.5-1"class="pilcrow">¶</a></p>
<pid="section-2.5-2">The schema used is described by the template_uuid and template_version fields.<ahref="#section-2.5-2"class="pilcrow">¶</a></p>
<pid="section-2.5-3">A MISP document containing an Object <spanclass="bcp14">MUST</span> contain a name, a meta-category, a description, a template_uuid and a template_version as described in the "Object Attributes" section.<ahref="#section-2.5-3"class="pilcrow">¶</a></p>
<pid="section-2.5.2.1-1">uuid represents the Universally Unique IDentifier (UUID) <span>[<ahref="#RFC4122"class="xref">RFC4122</a>]</span> of the object. The uuid <spanclass="bcp14">MUST</span> be preserved
for any updates or transfer of the same object. UUID version 4 is <spanclass="bcp14">RECOMMENDED</span> when assigning it to a new object.<ahref="#section-2.5.2.1-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.2-1">id represents the human-readable identifier associated to the object for a specific MISP instance. A human-readable identifier <spanclass="bcp14">MUST</span> be
represented as an unsigned integer.<ahref="#section-2.5.2.2-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.2-2">id is represented as a JSON string. id <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.5.2.2-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.3-1">name represents the human-readable name of the object describing the intent of the object package.<ahref="#section-2.5.2.3-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.3-2">name is represented as a JSON string. name <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.5.2.3-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.4-1">meta-category represents the sub-category of objects that the given object belongs to. meta-categories are not
tied to a fixed list of options but can be created on the fly.<ahref="#section-2.5.2.4-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.4-2">meta-category is represented as a JSON string. meta-category <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.5.2.4-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.5-1">description is a human-readable description of the given object type, as derived from the template used for creation.<ahref="#section-2.5.2.5-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.5-2">description is represented as a JSON string. description <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.5.2.5-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.6-1">template_uuid represents the Universally Unique IDentifier (UUID) <span>[<ahref="#RFC4122"class="xref">RFC4122</a>]</span> of the template used to create the object. The uuid <spanclass="bcp14">MUST</span> be preserved
to preserve the object's association with the correct template used for creation. UUID version 4 is <spanclass="bcp14">RECOMMENDED</span> when assigning it to a new object.<ahref="#section-2.5.2.6-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.6-2">template_uuid is represented as a JSON string. template_uuid <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.5.2.6-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.7-1">template_version represents a numeric incrementing version of the template used to create the object. It is used to associate the object to the
correct version of the template and together with the template_uuid forms an association to the correct template type and version.<ahref="#section-2.5.2.7-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.7-2">template_version is represented as a JSON string. template_version <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.5.2.7-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.8-1">event_id represents the human-readable identifier of the event that the object belongs to on a specific MISP instance. A human-readable identifier <spanclass="bcp14">MUST</span> be
represented as an unsigned integer.<ahref="#section-2.5.2.8-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.8-2">event_id is represented as a JSON string. event_id <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.5.2.8-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.9-1">timestamp represents a reference time when the object was created or last modified. timestamp is expressed in seconds (decimal) since 1st of January 1970 (Unix timestamp). The time zone <spanclass="bcp14">MUST</span> be UTC.<ahref="#section-2.5.2.9-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.9-2">timestamp is represented as a JSON string. timestamp <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.5.2.9-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.10-1">distribution represents the basic distribution rules of the object. The system must adhere to the distribution setting for access control and for dissemination of the object.<ahref="#section-2.5.2.10-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.10-2">distribution is represented by a JSON string. distribution <spanclass="bcp14">MUST</span> be present and be one of the following options:<ahref="#section-2.5.2.10-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.11-1">sharing_group_id represents a human-readable identifier referencing a Sharing Group object that defines the distribution of the object, if distribution level "4" is set. A human-readable identifier <spanclass="bcp14">MUST</span> be represented as an unsigned integer.<ahref="#section-2.5.2.11-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.11-2">sharing_group_id is represented by a JSON string and <spanclass="bcp14">SHOULD</span> be present. If a distribution level other than "4" is chosen the sharing_group_id <spanclass="bcp14">MUST</span> be set to "0".<ahref="#section-2.5.2.11-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.12-1">comment is a contextual comment field.<ahref="#section-2.5.2.12-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.12-2">comment is represented by a JSON string. comment <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.5.2.12-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.13-1">deleted represents a setting that allows objects to be revoked. Revoked objects are not actionable and exist merely to inform other instances of a revocation.<ahref="#section-2.5.2.13-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.13-2">deleted is represented by a JSON boolean. deleted <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.5.2.13-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.14-1">Attribute is an array of attributes that describe the object with data.<ahref="#section-2.5.2.14-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.14-2">Each attribute in an object <spanclass="bcp14">MUST</span> contain the parent event's ID in the event_id field and the parent object's ID in the object_id field.<ahref="#section-2.5.2.14-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.15-1">first_seen represents a reference time when the object was first seen. first_seen as an ISO 8601 datetime up to the micro-second with time zone support.<ahref="#section-2.5.2.15-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.15-2">first_seen is represented as a JSON string. first_seen <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.5.2.15-2"class="pilcrow">¶</a></p>
<pid="section-2.5.2.16-1">last_seen represents a reference time when the object was last seen. last_seen as an ISO 8601 datetime up to the micro-second with time zone support.<ahref="#section-2.5.2.16-1"class="pilcrow">¶</a></p>
<pid="section-2.5.2.16-2">last_seen is represented as a JSON string. last_seen <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.5.2.16-2"class="pilcrow">¶</a></p>
<pid="section-2.6-1">Object References serve as a logical link between an Object and another referenced Object or Attribute. The relationship is categorised by an enumerated value from a fixed vocabulary.<ahref="#section-2.6-1"class="pilcrow">¶</a></p>
<pid="section-2.6-2">The relationship_type is recommended to be taken from the MISP object relationship list [<span>[<ahref="#MISP-R"class="xref">MISP-R</a>]</span>] is <spanclass="bcp14">RECOMMENDED</span> to ensure a coherent naming of the tags<ahref="#section-2.6-2"class="pilcrow">¶</a></p>
<pid="section-2.6-3">All Object References <spanclass="bcp14">MUST</span> contain an object_uuid, a referenced_uuid and a relationship type.<ahref="#section-2.6-3"class="pilcrow">¶</a></p>
<pid="section-2.6.2.1-1">uuid represents the Universally Unique IDentifier (UUID) <span>[<ahref="#RFC4122"class="xref">RFC4122</a>]</span> of the object reference. The uuid <spanclass="bcp14">MUST</span> be preserved
for any updates or transfer of the same object reference. UUID version 4 is <spanclass="bcp14">RECOMMENDED</span> when assigning it to a new object reference.<ahref="#section-2.6.2.1-1"class="pilcrow">¶</a></p>
<pid="section-2.6.2.2-1">id represents the human-readable identifier associated to the object reference for a specific MISP instance.<ahref="#section-2.6.2.2-1"class="pilcrow">¶</a></p>
<pid="section-2.6.2.2-2">id is represented as a JSON string. id <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.6.2.2-2"class="pilcrow">¶</a></p>
<pid="section-2.6.2.3-1">timestamp represents a reference time when the object was created or last modified. timestamp is expressed in seconds (decimal) since 1st of January 1970 (Unix timestamp). The time zone <spanclass="bcp14">MUST</span> be UTC.<ahref="#section-2.6.2.3-1"class="pilcrow">¶</a></p>
<pid="section-2.6.2.3-2">timestamp is represented as a JSON string. timestamp <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.6.2.3-2"class="pilcrow">¶</a></p>
<pid="section-2.6.2.4-1">object_id represents the human-readable identifier of the object that the object reference belongs to on a specific MISP instance. A human-readable identifier <spanclass="bcp14">MUST</span> be
represented as an unsigned integer.<ahref="#section-2.6.2.4-1"class="pilcrow">¶</a></p>
<pid="section-2.6.2.4-2">object_id is represented as a JSON string. object_id <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.6.2.4-2"class="pilcrow">¶</a></p>
<pid="section-2.6.2.5-1">event_id represents the human-readable identifier of the event that the object reference belongs to on a specific MISP instance. A human-readable identifier <spanclass="bcp14">MUST</span> be
represented as an unsigned integer.<ahref="#section-2.6.2.5-1"class="pilcrow">¶</a></p>
<pid="section-2.6.2.5-2">event_id is represented as a JSON string. event_id <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.6.2.5-2"class="pilcrow">¶</a></p>
<pid="section-2.6.2.6-1">referenced_id represents the human-readable identifier of the object or attribute that the parent object of the object reference points to on a specific MISP instance.<ahref="#section-2.6.2.6-1"class="pilcrow">¶</a></p>
<pid="section-2.6.2.6-2">referenced_id is represented as a JSON string. referenced_id <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.6.2.6-2"class="pilcrow">¶</a></p>
<pid="section-2.6.2.7-1">referenced_type represents the numeric value describing what the object reference points to, "0" representing an attribute and "1" representing an object<ahref="#section-2.6.2.7-1"class="pilcrow">¶</a></p>
<pid="section-2.6.2.7-2">referenced_type is represented as a JSON string. referenced_type <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.6.2.7-2"class="pilcrow">¶</a></p>
<pid="section-2.6.2.8-1">relationship_type represents the human-readable context of the relationship between an object and another object or attribute as described by the object_reference.<ahref="#section-2.6.2.8-1"class="pilcrow">¶</a></p>
<pid="section-2.6.2.8-2">relationship_type is represented as a JSON string. relationship_type <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.6.2.8-2"class="pilcrow">¶</a></p>
<pid="section-2.6.2.9-1">comment is a contextual comment field.<ahref="#section-2.6.2.9-1"class="pilcrow">¶</a></p>
<pid="section-2.6.2.9-2">comment is represented by a JSON string. comment <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.6.2.9-2"class="pilcrow">¶</a></p>
<pid="section-2.6.2.10-1">deleted represents a setting that allows object references to be revoked. Revoked object references are not actionable and exist merely to inform other instances of a revocation.<ahref="#section-2.6.2.10-1"class="pilcrow">¶</a></p>
<pid="section-2.6.2.10-2">deleted is represented by a JSON boolean. deleted <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.6.2.10-2"class="pilcrow">¶</a></p>
<pid="section-2.6.2.11-1">object_uuid represents the Universally Unique IDentifier (UUID) <span>[<ahref="#RFC4122"class="xref">RFC4122</a>]</span> of the object that the given object reference belongs to. The object_uuid <spanclass="bcp14">MUST</span> be preserved
to preserve the object reference's association with the object.<ahref="#section-2.6.2.11-1"class="pilcrow">¶</a></p>
<pid="section-2.6.2.12-1">referenced_uuid represents the Universally Unique IDentifier (UUID) <span>[<ahref="#RFC4122"class="xref">RFC4122</a>]</span> of the object or attribute that is being referenced by the object reference. The referenced_uuid <spanclass="bcp14">MUST</span> be preserved
to preserve the object reference's association with the object or attribute.<ahref="#section-2.6.2.12-1"class="pilcrow">¶</a></p>
<pid="section-2.7-1">EventReport are used to complement an event with one or more report in Markdown format. The EventReport contains unstructured information which can be linked to Attributes, Objects, Tags or Galaxy with
an extension to the Markdown marking language.<ahref="#section-2.7-1"class="pilcrow">¶</a></p>
<pid="section-2.7.1-1">id represents the human-readable identifier associated to the EventReport for a specific MISP instance. A human-readable identifier <spanclass="bcp14">MUST</span> be
represented as an unsigned integer.<ahref="#section-2.7.1-1"class="pilcrow">¶</a></p>
<pid="section-2.7.1-2">id is represented as a JSON string. id <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.7.1-2"class="pilcrow">¶</a></p>
<pid="section-2.7.2-1">uuid represents the Universally Unique IDentifier (UUID) <span>[<ahref="#RFC4122"class="xref">RFC4122</a>]</span> of the EventReport. The uuid <spanclass="bcp14">MUST</span> be preserved for any updates or transfer of the same EventReport. UUID version 4 is <spanclass="bcp14">RECOMMENDED</span> when assigning it to a new EventReport.<ahref="#section-2.7.2-1"class="pilcrow">¶</a></p>
<pid="section-2.7.2-2">uuid is represented as a JSON string. uuid <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.7.2-2"class="pilcrow">¶</a></p>
<pid="section-2.7.3-1">event_id represents the human-readable identifier associating the EventReport to an event on a specific MISP instance. A human-readable identifier <spanclass="bcp14">MUST</span> be
represented as an unsigned integer.<ahref="#section-2.7.3-1"class="pilcrow">¶</a></p>
<pid="section-2.7.3-2">event_id is represented as a JSON string. event_id <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.7.3-2"class="pilcrow">¶</a></p>
<pid="section-2.7.4-1">name represents the information field of the EventReport. name is a free-text value to provide a human-readable summary
of the report. name <spanclass="bcp14">SHOULD</span> NOT be bigger than 256 characters and <spanclass="bcp14">SHOULD</span> NOT include new-lines.<ahref="#section-2.7.4-1"class="pilcrow">¶</a></p>
<pid="section-2.7.4-2">name is represented as a JSON string. name <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.7.4-2"class="pilcrow">¶</a></p>
<pid="section-2.7.5-1">content includes the raw EventReport in Markdown format with or without the specific MISP Markdown markup extension.<ahref="#section-2.7.5-1"class="pilcrow">¶</a></p>
<pid="section-2.7.5-2">The markdown extension for MISP is composed with a symbol as prefix then between square bracket the scope (attribute, object, tag or galaxymatrix) followed by the UUID in parenthesis.<ahref="#section-2.7.5-2"class="pilcrow">¶</a></p>
<pid="section-2.7.5-3">content is represented as a JSON string. content <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.7.5-3"class="pilcrow">¶</a></p>
<pid="section-2.7.6-1">distribution represents the basic distribution rules of the EventReport. The system must adhere to the distribution setting for access control and for dissemination of the EventReport.<ahref="#section-2.7.6-1"class="pilcrow">¶</a></p>
<pid="section-2.7.6-2">distribution is represented by a JSON string. distribution <spanclass="bcp14">MUST</span> be present and be one of the following options:<ahref="#section-2.7.6-2"class="pilcrow">¶</a></p>
<pid="section-2.7.7-1">sharing_group_id represents the local id to the MISP local instance of the Sharing Group associated for the distribution.<ahref="#section-2.7.7-1"class="pilcrow">¶</a></p>
<pid="section-2.7.7-2">sharing_group_id is represented by a JSON string. sharing_group_id <spanclass="bcp14">MUST</span> be present and set to "0" if not used.<ahref="#section-2.7.7-2"class="pilcrow">¶</a></p>
<pid="section-2.7.8-1">timestamp represents a reference time when the EventReport was created or last modified. timestamp is expressed in seconds (decimal) since 1st of January 1970 (Unix timestamp). The time zone <spanclass="bcp14">MUST</span> be UTC.<ahref="#section-2.7.8-1"class="pilcrow">¶</a></p>
<pid="section-2.7.8-2">timestamp is represented as a JSON string. timestamp <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.7.8-2"class="pilcrow">¶</a></p>
<pid="section-2.7.9-1">deleted represents a setting that allows EventReport to be revoked. Revoked EventReport are not actionable and exist merely to inform other instances of a revocation.<ahref="#section-2.7.9-1"class="pilcrow">¶</a></p>
<pid="section-2.7.9-2">deleted is represented by a JSON boolean. deleted <spanclass="bcp14">MUST</span> be present.<ahref="#section-2.7.9-2"class="pilcrow">¶</a></p>
<pid="section-2.8-1">A tag is a simple method to classify an event with a simple string. The tag name can be freely chosen. The tag name can be also chosen from a fixed machine-tag vocabulary called MISP taxonomies[<span>[<ahref="#MISP-T"class="xref">MISP-T</a>]</span>]. When an event is distributed outside an organisation, the use of MISP taxonomies[<span>[<ahref="#MISP-T"class="xref">MISP-T</a>]</span>] is <spanclass="bcp14">RECOMMENDED</span> to ensure a coherent naming of the tags. A tag is represented as a JSON array where each element describes each tag associated. A tag array <spanclass="bcp14">SHALL</span> be at event level or attribute level. A tag element is described with a name, id, colour and exportable flag.<ahref="#section-2.8-1"class="pilcrow">¶</a></p>
<pid="section-2.8-2">exportable represents a setting if the tag is kept local or exportable to other MISP instances. exportable is represented by a JSON boolean. id is a human-readable identifier that references the tag on the local instance. colour represents an RGB value of the tag.<ahref="#section-2.8-2"class="pilcrow">¶</a></p>
<pid="section-2.8-3">name <spanclass="bcp14">MUST</span> be present. colour, id and exportable <spanclass="bcp14">SHALL</span> be present.<ahref="#section-2.8-3"class="pilcrow">¶</a></p>
<pid="section-2.9-1">A sighting is an ascertainment which describes whether an attribute has been seen under a given set of conditions. The sighting can include the organisation who sighted the attribute or can
be anonymised. Sighting is composed of a JSON array in which each element describes one singular instance of a sighting. A sighting element is a JSON object composed of the following values:<ahref="#section-2.9-1"class="pilcrow">¶</a></p>
<pid="section-2.9-2">type <spanclass="bcp14">MUST</span> be present. type describes the type of a sighting. MISP allows 3 default types:<ahref="#section-2.9-2"class="pilcrow">¶</a></p>
<tdclass="text-center"rowspan="1"colspan="1">denotes an attribute which has been seen</td>
</tr>
<tr>
<tdclass="text-left"rowspan="1"colspan="1">1</td>
<tdclass="text-center"rowspan="1"colspan="1">denotes an attribute which has been seen and confirmed as false-positive</td>
</tr>
<tr>
<tdclass="text-left"rowspan="1"colspan="1">2</td>
<tdclass="text-center"rowspan="1"colspan="1">denotes an attribute which will be expired at the time of the sighting</td>
</tr>
</tbody>
</table>
<pid="section-2.9-4">uuid <spanclass="bcp14">MUST</span> be present. uuid references the uuid of the sighted attribute.<ahref="#section-2.9-4"class="pilcrow">¶</a></p>
<pid="section-2.9-5">date_sighting <spanclass="bcp14">MUST</span> be present. date_sighting is expressed in seconds (decimal) elapsed since 1st of January 1970 (Unix timestamp). date_sighting represents when the referenced attribute, designated by its uuid, is sighted.<ahref="#section-2.9-5"class="pilcrow">¶</a></p>
<pid="section-2.9-6">source <spanclass="bcp14">MAY</span> be present. source is represented as a JSON string and represents the human-readable version of the sighting source, which can be a given piece of software (e.g. SIEM), device or a specific analytical process.<ahref="#section-2.9-6"class="pilcrow">¶</a></p>
<pid="section-2.9-7">id, event_id and attribute_id are represented as a JSON string and <spanclass="bcp14">MAY</span> be present.<ahref="#section-2.9-7"class="pilcrow">¶</a></p>
<pid="section-2.9-8">id represents the human-readable identifier of the sighting reference which belongs to a specific MISP instance.
event_id represents the human-readable identifier of the event referenced by the sighting and belongs to a specific MISP instance.
attribute_id represents the human-readable identifier of the attribute referenced by the sighting and belongs to a specific MISP instance.<ahref="#section-2.9-8"class="pilcrow">¶</a></p>
<pid="section-2.9-9">org_id <spanclass="bcp14">MAY</span> be present along the JSON object describing the organisation. If the org_id is not present, the sighting is considered as anonymised.<ahref="#section-2.9-9"class="pilcrow">¶</a></p>
<pid="section-2.9-10">org_id represents the human-readable identifier of the organisation which did the sighting and belongs to a specific MISP instance.<ahref="#section-2.9-10"class="pilcrow">¶</a></p>
<pid="section-2.9-11">A human-readable identifier <spanclass="bcp14">MUST</span> be considered as an unsigned integer.<ahref="#section-2.9-11"class="pilcrow">¶</a></p>
<pid="section-2.10-1">A galaxy is a simple method to express a large object called cluster that can be attached to MISP events. A cluster can be composed of one or more elements. Elements are expressed as key-values.<ahref="#section-2.10-1"class="pilcrow">¶</a></p>
<pid="section-3-1">The JSON Schema <span>[<ahref="#JSON-SCHEMA"class="xref">JSON-SCHEMA</a>]</span> below defines the structure of the MISP core format
as literally described before. The JSON Schema is used to validate MISP events at creation time
or parsing.<ahref="#section-3-1"class="pilcrow">¶</a></p>
<pid="section-4.1-1">A manifest file is a simple JSON file named manifest.json in a directory where the MISP events are located.
Each MISP event is a file located in the same directory with the event uuid as filename with the json extension.<ahref="#section-4.1-1"class="pilcrow">¶</a></p>
<pid="section-4.1-2">The manifest format is a JSON object composed of a dictionary where the field is the uuid of the event.<ahref="#section-4.1-2"class="pilcrow">¶</a></p>
<pid="section-4.1-3">Each uuid is composed of a JSON object with the following fields which came from the original event referenced
by the same uuid:<ahref="#section-4.1-3"class="pilcrow">¶</a></p>
<pid="section-4.1-5">In addition to the fields originating from the event, the following fields can be added:<ahref="#section-4.1-5"class="pilcrow">¶</a></p>
<ulclass="compact">
<liclass="compact"id="section-4.1-6.1">integrity:sha256 represents the SHA256 value in hexadecimal representation of the associated MISP event file to ensure integrity of the file. (<spanclass="bcp14">SHOULD</span>)<ahref="#section-4.1-6.1"class="pilcrow">¶</a>
</li>
<liclass="compact"id="section-4.1-6.2">integrity:pgp represents a detached PGP signature <span>[<ahref="#RFC4880"class="xref">RFC4880</a>]</span> of the associated MISP event file to ensure integrity of the file. (<spanclass="bcp14">SHOULD</span>)<ahref="#section-4.1-6.2"class="pilcrow">¶</a>
</li>
</ul>
<pid="section-4.1-7">If a detached PGP signature is used for each MISP event, a detached PGP signature is a <spanclass="bcp14">MUST</span> to ensure integrity of the manifest file.
A detached PGP signature for a manifest file is a manifest.json.asc file containing the PGP signature.<ahref="#section-4.1-7"class="pilcrow">¶</a></p>
<spanclass="refAuthor">Bradner, S.</span>, <spanclass="refTitle">"Key words for use in RFCs to Indicate Requirement Levels"</span>, <spanclass="seriesInfo">BCP 14</span>, <spanclass="seriesInfo">RFC 2119</span>, <spanclass="seriesInfo">DOI 10.17487/RFC2119</span>, <timedatetime="1997-03"class="refDate">March 1997</time>, <span><<ahref="https://www.rfc-editor.org/info/rfc2119">https://www.rfc-editor.org/info/rfc2119</a>></span>. </dd>
<spanclass="refAuthor">Wright, A.</span>, <spanclass="refTitle">"JSON Schema: A Media Type for Describing JSON Documents"</span>, <timedatetime="2016"class="refDate">2016</time>, <span><<ahref="https://tools.ietf.org/html/draft-wright-json-schema">https://tools.ietf.org/html/draft-wright-json-schema</a>></span>. </dd>
<ddclass="break"></dd>
<dtid="MISP-P">[MISP-P]</dt>
<dd>
<spanclass="refAuthor">Community, M.</span>, <spanclass="refTitle">"MISP Project - Open Source Threat Intelligence Platform and Open Standards For Threat Information Sharing"</span>, <span><<ahref="https://github.com/MISP">https://github.com/MISP</a>></span>. </dd>
<ddclass="break"></dd>
<dtid="MISP-R">[MISP-R]</dt>
<dd>
<spanclass="refAuthor">Community, M.</span>, <spanclass="refTitle">"MISP Object Relationship Types - common vocabulary of relationships"</span>, <span><<ahref="https://github.com/MISP/misp-objects/tree/master/relationships">https://github.com/MISP/misp-objects/tree/master/relationships</a>></span>. </dd>
<ddclass="break"></dd>
<dtid="MISP-T">[MISP-T]</dt>
<dd>
<spanclass="refAuthor">Community, M.</span>, <spanclass="refTitle">"MISP Taxonomies - shared and common vocabularies of tags"</span>, <span><<ahref="https://github.com/MISP/misp-taxonomies">https://github.com/MISP/misp-taxonomies</a>></span>. </dd>