Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

Backdoor Malware Found on WordPress Website Disguised as Legitimate Plugin

A backdoor deployed on a compromised WordPress website poses as a legitimate plugin to hide its presence.

A threat actor has deployed a WordPress backdoor that can hide its presence by posing as a legitimate plugin, WordPress security firm Defiant reports.

Identified during the cleanup of a compromised site, the backdoor was designed to run in the context of WordPress, thus having access to all the functions a normal plugin would have.

To avoid raising suspicion, the code also presented the user with a “professional looking opening comment implying it is a caching plugin”, Defiant’s Wordfence team explains.

Once installed, the malware adds specific filters so that it would not show in the list of activated plugins, while providing the attackers with a variety of functions, including the ability to create an admin account.

Able to operate as a standalone script and as a plugin, the backdoor also contains pinging functionality so that the threat actor can check if it is operational, and can activate and deactivate other plugins remotely.

According to the Wordfence team, the script can create an account with the username ‘superadmin’, with the role set as administrator, and with a hardcoded password. It also contains code to remove the account when it is no longer needed.

Advertisement. Scroll to continue reading.

Additionally, the security firm identified a bot detection function in the code, which allows the malware to serve malicious content to users, based on specific filters.

“One common thread shared by these infection scenarios is that site owners find their site looks fine to them but their visitors have reported issues such as seeing spam or being redirected to dubious sites. Others report that their site looks and behaves completely normally but only shows spam content when visiting from a search engine,” the company explains.

Such malware typically serves the malicious content to search engines, so it can be indexed, to drive traffic to the infected website.

The backdoor also contains a hook to check if the current user is an administrator, and performs other checks as well, to serve them the unmodified site content. If these conditions are not met, the user is served malicious content instead, and other functions are invoked to insert spam on pages.

“The malware contains other cleanup functions that allow it to remove malicious content from the database in addition to the admin user deletion,” Defiant explains.

Additionally, the security firm identified specific malware functions that allow the attackers to remotely control and monetize the victim websites.

Related: Recently Patched TagDiv Plugin Flaw Exploited to Hack Thousands of WordPress Sites

Related: Vulnerability in WordPress Migration Plugin Exposes Websites to Attacks

Related: Critical WordPress Plugin Vulnerabilities Impact Thousands of Sites

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Click to comment

You must be logged in to post a comment Login

Leave a Reply

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

NOW LIVE: CISO Forum 2026 Summit

Join as we bring together CISOs, senior cybersecurity executives, practitioners, industry experts, and other security leaders to share practical experience and examine the issues shaping enterprise cybersecurity strategy.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Cohere has appointed Jaya Baloo as CISO.

Jensen Huang has resigned as President and Chief Executive Officer at NVIDIA.

Sean Sweeney has become CIO of the City of Charleston, South Carolina.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.