Trojan On Wordpress Blog - How I Got Rid Of It

One of my blogs got hacked a week or so ago.

When I opened it a warning came up, that a Trojan (worm… not a virus… but just as annoying) was on my site…

I made a screen shot of some of the popup… I just needed the data… to search on google or on wordpress… or whereever.

screen shot of wordpress blog trojan popup

I didn’t find anything meaningful on the internet, so I decided to move the whole blog to another server. To my dismay, the popup warning me of the trojan was still there.

I decided that the trojan must be somewhere in my posts…

I searched all my posts, one by one, in “html” mode, and I found one instance of the trojan embedded in an iframe, and 7 instances of links to some gambling site.

I was searching for the word “iframe” and for the word “Noscript”

With that search I found all occurrences and now I have a healthy blog… though spent a few hours with moving and setting up on a new location… but all is well when it ends well.