Getting Data In

How to use externbal blacklist/whitelist to filter syslog files?

splunkboob
Explorer

im trying to setup splunk to find suspicious traffic in incoming and outgoing traffic. right now im trying to exclude traffic that comes from places that are not suspicious (whitelist) like social media websites, news websites, internal traffic etc. and use a blacklists to trigger alerts if it tries to connect to my IP. im not sure where to start here, is this even possible in splunk? there are existing blacklists online that use an api key to connect to for that blacklist, can i use that api key in splunk? do i download an entire database and upload it under my C: drive? i really hope you guys can help me here

Labels (3)
0 Karma
1 Solution

diogofgm
SplunkTrust
SplunkTrust

You can use lookups for that.
As an example:
with a csv with

url,blacklist
myurl.com,true

You can then use a lookup with this csv to output the blacklist find and then use it as a filter "blacklist=true".

As for other ways to accomplish that using the online blacklists with API keys, Splunk Enterprise doesn't have  functionality out of the box but Splunk Enterprise Security (SIEM) does have builtin functionality that allows you to setup downloads of threat intel like that and then have a correlation search to look for connections to threat IPs.
From docs: https://docs.splunk.com/Documentation/ES/7.0.0/Admin/Addthreatintel

------------
Hope I was able to help you. If so, some karma would be appreciated.

View solution in original post

diogofgm
SplunkTrust
SplunkTrust

You can use lookups for that.
As an example:
with a csv with

url,blacklist
myurl.com,true

You can then use a lookup with this csv to output the blacklist find and then use it as a filter "blacklist=true".

As for other ways to accomplish that using the online blacklists with API keys, Splunk Enterprise doesn't have  functionality out of the box but Splunk Enterprise Security (SIEM) does have builtin functionality that allows you to setup downloads of threat intel like that and then have a correlation search to look for connections to threat IPs.
From docs: https://docs.splunk.com/Documentation/ES/7.0.0/Admin/Addthreatintel

------------
Hope I was able to help you. If so, some karma would be appreciated.
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...