Security

Splunk linux

revanthammineni
Path Finder

Hi Splunkers!

I'm actually working on root privilege escalations with linux logs and I have limited experience with it. Can anyone please help me to give some knowledge over what Linux logs should I work on? and How I should proceed with it.

Thanks in advance.

 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @revanthammineni.

if you haven't a great knowledge of Linux Operative Systems and you don't know what logs to use, you could deploy on your Linux target systems the Splunk Add On for Unix and Linux (https://splunkbase.splunk.com/app/833/).

it contains all the inputs to take logs from Linux targets.

If you install it on a Splunk Server, you can enable inputs by GUI, if instead you use it on a Universal Forwarder, you have to manually enable inputs:

  • create the local folder in $SPLUNK_HOME/etc/apps/Splunk_TA_nix,
  • copying inputs.conf from default to local folder,
  • putting disable = 0 to all the stanza inputs,
  • restarting splunk on the forwarder.

This TA send logs to the default index (main), if you want to send logs to another index (usually "os"), you have to insert in every stanza of inputs.conf "index = os".

Ciao.

Giuseppe

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!

Make Your Machine Data AI-Ready in Splunk

Every team is getting ready for AI agents.    Watch On-Demand   In this Tech Talk, Splunk platform specialists ...

How to Break a Kubernetes Pod on Purpose and Let the AI Troubleshooting Agent Find ...

Let's say I've just rolled out a Kubernetes Deployment with a typo in the image tag. Nothing explodes. The pod ...

Splunk Add-on for Microsoft Windows 11.0.3: Parse Once, Search Faster

The updated Splunk Add-on for Microsoft Windows helps customers search Windows events faster by reducing ...