I have two php files on the server that continue to change their extension over night. For example, file.php changes to a .php.suspected file
These two files have a mail () function. For instance,
$mail_success = mail($_POST["email_to"], stripslashes($_POST["email_subject"]), stripslashes($_POST["email_body"]), $_app["email_headers"]);
There is nothing else that these files have in common. So, something on the server goes through the files overnight and, apparently, these files with the mail () function do not like it, change their extension or, rather, add the .suspected extension to the .php extension.
source share