Suspicious Remove Immutable File Attribute (via process_creation)

This rule detects use of the 'chattr' utility to remove immutable file attribute.

SigmamediumLinuxv1
sigma
title: Suspicious Remove Immutable File Attribute (via process_creation)
id: e264dcbc-1128-5b10-93aa-04f29748ec07
status: stable
description: This rule detects use of the 'chattr' utility to remove immutable file attribute.
references:
    - https://attack.mitre.org/techniques/T1222/002/
    - https://www.trendmicro.com/en_us/research/22/i/how-malicious-actors-abuse-native-linux-tools-in-their-attacks.html
author: Huntrule Team
date: 2026-05-12
tags:
    - attack.defense-impairment
    - attack.t1222.002
logsource:
    product: linux
    category: process_creation
detection:
    selection:
        Image|endswith: '/chattr'
        CommandLine|contains: ' -i '
    condition: selection
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.