A new malware campaign targeting WordPress sites employs a malicious plugin disguised as a security tool to trick users into installing and trusting it. According to Wordfence researchers, the malware provides attackers with persistent access, remote code execution, and JavaScript injection. At the same time, it remains hidden from the plugin dashboard to evade detection. Wordfence first discovered the malware during a site cleanup in late January 2025, where it found a modified 'wp-cron.php' file, which creates and programmatically activates a malicious plugin named 'WP-antymalwary-bot.php.' Other plugin names used in the campaign include: If the plugin is deleted, wp-cron.php re-creates and reactivates it automatically on the next site visit. Lacking server logs to help identify the exact infection chain, Wordfence hypothesizes the infection occurs via a compromised hosting account or FTP credentials. Not much is known about the perpetrators, though the researchers noted that the command and control (C2) server is located in Cyprus, and there are traits similar to a June 2024 supply chain attack. Once active on the server, the plugin performs a self-status check and then gives the attacker administrator access. "The plugin provides immediate administrator access to threat actors via the emergency_login_all_admins function," explains Wordfence in its writeup. "This function utilizes the emergency_login GET parameter in order to allow attackers to obtain administrator access...
WordPress plugin disguised as a security tool injects backdoor
BleepingComputer
·Bill Toulas
·Published Apr 30, 2025
·Updated
Affected Software
7 affected components
WordPress wp-cron.php
WordPress header.php
WordPress WP-antymalwary-bot.php
WordPress plugin dashboard
WordPress WordPress
WordPress wp-cron.php
WordPress WP-antymalwary-bot.php