Linux Syslog Clearing or Removal Using System Utilities

Alert on Linux commands that clear, delete, truncate, or redirect /var/log/syslog or rotate/vacuum journald logs.

FreeReviewedSigma · High · v3
Product
linux
Category
process_creation
Author
Max Altgelt (Nextron Systems), Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), MSTIC (SigmaHQ), DRL 1.1
Published
2021-10-15
Updated
2026-07-31

ATT&CK techniques

  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Exfiltration

  14. Impact

What it detects

This rule flags Linux process executions that target /var/log/syslog for deletion, unlinking, truncation to zero length, replacement, or redirection to empty content. Attackers may use these actions to impair or erase evidence in system logging and hinder incident investigation. It relies on Linux process creation telemetry, matching command-line arguments and utility names that operate on /var/log/syslog or invoke journalctl vacuum/rotation.

Related detections9 linkedT1685.006 — drag to rearrange
Suspicious Deletion of System Logs Under var log on Linux Appliance
Suspicious Clearing of System Logs on Linux (via process_creation)
Malicious Sed Tampering of Juniper Syslog Configuration by UNC3886 (via process_creation)
Suspicious Clearing of Linux Authentication and History Logs
Suspicious Linux Log Sanitization via sed In-Place Edit
Suspicious utmpdump Usage for wtmp Log Manipulation
Linux auditd: Clear kernel ring buffer via syslog syscall (action 5/4/6)
macOS Host Indicator Removal via rm/unlink/shred of Local Log Paths
Linux process attempts to delete log files using rm, rmdir, shred, or unlink
Linux Syslog Clearing or Removal Using System Utilities
Pivot detection · T1685.006 · 9 related

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.