Support » Plugin: WordPress File Monitor Plus » Daily emails, but no files were changed

  • Hi there. I love this plugin and find it very useful, using it to monitor over 100 different WP installations.

    But I’ve got one, just one installation, that sends me file change notifications every day. Nothing has been changed on the server, and the file system is intact.

    This installation is on a dedicated server where I host over 60 of my other WP installations, so it’s doubtful that it’s caused by the server configuration.

    I’ve tried un-checking the File Hash method for file check, but that hasn’t stopped it.

    So, here’s an example from the notification email:

    Files Changed:
    File	New Filesize	Old Filesize	New Modified	Old Modified
    /index.php	4 kB	4 kB	April 17, 2014 @ 7:37 am	April 17, 2014 @ 7:37 am

    It’s very odd, isn’t it?
    Anybody have any thoughts?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I began looking into the code to see what the problem is but then i paused to ask:

    1. I wonder if “/index.php” is being file locked by someone else (e.g. your site is very popular and visitors are accessing it at the moment) when this plugin attempts its check. If it is then maybe that is why it is giving you the false positive.

    2. Have you considered adding “index.php” into its exception list so it ignores this file?

    3. What happens when you change the index.php file attribute (e.g. open the file, add a space, remove the space, and save the file — this will adjust the modified date). When this plugin sends you the email it shold show the “New Modified” date but i wonder when it runs a 2nd time will the “Old Modified” be this New modified date or will it remain as the Old (April 17, @7:37)? If it remains as the old after 2nd, 3rd,… times this could mean the plugin has some issues with its temp file.

    Thanks Kimberly,

    Your suggestions helped me to figure out the cause.

    Somehow, I don’t know how, the site had been hacked and malicious php code had been inserted into multiple files.

    This must have happened around the same time as a series of updates we were performing and I must have carelessly approved the alert I received.

    But somehow, File Monitor Plus kept track of those changed files and kept alerting me to them. Everything it showed me was the seemingly unchanged, as in the example above, so I never actually looked at the files, but those same files were the ones that had been hacked.

    So, I started looking into the files as you suggested and discovered the hacks. Now I’ve cleaned all the files and I’m no longer getting those alert emails.

    Thank you for your suggestions. You helped me solve it. I’m still not clear how File Monitor Plus kept alerting me to those files even after the alerts were cleared, but I’m glad I did, or this might have gone unnoticed a long time.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Daily emails, but no files were changed’ is closed to new replies.