Detectionhightest
History File Deletion
Detects events in which a history file gets deleted, e.g. the ~/bash_history to remove traces of malicious activity
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Florian Roth (Nextron Systems)Created Mon Jun 20Updated Thu Sep 151182f3b3-e716-4efa-99ab-d2685d04360flinux
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 Logic2 selectors
detection:
selection:
Image|endswith:
- '/rm'
- '/unlink'
- '/shred'
selection_history:
- CommandLine|contains:
- '/.bash_history'
- '/.zsh_history'
- CommandLine|endswith:
- '_history'
- '.history'
- 'zhistory'
condition: all of selection*False Positives
Legitimate administration activities
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
1182f3b3-e716-4efa-99ab-d2685d04360f
Status
test
Level
high
Type
Detection
Created
Mon Jun 20
Modified
Thu Sep 15
Path
rules/linux/process_creation/proc_creation_lnx_susp_history_delete.yml
Raw Tags
attack.impactattack.t1565.001