All Apps and Add-ons

Search for Single Source IP Address associated with Failed Logins for Multiple Accounts

surguine2
New Member

We have an immediate need to create a Query that will Help Identify Password Spray Attempts:

I have been trying:

| stats by count src_ip, UserId | where count > 20

Unfortunately this doesn't work - What I need is a way to see

A Single IP Address associated with multiple UserIds or Account_Names

Could somebody be so kind as to help direct me to a relatively easy way to accomplish this task?

Thank You So Very Much

0 Karma

micahkemp
Champion

Try:

| stats dc(UserId) AS count_UserId, values(UserId) AS UserId BY src_ip | search count>20

This should show you src_ip values associated with more than 20 UserId values, and which UserId values they are.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...