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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...