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.
- Product
- linux
- Service
- auditd
- Author
- Jakob Weinzettl, oscd.community (SigmaHQ), DRL 1.1
- Published
- 2019-09-23
- Updated
- 2026-07-31
ATT&CK techniques
Defense EvasionRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
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.
Reporting behind it
Changelog
v3- v3Candidate ingested via manual entry.2026-07-31
- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
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