Removing malware from a Wordpress blog - Case study
blog.sucuri.net
Removing malware from a Wordpress blog - Case study
1–9 of 9 posts
Re: Removing malware from a Wordpress blog - Case study
#2Thankfully I haven't had to think of it in years; their conclusions (basically, more logging and keeping up-to-date) would be valid if it weren't Wordpress itself which is usually the attack vector. It's better to use something else entirely.
Re: Removing malware from a Wordpress blog - Case study
#3Re: Removing malware from a Wordpress blog - Case study
#4Re: Removing malware from a Wordpress blog - Case study
#5Re: Removing malware from a Wordpress blog - Case study
#6Replacing eval with alert/echo is a nice technique, one I hadn't thought of. Thankfully I haven't had to think of it in years; their conclusions (basically, more logging and keeping up-to-date) would be valid if it weren't Wordpress itself which is usually the attack vector. It's better to use something else entirely.
Just telling someone to use something else doesn't help at all. Telling a user to stop using Windows because they get infected often may help if they were simply downloading stuff they shouldn't, but if they were actually being attacked, moving to Linux, since they will know much less about keeping it even remotely secure, would lead to a potentially far more dangerous infection.
Re: Removing malware from a Wordpress blog - Case study
#7I've had this happen to 3 customers. I read somewhere that the cause could be a compromised FTP password found via malware on the user's PC.
Anyway, the solution was both more obvious and easier to fix than this article describes. Every PHP file had a line injected at the very top. It was simply a matter of stripping this extra line from each of several hundred lines -- a little time consuming, but not a big deal.
Re: Removing malware from a Wordpress blog - Case study
#8I've had this happen to 3 customers. I read somewhere that the cause could be a compromised FTP password found via malware on the user's PC.
Re: Removing malware from a Wordpress blog - Case study
#9If you're not keeping Wordpress updated expect this to happen to your blog too.