On this page (7 sections)
The Wordfence Threat Intelligence Team has published an analysis of a malware campaign that installs a fake WordPress plugin on compromised sites. According to Wordfence, the plugin was built almost entirely by a name generator, and its title is part of what makes it unusual.
Anyone who runs a WordPress site, especially agencies and hosts who manage many of them, should know what a plugin like this looks like and how to audit for it. The public detail is limited so far, so this article separates what is stated from what is not yet known.
What Wordfence reported
Wordfence says it analyzed a campaign that installs a fake plugin. Its headline says the plugin turns WordPress sites into JavaScript delivery points, meaning the infected site is used to serve JavaScript. The excerpt available to us does not explain who receives that script, what the script does, or how the plugin first lands on a site.
The distinctive trait is naming. Wordfence says many identifiers in the project are a machine-made compound of a prefix, a technology word and a suffix. These include the plugin title, its directories and files, its PHP functions, variables and REST namespaces. The examples it gives are trijavascriptly, ultravueal and maxdataic-quaddatasion.
What is not yet known
Only one independent publisher covers this story so far, and we only have a short excerpt of its post. Treat the following as unconfirmed until more is published:
- The initial infection route (stolen credentials, a vulnerable plugin or theme, or something else).
- How many sites are affected.
- The exact behavior of the delivered JavaScript and who is targeted.
- Whether there are indicators of compromise such as domains, file hashes or fixed file paths.
- Who is behind the campaign.
We have not seen a CVE for this campaign. That fits the description: a malicious plugin is something an attacker installs after gaining access, rather than a bug in legitimate software that a vendor can patch.
Why a fake plugin is a useful foothold
A plugin is ordinary PHP code that WordPress loads on every request, and it can register its own REST routes. An attacker who can install one gets a persistent, authenticated-looking place to run code and serve content. Giving it a generated, unique-looking name has a practical effect: there is no single well-known plugin name for defenders to search for, and each copy may look different from the last.
That is why name-based blocklists are a weak defense here. Checking what is installed against what you expect is more reliable than hunting for one known string.
How to check your site
The aim is to find anything you did not install on purpose. Start with the plugin list. This WP-CLI command, run from the site's WordPress directory, prints every plugin with its status and version. Look for names you do not recognize, especially odd compound words, and for plugins marked active or must-use that you never set up.
wp plugin listMust-use plugins load automatically and do not appear in the normal Plugins screen toggles, so list them separately. This lists any must-use plugins; on most sites the result is empty or contains only items you know about.
wp plugin list --status=must-useNext, compare the files on disk with what WordPress knows. This command checks the plugins that come from WordPress.org against their published checksums and reports files that differ. It cannot verify custom or commercial plugins, and a fake plugin will not be in the repository, so use it as one signal and not as proof of a clean site.
wp plugin verify-checksums --allAlso review the administrator accounts, since a plugin install normally needs admin access or an equivalent foothold.
wp user list --role=administratorIf you cannot use the command line, open Plugins in the admin dashboard and the wp-content/plugins and wp-content/mu-plugins folders over SFTP, and look at modification dates for anything recent that does not match your own update history.
What to do now
- Audit installed plugins and must-use plugins and remove anything you cannot account for.
- Review administrator accounts and delete or lock any you do not recognize.
- Reset passwords for all admin users, hosting, SFTP and database accounts if you find anything suspicious, and rotate the keys and salts in wp-config.php.
- Update WordPress core, themes and plugins, and delete unused ones, because the entry point for this campaign has not been published.
- Enable two-factor authentication for every admin account.
- Look at the pages your site serves for script tags pointing at domains you do not use, and review your server and access logs for unexpected plugin or REST requests.
- Keep a clean backup from before any suspected infection so you can restore if needed.
Our guides on what to do when a website is hacked and the WordPress security checklist walk through the cleanup and hardening in more detail.
Detection and ongoing monitoring
Because the plugin names are generated, rely on behavior and change detection. Watch for new plugin directories appearing, new admin users, and new external scripts loading on your pages. You can run the free website malware scanner for an outside-in look at what visitors receive, and read what outside-in malware detection can and cannot see to understand its limits: it sees what the site serves, not every file on the server.
If scripts are being injected into pages, check the security headers on your site as well. A Content-Security-Policy that limits which domains can serve scripts can reduce the damage from unexpected JavaScript, though it does not remove the underlying infection.
Update status
This story is developing. The Wordfence post is the only source so far, and we will not claim more than it states. Check the original Wordfence write-up for indicators of compromise and technical detail as they are published.
Sources
This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.
