Scheduled Cron Task/Job - Linux

 Original Source: [Sigma source]
Title: Scheduled Cron Task/Job - Linux
Status: test
Description:Detects abuse of the cron utility to perform task scheduling for initial or recurring execution of malicious code. Detection will focus on crontab jobs uploaded from the tmp folder.
References:
  -https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1053.003/T1053.003.md
Author: Alejandro Ortuno, oscd.community
Date: 2020-10-06
modified:2022-11-27
Tags:
  • -'attack.execution'
  • -'attack.persistence'
  • -'attack.privilege-escalation'
  • -'attack.t1053.003'
Logsource:
  • category: process_creation
  • product: linux
Detection:
  selection:
    Image|endswith: 'crontab'
    CommandLine|contains: '/tmp/'
  condition:selection
Falsepositives:
  -Legitimate administration activities
Level: medium