Splunk Enterprise Security

Web application firewall use case: How to find top targeted domain on my domain?

k115
Engager

Hi Team,

I am working on web application firewall related use case, I wanna find out top targeted domain on my domain.

I just try to work with index=netwaf

Example: my domain is example.com, so there is a bunch of subdomains, So I  just want to find top targeted domains with traffic size  ( if it is malicious would be great )

please I need help quickly.

 

Labels (2)
Tags (3)
0 Karma

lblystone
Splunk Employee
Splunk Employee

Have you checked out the URL toolbox app? It has some handy macros that allow you to parse domains & TLDs. https://splunkbase.splunk.com/app/2734

 

If you want to see the top domains (after you remove the subdomains), try a search like the one below. I would look for a field in your web app logs that might indicate if it is malicious or not. Otherwise, you will need to add some kind of threat intelligence list to ES to cross-reference malicious sites with what is found in your logs.  

index=netwaf | stats sum(bytes) as total_bytes count by domain

0 Karma
Get Updates on the Splunk Community!

Splunk Lantern | Spotlight on Security: Adoption Motions, War Stories, and More

Splunk Lantern is a customer success center that provides advice from Splunk experts on valuable data ...

Splunk Cloud | Empowering Splunk Administrators with Admin Config Service (ACS)

Greetings, Splunk Cloud Admins and Splunk enthusiasts! The Admin Configuration Service (ACS) team is excited ...

Tech Talk | One Log to Rule Them All

One log to rule them all: how you can centralize your troubleshooting with Splunk logs We know how important ...