Detectionmediumtest
Remove Immutable File Attribute
Detects usage of the 'chattr' utility to remove immutable file attribute.
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: '/chattr'
CommandLine|contains: ' -i '
condition: selectionFalse Positives
Administrator interacting with immutable files (e.g. for instance backups).
References
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
34979410-e4b5-4e5d-8cfb-389fdff05c12
Status
test
Level
medium
Type
Detection
Created
2022-09-15
Author
Path
rules/linux/process_creation/proc_creation_lnx_chattr_immutable_removal.yml
Raw Tags
attack.defense-impairmentattack.t1222.002