Skip to main content
Mallory
Malware

Web Media Optimizer

Tracked since Sep 17, 2026 · Updated 6 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
Vulns0Associated
Actors0Associated
ATT&CK16Techniques
IOCs48Tracked
Type
Backdoor
Capabilities
PersistenceDefense evasionSession hijacking
Delivery
Drive by

Web Media Optimizer is a malicious PHP backdoor masquerading as a WordPress performance plugin, with observed samples identifying themselves as version 2.1. It injects remotely controlled JavaScript into public-facing pages and provides a hardcoded authentication mechanism that creates a valid administrator session without requiring the administrator’s password.

The plugin establishes persistence by copying itself into WordPress’s must-use plugin directory, where it loads automatically and cannot be disabled through standard plugin controls. It conceals itself from ordinary plugin listings, suppresses plugin-management actions, and modifies update-check data to reduce visibility. Its script-delivery configuration can be changed remotely, and it retains a backup of the last valid JavaScript location to continue injection when its controller is unavailable. It also clears caches maintained by popular WordPress caching plugins to accelerate propagation of injected scripts.

Web Media Optimizer is associated with the TRUST#GRAFT attack chain. Malicious JavaScript executing within a WordPress site abuses an existing administrator session with plugin-installation permissions, retrieves an upload nonce, and uploads and attempts to activate the backdoor through normal WordPress functionality. This deployment method requires an already authenticated privileged session rather than independently bypassing WordPress authentication. The plugin was also distributed during the September 2026 Brevo client-side supply-chain compromise, in which altered third-party scripts targeted authenticated WordPress administrators. Its injected JavaScript supports further malware delivery, including ClickFix verification lures directed at website visitors.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

16 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

4 techniques
T1078Valid AccountsEvidence2

“The attacker held a long-lived Cloudflare API key with full account permissions” and later “tried to use [WordPress admins’] active session to upload and activate the plugin. No password was needed.”

T1078.004Cloud AccountsEvidence1

The script sends a request to /wp-admin/ ... [with] credentials: 'same-origin' ... If you ... are already logged into that site’s WordPress dashboard ... the response comes back as if you had made that request.

T1189Drive-by CompromiseEvidence1

Each domain serves a JavaScript file ... that runs when injected into a page, presumably via a compromised ad slot, ad network, or third-party script on a legitimate site.

T1195Supply Chain CompromiseEvidence1

“This turned Brevo’s trusted infrastructure into a malware distribution channel. The malicious code was served to visitors and users of websites relying on Brevo’s services.”

Persistence

4 techniques
T1078Valid AccountsEvidence2

“The attacker held a long-lived Cloudflare API key with full account permissions” and later “tried to use [WordPress admins’] active session to upload and activate the plugin. No password was needed.”

T1078.004Cloud AccountsEvidence1

The script sends a request to /wp-admin/ ... [with] credentials: 'same-origin' ... If you ... are already logged into that site’s WordPress dashboard ... the response comes back as if you had made that request.

T1505Server Software ComponentEvidence2

“The ‘Web Media Optimizer’ plugin hides in mu-plugins and keeps pulling ClickFix scripts from attacker servers after the window closes.”

T1505.003Web ShellEvidence2

On activation, it copies itself into wp-content/mu-plugins/ — WordPress’s “must-use” plugin folder, which loads automatically on every page and cannot be turned off from the admin interface. | Inside: A hardcoded master password. One specific string, checked against a single URL parameter, instantly logs in as the site’s administrator — no username, no password, forever.

Privilege Escalation

2 techniques
T1078Valid AccountsEvidence2

“The attacker held a long-lived Cloudflare API key with full account permissions” and later “tried to use [WordPress admins’] active session to upload and activate the plugin. No password was needed.”

T1078.004Cloud AccountsEvidence1

The script sends a request to /wp-admin/ ... [with] credentials: 'same-origin' ... If you ... are already logged into that site’s WordPress dashboard ... the response comes back as if you had made that request.

Stealth

6 techniques
T1036MasqueradingEvidence1

If the C2 approves, the script throws a full-screen overlay over the entire page — a pixel-perfect clone of Cloudflare’s “Just a moment…” challenge screen.

T1078Valid AccountsEvidence2

“The attacker held a long-lived Cloudflare API key with full account permissions” and later “tried to use [WordPress admins’] active session to upload and activate the plugin. No password was needed.”

T1078.004Cloud AccountsEvidence1

The script sends a request to /wp-admin/ ... [with] credentials: 'same-origin' ... If you ... are already logged into that site’s WordPress dashboard ... the response comes back as if you had made that request.

T1480Execution GuardrailsEvidence2

“The malware also tried to avoid detection by targeting only logged-in WordPress admins and ignoring crawlers, developers and security scanners.”

T1497.001System ChecksEvidence1

