Skip to content
NewA calmer, faster ZeroHour
MalwarehighExploited in the wild

Hackers deploy Linux rootkit on F5 BIG-IP APM devices, hiding web shell in memory

Help Net Securityby Sinisa Markovic ()3 min read5 · 1 read
AI summary · glm-5.3-flashSummaries by Vani AI

Sophos analyzed a Linux rootkit, tracked as PoisonedRefresh, on hacked F5 BIG-IP APM devices hiding an in-memory web shell linked to exploited CVE-2025-53521.

Sophos and ESET analyzed an implant (named PoisonedRefresh by ESET) deployed on compromised F5 BIG-IP APM appliances, which serves enterprise, financial, government, and public sector deployments. The second-stage payload intercepts __libc_start_main, hooks Apache's APR module loader (apr_dso_load), RC4-encodes key strings, and rewrites PHP file reads in memory to embed a web shell inside legitimate scripts like apm_css.php3, full_wt.php3, and webtop_popup_css.php3, leaving on-disk files unchanged. A related installer component infects /usr/sbin/httpd, persists across BIG-IP upgrade images, modifies SELinux configuration, and deploys the payload. The malware also creates a Unix domain socket at /run/bigtlog.pipe that hands authenticated local connections to /bin/bash; F5 links the activity to CVE-2025-53521, an unauthenticated RCE in BIG-IP APM already exploited in the wild.

Key facts
  • Web shell is injected in memory, so filesystem-focused responders can miss evidence
  • Installer persists across BIG-IP upgrade images and alters SELinux settings
  • Unix domain socket at /run/bigtlog.pipe provides interactive /bin/bash shell
  • Sophos lists IOC checks: .php3 requests, HTTP 201 responses on CSS endpoints, /proc/self/maps reads
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2025-53521
Stack-Based Buffer Overflow in F5 BIG-IP APM Enables Unauthenticated RCE
9.32%KEV
KEV

From the original article

3 min read at helpnetsecurity.com

A rootkit found on hacked F5 BIG-IP APM devices skips the usual step of writing a web shell to disk, hiding it in memory instead, according to Sophos. F5 BIG-IP APM provides access policy enforcement to secure access to apps, APIs, and data. It’s primarily used by enterprises, financial institutions, government agencies, and public sector organizations.

Help Net Security

By Sinisa Markovic · helpnetsecurity.com

Read the full article at Help Net Security

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.