<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/dissecting-a-php-web-server-rootkit-silwxasjr" -->

---
title: Dissecting a PHP web server rootkit | daily.dev
description: A technical breakdown examines a PHP-based rootkit found embedded in compromised web servers, detailing how it hides itself within legitimate PHP files,...
canonical: https://daily.dev/posts/dissecting-a-php-web-server-rootkit-silwxasjr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Dissecting a PHP web server rootkit | daily.dev
og:description: A technical breakdown examines a PHP-based rootkit found embedded in compromised web servers, detailing how it hides itself within legitimate PHP files,...
og:url: https://daily.dev/posts/dissecting-a-php-web-server-rootkit-silwxasjr
og:image: https://api.daily.dev/og/posts/SiLWxasJr.png
og:image:alt: Dissecting a PHP web server rootkit
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Dissecting a PHP web server rootkit

**[PHP Dev](https://daily.dev/sources/phpdev)** · [@damienseguy](https://daily.dev/damienseguy) · 1 min read · 12 upvotes · 1 comments

## Summary

A technical breakdown examines a PHP-based rootkit found embedded in compromised web servers, detailing how it hides itself within legitimate PHP files, intercepts server functions, and maintains persistent access for attackers. The analysis covers the malware's obfuscation techniques, its methods for evading detection, and the indicators of compromise defenders can use to identify similar infections on their own systems.

## Content

[https://www.sophos.com/en-us/blog/dissecting-a-php-web-server-rootkit](https://www.sophos.com/en-us/blog/dissecting-a-php-web-server-rootkit)

## Community discussion

Top comments from developers on daily.dev.

**@damienseguy** · 2 upvotes

> I cannot post this as a link, but it works with an extra click.

## Similar posts on daily.dev

- [PHP2Shell: The Critical Bug Hiding in Plain Sight — and the Free Tool That Finds It in Seconds](https://daily.dev/posts/php2shell-the-critical-bug-hiding-in-plain-sight-and-the-free-tool-that-finds-it-in-seconds-ceqdwcmeu) · Medium · 0 upvotes · 0 comments
- [\[HS\] Dark Writeup](https://daily.dev/posts/hs-dark-writeup-roulrgb8j) · InfoSec Write-ups · 0 upvotes · 0 comments
- [dfir.ch](https://daily.dev/posts/dfir-ch-4bungjgrb) · dfir.ch · 0 upvotes · 0 comments
- [Stealth rootkit targeting F5 BIG-IP could expose enterprise identity gateways](https://daily.dev/posts/stealth-rootkit-targeting-f5-big-ip-could-expose-enterprise-identity-gateways-k4zt4gkhl) · CSO Online · 0 upvotes · 0 comments

---

Tags: [#php](https://daily.dev/tags/php), [#malware](https://daily.dev/tags/malware)

[View this post on daily.dev](https://daily.dev/posts/dissecting-a-php-web-server-rootkit-silwxasjr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/dissecting-a-php-web-server-rootkit-silwxasjr","headline":"Dissecting a PHP web server rootkit","text":"A technical breakdown examines a PHP-based rootkit found embedded in compromised web servers, detailing how it hides itself within legitimate PHP files, intercepts server functions, and maintains persistent access for attackers. The analysis covers the malware's obfuscation techniques, its methods for evading detection, and the indicators of compromise defenders can use to identify similar infections on their own systems.","url":"https://daily.dev/posts/dissecting-a-php-web-server-rootkit-silwxasjr","datePublished":"2026-09-07T15:50:54.673Z","dateModified":"2026-09-13T21:25:39.550Z","author":{"@type":"Person","name":"Damien seguy","url":"https://daily.dev/damienseguy","image":"https://media.daily.dev/image/upload/s--nPbjKqol--/f_auto,q_auto/v1698422671/avatars/avatar_G85JhYcDxAg024Omc8Rlp","description":"PHP developer passionate about deep language knowledge, testing, static analysis, and sustainable it","worksFor":{"@type":"Organization","name":"Exakat","logo":"https://media.daily.dev/image/upload/s--ibtl6fze--/f_auto/v1749051132/companies/exakat"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":43000}},"image":"https://media.daily.dev/image/upload/s--w17wT761--/f_auto/v1788796300/posts/SiLWxasJr?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":12},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"comment":[{"@type":"Comment","text":"I cannot post this as a link, but it works with an extra click.","datePublished":"2026-09-07T15:52:00.028Z","url":"https://daily.dev/posts/SiLWxasJr#c-nbCYWqKAf","author":{"@type":"Person","name":"Damien seguy","url":"https://daily.dev/damienseguy","image":"https://media.daily.dev/image/upload/s--nPbjKqol--/f_auto,q_auto/v1698422671/avatars/avatar_G85JhYcDxAg024Omc8Rlp"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/phpdev","name":"PHP Dev"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"PHP Dev","item":"https://daily.dev/squads/phpdev"},{"@type":"ListItem","position":3,"name":"Dissecting a PHP web server rootkit"}]}
```

