My site is infected with obfuscated PHP malware – what is it doing + how do I get rid of it?
I have three websites all hosted on the same webserver. Recently I was working on one of the websites and noticed that, about a month ago, a bunch of files had been changed. Specifically, all instances of index.html
had been renamed to index.html.bak.bak
, and index.php
files have been put in their places. The index.php
files are relatively simple; they include a file hidden somewhere in each website’s filesystem (seemingly a random folder) that’s been obfuscated with JS hex encoding, then echo the original index.html: