Detection rules › Sigma

File or Folder Permissions Change

Status
test
Severity
low
Log source
product linux, service auditd
Author
Jakob Weinzettl, oscd.community
Source
github.com/SigmaHQ/sigma

Detects file and folder permission changes.

Known false positives

  • User interacting with files permissions (normal/daily behaviour).

MITRE ATT&CK coverage

Telemetry coverage

Rule body

title: File or Folder Permissions Change
id: 74c01ace-0152-4094-8ae2-6fd776dd43e5
status: test
description: Detects file and folder permission changes.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1222.002/T1222.002.md
author: Jakob Weinzettl, oscd.community
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

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    type: 'EXECVE'
    a0|contains:
        - 'chmod'
        - 'chown'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
a0match
  • chmod
  • chown
field:"a0" kind:match
typeeq
  • EXECVE
field:"type" kind:eq value:"EXECVE"