Skip to content

Commit 88eae44

Browse files
committed
++
1 parent c256142 commit 88eae44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/linux/persistence_web_server_unusual_command_execution.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ event.category:process and host.os.type:linux and event.type:start and event.act
8686
process.command_line:* and process.name:(bash or dash or sh or tcsh or csh or zsh or ksh or fish) and process.args:"-c" and
8787
not (
8888
(process.parent.name:java and not process.parent.executable:/u0*/*) or
89-
(process.parent.name:php* and process.parent.executable:(/bin/php or /usr/bin/php or /usr/local/bin/php or /tmp/*php or /bin/php or /usr/bin/php or /usr/local/bin/php)) or
9089
(process.parent.name:node and process.parent.executable:(/home/*/.vscode-server/* or /users/*/.vscode-server/* or /bin/node or /usr/bin/node or /usr/local/bin/node or /opt/plesk/node/*/bin/node)) or
9190
process.working_directory:(/u0*/*/sysman/emd or /u0*/app/oracle/product/*/dbhome_* or /u0*/app/oracle/product/*/db_* or /var/www/*edoc*) or
9291
process.parent.executable:/tmp/* or
93-
process.args:/usr/local/bin/wkhtmltopdf*
92+
process.args:/usr/local/bin/wkhtmltopdf* or
93+
process.parent.name:php
9494
)
9595
'''
9696

0 commit comments

Comments
 (0)