CONFERENCE On Demand: Cyber AI & Automation Summit - Watch Now
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.

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.

Advertisement. Scroll to continue reading.

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.

Click to comment

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.

Join us as we delve into the transformative potential of AI, predictive ChatGPT-like tools and automation to detect and defend against cyberattacks.

Register

As cybersecurity breaches and incidents escalate, the cyber insurance ecosystem is undergoing rapid and transformational change.

Register

Expert Insights

Related Content

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Malware & Threats

The NSA and FBI warn that a Chinese state-sponsored APT called BlackTech is hacking into network edge devices and using firmware implants to silently...

Cybercrime

No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.

Cybercrime

The recent ransomware attack targeting Rackspace was conducted by a cybercrime group named Play using a new exploitation method, the cloud company revealed this...

Malware & Threats

Threat actors are increasingly abusing Microsoft OneNote documents to deliver malware in both targeted and spray-and-pray campaigns.