• Hi, I’m running Free Wordfence. I received an email alert saying Wordfence had found a critical problem relating to 2 ‘malicious’ files.

    wp-content/cache/meta/wp-cache-2cc72b92d3444f188664163b08b25f84.php
    wp-content/cache/wp-cache-2cc72b92d3444f188664163b08b25f84.php

    I logged on to my admin area and ran a Wordfence scan. It flagged the 2 files and said they appeared to have been installed by a hacker to perform malicious activity. It said the files were not core, theme or plugin files, and the text found in both files that matched a known malicious file was “ZXZhbC”.

    I clicked the link to delete the files, but each time I got the following message:

    “An error occurred – Could not delete file because that issue does not appear to be a file related issue.”

    I found the Wordfence error message a little confusing, considering it was Wordfence which had flagged the files as ‘files’, and said there was an issue with them. Could anyone advise what I should do next please?

    Thanks

    https://wordpress.org/plugins/wordfence/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello FrankBukowski,
    it seems like it can not find the file when trying to delete it. Since the files appear to have been created by a cache plugin, perhaps they have already been deleted? If run the scan one more time, do you still get the warnings?

    I had the same issue but ftp into my hosting and found the files in a folder in my public_html folder.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WordPress won't delete malicious files’ is closed to new replies.