Splunk Developer Day: Watch all Sessions!Access the Playlist here

Threat Intelligence framework in Splunk ES

The Threat Intelligence framework is a mechanism for consuming and managing threat feeds, detecting threats, and alerting. The framework consists of modular inputs that collect and sanitize threat intelligence data, lookup generation searches to reduce data to optimize performance, searches to correlate data and alert on the results, and data modeling to accelerate and store results. This framework also includes a number of audit dashboards that allow introspection into threat intelligence retrieval, normalization, persistence, and analysis.

This framework is one of five frameworks in Splunk Enterprise Security with which you can integrate. See Building Integrations for Splunk Enterprise Security for an introduction to the frameworks.

The diagram presents an overview of the Threat Intelligence framework, with the possible integration points highlighted.

How Splunk Enterprise Security processes threat intelligence

The default process by which Splunk Enterprise Security processes threat intelligence is as follows.

  1. Splunk Enterprise Security administrators configure the included threatlist sources and add new ones by adding new threatlist inputs. In addition, they can configure correlation searches to add threat indicators directly from events to the KV store.

  2. The threatlist.py modular input downloads threat intelligence from the configured threatlist sources to the threat intelligence dropbox. In Splunk Enterprise Security versions prior to 6.2.0, the default dropbox is at $SPLUNK_HOME/etc/apps/SA-ThreatIntelligence/local/data/threat_intel. In Splunk Enterprise Security 6.2.0 and 6.3.0, the default dropbox is at $SPLUNK_HOME/etc/apps/SA-ThreatIntelligence/local/data/threat_intel2. In Splunk Enterprise Security 6.4.0 and higher, the Threat Intelligence Manager is deprecated and drop boxes are no longer used. If the Enterprise search head does not have networking access, The Enterprise Security administrator may upload an intelligence document and all scripts must replace or update the file at $SPLUNK_DB/modinputs/threatlist/.

  3. The file parser is the logic used to parse the intelligence file. When unspecified, the file parser defaults to auto and makes a best-effort attempt to detect the intelligence type. To specify the type, you can set file_parser = <string> using one of the following:

    • auto
    • line
    • ioc
    • stix
    • stix 2
    • stix_taxii
  4. The Threat Intelligence Audit dashboard displays the latest status changes to the threat sources.

  5. When collections are updated, the threatmatch modular input dispatches the lookup generating searches. The lookup generating searches extract and deduplicate threat data and create loookups that are either based on CSV or KV store depending on the search.

  6. The threatmatch modular input dynamically generates the threat generating searches that is based on matching specs defined by the user. The results from the threat generating searches is written to the threat_activity index using a new custom search command called collectthreat.py.

  7. Matches found by Threat Gen searches populate the threat_activity index and tag the events for the Threat Intelligence data model. Security analysts can review the items in the threat_activity index on the Threat Activity dashboard.

  8. The Threat Activity Detected correlation search creates notable events from the threat source matches and changes risk scores of assets and identities associated with the threat source match. Security analysts can review the notable events created on the Incident Review dashboard and the risk scores on the Risk Analysis dashboard. They can use the threat intelligence response action to add threat indicators from events to the KV store.

Info

The rest API allows you to create, read, update, and delete threat intelligence entries. However, when the intelligence is processed, it is not deleted. For example, if something is missing from the source, it is not removed.

Integrate with the Threat Intelligence framework

There are three ways to integrate with the Threat Intelligence framework.

  • Add a custom threat intelligence data source. There are two ways to do this:
    • Create a new stanza in inputs.conf, managed by the threatlist.py modular input. Follow the naming convention [threatlist://<my_custom_threat_intel_source>].
    • Upload a custom threat intelligence data source by using the REST API. See Threat Intelligence API reference(Opens new window).
  • Create, read, update, or delete items in a threat intelligence collection in the KV store by using the REST API. See Threat Intelligence API reference(Opens new window).
  • Match custom data against existing intelligence collections by creating a new Threat Gen search.