Skip to content

Security Widely confirmed6 publishers 3 min read Published Updated

Malware on F5 BIG-IP APM appliances splices its PHP web shell into Apache's memory

Sophos says the code patches Apache and hooks the PHP module loader so the shell never lands on disk, which leaves file-integrity checking on an appliance that was never running EDR unable to prove much.

The Watch · Security desk

Send a correction

Illustration accompanying Malware on F5 BIG-IP APM appliances splices its PHP web shell into Apache's memory
Generated illustration

What happened

  • Sophos said in a Sept. 7 post that malware found in break-ins on F5 BIG-IP Access Policy Manager appliances keeps its PHP web shells in memory instead of writing them to disk.
  • Hadrian CEO Rogier Fischer said the injected shell gives an attacker a command channel into the appliance over ordinary web requests.
  • Black Hills Information Security's John Strand said memory-resident malware itself is old, going back to Shadow Walker at Black Hat, and the notable part here is which device it runs on.

Why it matters

  • What it limits constraint A clean file-integrity result on an APM is now consistent with an active shell, so the control most teams point at to clear an edge device answers a question the malware was built to sidestep.
  • Who has to decide decision Fischer's framing puts owners of exposed appliances in front of a rebuild-versus-scan choice rather than a patch-and-move-on one, and the rebuild is the option that can actually be evidenced.
  • Who's exposed exposure If Strand's firmware scenario holds in any case, the trusted-rebuild escape hatch closes too, and the appliance becomes hardware you cannot certify without replacing it.
  • What doesn't add up contradiction Sophos frames the techniques as advanced evasion while Decker says these appliances run no disk scanner at all, which puts the value of the in-memory design in beating the responder, not the product.

Next story · Security · 7h ago

F5 patches three CVSS 9.2 NGINX flaws that only certain configurations expose

Confirmed2 publishers

Sophos has the malware patching the Apache binary, then hooking the PHP module loader, so that when Apache loads a legitimate BIG-IP PHP script the attacker's code is spliced into the copy held in memory [3][2]. Nothing malicious is written to the web root. Blackpoint Cyber threat intelligence engineer Sam Decker said someone checking the disk would find everything looking stock, because the code was never written there [2]. From there it behaves like any web shell: commands arrive as web requests to the appliance, which is how Hadrian CEO Rogier Fischer described the practical effect [6].

The evasion framing deserves a caveat, and it comes from one of the people quoted praising the tradecraft. Decker said network appliances typically have no disk-watching antivirus or endpoint monitoring, so there was no scan to evade in the first place [5]. Black Hills Information Security owner John Strand said there are few EDR products you can drop onto a network appliance and get comparable visibility [9]. Custom ELF loading and runtime code patching therefore buy stealth against a responder reviewing the filesystem after the fact, rather than against a real-time scanner that was never installed. Strand also said memory-resident malware is not new, tracing it back to Shadow Walker at Black Hat, and that the notable part is where this one runs [10].

That reframes the remediation question rather than the detection question. Fischer's position is that patching alone is not enough if the appliance may already be compromised, and that where a team cannot establish confidence an exposed appliance is clean, rebuilding from a trusted state may be safer than relying on conventional malware scans [6][8]. Strand names the case where rebuilding is also insufficient: an attacker with enough privileges moving deeper into the device, including firmware, at which point eradication gets very hard [13].

What the account does not carry is the detail a defender needs to scope this. There is no CVE, no named actor, no victim count, and no dates for the intrusions themselves beyond the Sept. 7 publication of the Sophos post [1][11]. The four practitioners quoted work at four companies, and none of them is Sophos, so every technical assertion here traces to a single primary account [12].

Sophos put the work in a familiar category: on-demand server-side code execution of the kind associated with web shells, implemented with deeper Linux and Apache-specific tradecraft, matching what its researchers have seen in other attacks on network infrastructure [4]. That is where the weight sits. The appliance is chosen for the absence of the agent, and in-memory implementation only has to hold long enough to survive a disk review by a responder who has no memory telemetry to fall back on [5][9].

What to watch

  • Whether Sophos or F5 ties these intrusions to a specific CVE and an initial access path; neither is in the account so far.
  • Whether F5 ships a supported way to inspect APM process memory, or verification stays a rebuild decision.
  • Whether follow-up analysis finds firmware-level persistence rather than Apache and PHP-level patching.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence72
Adoption
Not scored
Hype gap+10
Incentives35
Confidence70

Perspective Coverage

