misp-objects/README.md

165 lines
11 KiB
Markdown
Raw Normal View History

2016-02-08 17:04:43 +01:00
# misp-objects
2016-04-11 12:55:27 +02:00
[![Build Status](https://travis-ci.org/MISP/misp-objects.svg?branch=master)](https://travis-ci.org/MISP/misp-objects)
MISP objects used in MISP (starting from 2.4.80) system and can be used by other information sharing tool. MISP objects
2016-02-08 17:34:32 +01:00
are in addition to MISP attributes to allow advanced combinations of attributes. The creation of these objects
and their associated attributes are based on real cyber security use-cases and existing practices in information sharing.
Feel free to propose your own MISP objects to be included in MISP. The system is similar to the [misp-taxonomies](https://github.com/MISP/misp-taxonomies) where anyone can contribute their own objects to be included in MISP without modifying software.
## Format of MISP objects
2016-02-08 17:04:43 +01:00
~~~~json
{
"name": "domain|ip",
"meta-category": "network",
"description": "A domain and IP address seen as a tuple in a specific time frame.",
"version": 1,
"uuid": "f47559d7-6c16-40e8-a6b0-eda4a008376f",
2016-02-08 17:04:43 +01:00
"attributes" :
{
"ip": {
2016-02-08 17:51:47 +01:00
"misp-attribute": "ip-dst",
2017-07-03 16:51:54 +02:00
"ui-priority": 1,
2016-02-08 17:04:43 +01:00
"categories": ["Network activity","External analysis"]
},
"domain": {
2016-02-08 17:51:47 +01:00
"misp-attribute": "domain",
2017-07-03 16:51:54 +02:00
"ui-priority": 1,
2016-02-08 17:04:43 +01:00
"categories": ["Network activity","External analysis"]
},
"first-seen": {
2016-02-08 17:51:47 +01:00
"misp-attribute": "datetime",
"disable_correlation": true,
2017-07-03 16:51:54 +02:00
"ui-priority": 0
2016-02-08 17:04:43 +01:00
},
"last-seen": {
2016-02-08 17:51:47 +01:00
"misp-attribute": "datetime",
"disable_correlation": true,
2017-07-03 16:51:54 +02:00
"ui-priority": 0
2016-02-08 17:04:43 +01:00
}
},
"required": ["ip","domain"]
}
~~~~
2016-02-08 17:34:32 +01:00
A MISP object is described in a simple JSON file containing the following element.
* **name** is the name of the your object.
* **meta-category** is the category where the object falls into. (file, network, financial, misc, internal)
2016-02-08 17:34:32 +01:00
* **description** is a summary of the object description.
* **version** is the version number as a decimal value.
2016-02-08 17:51:47 +01:00
* **required** is an array containing the minimal required attributes to describe the object.
* **requiredOneOf** is an array containing the attributes where at least one need to be present to describe the object.
2016-02-08 17:51:47 +01:00
* **attributes** contains another JSON object listing all the attributes composing the object.
2017-11-19 16:49:50 +01:00
Each attribute must contain a reference **misp-attribute** to reference an existing attribute definition in MISP (MISP attributes types are case-sensitive).
2017-07-03 16:51:54 +02:00
An array **categories** shall be used to described in which categories the attribute is. The **ui-priority**
describes the usage frequency of an attribute. This helps to only display the most frequently used attributes and
allowing advanced users to show all the attributes depending of their configuration. An optional **multiple** field
shall be set to true if multiple elements of the same key can be used in the object. An optional **values_list**
where this list of value can be selected as a value for an attribute. An optional **sane_default** where this list of value recommend
2017-03-14 20:57:19 +01:00
potential a sane default for an attribute. An optional **disable_correlation** boolean field to suggest the disabling of correlation
for a specific attribute.
2016-02-08 17:34:32 +01:00
## Existing MISP objects
* [objects/ail-leak](objects/ail-leak/definition.json) - information leak object as defined by the [AIL Analysis Information Leak framework](https://www.github.com/CIRCL/AIL-framework).
* [objects/android-permission](objects/android-permission/definition.json) - A set of android permissions - one or more permission(s) which can be linked to other objects (e.g. file).
2017-11-19 16:49:50 +01:00
* [objects/asn](objects/asn/definition.json) - Autonomous system object describing a BGP autonomous system which can include one or more network operators management an entity (e.g. ISP) along with their routing policy, routing prefixes or alike.
2017-11-04 08:59:26 +01:00
* [objects/av-signature](objects/av-signature/definition.json) - Antivirus detection signature.
2018-01-29 07:44:37 +01:00
* [objects/bank-account](objects/bank-account/definition.json) - Object describing bank account information based on account description from goAML 4.0.
* [objects/coin-address](objects/coin-address/definition.json) - An address used in a cryptocurrency.
* [objects/cookie](objects/cookie/definition.json) - A cookie object describes an HTTP cookie including its use in malicious cases.
2017-03-05 13:04:24 +01:00
* [objects/ddos](objects/ddos/definition.json) - DDoS object describes a current DDoS activity from a specific or/and to a specific target.
2016-02-08 17:34:32 +01:00
* [objects/domain-ip](objects/domain-ip/definition.json) - A domain and IP address seen as a tuple in a specific time frame.
* [objects/elf](objects/elf/definition.json) - Object describing an Executable and Linkable Format (ELF).
* [objects/elf-section](objects/elf-section/definition.json) - Object describing a section of an Executable and Linkable Format (ELF).
2016-12-12 20:57:04 +01:00
* [objects/email](objects/email/definition.json) - An email object.
2016-02-09 21:07:16 +01:00
* [objects/file](objects/file/definition.json) - File object describing a file with meta-information.
2017-03-22 07:33:44 +01:00
* [objects/geolocation](objects/geolocation/definition.json) - A geolocation object to describe a location.
2016-02-16 07:27:54 +01:00
* [objects/ip-port](objects/ip-port/definition.json) - An IP address and a port seen as a tuple (or as a triple) in a specific time frame.
2017-09-24 20:22:08 +02:00
* [objects/ja3](objects/ja3/definition.json) - A ja3 object which describes an SSL client fingerprint in an easy to produce and shareable way.
2018-02-05 17:26:13 +01:00
* [objects/legal-entity](objects/legal-entity/definition.json) - Object describing a legal entity, such as an organisation.
2017-08-26 21:44:49 +02:00
* [objects/macho](objects/macho/definition.json) - Object describing a Mach object file format.
2017-09-29 14:33:54 +02:00
* [objects/macho-section](objects/macho-section/definition.json) - Object describing a section of a Mach object file format.
* [objects/microblog](objects/microblog/definition.json) - Object describing microblog post like Twitter or Facebook.
2017-11-04 08:59:26 +01:00
* [objects/netflow](objects/netflow/definition.json) - Netflow object describes an network object based on the Netflowv5/v9 minimal definition.
2016-11-02 10:10:32 +01:00
* [objects/passive-dns](objects/passive-dns/definition.json) - Passive DNS records as expressed in [draft-dulaunoy-dnsop-passive-dns-cof-01](https://tools.ietf.org/html/draft-dulaunoy-dnsop-passive-dns-cof-01).
2017-09-29 16:18:26 +02:00
* [objects/paste](objects/paste/definition.json) - Object describing a paste or similar post from a website allowing to share privately or publicly posts.
2017-03-11 09:52:24 +01:00
* [objects/pe](objects/pe/definition.json) - Portable Executable (PE) object.
2017-03-13 07:19:09 +01:00
* [objects/pe-section](objects/pe-section/definition.json) - Portable Executable (PE) object - section description.
2017-09-24 20:22:08 +02:00
* [objects/person](objects/person/definition.json) - A person object which describes a person or an identity.
2017-08-28 20:16:37 +02:00
* [objects/phone](objects/phone/definition.json) - A phone or mobile phone object.
2016-12-12 20:57:04 +01:00
* [objects/registry-key](objects/registry-key/definition.json) - A registry-key object.
* [objects/r2graphity](objects/r2graphity/definition.json) - Indicators extracted from binary files using radare2 and graphml.
* [objects/rtir](objects/rtir/definition.json) - RTIR - Request Tracker for Incident Response.
2018-01-29 08:24:40 +01:00
* [objects/sandbox-report](objects/sandbox-report/definition.json) - Sandbox report object.
2018-01-29 07:47:19 +01:00
* [objects/sb-signature](objects/sb-signature/definition.json) - Sandbox detection signature object.
2017-09-26 07:37:24 +02:00
* [objects/tor-node](objects/tor-node/definition.json) - Tor node description which are part of the Tor network at a time.
2018-02-07 17:26:09 +01:00
* [objects/transaction](objects/transaction/definition.json) - Object describing a financial transaction.
2017-11-04 08:59:26 +01:00
* [objects/virustotal-report](objects/virustotal-report/definition.json) - VirusTotal report.
* [objects/vulnerability](objects/vulnerability/definition.json) - Vulnerability object to describe software or hardware vulnerability as described in a CVE.
2017-03-13 07:46:51 +01:00
* [objects/url](objects/url/definition.json) - url object describes an url along with its normalized field (e.g. using faup parsing library) and its metadata.
2017-09-24 21:27:08 +02:00
* [objects/victim](objects/victim/definition.json) - a victim object to describe the organisation being targeted or abused.
* [objects/whois](objects/whois/definition.json) - Whois records information for a domain name.
2016-02-16 07:43:17 +01:00
* [objects/x509](objects/x509/definition.json) - x509 object describing a X.509 certificate.
2016-02-08 17:34:32 +01:00
## MISP objects relationships
The MISP object model is open and allows user to use their own relationships. MISP provides a list of default relationships that can be used if you plan to share your events with other MISP communities.
- [relationships](relationships/definition.json) - list of predefined default relationships which can be used to link MISP objects together and explain the context of the relationship.
2016-02-10 09:43:48 +01:00
## How to contribute MISP objects?
Fork the project, create a new directory in the [objects directory](objects/) matching your object name. Objects must be composed
of existing MISP attributes. If you are missing a specific attributes, feel free to open an issue in the [MISP project](https://www.github.com/MISP/MISP).
2016-02-16 07:52:26 +01:00
We recommend to add a **text** attribute in a object to allow users to add comments or correlating text.
If the unparsed object can be included, a **raw-base64** attribute can be used in the object to import the whole object.
2016-02-10 09:43:48 +01:00
Every object needs a **uuid** which can be created using **uuidgen -r** on a linux command line.
2016-02-10 09:43:48 +01:00
When the object is created, pull a request on this project. We usually merge the objects if it fits existing use-cases.
2017-09-26 07:37:24 +02:00
## MISP objects documentation
The MISP objects are documented at the following location in [HTML](https://www.misp-project.org/objects.html) and [PDF](https://www.misp-project.org/objects.pdf).
The documentation is automatically generated from the MISP objects template expressed in JSON.
2016-02-10 09:43:48 +01:00
## What are the advantages of MISP objects versus existing standards?
MISP objects are dynamically used objects that are contributed by users of MISP (the threat sharing platform) or other information sharing platforms.
The aim is to allow a dynamic update of objects definition in operational distributed sharing systems like MISP. Security threats and their related indicators are quite dynamic, standardized formats are quite static and new indicators require a significant time before being standardized.
The MISP objects model allows to add new combined indicators format based on their usage without changing the underlying code base of MISP or other threat sharing platform using it. The definition of the objects can be then propagated along with the indicators itself.
2016-02-10 09:43:48 +01:00
2016-02-08 17:34:32 +01:00
## License
~~~~
2018-01-14 23:40:32 +01:00
Copyright (C) 2016-2018 Andras Iklody
Copyright (C) 2016-2018 Alexandre Dulaunoy
Copyright (C) 2016-2018 CIRCL - Computer Incident Response Center Luxembourg
2016-02-08 17:34:32 +01:00
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
~~~~