There was an error while loading. Please reload this page.
1 parent 9fad276 commit f1a163dCopy full SHA for f1a163d
1 file changed
rules/linux/file_event/file_event_lnx_new_suid_file.yml
@@ -15,20 +15,20 @@ logsource:
15
category: file_event
16
detection:
17
selection_chmod:
18
- Command|contains:
+ process.command_line|contains:
19
- 'chmod 4755'
20
- 'chmod 4750'
21
- 'chmod 4777'
22
- 'chmod 2755'
23
- 'chmod +s'
24
selection_tmp_paths:
25
- TargetFilename|contains:
+ file.path|contains:
26
- '/tmp/'
27
- '/usr/local/bin/'
28
- '/opt/'
29
- '/home/'
30
selection_filemode:
31
- FileMode|contains: 's'
+ file.mode|contains: 's'
32
condition: selection_chmod or (selection_tmp_paths and selection_filemode)
33
falsepositives:
34
- Legitimate package installs or administrative tasks that intentionally set SUID/SGID on tools.
0 commit comments