Skip to content

Commit 2749a72

Browse files
committed
I dont even know pt 7
1 parent 63356b0 commit 2749a72

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

rules/linux/file_event/file_event_lnx_new_suid_file.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,32 @@ id: b6f8d3a2-4c9e-4f1e-9a2b-6e7d8c9f0a1b
44
status: experimental
55
description: Detects creation or permission changes that set the SUID (set-user-ID) or SGID (set-group-ID) bits on files — commonly used by attackers for privilege escalation or persistence.
66
references:
7-
- https://attack.mitre.org/techniques/T1548/004/
7+
- https://attack.mitre.org/techniques/T1548/004/
88
author: Sesha Duraiarasan
99
date: 2025-10-09
1010
tags:
11-
- attack.privilege-escalation
12-
- attack.t1548
11+
- attack.privilege-escalation
12+
- attack.t1548
1313
logsource:
14-
product: linux
15-
category: file_event
14+
product: linux
15+
category: file_event
1616
detection:
17-
selection_chmod:
17+
selection_chmod:
1818
Command|contains:
1919
- 'chmod 4755'
2020
- 'chmod 4750'
2121
- 'chmod 4777'
2222
- 'chmod 2755'
2323
- 'chmod +s'
24-
selection_tmp_paths:
24+
selection_tmp_paths:
2525
TargetFilename|contains:
2626
- '/tmp/'
2727
- '/usr/local/bin/'
2828
- '/opt/'
2929
- '/home/'
30-
selection_filemode:
30+
selection_filemode:
3131
FileMode|contains: 's'
32-
condition: selection_chmod or (selection_tmp_paths and selection_filemode)
32+
condition: selection_chmod or (selection_tmp_paths and selection_filemode)
3333
falsepositives:
34-
- Legitimate package installs or administrative tasks that intentionally set SUID/SGID on tools
34+
- Legitimate package installs or administrative tasks that intentionally set SUID/SGID on tools
3535
level: high

0 commit comments

Comments
 (0)