Detectionmediumstable
Clear Linux Logs
Detects attempts to clear logs on the system. Adversaries may clear system logs to hide evidence of an intrusion
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Ömer Günal, oscd.communityCreated Wed Oct 07Updated Thu Sep 1580915f59-9b56-4616-9de0-fd0dea6c12felinux
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:
- '/rm' # covers /rmdir as well
- '/shred'
- '/unlink'
CommandLine|contains:
- '/var/log'
- '/var/spool/mail'
condition: selectionFalse Positives
Legitimate administration activities
References
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
80915f59-9b56-4616-9de0-fd0dea6c12fe
Status
stable
Level
medium
Type
Detection
Created
Wed Oct 07
Modified
Thu Sep 15
Author
Path
rules/linux/process_creation/proc_creation_lnx_clear_logs.yml
Raw Tags
attack.defense-evasionattack.t1070.002