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
Influencer

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
Influencer

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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...