{
    "event": {
        "classification.identifier": {
            "description": "The lowercase identifier defines the actual software or service (e.g. 'heartbleed' or 'ntp_version') or standardized malware name (e.g. 'zeus'). Note that you MAY overwrite this field during processing for your individual setup. This field is not standardized across IntelMQ setups/users.",
            "type": "String"
        },
        "classification.taxonomy": {
            "description": "We recognize the need for the CSIRT teams to apply a static (incident) taxonomy to abuse data. With this goal in mind the type IOC will serve as a basis for this activity. Each value of the dynamic type mapping translates to a an element in the static taxonomy. The European CSIRT teams for example have decided to apply the eCSIRT.net incident classification. The value of the taxonomy key is thus a derivative of the dynamic type above. For more information about check [ENISA taxonomies](http://www.enisa.europa.eu/activities/cert/support/incident-management/browsable/incident-handling-process/incident-taxonomy/existing-taxonomies).",
            "length": 100,
            "type": "LowercaseString"
        },
        "classification.type": {
            "description": "The abuse type IOC is one of the most crucial pieces of information for any given abuse event. The main idea of dynamic typing is to keep our ontology flexible, since we need to evolve with the evolving threatscape of abuse data. In contrast with the static taxonomy below, the dynamic typing is used to perform business decisions in the abuse handling pipeline. Furthermore, the value data set should be kept as minimal as possible to avoid \u201ctype explosion\u201d, which in turn dilutes the business value of the dynamic typing. In general, we normally have two types of abuse type IOC: ones referring to a compromised resource or ones referring to pieces of the criminal infrastructure, such as a command and control servers for example.",
            "type": "ClassificationType"
        },
        "comment": {
            "description": "Free text commentary about the abuse event inserted by an analyst.",
            "type": "String"
        },
        "destination.abuse_contact": {
            "description": "Abuse contact for destination address. A comma separated list.",
            "type": "LowercaseString"
        },
        "destination.account": {
            "description": "An account name or email address, which has been identified to relate to the destination of an abuse event.",
            "type": "String"
        },
        "destination.allocated": {
            "description": "Allocation date corresponding to BGP prefix.",
            "type": "DateTime"
        },
        "destination.as_name": {
            "description": "The autonomous system name to which the connection headed.",
            "type": "String"
        },
        "destination.asn": {
            "description": "The autonomous system number to which the connection headed.",
            "type": "Integer"
        },
        "destination.fqdn": {
            "description": "A DNS name related to the host from which the connection originated. DNS allows even binary data in DNS, so we have to allow everything. A final point is stripped, string is converted to lower case characters.",
            "regex": "^.*[^\\.]$",
            "type": "FQDN"
        },
        "destination.geolocation.cc": {
            "description": "Country-Code according to ISO3166-1 alpha-2 for the destination IP.",
            "length": 2,
            "regex": "^[a-zA-Z0-9]{2}$",
            "type": "UppercaseString"
        },
        "destination.geolocation.city": {
            "description": "Some geolocation services refer to city-level geolocation.",
            "type": "String"
        },
        "destination.geolocation.country": {
            "description": "The country name derived from the ISO3166 country code (assigned to cc field).",
            "type": "String"
        },
        "destination.geolocation.latitude": {
            "description": "Latitude coordinates derived from a geolocation service, such as MaxMind geoip db.",
            "type": "Float"
        },
        "destination.geolocation.longitude": {
            "description": "Longitude coordinates derived from a geolocation service, such as MaxMind geoip db.",
            "type": "Float"
        },
        "destination.geolocation.region": {
            "description": "Some geolocation services refer to region-level geolocation.",
            "type": "String"
        },
        "destination.geolocation.state": {
            "description": "Some geolocation services refer to state-level geolocation.",
            "type": "String"
        },
        "destination.ip": {
            "description": "The IP which is the target of the observed connections.",
            "type": "IPAddress"
        },
        "destination.local_hostname": {
            "description": "Some sources report a internal hostname within a NAT related to the name configured for a compromized system",
            "type": "String"
        },
        "destination.local_ip": {
            "description": "Some sources report a internal (NATed) IP address related a compromized system. N.B. RFC1918 IPs are OK here.",
            "type": "IPAddress"
        },
        "destination.network": {
            "description": "CIDR for an autonomous system. Also known as BGP prefix. If multiple values are possible, select the most specific.",
            "type": "IPNetwork"
        },
        "destination.port": {
            "description": "The port to which the connection headed.",
            "type": "Integer"
        },
        "destination.registry": {
            "description": "The IP registry a given ip address is allocated by.",
            "length": 7,
            "type": "Registry"
        },
        "destination.reverse_dns": {
            "description": "Reverse DNS name acquired through a reverse DNS query on an IP address. N.B. Record types other than PTR records may also appear in the reverse DNS tree. Furthermore, unfortunately, there is no rule prohibiting people from writing anything in a PTR record. Even JavaScript will work. A final point is stripped, string is converted to lower case characters.",
            "regex": "^.*[^\\.]$",
            "type": "FQDN"
        },
        "destination.tor_node": {
            "description": "If the destination IP was a known tor node.",
            "type": "Boolean"
        },
        "destination.url": {
            "description": "A URL denotes on IOC, which refers to a malicious resource, whose interpretation is defined by the abuse type. A URL with the abuse type phishing refers to a phishing resource.",
            "type": "URL"
        },
        "event_description.target": {
            "description": "Some sources denominate the target (organization) of a an attack.",
            "type": "String"
        },
        "event_description.text": {
            "description": "A free-form textual description of an abuse event.",
            "type": "String"
        },
        "event_description.url": {
            "description": "A description URL is a link to a further description of the the abuse event in question.",
            "type": "URL"
        },
        "event_hash": {
            "description": "Computed event hash with specific keys and values that identify a unique event. At present, the hash should default to using the SHA1 function. Please note that for an event hash to be able to match more than one event (deduplication) the receiver of an event should calculate it based on a minimal set of keys and values present in the event. Using for example the observation time in the calculation will most likely render the checksum useless for deduplication purposes.",
            "length": 40,
            "regex": "^[A-F0-9./]+$",
            "type": "UppercaseString"
        },
        "extra": {
            "description": "All anecdotal information, which cannot be parsed into the data harmonization elements. E.g. os.name, os.version, etc.  **Note**: this is only intended for mapping any fields which can not map naturally into the data harmonization. It is not intended for extending the data harmonization with your own fields.",
            "type": "JSON"
        },
        "feed.accuracy": {
            "description": "A float between 0 and 100 that represents how accurate the data in the feed is",
            "type": "Accuracy"
        },
        "feed.code": {
            "description": "Code name for the feed, e.g. DFGS, HSDAG etc.",
            "length": 100,
            "type": "String"
        },
        "feed.documentation": {
            "description": "A URL or hint where to find the documentation of this feed.",
            "type": "String"
        },
        "feed.name": {
            "description": "Name for the feed, usually found in collector bot configuration.",
            "type": "String"
        },
        "feed.provider": {
            "description": "Name for the provider of the feed, usually found in collector bot configuration.",
            "type": "String"
        },
        "feed.url": {
            "description": "The URL of a given abuse feed, where applicable",
            "type": "URL"
        },
        "malware.hash.md5": {
            "description": "A string depicting an MD5 checksum for a file, be it a malware sample for example.",
            "length": 200,
            "regex": "^[ -~]+$",
            "type": "String"
        },
        "malware.hash.sha1": {
            "description": "A string depicting a SHA1 checksum for a file, be it a malware sample for example.",
            "length": 200,
            "regex": "^[ -~]+$",
            "type": "String"
        },
        "malware.hash.sha256": {
            "description": "A string depicting a SHA256 checksum for a file, be it a malware sample for example.",
            "length": 200,
            "regex": "^[ -~]+$",
            "type": "String"
        },
        "malware.name": {
            "description": "The malware name in lower case.",
            "regex": "^[ -~]+$",
            "type": "LowercaseString"
        },
        "malware.version": {
            "description": "A version string for an identified artifact generation, e.g. a crime-ware kit.",
            "regex": "^[ -~]+$",
            "type": "String"
        },
        "misp.attribute_uuid": {
            "description": "MISP - Malware Information Sharing Platform & Threat Sharing UUID of an attribute.",
            "length": 36,
            "regex": "^[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}$",
            "type": "LowercaseString"
        },
        "misp.event_uuid": {
            "description": "MISP - Malware Information Sharing Platform & Threat Sharing UUID.",
            "length": 36,
            "regex": "^[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[0-9a-z]{12}$",
            "type": "LowercaseString"
        },
        "output": {
            "description": "Event data converted into foreign format, intended to be exported by output plugin.",
            "type": "JSON"
        },
        "protocol.application": {
            "description": "e.g. vnc, ssh, sip, irc, http or smtp.",
            "length": 100,
            "regex": "^[ -~]+$",
            "type": "LowercaseString"
        },
        "protocol.transport": {
            "description": "e.g. tcp, udp, icmp.",
            "iregex": "^ip|icmp|igmp|ggp|ipencap|st2|tcp|cbt|egp|igp|bbn-rcc|nvp|pup|argus|emcon|xnet|chaos|udp|mux|dcn|hmp|prm|xns-idp|trunk-1|trunk-2|leaf-1|leaf-2|rdp|irtp|iso-tp4|netblt|mfe-nsp|merit-inp|sep|3pc|idpr|xtp|ddp|idpr-cmtp|tp\\+\\+|il|ipv6|sdrp|ipv6-route|ipv6-frag|idrp|rsvp|gre|mhrp|bna|esp|ah|i-nlsp|swipe|narp|mobile|tlsp|skip|ipv6-icmp|ipv6-nonxt|ipv6-opts|cftp|sat-expak|kryptolan|rvd|ippc|sat-mon|visa|ipcv|cpnx|cphb|wsn|pvp|br-sat-mon|sun-nd|wb-mon|wb-expak|iso-ip|vmtp|secure-vmtp|vines|ttp|nsfnet-igp|dgp|tcf|eigrp|ospf|sprite-rpc|larp|mtp|ax.25|ipip|micp|scc-sp|etherip|encap|gmtp|ifmp|pnni|pim|aris|scps|qnx|a/n|ipcomp|snp|compaq-peer|ipx-in-ip|vrrp|pgm|l2tp|ddx|iatp|st|srp|uti|smp|sm|ptp|isis|fire|crtp|crdup|sscopmce|iplt|sps|pipe|sctp|fc|divert$",
            "length": 11,
            "type": "LowercaseString"
        },
        "raw": {
            "description": "The original line of the event from encoded in base64.",
            "type": "Base64"
        },
        "rtir_id": {
            "description": "Request Tracker Incident Response ticket id.",
            "type": "Integer"
        },
        "screenshot_url": {
            "description": "Some source may report URLs related to a an image generated of a resource without any metadata. Or an URL pointing to resource, which has been rendered into a webshot, e.g. a PNG image and the relevant metadata related to its retrieval/generation.",
            "type": "URL"
        },
        "source.abuse_contact": {
            "description": "Abuse contact for source address. A comma separated list.",
            "type": "LowercaseString"
        },
        "source.account": {
            "description": "An account name or email address, which has been identified to relate to the source of an abuse event.",
            "type": "String"
        },
        "source.allocated": {
            "description": "Allocation date corresponding to BGP prefix.",
            "type": "DateTime"
        },
        "source.as_name": {
            "description": "The autonomous system name from which the connection originated.",
            "type": "String"
        },
        "source.asn": {
            "description": "The autonomous system number from which originated the connection.",
            "type": "Integer"
        },
        "source.fqdn": {
            "description": "A DNS name related to the host from which the connection originated. DNS allows even binary data in DNS, so we have to allow everything. A final point is stripped, string is converted to lower case characters.",
            "regex": "^.*[^\\.]$",
            "type": "FQDN"
        },
        "source.geolocation.cc": {
            "description": "Country-Code according to ISO3166-1 alpha-2 for the source IP.",
            "length": 2,
            "regex": "^[a-zA-Z0-9]{2}$",
            "type": "UppercaseString"
        },
        "source.geolocation.city": {
            "description": "Some geolocation services refer to city-level geolocation.",
            "type": "String"
        },
        "source.geolocation.country": {
            "description": "The country name derived from the ISO3166 country code (assigned to cc field).",
            "type": "String"
        },
        "source.geolocation.cymru_cc": {
            "description": "The country code denoted for the ip by the Team Cymru asn to ip mapping service.",
            "length": 2,
            "regex": "^[a-zA-Z0-9]{2}$",
            "type": "UppercaseString"
        },
        "source.geolocation.geoip_cc": {
            "description": "MaxMind Country Code (ISO3166-1 alpha-2).",
            "length": 2,
            "regex": "^[a-zA-Z0-9]{2}$",
            "type": "UppercaseString"
        },
        "source.geolocation.latitude": {
            "description": "Latitude coordinates derived from a geolocation service, such as MaxMind geoip db.",
            "type": "Float"
        },
        "source.geolocation.longitude": {
            "description": "Longitude coordinates derived from a geolocation service, such as MaxMind geoip db.",
            "type": "Float"
        },
        "source.geolocation.region": {
            "description": "Some geolocation services refer to region-level geolocation.",
            "type": "String"
        },
        "source.geolocation.state": {
            "description": "Some geolocation services refer to state-level geolocation.",
            "type": "String"
        },
        "source.ip": {
            "description": "The ip observed to initiate the connection",
            "type": "IPAddress"
        },
        "source.local_hostname": {
            "description": "Some sources report a internal hostname within a NAT related to the name configured for a compromised system",
            "type": "String"
        },
        "source.local_ip": {
            "description": "Some sources report a internal (NATed) IP address related a compromised system. N.B. RFC1918 IPs are OK here.",
            "type": "IPAddress"
        },
        "source.network": {
            "description": "CIDR for an autonomous system. Also known as BGP prefix. If multiple values are possible, select the most specific.",
            "type": "IPNetwork"
        },
        "source.port": {
            "description": "The port from which the connection originated.",
            "length": 5,
            "type": "Integer"
        },
        "source.registry": {
            "description": "The IP registry a given ip address is allocated by.",
            "length": 7,
            "type": "Registry"
        },
        "source.reverse_dns": {
            "description": "Reverse DNS name acquired through a reverse DNS query on an IP address. N.B. Record types other than PTR records may also appear in the reverse DNS tree. Furthermore, unfortunately, there is no rule prohibiting people from writing anything in a PTR record. Even JavaScript will work. A final point is stripped, string is converted to lower case characters.",
            "regex": "^.*[^\\.]$",
            "type": "FQDN"
        },
        "source.tor_node": {
            "description": "If the source IP was a known tor node.",
            "type": "Boolean"
        },
        "source.url": {
            "description": "A URL denotes an IOC, which refers to a malicious resource, whose interpretation is defined by the abuse type. A URL with the abuse type phishing refers to a phishing resource.",
            "type": "URL"
        },
        "status": {
            "description": "Status of the malicious resource (phishing, dropzone, etc), e.g. online, offline.",
            "type": "String"
        },
        "time.observation": {
            "description": "The time a source bot saw the event. This timestamp becomes especially important should you perform your own attribution on a host DNS name for example. The mechanism to denote the attributed elements with reference to the source provided is detailed below in Reported Identity IOC.(ISO8660).",
            "type": "DateTime"
        },
        "time.source": {
            "description": "Time reported by a source. Some sources only report a date, which may be used here if there is no better observation.",
            "type": "DateTime"
        }
    },
    "report": {
        "feed.accuracy": {
            "description": "A float between 0 and 100 that represents how accurate the data in the feed is",
            "type": "Accuracy"
        },
        "feed.code": {
            "description": "Code name for the feed, e.g. DFGS, HSDAG etc.",
            "length": 100,
            "type": "String"
        },
        "feed.documentation": {
            "description": "A URL or hint where to find the documentation of this feed.",
            "type": "String"
        },
        "feed.name": {
            "description": "Name for the feed, usually found in collector bot configuration.",
            "type": "String"
        },
        "feed.provider": {
            "description": "Name for the provider of the feed, usually found in collector bot configuration.",
            "type": "String"
        },
        "feed.url": {
            "description": "The URL of a given abuse feed, where applicable",
            "type": "URL"
        },
        "raw": {
            "description": "The original raw and unparsed data encoded in base64.",
            "type": "Base64"
        },
        "rtir_id": {
            "description": "Request Tracker Incident Response ticket id.",
            "type": "Integer"
        },
        "time.observation": {
            "description": "The time a source bot saw the event. This timestamp becomes especially important should you perform your own attribution on a host DNS name for example. The mechanism to denote the attributed elements with reference to the source provided is detailed below in Reported Identity IOC.(ISO8660).",
            "type": "DateTime"
        }
    }
}
