Splunk Search

User has left the company, but audit shows failed logins every 15 minutes. How can I find the source of these failed attempts?

grittonc
Contributor

Hello everyone,

I have inherited shared responsibility for a Splunk instance. We recently had a user departure, and one of the other Splunk admins changed that user's password so that they couldn't login.

However, when I look in _audit I see that there is a failed login for that user exactly every 15 minutes around the clock. I fear that they left a shell script behind that is trying to login.

How can I find out the source of these failed attempts?

0 Karma
1 Solution

grittonc
Contributor

It turned out that there was a perl script attempting to use this person's login every 15 minutes to pull data. We are going to convert that functionality into a Splunk Alert.

View solution in original post

0 Karma

grittonc
Contributor

It turned out that there was a perl script attempting to use this person's login every 15 minutes to pull data. We are going to convert that functionality into a Splunk Alert.

0 Karma

somesoni2
Revered Legend

Check if there is any saved search owned by that user. That may have an alert action setup or something.

| rest /servicesNS/DeparteUserNameHere/-/saved/searches splunk_server=local 

grittonc
Contributor

It wasn't a scheduled search inside splunk, but a script outside of splunk that was trying to log in. We found this out because someone remembered which script it was.

If we didn't have this knowledge, does anyone know how I would have identified the script that was trying to use these credentials?

0 Karma

starcher
Influencer

Yeah this sounds like schedule search jobs more than anything.

0 Karma

starcher
Influencer

You could go into Settings -> All configurations in the gui and pick their username as the owner if they are still listed. That would find enough knowledge objects still owned by them to confirm this.

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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...