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 world’s leading organizations rely on Splunk, a Cisco company, to continuously strengthen digital resilience with our unified security and observability platform, powered by industry-leading AI.
Our customers trust Splunk’s award-winning security and observability solutions to secure and improve the reliability of their complex digital environments, at any scale.