Jump to content

lfd on [server]: Suspicious process running under [user]


Recommended Posts

Hi all,

Over the past few weeks I've been ocassionally getting an email that about a suspicious process (the cron job for Invision).

I've ignored it but over the past 24 hours I've been getting the email every 5 minutes.

Is this something I should be worried about? Is the cron job failing or is it just a warning?

Example:

Executable:

/opt/cpanel/ea-php71/root/usr/bin/php


Command Line (often faked in exploits):

/opt/cpanel/ea-php71/root/usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /home/user/public_html/applications/core/interface/task/task.php [number from admin panel]

 

Link to comment
Share on other sites

If that's the correct path to php on your server, the cron task is fine. 

Now, if there is malicious code in your IPS files, that's a different story.  Run the support tool in the ACP and see if there are any modified files. 

Link to comment
Share on other sites

2 hours ago, Aiwa said:

If that's the correct path to php on your server, the cron task is fine. 

Now, if there is malicious code in your IPS files, that's a different story.  Run the support tool in the ACP and see if there are any modified files. 

Yeah, no issues with modified files. Just so I'm clear, the suspicious file warning is just a warning, it's not actually blocking any task from running?

Link to comment
Share on other sites

Ok, so my first recommendation is to take the command in your cron job and run it manually 20-30 times on your server. See if you can get any odd output to show up, which might lead you to a bug or error occurring, which might explain the suspicious email.

To answer your other question, yes you can suppress the output of a cron job. You edit the cron job and add the following to the end

 > /dev/null 2>&1

I would sort of consider this a bandaid in this case, however, as the email you're getting is probably a warning that "something isn't right" and that something should be figured out.

Link to comment
Share on other sites

3 hours ago, bfarber said:

Ok, so my first recommendation is to take the command in your cron job and run it manually 20-30 times on your server. See if you can get any odd output to show up, which might lead you to a bug or error occurring, which might explain the suspicious email.

To answer your other question, yes you can suppress the output of a cron job. You edit the cron job and add the following to the end


 > /dev/null 2>&1

I would sort of consider this a bandaid in this case, however, as the email you're getting is probably a warning that "something isn't right" and that something should be figured out.

I think you're right here. Looks like elasticsearch crashed and the warnings started after it stopped. Need to figure out how to get a better notice if elasticsearch has issues. Going to ask an expert to look at configuring.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...