<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Fighting The JSRedir-R / Gumblar.cn Trojan</title>
	<atom:link href="http://www.techknowme.com/2009/05/fighting-the-jsredir-r-gumblarcn-trojan/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techknowme.com/2009/05/fighting-the-jsredir-r-gumblarcn-trojan/</link>
	<description>Technology Advice for Small Businesses</description>
	<lastBuildDate>Thu, 13 Jan 2011 05:31:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Rob Z.</title>
		<link>http://www.techknowme.com/2009/05/fighting-the-jsredir-r-gumblarcn-trojan/comment-page-1/#comment-14</link>
		<dc:creator>Rob Z.</dc:creator>
		<pubDate>Mon, 18 May 2009 16:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.techknowme.com/blog/?p=5#comment-14</guid>
		<description>Chris, in a comment above, posted a link to his company&#039;s site where they built a removal script. The only problem I see with such a tool is that the infecting code is morphing, sometimes in the same infection, so it can&#039;t reliably catch it all and nothing short of a manual check will really ensure it&#039;s clean.

However, I&#039;ve given some thought to writing a new script that looks for the hallmarks of the infection - a LONG line of code immediately after the opening &quot;&lt;?php&quot; statement, a &lt;script&gt;&lt;/script&gt; block in between the &lt;/head&gt; and &lt;body&gt; tags in any HTML document and a long line of Java script at the bottom of .JS files - and eliminates them. I think this could be about 80% reliable in cleaning out the code, but the possibility does exist for deleting valid code that actually runs the site. It ultimately depends on how well-formatted your existing codebase is.

