Linux auditd: chmod/chown process execution indicating file or folder permission changes

Flags Linux EXECVE events running chmod or chown, which commonly correspond to file/folder permission changes.

FreeReviewedSigma · Low · v3
Product
linux
Service
auditd
Author
Jakob Weinzettl, oscd.community (SigmaHQ), DRL 1.1
Published
2019-09-23
Updated
2026-07-31
title: "Linux auditd: chmod/chown process execution indicating file or folder permission changes"
id: edcac7f3-4eb8-4dcc-a588-1d80d1044187
status: test
description: This rule flags Linux processes executing chmod or chown, which modify file and folder permissions/ownership. Attackers may use these changes to weaken access controls, persist, or hinder incident response by altering who can read, write, or execute files. Telemetry relies on auditd EXECVE events capturing process command-line/argument data for chmod and chown.
references:
  - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1222.002/T1222.002.md
  - https://github.com/SigmaHQ/sigma/blob/master/rules/linux/auditd/execve/lnx_auditd_file_or_folder_permissions.yml
author: Jakob Weinzettl, oscd.community, Huntrule Team
date: 2019-09-23
modified: 2021-11-27
tags:
  - attack.defense-impairment
  - attack.t1222.002
logsource:
  product: linux
  service: auditd
detection:
  selection:
    type: EXECVE
    a0|contains:
      - chmod
      - chown
  condition: selection
falsepositives:
  - User interacting with files permissions (normal/daily behaviour).
level: low
license: DRL-1.1
related:
  - id: 74c01ace-0152-4094-8ae2-6fd776dd43e5
    type: derived