6 publishers
Builder
Builder 37%
Operator
Operator 57%
Investor
Investor 6%
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    In a Sept. 7 blog post, Sophos described stealthy malware tied to break-ins on F5 BIG-IP Access Policy Manager (APM) appliances that lets attackers hide PHP web shells in memory rather than as a file on disk.

    Reported SupportedView cited source
  2. [2]

    Sam Decker, threat intelligence engineer at Blackpoint Cyber, said the malware patches the Apache binary and hooks the PHP module loader so the web shell is spliced into legitimate scripts only when they load into memory, and that someone who checked the disk would find everything looking stock because the malicious code was never written there.

    Reported Supported Source: Sam Decker, Blackpoint Cyber, quoted by SC WorldView cited source
  3. [3]

    Sophos said the malware demonstrates advanced detection-evasion techniques including custom executable and linking format (ELF) loading, function hooking, and runtime code patching.

    Reported SupportedView cited source
  4. [4]

    Sophos researchers said the results are familiar from other attacks on network infrastructure: on-demand server-side code execution commonly associated with web shells, but implemented using deeper Linux and Apache-specific tradecraft.

    Reported SupportedView cited source
  5. [5]

    Decker said most web shells are a file in the web root that disk-watching antivirus or endpoint monitoring can catch, but network appliances typically do not have that kind of monitoring, so there is no scan to evade in the first place.

    Reported Supported Source: Sam Decker, Blackpoint Cyber, quoted by SC WorldView cited source
  6. [6]

    Rogier Fischer, co-founder and CEO at Hadrian, said the malware interferes with how Apache and PHP load legitimate BIG-IP files and injects the web shell into the in-memory version, that a web shell gives an attacker a way to send commands to the compromised appliance through web requests, and that patching alone is not enough if the appliance may already have been compromised.

    Reported Supported Source: Rogier Fischer, Hadrian, quoted by SC WorldView cited source
  7. [7]

    Damon Small, a board member at Xcape, said traditional defenses often depend on detecting changes to files written to disk, that memory-only malware leaves those controls ineffective, and that defenders need to monitor processes active in memory and stop unauthorized ones from running.

    Reported Supported Source: Damon Small, Xcape, quoted by SC WorldView cited source
  8. [8]

    Fischer said that where teams cannot establish confidence that an exposed appliance is clean, rebuilding it from a trusted state may be safer than relying solely on conventional malware scans.

    Reported Supported Source: Rogier Fischer, Hadrian, quoted by SC WorldView cited source
  9. [9]

    Strand said the security ecosystem built around EDR for desktops and servers is often missing on appliances, and there are not many EDR products you can drop onto a network appliance and expect the same level of visibility, telemetry or memory analysis.

    Reported Supported Source: John Strand, Black Hills Information Security, quoted by SC WorldView cited source
  10. [10]

    John Strand, owner of Black Hills Information Security, said memory-resident malware is not a new technique and goes back to research such as Shadow Walker presented at Black Hat years ago, and that what makes this case interesting is where it is running.

    Reported Supported Source: John Strand, Black Hills Information Security, quoted by SC WorldView cited source
  11. [11]

    The published account of the F5 BIG-IP APM intrusions contains no CVE identifier, no named threat actor, no count of affected organisations, and no dates for the intrusions other than the Sept. 7 date of the Sophos post.

    Derived Supported
  12. [12]

    The report quotes four named practitioners at four separate companies (Xcape, Hadrian, Black Hills Information Security, Blackpoint Cyber), none of them employed by Sophos, leaving the Sophos post as the sole primary technical account.

    Derived Contested
  13. [13]

    Strand said an attacker with sufficient privileges has the potential to move deeper into the device, including firmware, at which point eradication can become incredibly difficult.

    Reported Insufficient Source: John Strand, Black Hills Information Security, quoted by SC WorldView cited source

Sources

6 independent publishers whose own reporting we read for this story.

  1. bleepingcomputer.com

    1 article · September 8, 2026

    Hackers breach F5 BIG-IP APM devices to deploy Linux rootkit
  2. helpnetsecurity.com

    1 article · September 9, 2026

    Hackers deploy Linux rootkit on F5 BIG-IP APM devices, hiding web shell in memory
  3. nakedsecurity.sophos.com

    1 article · September 6, 2026

    Dissecting a PHP web server rootkit
  4. scworld.com

    1 article · September 9, 2026

    F5 BIG-IP malware hides web shells in memory to evade detection
  5. securityaffairs.com

    1 article · September 9, 2026

    PoisonedRefresh: A Fileless Linux Rootkit That Injects PHP Web Shells Into F5 BIG-IP APM Server Memory
  6. thehackernews.com

    1 article · September 9, 2026

    F5 BIG-IP APM Malware Injects a PHP Web Shell Into Memory, Evading Disk Scans

Topics and entities

Topics

  • Fileless malware
  • Web Shells
  • Network Appliance Security