Here’s the sentence that should stick: patching is not cleaning. Sophos detailed a fileless PHP web shell on compromised F5 BIG-IP APM boxes that can leave the on-disk scripts looking pristine. So a happy file-integrity scan can still be wrong.
Get the free 5-minute weekday brief. Scam alerts you can act on, major breaches, and what to do next — join 1,600+ readers.
Plus get our free Scam Survival Kit (PDF). Unsubscribe anytime.
If your APM was ever exposed to CVE-2025-53521, assume you need a compromise assessment, not just a green patch ticket.
The incident
SophosLabs (analysis published around Sep 7-8, 2026) described a Linux implant on compromised F5 BIG-IP Access Policy Manager (APM) appliances that injects a PHP web shell into memory without changing the scripts on disk. ESET previously called related samples PoisonedRefresh; Sophos tracks the family as Linux/Agnt-IC.
Reading an older article? Use the brief to stay current.
Get the free 5-minute weekday brief
Scam alerts you can act on, major breaches, and our free Scam Survival Kit (PDF). Free, every weekday.
By subscribing you agree to our Privacy Policy.
For everyday readers, small businesses and security teams. Unsubscribe anytime.
F5 ties related activity to appliances hit by CVE-2025-53521. An unauthenticated RCE in BIG-IP APM when an access policy is configured on a virtual server. (Originally disclosed as DoS in Oct 2025, later reclassified as critical RCE; in CISA KEV since March 2026.)
What’s at stake
Fixing CVE-2025-53521 does not remove PoisonedRefresh. If the appliance was exploited before the patch, the shell can live in the running process. And possibly in httpd and upgrade media.
Tools that only hash the APM PHP scripts can report clean while the in-memory view still serves a web shell. That’s how these implants survive a “we patched” change window.
What to do first
- Confirm BIG-IP APM is on F5’s fixed trains for CVE-2025-53521.
- Run F5’s compromise-assessment guidance before calling the ticket done.
- Prioritize internet-exposed APM webtop / access-policy virtual servers.
- If compromise is plausible: rebuild from known-good media, rotate credentials and certs, and treat upgrade ISOs/images as untrusted until verified.
- Hunt the behavioral IoCs below. Do not rely only on hashes of
apm_css.php3and friends.
Details
- Initial access CVE: CVE-2025-53521 (unauth RCE when APM access policy is on a virtual server)
- Malware: PoisonedRefresh (ESET) / Linux/Agnt-IC (Sophos)
- Target: F5 BIG-IP APM webtop PHP scripts in memory
- Key scripts:
apm_css.php3,full_wt.php3,webtop_popup_css.php3 - Persistence angle: Installer observed as
umountcan infect/usr/sbin/httpd, disable SELinux, and poison upgrade images (umount,httpd,rc.local)
How it hides (short)
- Hooks
__libc_start_main, intercepts APRapr_dso_load, finds libphp via/proc/self/maps, flips memory protections, rewrites open/size/mmap paths. - When PHP maps the legitimate webtop scripts, the implant returns an in-memory view with a web shell prepended. Disk can stay untouched.
Hunt / verify
- Apache workers reading
/proc/self/maps; permission flips around libphp. - Presence of
/run/bigtlog.pipe; Apache spawning/bin/bash. - Unexpected POSTs to the three PHP3 scripts returning HTTP 201 with
text/css. - Do not clear the ticket on file hashes alone.
Sources
- Sophos: Dissecting a PHP web server rootkit
- The Hacker News: F5 BIG-IP APM malware injects PHP web shell into memory (Sep 9, 2026)
- Help Net Security: Linux rootkit on F5 BIG-IP APM (Sep 9, 2026)
Newer CyberExperts coverage on this topic
This article still works as background. If you want the current picture, start with the freshest related coverage below and today's brief.
Holiday Shopping Scams 2026: How to Spot a Fake Store in 30 Seconds
Black Friday is Nov. 27. Here is how to spot a fake store in 30 seconds, skip scam ads and fake delivery...
Breaking Cyber and Physical Security Silos to Enhance Corporate Security
Corporate security spans digital systems and physical spaces, but the teams responsible for each often work apart. Breaking down those silos —...
How to Lower Your Cyber Insurance Premiums in 2027
A costly cyber insurance renewal doesn't have to mean cutting coverage. These strategies give insurers clear evidence of lower risk, from ISO...
Thursday’s brief: 1Password customer records copied, then FinCEN goes partly offline, Mitel MiCollab flaws and fake Black Friday shops
The fastest way to catch up on what changed after this article was published.
Start your morning with the signal that matters.
Get the biggest cybersecurity developments, why they matter, and where to go deeper on CyberExperts.
By subscribing you agree to our Privacy Policy.
For everyday readers, small businesses and security teams. Unsubscribe anytime.