Sigma rule: Remove Immutable File Attribute

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-66005cac1315, updated 2022-09-15T00:00:00.000Z.

Rule

Title
Remove Immutable File Attribute
Status
test
Level
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2022-09-15
File
rules/linux/process_creation/proc_creation_lnx_chattr_immutable_removal.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects usage of the 'chattr' utility to remove immutable file attribute.

Log source

product
linux
category
process_creation

Detection

selection:
    Image|endswith: '/chattr'
    CommandLine|contains: ' -i '
condition: selection

False positives (as the rule lists them)

  • Administrator interacting with immutable files (e.g. for instance backups).

Tags

  • attack.defense-impairment
  • attack.t1222.002

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_chattr_immutable_removal.yml

Sources and licences

  • SigmaHQ

    "Remove Immutable File Attribute" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_chattr_immutable_removal.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Remove Immutable File Attribute",
entity page, dataset version ref-66005cac1315, updated 2022-09-15T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/34979410-e4b5-4e5d-8cfb-389fdff05c12 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 34979410-e4b5-4e5d-8cfb-389fdff05c12, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.