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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...