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.
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.
CISSP vs CCSP (2026): Which ISC2 Certification Should You Take?
CISSP vs CCSP in 2026: domains, the CISSP experience shortcut, $749 vs $599 exams, one $135 annual fee, DoD 8140 roles, salary...
CEH vs PenTest+ vs OSCP (2026): Which Pen Testing Cert Is Right?
CEH vs PenTest+ vs OSCP in 2026: exam formats, difficulty, current prices and three-year costs, renewal, DoD 8140 status and which to...
Best Cybersecurity Certifications With No Experience (2026)
The best cybersecurity certifications with no experience in 2026: ISC2 CC, the Google certificate, Security+, A+, Network+ and cheap cloud fundamentals, with...
Thursday’s brief: Cisco email gateways under attack, then PAN-OS, Nextcloud and AhsayCBS
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.