SigmaHQ/rules/linux/lnx_chattr_immutable_removal.yml

23 lines
666 B
YAML
Raw Normal View History

title: Remove Immutable File Attribute
id: a5b977d6-8a81-4475-91b9-49dbfcd941f7
2019-10-23 18:24:13 +00:00
status: experimental
2020-09-14 04:03:04 +00:00
description: Detects removing immutable file attribute
2019-10-23 18:24:13 +00:00
author: Jakob Weinzettl, oscd.community
date: 2019/09/23
2020-09-14 04:03:04 +00:00
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1222.002/T1222.002.yaml
2019-10-23 18:24:13 +00:00
logsource:
product: linux
2019-11-29 08:27:31 +00:00
service: auditd
2019-10-23 18:24:13 +00:00
detection:
2019-11-29 08:27:31 +00:00
selection:
type: 'EXECVE'
a0|contains: 'chattr'
a1|contains: '-i'
2019-11-29 08:27:31 +00:00
condition: selection
2019-10-23 18:24:13 +00:00
falsepositives:
2020-01-19 21:34:16 +00:00
- Administrator interacting with immutable files (for instance backups)
2019-10-23 18:24:13 +00:00
level: medium
2020-09-14 04:03:04 +00:00
tags:
- attack.defense_evasion
- attack.t1222.002