Help With Pignore Syntax Suspicious Process
Posted: 12 May 2020, 19:22
I'm getting these suspicious process warnings:
Executable:
/home/virtfs/elemcms/opt/cpanel/ea-php73/root/usr/bin/php
Command Line (often faked in exploits):
/opt/cpanel/ea-php73/root/usr/bin/php -f cron.php
I'm not a REGEX expert and the documentation on all the different configs in the Pignore file is a bit thin.
My PHP version may change in the future so I just want to ignore execution of PHP with the cron.php script no matter what the path. My understanding is that you would use pcmd for this? I tried both of these:
pcmd:^/cron.php
pcmd:*/cron.php
Neither worked.
Executable:
/home/virtfs/elemcms/opt/cpanel/ea-php73/root/usr/bin/php
Command Line (often faked in exploits):
/opt/cpanel/ea-php73/root/usr/bin/php -f cron.php
I'm not a REGEX expert and the documentation on all the different configs in the Pignore file is a bit thin.
My PHP version may change in the future so I just want to ignore execution of PHP with the cron.php script no matter what the path. My understanding is that you would use pcmd for this? I tried both of these:
pcmd:^/cron.php
pcmd:*/cron.php
Neither worked.