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 CyberExperts Daily Brief: the day's top security news in 5 minutes. Free.
If your APM was ever exposed to CVE-2025-53521, assume you need a compromise assessment, not just a green patch ticket.
What happened
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.
Know what matters before your first meeting.
Weekday mornings. Five minutes. What changed in security, why it matters.
By subscribing you agree to our Privacy Policy.
Free. Weekday mornings. 5 minutes or less.
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.)
Why it matters
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.
CMMC After the Phase 2 Suspension: What Contractors Still Have to Do in 2026
Short answer: on July 13, 2026, the Department of War suspended the move to CMMC Phase 2, which was due on November...
Blue Team Certifications (2026): CySA+, GCIA, BTL1 and SC-200 Compared
Blue team certifications compared from the issuers' own pages: CompTIA CySA+ V4, GIAC GCIA, BTL1 from Centri (Security Blue Team) and Microsoft...
Digital Forensics Certifications (2026): GCFA, CHFI, EnCE and CCE Compared
Digital forensics certifications compared from the issuers' own pages: GIAC GCFA and GCFE, EC-Council CHFI, OpenText EnCE and ISFCE CCE, with exam...
Wednesday’s brief: Barracuda gateways go from no login to root, then Chrome 157, cPGuard and WordPress
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.
Free. Weekdays. Built for operators.