Threat intel feeds are a good way to add security context to your Splunk data with IP addresses, domain/host names or files. These feeds are generally accessible via some manner of web requests. Splunk Enterprise Security App has a Unified Threat Management framework for integrating threat intelligence feeds that makes these integrations easy . If the threat content you need to use is easy to download, you should be able to simply use the Configure -> Data Enrichment -> Threat Lists -> New form in the ES product.
But sometimes, a feed provider may require a number of steps before we can get the actual feed. Here’s how to handle a more difficult integration easily, using Symantec DeepSight’s threat feed as an example. The code bundle for this app is available on Splunk Apps.
Integrating the Symantec DeepSight Feed into Splunk Enterprise via lookups
ip,consecutive_listings,listing_ratio,reputation,behaviour,hostility,confidence
"8.13.91.100",25,76,10,"attack",5,3
"8.13.91.100",25,76,10,"malware",5,1
"8.15.25.59",90,90,10,"spam",5,4
"8.15.25.59",90,90,10,"CnC",,4
NOTE: This is an example only.
| inputlookup deepSightIpFeed
ip:$1,category:$5,risk:$7,description:symantec_threatlist
[threatlist://symantec_threatlist_ip_reputation_feed]
delim_regex = ,
description = Symantec Deepsight IP Reputation
disabled = false
fields = ip:$1,category:$5,risk:$7,description:symantec_threatlist
type = Symantec Deepsight IP Reputation
url = lookup://deepSightIpFeed
index=_internal sourcetype="python_modular_input" category=threatlist name=symantec_threatlist_ip_reputation_feed
The overall goal is to have an automated lookup that is populated/updated by connecting to the Deep Sight portal. The feeds are updated daily by Symantec but we don’t know exactly when that happens, so we’ll check twice a day.
Our approach used a script to acquire the feed. We could have used a modular input as well. More details on modular inputs can be found here: Modular Inputs Introduction
Thanks to Monzy and James for their help!
----------------------------------------------------
Thanks!
Jack Coates
The Splunk platform removes the barriers between data and action, empowering observability, IT and security teams to ensure their organizations are secure, resilient and innovative.
Founded in 2003, Splunk is a global company — with over 7,500 employees, Splunkers have received over 1,020 patents to date and availability in 21 regions around the world — and offers an open, extensible data platform that supports shared data across any environment so that all teams in an organization can get end-to-end visibility, with context, for every interaction and business process. Build a strong data foundation with Splunk.