Splunk Search

Splunk ES detecting changes to OS auth files

proylea
Contributor

Hi All
We have a request to generate a notable event in Splunk ES for any changes made in the linux OS to /etc/passwd and groups
Does ES have a built in search to detect such a change?
I have no desire to re-invent the wheel

0 Karma

starcher
Influencer

That would be reliant on you having data that comes into Splunk that indicates file changes. A good place to start is OSQuery. You can use that to collect such data. Then map the data to the Common Information Model and then make your desired correlation search on that. The old fschange input type in Splunk has been deprecated for a long time so you shouldn't rely on it.

0 Karma

proylea
Contributor

The data input is done and normalised, I guess my question is what will ES do with that information out of the box?

Do I need to write the correlation search or does ES already have one that covers this security scenario?

ie. will ES generate a notable based on that input and changes to passwd and groups files?

Is there an inbuilt ES correlation that just needs to be turned on?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Classic British Rock Bands

This puzzle series (first published here) is based on extracting information from statements about well-known ...

New to the Community? Join Us for an Exclusive Post .conf26 Welcome Session (Plus a ...

Keep the .conf26 Energy Going: Welcome to the Splunk Community! Whether we scanned your badge at the Community ...

Accelerate Splunk App Development with AI

  Learn how to automate the repetitive parts of your build cycle.   Register to Attend   Join our Tech Talk ...