Detectionmediumtest
Remove Scheduled Cron Task/Job
Detects usage of the 'crontab' utility to remove the current crontab. This is a common occurrence where cryptocurrency miners compete against each other by removing traces of other miners to hijack the maximum amount of resources possible
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Nasreddine Bencherchali (Nextron Systems)Created Thu Sep 15c2e234de-03a3-41e1-b39a-1e56dc17ba67linux
Log Source
LinuxProcess Creation
ProductLinux← raw: linux
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
detection:
selection:
Image|endswith: 'crontab'
CommandLine|contains: ' -r'
condition: selectionFalse Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Tactics
Rule Metadata
Rule ID
c2e234de-03a3-41e1-b39a-1e56dc17ba67
Status
test
Level
medium
Type
Detection
Created
Thu Sep 15
Path
rules/linux/process_creation/proc_creation_lnx_crontab_removal.yml
Raw Tags
attack.defense-evasion