Possible Setuid and Setgid (via process_creation)
This rule detects anomalous change of file privileges with chown and chmod commands
SigmalowLinuxv1
sigma
possible-setuid-and-setgid-via-process-creation
title: Possible Setuid and Setgid (via process_creation)
id: d35810fc-3556-5630-8443-223db7069165
status: stable
description: This rule detects anomalous change of file privileges with chown and chmod commands
references:
- https://attack.mitre.org/techniques/T1548/001/
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1548.001/T1548.001.md
author: Huntrule Team
date: 2026-04-04
tags:
- attack.persistence
- attack.privilege-escalation
- attack.t1548.001
logsource:
product: linux
category: process_creation
detection:
selection_root:
CommandLine|contains: 'chown root'
selection_perm:
CommandLine|contains:
- ' chmod u+s'
- ' chmod g+s'
condition: all of selection_*
falsepositives:
- Unknown
level: low
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.