
Summary
This rule is designed to detect the execution of the 'crontab' command with the '-r' option, which is used to remove the current user's crontab file. This action is particularly relevant in scenarios involving cryptocurrency mining where malicious actors attempt to erase traces of their activities or the presence of competing miners to optimize their resource usage. By removing the crontab, an attacker can eliminate scheduled tasks that might hinder their operations, making this a crucial behavior to monitor in Linux environments. The detection focuses specifically on the process creation of the 'crontab' utility, looking for indications that a crontab removal is taking place. The use of the 'endswith' and 'contains' parameters ensures that the rule captures attempts to execute the crontab with the specific command line arguments that indicate a malicious intent.
Categories
- Linux
- Endpoint
Data Sources
- Process
Created: 2022-09-15