Splunk Enterprise Security

How to lookup the external ip type, with threat intelligence lookup by splunk search query?

k115
Engager

Hi,

I have to create use case related to blocked ip's by external to internal network. I can create search query for that, but the question is I wanna lookup the external ip type, with threat intelligence lookup by splunk search query. so can I use ip_intel for that, or any other method do you have guys,

just and example, x.x.x.x ip blocked by firewall can lookup with splunk,so how to identify the ip belong to threat or threat category.

0 Karma
1 Solution

starcher
SplunkTrust
SplunkTrust

I am not entirely clear what you mean blocked by type.  However if you add IPs to the threat system the built in lookup macro for the threat intel system that you can use in your own searches is

| `threatintel_multilookup(src)` 

 

Then you can do something like this to pull the description field from the main ip_intel repo

| rex field=threat_collection_key "^(?P<threat_collection_source>[^|]+)\|(?P<threat_collection_value>[^$]+)" 
| eval ip_intel_key=if(threat_collection="ip_intel",'threat_collection_key',null()) 
| lookup "ip_intel" _key as "ip_intel_key" OUTPUTNEW "description" as threat_description,"threat_key","weight","disabled" 

 

View solution in original post

0 Karma

starcher
SplunkTrust
SplunkTrust

I am not entirely clear what you mean blocked by type.  However if you add IPs to the threat system the built in lookup macro for the threat intel system that you can use in your own searches is

| `threatintel_multilookup(src)` 

 

Then you can do something like this to pull the description field from the main ip_intel repo

| rex field=threat_collection_key "^(?P<threat_collection_source>[^|]+)\|(?P<threat_collection_value>[^$]+)" 
| eval ip_intel_key=if(threat_collection="ip_intel",'threat_collection_key',null()) 
| lookup "ip_intel" _key as "ip_intel_key" OUTPUTNEW "description" as threat_description,"threat_key","weight","disabled" 

 

0 Karma
Get Updates on the Splunk Community!

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...

Introducing Edge Processor: Next Gen Data Transformation

We get it - not only can it take a lot of time, money and resources to get data into Splunk, but it also takes ...

Take the 2021 Splunk Career Survey for $50 in Amazon Cash

Help us learn about how Splunk has impacted your career by taking the 2021 Splunk Career Survey. Last year’s ...