Threat reportMalwareTL-2026-4505
TRUST#GRAFT: Logged-In WordPress Admin Sessions Abused to Silently Install PHP Backdoor via Fake 'Web Media Optimizer' Plugin
TRUST#GRAFT is a JavaScript-to-WordPress attack chain in which a fake-Cloudflare-verification loader waits for a signed-in WordPress administrator, reuses their authenticated browser session to upload and activate a malicious 'Web Media Optimizer 2.1' plugin, and persists a PHP backdoor in wp-content/mu-plugins.
Key facts
| Identifiers | TL-2026-4505 |
|---|---|
| Also known as | TRUST#GRAFT |
| Severity | HIGH |
| First disclosed | |
| Affected products | WordPress WordPress sites with an administrator who has plugin-installation rights and an active session |
| Malware | Web Media Optimizer 2.1 |
| MITRE ATT&CK techniques | T1036 Masquerading, T1059.007 Command and Scripting Interpreter: JavaScript, T1071.001 Application Layer Protocol: Web Protocols, T1078 Valid Accounts, T1082 System Information Discovery, T1185 Browser Session Hijacking, T1204.004 User Execution: Malicious Copy and Paste, T1497 Virtualization/Sandbox Evasion, T1505 Server Software Component, T1550.004 Use Alternate Authentication Material: Web Session Cookie, T1555.003 Credentials from Password Stores: Credentials from Web Browsers, T1564 Hide Artifacts and 1 more in the attack flow |
| Motivation | UNKNOWN |
| Target sectors | technology, news - media, ecommerce |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 8 cited sources |
Detection coverage
As of 2026-10-27, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4505 across Splunk SPL, Microsoft KQL and Sigma, covering 34 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: TRUST#GRAFT Self-Restoring Backdoor - wmedia-recovery.php in mu-plugins
Detects creation of wp-content/mu-plugins/wmedia-recovery.php and files inside wp-content/plugins/web-media-optimizer/ by the Web Media Optimizer 2.1 plugin, which copies itself into mu-plugins to survive removal and hide from the normal plugin workflow.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1505, T1036, T1564
- Data sources: linux_auditd, index=linux sourcetype=linux:audit
- Severity: critical
- Confidence: high
Splunk SPL
index=linux sourcetype="linux:audit" type=PATH earliest=-24h (name="*/wp-content/mu-plugins/*.php" OR name="*/wp-content/plugins/web-media-optimizer/*")
| eval ioc_hit=case(like(name,"%/mu-plugins/wmedia-recovery.php"),"TRUST#GRAFT backdoor wmedia-recovery.php",like(name,"%/plugins/web-media-optimizer/%"),"Web Media Optimizer 2.1 plugin directory",true(),"unexpected mu-plugin PHP file")
| stats earliest(_time) as first_seen latest(_time) as last_seen values(nametype) as nametypes dc(name) as file_count values(name) as files by host, ioc_hit
| convert ctime(first_seen) ctime(last_seen)
| sort ioc_hit, - file_countMicrosoft KQL
// Web Media Optimizer 2.1 plugin / wmedia-recovery.php must-use persistence
let KnownSha256 = dynamic(["86d775c2d5cb459541cd2b0b967fac65ce20c60e483c71c9f7e108d5ad0bd564", "2dfa9e708fdb92e5d36080065f978e33a692c0fe813a75be9c7cdff03be51b6e", "9215d17e5138cee498bb529e69b1cc7267305136535025e9b49fe173cf648720"]);
DeviceFileEvents
| where Timestamp > ago(24h)
| where ActionType in ("FileCreated", "FileModified", "FileRenamed")
| where (FolderPath has "wp-content" and FolderPath has "mu-plugins" and FileName endswith ".php")
or FolderPath has "web-media-optimizer"
or FileName =~ "wmedia-recovery.php"
or FileName =~ "wm.zip"
or SHA256 in (KnownSha256)
| extend Indicator = case(
FileName =~ "wmedia-recovery.php" or SHA256 in (KnownSha256), "Known TRUST#GRAFT artifact",
FolderPath has "web-media-optimizer", "Web Media Optimizer plugin directory",
FileName =~ "wm.zip", "Staged wm.zip archive",
"Unexpected mu-plugins PHP file")
| project Timestamp, DeviceName, ActionType, FolderPath, FileName, SHA256, Indicator, InitiatingProcessFileName, InitiatingProcessCommandLine, InitiatingProcessAccountName
| order by Timestamp descSigma
title: TRUST#GRAFT Web Media Optimizer Plugin and wmedia-recovery.php Must-Use Backdoor File Creation
id: 9c4a2d6e-1f7b-4e53-8a2d-3b6f0c9e5d22
status: experimental
description: Detects creation of the self-restoring wmedia-recovery.php must-use plugin or files inside the web-media-optimizer plugin directory on WordPress hosts.
references:
- https://www.securonix.com/blog/trust-graft-wordpress-admin-php-backdoor/
- https://cybersecuritynews.com/logged-in-wordpress-admin-sessions/
author: Threadlinqs Team
date: 2026/10/27
tags:
- attack.persistence
- attack.t1505
- attack.defense_evasion
- attack.t1036
- attack.t1564
logsource:
category: file_event
product: linux
detection:
selection_mu:
TargetFilename|endswith: '/wp-content/mu-plugins/wmedia-recovery.php'
selection_plugin:
TargetFilename|contains: '/wp-content/plugins/web-media-optimizer/'
condition: selection_mu or selection_plugin
falsepositives:
- Legitimate plugin that happens to share the name web-media-optimizer
- Site restore from a backup that included the malicious files for forensic purposes
level: critical
Known false positives:
- Legitimate must-use plugins deployed by site owners or hosting providers
- Managed hosting platforms that drop their own mu-plugins
Tuning notes: Requires auditd watch rules (-w <docroot>/wp-content/mu-plugins -p wa) on web hosts. Allow-list known mu-plugin filenames from your hosting provider; wmedia-recovery.php should always alert.
- TRUST#GRAFT Fake Cloudflare Loader and [indicator] Staging Domain Contact from Endpoints · unlock with TL Creds
- TRUST#GRAFT Self-Restoring Backdoor - [indicator] in mu-plugins (Endpoint) · unlock with TL Creds
- TRUST#GRAFT C2, Controller and Credential-Collection API Contact (Endpoint and Proxy) · unlock with TL Creds
- TRUST#GRAFT Plugin Upload and Web Media Optimizer Activation via Hijacked Admin Session (Sigma) · unlock with TL Creds
- TRUST#GRAFT Web Media Optimizer and [indicator] Must-Use Backdoor File Creation (Sigma) · unlock with TL Creds
- TRUST#GRAFT Infrastructure and C2 API Path Access via Proxy (Sigma) · unlock with TL Creds
- TRUST#GRAFT Plugin Upload and Web Media Optimizer Activation via Hijacked Admin Session · unlock with TL Creds
- TRUST#GRAFT C2 Infrastructure, Controller and Credential-Collection API Contact · unlock with TL Creds
Indicators of compromise
As of 2026-10-27, Threadlinqs Intelligence tracks 34 indicators of compromise for TL-2026-4505.
Sample indicators (3 of 34)
- Domain:
vilialobos[.]lol - File hash:
86d775c2d5cb459541cd2b0b967fac65ce20c60e483c71c9f7e108d5ad0bd564 - Domain:
caapman[.]me
Defanged, TLP:CLEAR. Full set of 34 indicators: unlock with TL Creds.
Technical analysis
Securonix Threat Research reports the campaign is unattributed and its initial JavaScript delivery mechanism is unresolved.
Securonix Threat Research (Akshay Gaikwad and Aaron Beardslee) documented TRUST#GRAFT, reported by Cyber Security News on 2026-10-27. The Securonix report itself carries no discovery or publication dates. The chain does not bypass WordPress authentication or exploit a CVE; it abuses an already-authenticated administrator's browser session. A JavaScript loader served from attacker domains (gerlace.com, vtevens.icu, caapman.me) displays a fake Cloudflare verification ('Just a moment') overlay that obscures the page. It collects a browser fingerprint (screen dimensions, WebGL renderer, canvas hash, automation markers, timezone, plugin count), performs a proof-of-work style gate by contacting a controller server, searches localStorage/sessionStorage for token-like values, attempts clipboard command delivery via the Clipboard API with a textarea fallback, and probes /wp-admin/ access. Seven loader samples (0k2blyny.js, j0ghlty4.js, 50w2ouvx.js, x9bpnmck.js, cse3g1jd.js, 9l56j7cg.js, 4oco7gwc.js) are catalogued, each with its own SHA-256.
Loader-side API paths on the infrastructure have distinct roles per Securonix: /api/v1/8e4c615 (token retrieval), /api/v1/f659473 (fingerprint submission), /api/v1/e81929c (command retrieval), /api/v1/6a38418 (credential collection) and /api/v1/76584c1 (event tracking).
If the visitor is a logged-in administrator with plugin-install rights, the script requests the plugin upload page (plugin-install.php?tab=upload) with the existing session cookies, extracts the WordPress nonce, downloads a staged wm.zip from a staging server (/p/wm.zip on caapman.me, vtevens.icu, nutmann.club or okuneva.sbs), uploads it through the standard update.php?action=upload-plugin endpoint, and activates it via plugins.php?action=activate. No password is needed because WordPress honors the existing privileged session.
The resulting plugin, 'Web Media Optimizer' v2.1 (installed to wp-content/plugins/web-media-optimizer/), injects remote JavaScript into public pages via the wp_head hook, stores controller configuration in WordPress options/transients (wm2_pref.*, wm2_u, wm2_src, wm2_hc, wm2_a), disables TLS certificate verification when fetching the remote script source, and hides itself from plugin and update lists through the all_plugins and plugin_action_links filters. It copies itself to wp-content/mu-plugins/wmedia-recovery.php (must-use plugins load automatically and are not shown in the normal plugin workflow), producing a self-restoring backdoor. A hardcoded token gates passwordless administrator access (the plugin calls wp_set_auth_cookie) and remote script-source updates. The default remote controller is https://vilialobos[.]lol/ads.php.
The true first delivery mechanism of the loader is explicitly unresolved in the Securonix report (candidates: compromised pages, injected WordPress content, malicious ads, compromised themes/plugins, redirect chains). The campaign is not attributed to any actor, and infrastructure alone does not establish geography or targeting. BeaconBeagle config searches for vilialobos.lol and caapman.me returned no C2 configuration matches.
MITRE ATT&CK techniques by tactic:
Defense Evasion
T1036 Masquerading; T1497 Virtualization/Sandbox Evasion; T1564 Hide Artifacts
Execution
T1059.007 Command and Scripting Interpreter: JavaScript; T1204.004 User Execution: Malicious Copy and Paste
Command and Control
T1071.001 Application Layer Protocol: Web Protocols
Persistence
T1078 Valid Accounts; T1505 Server Software Component
Discovery
T1082 System Information Discovery
Collection
T1185 Browser Session Hijacking
lateral-movement
T1550.004 Use Alternate Authentication Material: Web Session Cookie
Credential Access
T1555.003 Credentials from Password Stores: Credentials from Web Browsers
Exfiltration
Remediation
Immediate actions
- Search wp-content/mu-plugins/ for wmedia-recovery.php and any unexpected PHP files; remove both the visible Web Media Optimizer plugin (wp-content/plugins/web-media-optimizer/) and the mu-plugins copy
- Invalidate all administrator sessions and rotate administrator credentials after suspected exposure
- Audit WordPress options and transients (wm2_pref.*, wm2_u, wm2_src, wm2_hc, wm2_a) for suspicious remote script URLs and remove injected script sources
- Review public pages for injected remote scripts
- Block the TRUST#GRAFT domains (caapman.me, vtevens.icu, gerlace.com, nutmann.club, okuneva.sbs, vilialobos.lol) at DNS/proxy
Workarounds
- Sign out of WordPress admin dashboards when not in use
- Consider DISALLOW_FILE_MODS in wp-config.php to prevent plugin installation from the dashboard
Longer-term hardening
- Use a separate browser profile for wp-admin access, isolated from general web browsing
- Limit plugin upload/install rights to essential administrators and add an approval workflow for plugin uploads
- Monitor file integrity of wp-content/mu-plugins/ and plugin directories
- Review self-restoring backdoor cases for complete cleanup of all persistence copies and remote script sources
Affected and fixed versions
- WordPress — WordPress sites with an administrator who has plugin-installation rights and an active session
Vulnerable versions: Not version-specific; abuses legitimate authenticated administrator sessions
Timeline
- Securonix reports no attribution and an unresolved initial delivery mechanism for the JavaScript; BeaconBeagle searches for locked-ioc-22 and locked-ioc-27 returned no C2 config matches
- As reported: outbound POSTs to /api/v1/6a38418 are identified as credential collection; /api/v1/e81929c serves commands and /api/v1/76584c1 receives event tracking
- As reported: plugin injects remote JavaScript into public pages via wp_head from default controller locked-ioc-22/ads.php, with TLS verification disabled on fetch
- As reported: plugin copies itself to locked-ioc-11, hides from plugin lists via all_plugins/plugin_action_links filters and stores wm2_* options/transients
- As reported: loader downloads locked-ioc-28 from a /p/locked-ioc-28 staging server, uploads it via update.php?action=upload-plugin and activates Web Media Optimizer 2.1 via plugins.php
- As reported: loader reuses the administrator's session cookies to fetch the plugin upload page and extract the WordPress nonce, with no password required
- As reported: loader fingerprints the browser (screen, WebGL, canvas, timezone, plugin count, automation markers), retrieves a token via /api/v1/8e4c615, submits the fingerprint to /api/v1/f659473 and gates on a controller response
- As reported: JavaScript loaders from locked-ioc-25, locked-ioc-24 and locked-ioc-27 show a fake Cloudflare 'Just a moment' verification overlay on the compromised page
- Cyber Security News reports Securonix Threat Research findings on TRUST#GRAFT, a campaign abusing logged-in WordPress administrator sessions (the Securonix report itself carries no date)
Sources cited
- Securonix: TRUST#GRAFT WordPress Admin PHP Backdoor securonix.com · Research
- WordPress Developer Handbook: Must Use Plugins developer.wordpress.org · Vendor report
- WordPress Advanced Administration: Editing wp-config.php (DISALLOW_FILE_MODS) developer.wordpress.org · Vendor report
- MITRE ATT&CK T1505 Server Software Component MITRE · Research
- MITRE ATT&CK T1185 Browser Session Hijacking MITRE · Research
- MITRE ATT&CK T1204.004 Malicious Copy and Paste MITRE · Research
- MITRE ATT&CK T1550.004 Use Alternate Authentication Material: Web Session Cookie MITRE · Research
- Hackers Can Abuse Logged-In WordPress Admin Sessions to Secretly Install PHP Backdoors cybersecuritynews.com · News · 2026-10-27
Previous and next in malware
Drafted by the Threadlinqs research pipeline from 8 sources; published ; last updated —.