heroui logo

Scheduled Cron Task/Job - MacOs

Sigma Rules

View Source
Summary
This detection rule aims to identify potential abuses of the cron utility on macOS systems, which can be exploited for executing malicious code either for one-time or recurring tasks. The rule specifically monitors the creation of crontab jobs that originate from the '/tmp/' directory, a common location used by attackers to store temporary resources. The crontab is a time-based job scheduler in Unix-like operating systems, and its misuse presents significant risks, as it allows adversaries to maintain persistence on compromised systems and automate malicious activities. Given the rule's specifications, it captures instances where the crontab command is being executed, particularly focusing on command lines that reference temporary files, which could indicate an attempted malicious operation. False positives may include legitimate administrative activities where system admins schedule tasks for maintenance or other operational needs, necessitating additional context for analysis.
Categories
  • macOS
  • Endpoint
Data Sources
  • Process
ATT&CK Techniques
  • T1053.003
Created: 2020-10-06