Check the mu-plugins Folder: Where Malware Can Hide From the Plugin List
Must-use plugins load automatically and are not shown like normal plugins. Know what belongs there.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
WordPress has a special folder, wp-content/mu-plugins, for "must-use" plugins. They load automatically, cannot be turned off from the normal Plugins screen, and many sites do not have the folder at all. Security researchers have documented malware that uses it to stay hidden.
Look
- Connect by FTP or the hosting file manager. See FTP guide.
- Open
wp-content/. Is there a folder namedmu-plugins? - If yes, look at each file. Hosts and some legitimate tools add files here, such as caching or hosting integrations.
Judge what you find
- Known, from your host or a tool you use: usually fine. Ask your host if unsure.
- Unknown file names, random-looking letters, or very recently changed files: suspicious. Do not open them in the browser.
- Files that use encoding functions (such as long base64 text) are red flags for a developer.
If it looks wrong
- Take a backup copy for evidence, then follow hacked site first steps.
- Remove the file only after you understand how it got in, or you will be re-infected. See cleanup and prevention.
- Change all passwords and review users. See unknown admins.
Also use the Site Health Checker to spot PHP files in uploads.
Related guides
- WordPress Login Page Keeps Reloading or Redirecting (Can't Log In)
- WordPress User Roles Explained: Administrator, Editor, Author, Contributor, Subscriber
- Unknown Administrator Users Appeared in WordPress: What to Do
- Lost Your Phone or Two-Factor Code for WordPress: How to Get Back In
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.