Linux crontab Removal via "crontab -r" Process Command Line

Identifies attempts to remove the current user crontab via "crontab -r" on Linux.

FreeReviewedSigma · Medium · v3
Product
linux
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-09-15
Updated
2026-07-31

What it detects

This rule identifies attempts to remove the current cron configuration by executing the crontab utility with the remove flag. Attackers may use this to disrupt scheduled tasks or eliminate persistence mechanisms by clearing existing cron entries. The detection relies on Linux process creation telemetry that includes the executable path ending with "crontab" and a command line containing " -r".

Changelog

v3
  1. v3
    Candidate ingested via manual entry.2026-07-31
  2. v2
    Candidate ingested via manual entry.2026-07-31
  3. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.