I&#039;d like to go ahead and write such a script, but I&#039;m sort of crammed on a deadline. I may be able to squeeze it out in the next day or so if I can scratch up the time, but I wouldn&#039;t hold my breath on it at this point. I&#039;ll see what I can fit in.</description>
		<content:encoded><![CDATA[<p>Chris, in a comment above, posted a link to his company&#8217;s site where they built a removal script. The only problem I see with such a tool is that the infecting code is morphing, sometimes in the same infection, so it can&#8217;t reliably catch it all and nothing short of a manual check will really ensure it&#8217;s clean.</p>
<p>However, I&#8217;ve given some thought to writing a new script that looks for the hallmarks of the infection &#8211; a LONG line of code immediately after the opening &#8220;< ?php" statement, a <script> block in between the  and <body> tags in any HTML document and a long line of Java script at the bottom of .JS files - and eliminates them. I think this could be about 80% reliable in cleaning out the code, but the possibility does exist for deleting valid code that actually runs the site. It ultimately depends on how well-formatted your existing codebase is.</p>
<p>I'd like to go ahead and write such a script, but I'm sort of crammed on a deadline. I may be able to squeeze it out in the next day or so if I can scratch up the time, but I wouldn't hold my breath on it at this point. I'll see what I can fit in.</body></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jigar</title>
		<link>http://www.techknowme.com/2009/05/fighting-the-jsredir-r-gumblarcn-trojan/comment-page-1/#comment-13</link>
		<dc:creator>Jigar</dc:creator>
		<pubDate>Mon, 18 May 2009 15:48:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.techknowme.com/blog/?p=5#comment-13</guid>
		<description>I have a similar virus issue for my sites. I have over 200 websites that are affected by this. Hence you can imagine the number of files that are affected with this. Please can you help me with locating any type of tool/code that will automatically remove the &quot;junk&quot; lines from my coding. I unfortunately do not have backups for all of them. Please advise.

You have suggested above to download the zip file from here http://www.techknowme.com/blog/resources/fic_infection.zip
What do I have to do thereafter, please advise?
Regards

Jigar</description>
		<content:encoded><![CDATA[<p>I have a similar virus issue for my sites. I have over 200 websites that are affected by this. Hence you can imagine the number of files that are affected with this. Please can you help me with locating any type of tool/code that will automatically remove the &#8220;junk&#8221; lines from my coding. I unfortunately do not have backups for all of them. Please advise.</p>
<p>You have suggested above to download the zip file from here <a href="http://www.techknowme.com/blog/resources/fic_infection.zip" rel="nofollow">http://www.techknowme.com/blog/resources/fic_infection.zip</a><br />
What do I have to do thereafter, please advise?<br />
Regards</p>
<p>Jigar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://www.techknowme.com/2009/05/fighting-the-jsredir-r-gumblarcn-trojan/comment-page-1/#comment-12</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Mon, 18 May 2009 01:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.techknowme.com/blog/?p=5#comment-12</guid>
		<description>Hi;

Spent the last 4  hours cleaning :) and as of rigth now we are clean again.

my img files were all gifimg.php files and I also noticed a couple of .html files that contained the code.

I found one ( large ) txt. file it wrote that contained approx. 3000 urls ( not the kind of site you would visit I hope ) - it only wrote the folder names i.e. &quot;/nude-puppy-pics.htm&quot; - so I am not sure if the java script completes the first part.

thanks again for everybody&#039;s help

cheers

Michael</description>
		<content:encoded><![CDATA[<p>Hi;</p>
<p>Spent the last 4  hours cleaning <img src='http://www.techknowme.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  and as of rigth now we are clean again.</p>
<p>my img files were all gifimg.php files and I also noticed a couple of .html files that contained the code.</p>
<p>I found one ( large ) txt. file it wrote that contained approx. 3000 urls ( not the kind of site you would visit I hope ) &#8211; it only wrote the folder names i.e. &#8220;/nude-puppy-pics.htm&#8221; &#8211; so I am not sure if the java script completes the first part.</p>
<p>thanks again for everybody&#8217;s help</p>
<p>cheers</p>
<p>Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim S</title>
		<link>http://www.techknowme.com/2009/05/fighting-the-jsredir-r-gumblarcn-trojan/comment-page-1/#comment-11</link>
		<dc:creator>Jim S</dc:creator>
		<pubDate>Sun, 17 May 2009 20:19:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.techknowme.com/blog/?p=5#comment-11</guid>
		<description>Please ignore the last post.  I&#039;ve been dealing with this too long and need a break.  I opened the wrong copy in notepad.

SORRY!!!!</description>
		<content:encoded><![CDATA[<p>Please ignore the last post.  I&#8217;ve been dealing with this too long and need a break.  I opened the wrong copy in notepad.</p>
<p>SORRY!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim S</title>
		<link>http://www.techknowme.com/2009/05/fighting-the-jsredir-r-gumblarcn-trojan/comment-page-1/#comment-10</link>
		<dc:creator>Jim S</dc:creator>
		<pubDate>Sun, 17 May 2009 20:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.techknowme.com/blog/?p=5#comment-10</guid>
		<description>I found that code when I opened an html file with Dreamweaver and it was &#039;greyed&#039; out so I can&#039;t delete it.  It was just after However, I got the same file opened in notepad, and the code is nowhere to be seen.  So help me understand this.  Hope this helps....</description>
		<content:encoded><![CDATA[<p>I found that code when I opened an html file with Dreamweaver and it was &#8216;greyed&#8217; out so I can&#8217;t delete it.  It was just after However, I got the same file opened in notepad, and the code is nowhere to be seen.  So help me understand this.  Hope this helps&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Z.</title>
		<link>http://www.techknowme.com/2009/05/fighting-the-jsredir-r-gumblarcn-trojan/comment-page-1/#comment-9</link>
		<dc:creator>Rob Z.</dc:creator>
		<pubDate>Sun, 17 May 2009 19:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.techknowme.com/blog/?p=5#comment-9</guid>
		<description>Are your files hosted on a Linux or Windows server? If on a linux server, make sure they&#039;re set to at least 755 (that&#039;s read/write/execute for the user and read/execute for the group and non-user accounts) and that you&#039;re logged in as the user who owns the files. If you have root access, you can go in and change the permissions yourself. If not, you&#039;ll need to call your web host and ask them to reset the permissions so you can access them.

If you&#039;re on a Windows server, you need to be logged in as an administrator to change those files from read-only. If you don&#039;t have that level of access, contact your web host.

One more point on Chris&#039;s script above - I just downloaded it and took a quick look - looks like a winner. However, the point he made about this trojan morphing is an important one - this script will NOT work for all infections, and may not even clean your infection completely. If you look at Joanna&#039;s post above, you&#039;ll see a script that looks like it may be one of the infection scripts. It apparently assigns function names randomly upon infection but tracks them internally. This makes it WILDLY difficult to create an automated cleaning solution. Your best bet, in m opinion, would be to

1. Go into every directory names &quot;images&quot; and empty out any PHP files you find in there that you don&#039;t expect to see (it&#039;s rare those directories should have anything other than GIF and JPG files anyway). Don;t delete them, just open them and delete their contents, leaving an empty file.

2. Open every .js file you have and remove any inserted code from the bottom of the file. It will be a TON of JavaScript code on a single line.

3. Go through every HTML file and kill off any &lt;script&gt;&lt;/script&gt; blocks located between the closing &lt;/head&gt; tag and the opening &lt;body&gt; tag - that&#039;s improper HTML formatting anyway, so an automated script that looked just for that and cleaned it out may not be a bad thing.

4. Go through every PHP file and look for a long line of PHP code immediately adjacent to the opening &lt;?php tag. You should be able to just kill that and be good.

If this is all greek to you, ask your friendly neighborhood geek to handle this for you (ahem: http://www.techknowme.com/contact/). You may want to back it all up before you make any changes, but make sure your anti-virus and anti-malware software is all up to date before you do ANYTHING, otherwise you may reinfect yourself.</description>
		<content:encoded><![CDATA[<p>Are your files hosted on a Linux or Windows server? If on a linux server, make sure they&#8217;re set to at least 755 (that&#8217;s read/write/execute for the user and read/execute for the group and non-user accounts) and that you&#8217;re logged in as the user who owns the files. If you have root access, you can go in and change the permissions yourself. If not, you&#8217;ll need to call your web host and ask them to reset the permissions so you can access them.</p>
<p>If you&#8217;re on a Windows server, you need to be logged in as an administrator to change those files from read-only. If you don&#8217;t have that level of access, contact your web host.</p>
<p>One more point on Chris&#8217;s script above &#8211; I just downloaded it and took a quick look &#8211; looks like a winner. However, the point he made about this trojan morphing is an important one &#8211; this script will NOT work for all infections, and may not even clean your infection completely. If you look at Joanna&#8217;s post above, you&#8217;ll see a script that looks like it may be one of the infection scripts. It apparently assigns function names randomly upon infection but tracks them internally. This makes it WILDLY difficult to create an automated cleaning solution. Your best bet, in m opinion, would be to</p>
<p>1. Go into every directory names &#8220;images&#8221; and empty out any PHP files you find in there that you don&#8217;t expect to see (it&#8217;s rare those directories should have anything other than GIF and JPG files anyway). Don;t delete them, just open them and delete their contents, leaving an empty file.</p>
<p>2. Open every .js file you have and remove any inserted code from the bottom of the file. It will be a TON of JavaScript code on a single line.</p>
<p>3. Go through every HTML file and kill off any <script></script> blocks located between the closing  tag and the opening <body> tag &#8211; that&#8217;s improper HTML formatting anyway, so an automated script that looked just for that and cleaned it out may not be a bad thing.</p>
<p>4. Go through every PHP file and look for a long line of PHP code immediately adjacent to the opening < ?php tag. You should be able to just kill that and be good.</p>
<p>If this is all greek to you, ask your friendly neighborhood geek to handle this for you (ahem: <a href="http://www.techknowme.com/contact/" rel="nofollow">http://www.techknowme.com/contact/). You may want to back it all up before you make any changes, but make sure your anti-virus and anti-malware software is all up to date before you do ANYTHING, otherwise you may reinfect yourself.</body></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim S</title>
		<link>http://www.techknowme.com/2009/05/fighting-the-jsredir-r-gumblarcn-trojan/comment-page-1/#comment-8</link>
		<dc:creator>Jim S</dc:creator>
		<pubDate>Sun, 17 May 2009 19:22:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.techknowme.com/blog/?p=5#comment-8</guid>
		<description>Great Information and it all really helps.....In my case I got all of the aforementioned file types infected.  They also changed the file permissions and now I can&#039;t open them.  Tried using notepad and still can&#039;t open them.  Any ideas.  My AVG has identified all of the infected files and I would like to open and clean them.

But how to get into them is my puzzle.

HELP!</description>
		<content:encoded><![CDATA[<p>Great Information and it all really helps&#8230;..In my case I got all of the aforementioned file types infected.  They also changed the file permissions and now I can&#8217;t open them.  Tried using notepad and still can&#8217;t open them.  Any ideas.  My AVG has identified all of the infected files and I would like to open and clean them.</p>
<p>But how to get into them is my puzzle.</p>
<p>HELP!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Z.</title>
		<link>http://www.techknowme.com/2009/05/fighting-the-jsredir-r-gumblarcn-trojan/comment-page-1/#comment-7</link>
		<dc:creator>Rob Z.</dc:creator>
		<pubDate>Sun, 17 May 2009 19:18:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.techknowme.com/blog/?p=5#comment-7</guid>
		<description>Chris - thank you for posting this! When I have a free moment, I&#039;ll check it out. We haven&#039;t been reinfected (knock on wood) but I&#039;d rather use something that&#039;s automated completely than have to manually go through this again.

I have seen that it was morphing - it even morphed within the infection on our server - not all of the functions were (GxC).</description>
		<content:encoded><![CDATA[<p>Chris &#8211; thank you for posting this! When I have a free moment, I&#8217;ll check it out. We haven&#8217;t been reinfected (knock on wood) but I&#8217;d rather use something that&#8217;s automated completely than have to manually go through this again.</p>
<p>I have seen that it was morphing &#8211; it even morphed within the infection on our server &#8211; not all of the functions were (GxC).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.techknowme.com/2009/05/fighting-the-jsredir-r-gumblarcn-trojan/comment-page-1/#comment-6</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sun, 17 May 2009 14:13:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.techknowme.com/blog/?p=5#comment-6</guid>
		<description>Hello,
first of all, Gumblar is morphing, which means it changes in every infected site; from what I know till now, not the php code but the javascript functions; yours is (GxC), mine is (r4Pp).

secondly, I would like to point out how correct you are in keeping the image.php file and not deleting it.

third, one more of gumblar&#039;s morphing, I didn&#039;t get an image.php file, but a gifimg.php file!

I developed a script that will check all your files and folders, and will destroy the malicious GUMBLAR code in your affected files.

The program will list all potentially infected files, and will try to clean
them. If successful, a “CLEANED” notification will be displayed.

Download the zip file from our site, http://www.axxis.gr
Go to the ‘Customer Login’ page
( http://www.axxis.gr/index.php?option=com_customersupport )

The distinctive characteristic of gumblar is its ability of morphing, so this script may need additional checks in the future. You are all welcome to send your “version” of gumblar code, and I will try to fix this too.</description>
		<content:encoded><![CDATA[<p>Hello,<br />
first of all, Gumblar is morphing, which means it changes in every infected site; from what I know till now, not the php code but the javascript functions; yours is (GxC), mine is (r4Pp).</p>
<p>secondly, I would like to point out how correct you are in keeping the image.php file and not deleting it.</p>
<p>third, one more of gumblar&#8217;s morphing, I didn&#8217;t get an image.php file, but a gifimg.php file!</p>
<p>I developed a script that will check all your files and folders, and will destroy the malicious GUMBLAR code in your affected files.</p>
<p>The program will list all potentially infected files, and will try to clean<br />
them. If successful, a “CLEANED” notification will be displayed.</p>
<p>Download the zip file from our site, <a href="http://www.axxis.gr" rel="nofollow">http://www.axxis.gr</a><br />
Go to the ‘Customer Login’ page<br />
( <a href="http://www.axxis.gr/index.php?option=com_customersupport" rel="nofollow">http://www.axxis.gr/index.php?option=com_customersupport</a> )</p>
<p>The distinctive characteristic of gumblar is its ability of morphing, so this script may need additional checks in the future. You are all welcome to send your “version” of gumblar code, and I will try to fix this too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Z.</title>
		<link>http://www.techknowme.com/2009/05/fighting-the-jsredir-r-gumblarcn-trojan/comment-page-1/#comment-5</link>
		<dc:creator>Rob Z.</dc:creator>
		<pubDate>Sun, 17 May 2009 05:07:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.techknowme.com/blog/?p=5#comment-5</guid>
		<description>Glad I could help!</description>
		<content:encoded><![CDATA[<p>Glad I could help!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

