UK’s trusted IT infrastructure partner since 2003
Servnet
FinanceToolsConfiguratorGet in Touch
Cyber security

F5 BIG-IP APM Malware Uses In-Memory PHP Shells (2026)

London · Servnet News Desk · IT infrastructure analysis3 min read
Share

A memory-only Linux rootkit is now compromising F5 BIG-IP Access Policy Manager appliances, planting a PHP web shell in RAM to slip past security tools that primarily inspect disk-based artefacts. For UK enterprises running BIG-IP at the network edge, this has important implications for how network security monitoring should evolve.

CVE-2025-53521 disclosure and exploitation timeline
W0W8W16W24W32W40W48Published as DoS4wReclassified as RCE4wMalware disclosed4wTotal: 48 weeks end-to-end
View the data behind this chart
CVE-2025-53521 disclosure and exploitation timeline
PhaseStarts (week)Duration (weeks)
Published as DoS04
Reclassified as RCE234
Malware disclosed444

A rootkit that never touches disk

Security researchers have found a Linux rootkit aimed at F5 BIG-IP APM systems that hooks into PHP file loading and plants a memory-resident web shell designed to avoid leaving malicious artefacts on disk for conventional scanners to catch. Reports identify three PHP scripts the rootkit hooks into — apm_css.php3, full_wt.php3, and webtop_popup_css.php3 — on affected appliances.

According to Sophos, F5 linked the activity cluster c05d5254 with appliances vulnerable to CVE-2025-53521. BleepingComputer reported that the malware avoids writing malicious code to disk and assessed it as a likely second-stage payload deployed after exploiting that flaw.

From denial-of-service to unauthenticated RCE

CVE-2025-53521 has had a two-stage disclosure history. F5 initially disclosed it in mid-October 2025, including on 15 October in its advisory, as a denial-of-service flaw. In updated guidance dated 27 March 2026, F5 stated — quoted by NCSC and others — that new information had led it to reclassify the flaw as remote code execution, and that it had been exploited.

F5's updated advisory, as quoted by NCSC, assigns CVSS 3.1: 9.8 and CVSS 4.0: 9.3. The NCSC describes it as an unauthenticated remote code execution vulnerability affecting F5 BIG-IP Access Policy Manager. That reclassification matters for risk registers: a flaw logged internally as "DoS, low priority" in late 2025 needs to be re-scored as critical, exploited RCE today.

Why disk-based scanning misses this

The whole point of the in-memory approach is to defeat the controls most estates already have. If your monitoring stack relies primarily on file-integrity checks and signature-based scans of disk artefacts, a shell that never writes a file simply won't trip those alarms.

This is a strong argument for UK teams to enhance their managed detection and response capabilities specifically around memory forensics — process memory dumps, anomalous PHP interpreter behaviour, and unexpected child processes spawned from the APM web service — rather than assuming appliance-level AV coverage is sufficient. What remains unsettled is the complete attack chain: public reporting so far connects the malware to CVE-2025-53521 without establishing that every compromised device fell through the exact same entry point, so defenders shouldn't assume one indicator will catch everything.

Illustration: F5 BIG-IP APM Malware Uses In-Memory PHP Shells (2026)

Which BIG-IP APM versions are exposed

Vulnerable builds cut across several BIG-IP release lines — 17.5.0–17.5.1, 17.1.0–17.1.2, 16.1.0–16.1.6, and 15.1.0–15.1.10 — with fixed versions released as 17.5.1.3, 17.1.3, 16.1.6.1, and 15.1.10.8.

Given confirmed active exploitation, organisations still running unpatched builds in these ranges should treat this as an active exploitation scenario, not a theoretical one. Teams managing mixed-version estates should implement robust vulnerability management strategies that can quickly identify every APM instance still on a vulnerable branch, including appliances that may have drifted from a standard patch baseline.

Immediate steps for UK buyers running BIG-IP

The NCSC has pressed UK organisations to act without delay to address CVE-2025-53521. Given the fileless nature of the follow-on malware, patching alone won't clear an already-compromised appliance — memory needs to be checked, not just the filesystem.

  • Patch to the fixed versions (17.5.1.3, 17.1.3, 16.1.6.1, or 15.1.10.8) without delay
  • Audit BIG-IP access and authentication logs for anomalous sessions predating patching
  • Add memory-forensic capability to detect in-memory PHP injection, not just disk scans
  • Treat any pre-patch appliance as potentially compromised and inspect running processes

The lifecycle and procurement angle

This incident is also a reminder that load balancer and access management appliances sit on a long refresh cycle, which means vulnerable versions can linger in production far longer than on typical servers. Organisations running older BIG-IP hardware that's approaching or past vendor support should read our guidance on keeping end-of-support hardware secure and consider whether they can explore options for third-party maintenance for their F5 BIG-IP estate to bridge patching gaps safely.

More broadly, edge appliances like APM are a prime example of why buyers need to understand attack surface management to mitigate future risk — a single unauthenticated RCE on an internet-facing access gateway can undo segmentation elsewhere in the network.

Share
Key takeaways
  • CVE-2025-53521 was reclassified from denial-of-service to critical, exploited RCE on 27 March 2026, with CVSS scores of 9.8 (v3.1) and 9.3 (v4.0)
  • A memory-resident rootkit plants a PHP web shell inside BIG-IP APM's RAM, using the filenames apm_css.php3, full_wt.php3, and webtop_popup_css.php3
  • Patching to versions 17.5.1.3, 17.1.3, 16.1.6.1, or 15.1.10.8 is necessary but not sufficient — already-compromised appliances need memory inspection
  • The NCSC has called for immediate action from UK organisations running affected F5 BIG-IP APM appliances
Frequently asked

FAQs — F5 BIG-IP APM Malware Uses In-Memory PHP Shells (2026)

What is CVE-2025-53521 and why does it matter now?

CVE-2025-53521 affects F5 BIG-IP Access Policy Manager. F5 first logged it in October 2025 as a denial-of-service bug, then upgraded its classification in March 2026 to unauthenticated remote code execution, carrying a CVSS 3.1 score of 9.8. It matters now because it's being actively exploited to deploy fileless malware, as confirmed in ongoing coverage through September 2026.

How does the in-memory PHP web shell evade detection?

The rootkit hooks the appliance's PHP file-loading process and drops the malicious shell straight into RAM instead of the filesystem, which lets it slip past tools built around disk scans and file-integrity checks.

Is patching BIG-IP APM enough to fix a compromise?

No. Patching closes the vulnerability for future exploitation, but because the malware operates in memory as a second-stage payload, organisations should also audit access logs and inspect running memory on any appliance that was unpatched before the fix, as recommended by teams looking to enhance their managed detection and response capabilities.

Which F5 BIG-IP APM versions are affected?

The vulnerable ranges are 17.5.0–17.5.1, 17.1.0–17.1.2, 16.1.0–16.1.6, and 15.1.0–15.1.10, with fixes available in 17.5.1.3, 17.1.3, 16.1.6.1, and 15.1.10.8.

Related

Turning this into a buying decision?

One conversation with an engineer who's specced this before. No sales script.

Talk to Servnet →

Talk to a UK specialist

Get expert advice or a no-obligation quote — servers, storage, networking, maintenance, finance and cloud. We reply the same working day.

or call 0800 987 4111