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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...