Recently, I’ve noticed a website (say mysite.lk) that is administered by me is infected by some malicious code. I took immediate actions to solve the problem and wrote a blog post describing the incident and how I took actions.
The website is blocked by Avast. That is OK (should be blocked because it’s infected). But, the problem is, my blog is also blocked by Avast since I’ve published that article. The blog post is written in some kind of ‘Sherlock Holmes’ style. I have used that malicious code as post content to explain the situation to my readers. So I can’t remove the code I have put in – without that my blog post becomes useless.
The included code causes no harm to the reader, since it doesn’t render as javascript.
Here’s the alert (which was emailed to me by a reader):
file name: hxxp://blog.shaakunthala.com/{gzip}
malware name: JS:Illredir-A [Trj]
malware Type: Trojan Horse
Here’s my article:
hxxp://blog.shaakunthala.com/2009/12/hacker.html
The blog is written in Sinhalese language and perhaps you might not be able to read it. I’m sorry for that. Just skip to the content where code is published.
It’s a great help if somebody can give me a solution.
Somebody notified me that some other virus scanners also block my page. And also, some other person suggested me to use images instead of text. I think that will work definitely.
But, it’s really good if anti-virus solution providers do some favor for g33ks who write this kind of stuff.
if you inserted the malicious code in a blog post, whatever the reason is, you can’t expect any AV to ignore it, doesn’t make sense. Those interested will deactivate their protection I guess, for the rest = 99,99% of others, no luck for you, merry Xmas
ps: why don’t you neutralize the code and indicate it, for your readers ???
I also thought about that, but I was not sure if avast! checks for patterns in code. So I had no idea of neutralizing.
Anyway, I put everything as images and now it’s perfect. Nobody may want to copy-paste the text other than reading it.