You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
6
6
references:
7
-
- https://attack.mitre.org/techniques/T1548/004/
7
+
- https://attack.mitre.org/techniques/T1548/004/
8
8
author: Sesha Duraiarasan
9
9
date: 2025-10-09
10
10
tags:
11
-
- attack.privilege-escalation
12
-
- attack.t1548
11
+
- attack.privilege-escalation
12
+
- attack.t1548
13
13
logsource:
14
-
product: linux
15
-
category: file_event
14
+
product: linux
15
+
category: file_event
16
16
detection:
17
-
selection_chmod:
17
+
selection_chmod:
18
18
Command|contains:
19
19
- 'chmod 4755'
20
20
- 'chmod 4750'
21
21
- 'chmod 4777'
22
22
- 'chmod 2755'
23
23
- 'chmod +s'
24
-
selection_tmp_paths:
24
+
selection_tmp_paths:
25
25
TargetFilename|contains:
26
26
- '/tmp/'
27
27
- '/usr/local/bin/'
28
28
- '/opt/'
29
29
- '/home/'
30
-
selection_filemode:
30
+
selection_filemode:
31
31
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)
33
33
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
0 commit comments