The script builds a detailed fingerprint ... and ... checks for automation tooling. It looks for navigator.webdriver, leftover artifacts from Selenium, PhantomJS and NightmareJS ... This fingerprint, plus a small proof-of-work ... gets sent to a command-and-control server, which decides ... whether to show the real payload.

T1564Hide ArtifactsEvidence5

“The plugin is disguised as ‘Web Media Optimizer’” and “Hides itself from the WordPress plugin list.”

Credential Access

3 techniques
T1056.003Web Portal CaptureEvidence1

The Cloudflare Worker... modified the Brevo forms script, Brevo Conversations widget, and the Brevo SDK loader scripts that customers embed on their websites.

T1539Steal Web Session CookieEvidence1

The script scans localStorage, sessionStorage, and cookies for anything with a name matching patterns like token, jwt, auth, api, secret, session, bearer, or csrf, and sends whatever it finds ... to the same reporting endpoint.

T1606.001Web CookiesEvidence1

The plugin contains a hardcoded authentication key that allows attackers to generate a valid login session for a WordPress administrator account without knowing the account password.

Discovery

1 technique
T1497.001System ChecksEvidence1

The script builds a detailed fingerprint ... and ... checks for automation tooling. It looks for navigator.webdriver, leftover artifacts from Selenium, PhantomJS and NightmareJS ... This fingerprint, plus a small proof-of-work ... gets sent to a command-and-control server, which decides ... whether to show the real payload.

Collection

2 techniques
T1056.003Web Portal CaptureEvidence1

The Cloudflare Worker... modified the Brevo forms script, Brevo Conversations widget, and the Brevo SDK loader scripts that customers embed on their websites.

T1115Clipboard DataEvidence1

One of the message types it listens for writes attacker-controlled text directly to your clipboard, the same “copy this and paste it into Run” trick used by the ClickFix social-engineering technique.

Command and Control

2 techniques
T1071.001Web ProtocolsEvidence3

This fingerprint ... gets sent to a command-and-control server ... Every step reports success or failure back to the operator ... [and] sends whatever [tokens] it finds ... to the same reporting endpoint.

T1105Ingress Tool TransferEvidence2

“Contacts glegchner[.]com for new ClickFix scripts to inject into your pages.”

Indicators of compromise

Observables

48 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
the hacker newsNews · Nov 20, 2026ROMULUS ClickFix Attacks Deliver RAT That Can Spy on Users and Control PCsMalicious PHP plugin deployed in the TRUST#GRAFT attack chain. It injects remote JavaScript into public WordPress pages and persists by copying itself into the mu-plugins directory.Read more ↗scworldNews · Nov 17, 2026How TRUST#GRAFT uses a WordPress admin session to install a backdoor | perspective | SC MediaMalicious WordPress plugin deployed through the TRUST#GRAFT attack chain by abusing an authenticated administrator’s browser session to upload and activate it. It injects remote JavaScript into public pages, hides from normal plugin listings, and provides administrator access through a hardcoded token. It attempts to persist by copying itself into the must-use plugin directory as wmedia-recovery.php, where it loads automatically and cannot be disabled through standard plugin controls. Removing the original plugin, ending the browser session, or resetting the administrator password alone does not fully remediate the compromise.Read more ↗cyber security newsNews · Oct 27, 2026Hackers Can Abuse Logged-In WordPress Admin Sessions to Secretly Install PHP BackdoorsA malicious WordPress PHP plugin delivered as wm.zip in the TRUST#GRAFT attack chain. A JavaScript loader abuses an existing administrator session to retrieve a WordPress nonce, install the plugin, and activate it; this requires an already authenticated account with plugin-installation permissions and is not a standalone login bypass. The plugin injects remote JavaScript into public pages, disables TLS certificate verification when retrieving its controller script, and uses a hardcoded token to set a login cookie for the first administrator account. On activation, it copies itself to wp-content/mu-plugins/wmedia-recovery.php, where WordPress loads it automatically without listing it on the normal Plugins page. Removing only the visible plugin therefore leaves the persistent backdoor in place.Read more ↗cryptika blogNews · Oct 27, 2026Hackers Can Abuse Logged-In WordPress Admin Sessions to Secretly Install PHP Backdoors | Cryptika CybersecurityMalicious WordPress PHP plugin delivered through the TRUST#GRAFT attack chain, which abuses an already authenticated administrator session to install and activate it. The backdoor injects remote JavaScript into public pages, disables TLS certificate verification when fetching its controller script, and uses a hardcoded token to set a login cookie for the first administrator account. It persists by copying itself to wp-content/mu-plugins/wmedia-recovery.php, which WordPress loads automatically and which does not appear on the normal Plugins page. Removing only the visible plugin leaves this persistence mechanism intact.Read more ↗
+5 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching48Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping16Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.