Splunk Search

How can I use Splunk to determine Phishing attempts?

Yancy
Path Finder

What are some methods of determining anomalous login behavior with Splunk?

1 Solution

Yancy
Path Finder

One method we've been using is looking for multiple failed logins from a single IP.

sourcetype="some source where login attempts are logged" ipaddress!=10.* NOT Succeeded| stats distinct_count(loginname) AS logincount by ipaddress | where logincount > 10

IE: For all ips not in our local subnet and without a "Succeeded" message in our application access log, provide stats on each login grouped by ipaddress, and only show me the results where 10 or more accounts had unsuccessful access attempted to.

Another method:

If you know the site that is phishing user data, you can also use Splunk to create a honeypot. To do this setup a saved search & alert on some sort of input value known only to you, and then use that value on the site. If the value you provided is attempted, you'll get an alert (hopefully with the data necessary to mitigate further). This is helpful as often the site phishing the data is not the IP that is attempting to re-use and exploit the data.

View solution in original post

Yancy
Path Finder

One method we've been using is looking for multiple failed logins from a single IP.

sourcetype="some source where login attempts are logged" ipaddress!=10.* NOT Succeeded| stats distinct_count(loginname) AS logincount by ipaddress | where logincount > 10

IE: For all ips not in our local subnet and without a "Succeeded" message in our application access log, provide stats on each login grouped by ipaddress, and only show me the results where 10 or more accounts had unsuccessful access attempted to.

Another method:

If you know the site that is phishing user data, you can also use Splunk to create a honeypot. To do this setup a saved search & alert on some sort of input value known only to you, and then use that value on the site. If the value you provided is attempted, you'll get an alert (hopefully with the data necessary to mitigate further). This is helpful as often the site phishing the data is not the IP that is attempting to re-use and exploit the data.

jrodman
Splunk Employee
Splunk Employee

Consider accepting your answer 😄

0 Karma

piebob
Splunk Employee
Splunk Employee

i ❤️ your icon!!!

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 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 ...

New in Observability Cloud - Explicit Bucket Histograms

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