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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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