Skip to content

Commit f1a163d

Browse files
committed
I dont even know pt 9
1 parent 9fad276 commit f1a163d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

rules/linux/file_event/file_event_lnx_new_suid_file.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ logsource:
1515
category: file_event
1616
detection:
1717
selection_chmod:
18-
Command|contains:
18+
process.command_line|contains:
1919
- 'chmod 4755'
2020
- 'chmod 4750'
2121
- 'chmod 4777'
2222
- 'chmod 2755'
2323
- 'chmod +s'
2424
selection_tmp_paths:
25-
TargetFilename|contains:
25+
file.path|contains:
2626
- '/tmp/'
2727
- '/usr/local/bin/'
2828
- '/opt/'
2929
- '/home/'
3030
selection_filemode:
31-
FileMode|contains: 's'
31+
file.mode|contains: 's'
3232
condition: selection_chmod or (selection_tmp_paths and selection_filemode)
3333
falsepositives:
3434
- Legitimate package installs or administrative tasks that intentionally set SUID/SGID on tools.

0 commit comments

Comments
 (0)