Skip to main content
Mallory
← Back to News
persistence-methodremote-access-implantloader-delivery-mechanisminitial-access-method

TRUST#GRAFT Abuses WordPress Admin Sessions to Install Persistent PHP Backdoors

Attack Tradecraft · 2 sources · Updated 1mo ago · First seen Oct 27, 2026

TRUST#GRAFT Abuses WordPress Admin Sessions to Install Persistent PHP Backdoors

Securonix researchers reported TRUST#GRAFT, a JavaScript-driven attack chain that abuses an already authenticated WordPress administrator’s browser session to install a PHP backdoor without obtaining the administrator’s password. The loader displays a fake Cloudflare verification screen, fingerprints the browser, and retrieves a WordPress nonce before installing and activating a malicious plugin, Web Media Optimizer 2.1, through the standard plugin installation workflow. The chain requires an authenticated administrator with plugin installation permissions; it is not a standalone login bypass. Researchers have not confirmed how the initial JavaScript reached compromised pages.

The malicious plugin injects remote JavaScript, enables administrator impersonation through a hardcoded token, and establishes persistence in the must-use plugin file wp-content/mu-plugins/wmedia-recovery.php. Defenders should separate administrative browsing from routine web activity, restrict plugin installation privileges, and monitor must-use plugins for unauthorized changes. Remediation must remove the malicious plugin, its persistence component, and injected script references rather than relying on deleting the visible plugin alone.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

1 event
  1. Reported Oct 27, 20261mo ago

    Securonix identifies TRUST#GRAFT WordPress backdoor attack chain

    Securonix researchers Akshay Gaikwad and Aaron Beardslee identified TRUST#GRAFT, a JavaScript-driven chain that abuses an already authenticated WordPress administrator session to install the malicious Web Media Optimizer 2.1 plugin. The plugin injects remote JavaScript, enables token-based administrator access, and persists as wp-content/mu-plugins/wmedia-recovery.php; researchers have not confirmed how the initial JavaScript reached compromised pages.

    Hackers Can Abuse Logged-In WordPress Admin Sessions to Secretly Install PHP Backdoors | Cryptika Cybersecurity
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Affected products

1 linked
Wordpress

Observables

31 linked

Indicator values are masked on this page. View all 31 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.