{"id":"c21c4eaa-ba2e-419a-92b2-8371703cbe21","title":"Setuid and Setgid","description":"Detects suspicious change of file privileges with chown and chmod commands","author":"Ömer Günal","status":"test","level":"low","date":"2020-06-16","modified":"2022-10-05","tags":["attack.persistence","attack.privilege-escalation","attack.t1548.001"],"technique_ids":["T1548.001"],"logsource":{"product":"linux","category":"process_creation"},"falsepositives":["Legitimate administration activities"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1548.001/T1548.001.md"],"source_path":"rules/linux/process_creation/proc_creation_lnx_setgid_setuid.yml","source_sha256":"35a84705cc67f7a1c545d9d1880030934e49cbb6a8b8ecc58722b443efa12c9f","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/process_creation/proc_creation_lnx_setgid_setuid.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Setuid and Setgid\nid: c21c4eaa-ba2e-419a-92b2-8371703cbe21\nstatus: test\ndescription: Detects suspicious change of file privileges with chown and chmod commands\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1548.001/T1548.001.md\nauthor: Ömer Günal\ndate: 2020-06-16\nmodified: 2022-10-05\ntags:\n    - attack.persistence\n    - attack.privilege-escalation\n    - attack.t1548.001\nlogsource:\n    product: linux\n    category: process_creation\ndetection:\n    selection_root:\n        CommandLine|contains: 'chown root'\n    selection_perm:\n        CommandLine|contains:\n            - ' chmod u+s'\n            - ' chmod g+s'\n    condition: all of selection_*\nfalsepositives:\n    - Legitimate administration activities\nlevel: low\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1548.001","id":"T1548.001","name":"Setuid and Setgid","page":"techniques/enterprise/T1548.001/"}],"data_path":"data/detection-rules/c21c4eaa-ba2e-419a-92b2-8371703cbe21.json","kind":"sigma"}
