What this usually means
Attackers leave files behind so they can get back in. They often have random names, sit in places they don’t belong, or imitate real WordPress files.
- PHP files in the uploads folder
- Files with random or misspelt names, such as a near-copy of a real WordPress file
- Plugins you never installed, including in the must-use (mu-plugins) folder
- Files with very recent modified dates in old folders
How to check, step by step
Take a backup first
Keep everything exactly as it is.
Check WordPress core files
If you have WP-CLI, the commands below compare your files with the official versions.
Search uploads for PHP
These should be rare. Note anything you find.
Compare your plugins
Check the Plugins page against the folders on the server, and look in mu-plugins.
wp core verify-checksums
wp plugin verify-checksums --all
find wp-content/uploads -name "*.php"
When to get help
If you’ve found a PHP file in uploads, a mu-plugin you didn’t add, or core files that fail the check, send us the details. We’ll identify what’s safe and what isn’t.