Files
blue-team-tools/rules/linux/process_creation/proc_creation_lnx_setgid_setuid.yml
T
Nasreddine Bencherchali 7176d672b5 Fix wildcard
2022-10-05 17:21:34 +02:00

27 lines
795 B
YAML

title: Setuid and Setgid
id: c21c4eaa-ba2e-419a-92b2-8371703cbe21
status: test
description: Detects suspicious change of file privileges with chown and chmod commands
author: Ömer Günal
references:
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1548.001/T1548.001.md
- https://attack.mitre.org/techniques/T1548/001/
date: 2020/06/16
modified: 2022/10/05
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:
- Legitimate administration activities
level: low
tags:
- attack.persistence