<?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: Another Round of Beladen? Or, The New &quot;Go&quot; Infection</title>
	<atom:link href="http://wewatchyourwebsite.com/wordpress/2009/07/another-round-of-beladen-or-the-new-go-infection/feed/" rel="self" type="application/rss+xml" />
	<link>http://wewatchyourwebsite.com/wordpress/2009/07/another-round-of-beladen-or-the-new-go-infection/</link>
	<description>Website Security</description>
	<lastBuildDate>Mon, 30 Aug 2010 14:19:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://wewatchyourwebsite.com/wordpress/2009/07/another-round-of-beladen-or-the-new-go-infection/#comment-44</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 20 Jan 2010 12:30:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.wewatchyourwebsite.com/wordpress/?p=202#comment-44</guid>
		<description>Yes. They also include it in legitimate .php files. That way, whenever that file is accessed or included in another file, their process runs and re-infects the site.

What kind of errors on your getting with the perl script? I haven&#039;t tested it on Centos5 but I can try and help you debug it.

I have seen where the child processes will re-activate after a re-boot. Like mentioned above, sometimes the code will be in a legitimate file so as soon as that .php file is called, either by a browser or as an included file, it will fire off the child process and re-activate.

If you have root access to the server, you can scan all .php files for eval(base64_decode and examine those files. If it&#039;s a shared server you&#039;re scanning, the website you find those files on, is probably the one that infected the server. I would suggest contacting the website owner and making them aware of the infection so they can scan all their PCs for viruses that may compromised their FTP credentials.</description>
		<content:encoded><![CDATA[<p>Yes. They also include it in legitimate .php files. That way, whenever that file is accessed or included in another file, their process runs and re-infects the site.</p>
<p>What kind of errors on your getting with the perl script? I haven&#8217;t tested it on Centos5 but I can try and help you debug it.</p>
<p>I have seen where the child processes will re-activate after a re-boot. Like mentioned above, sometimes the code will be in a legitimate file so as soon as that .php file is called, either by a browser or as an included file, it will fire off the child process and re-activate.</p>
<p>If you have root access to the server, you can scan all .php files for eval(base64_decode and examine those files. If it&#8217;s a shared server you&#8217;re scanning, the website you find those files on, is probably the one that infected the server. I would suggest contacting the website owner and making them aware of the infection so they can scan all their PCs for viruses that may compromised their FTP credentials.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SEO-Bliss</title>
		<link>http://wewatchyourwebsite.com/wordpress/2009/07/another-round-of-beladen-or-the-new-go-infection/#comment-43</link>
		<dc:creator>SEO-Bliss</dc:creator>
		<pubDate>Fri, 15 Jan 2010 18:11:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.wewatchyourwebsite.com/wordpress/?p=202#comment-43</guid>
		<description>Some questions:
-Is there any other way that hackers &quot;activate&quot; this script, other than the POST method?
-About the perl script: has anyone gotten this to work on Centos5?
-Has anyone seen child processes stay alive after a re-boot?
Thanks.</description>
		<content:encoded><![CDATA[<p>Some questions:<br />
-Is there any other way that hackers &#8220;activate&#8221; this script, other than the POST method?<br />
-About the perl script: has anyone gotten this to work on Centos5?<br />
-Has anyone seen child processes stay alive after a re-boot?<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kepi</title>
		<link>http://wewatchyourwebsite.com/wordpress/2009/07/another-round-of-beladen-or-the-new-go-infection/#comment-42</link>
		<dc:creator>Kepi</dc:creator>
		<pubDate>Thu, 12 Nov 2009 13:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.wewatchyourwebsite.com/wordpress/?p=202#comment-42</guid>
		<description>Thank you very much an ISP Admin! With small tweaks in you perl script, we successfully manage to detect this problem</description>
		<content:encoded><![CDATA[<p>Thank you very much an ISP Admin! With small tweaks in you perl script, we successfully manage to detect this problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dilip Kumar</title>
		<link>http://wewatchyourwebsite.com/wordpress/2009/07/another-round-of-beladen-or-the-new-go-infection/#comment-41</link>
		<dc:creator>Dilip Kumar</dc:creator>
		<pubDate>Tue, 06 Oct 2009 17:07:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.wewatchyourwebsite.com/wordpress/?p=202#comment-41</guid>
		<description>&lt;a href=&quot;http://dilipkumar.in/&quot; rel=&quot;nofollow&quot;&gt;My Website &lt;/a&gt; http://dilipkumar.in hosted on a shared webhosting service is also having the same problem from pretty long time. I many times contacted The Hosting providers - but they are unable to understand the problem fully.... and are opining that the problem is with mallicious code on my website.
The treat is such a thing it appears very randomly initially I used to think the problem is only with homepage.. but the problem is with every file.. Once it happened that My robots.txt as cached by the Google (as seen in webmaster tools) also shown that obfuscated javascript cookie code.. huff....
If some one found out the problem.. please let the people know.....
All my hard earned meager traffic will be lost .. if not addressed soon..
Thanks for the Post</description>
		<content:encoded><![CDATA[<p><a href="http://dilipkumar.in/" rel="nofollow">My Website </a> <a href="http://dilipkumar.in" rel="nofollow">http://dilipkumar.in</a> hosted on a shared webhosting service is also having the same problem from pretty long time. I many times contacted The Hosting providers &#8211; but they are unable to understand the problem fully&#8230;. and are opining that the problem is with mallicious code on my website.<br />
The treat is such a thing it appears very randomly initially I used to think the problem is only with homepage.. but the problem is with every file.. Once it happened that My robots.txt as cached by the Google (as seen in webmaster tools) also shown that obfuscated javascript cookie code.. huff&#8230;.<br />
If some one found out the problem.. please let the people know&#8230;..<br />
All my hard earned meager traffic will be lost .. if not addressed soon..<br />
Thanks for the Post</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: an ISP Admin</title>
		<link>http://wewatchyourwebsite.com/wordpress/2009/07/another-round-of-beladen-or-the-new-go-infection/#comment-40</link>
		<dc:creator>an ISP Admin</dc:creator>
		<pubDate>Sun, 04 Oct 2009 23:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.wewatchyourwebsite.com/wordpress/?p=202#comment-40</guid>
		<description>Hi,

Admin is right.  He has hit the nail right on the head.  I spent 6 days chasing this problem down myself and found the problem was initiated by PHP scripts that were taking over apache children and serving malicious redirect requests.

I made a write-up about this with all the gory details, including a couple of different detection methods.

http://smaert.com/apache_mischief/writeup.txt

Hope it  helps.
-an isp admin</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Admin is right.  He has hit the nail right on the head.  I spent 6 days chasing this problem down myself and found the problem was initiated by PHP scripts that were taking over apache children and serving malicious redirect requests.</p>
<p>I made a write-up about this with all the gory details, including a couple of different detection methods.</p>
<p><a href="http://smaert.com/apache_mischief/writeup.txt" rel="nofollow">http://smaert.com/apache_mischief/writeup.txt</a></p>
<p>Hope it  helps.<br />
-an isp admin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://wewatchyourwebsite.com/wordpress/2009/07/another-round-of-beladen-or-the-new-go-infection/#comment-39</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 01 Oct 2009 13:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.wewatchyourwebsite.com/wordpress/?p=202#comment-39</guid>
		<description>@Csaba,

You probably won&#039;t see any suspicious process or even a modified binary, what we&#039;ve found is that there is an infectious .php file that contains some base64 code. The code is the binary (ELF) that takes advantage of an Apache APR bug of some sort. Whenever the .php file is POSTed to with the correct parameters, the infection is live for some period of time. There is no binary to find because it&#039;s obfuscated in the base64 code.

If you have access to the root of the server,  you can search all websites for a .php file with base64_decode in it as a start. However, we&#039;ve been seeing where the .php file has hidden the base64_decode like this:

?php $PyIqJDl=&#039;#####e##############################v###a####l(b########a####s###e###########6##4##########_##d###eco###d####e#######(#\&#039;ZXJ

Then there&#039;s a piece of code at the end that looks like this:

$PyIqJDl=str_replace(&#039;#&#039;, &#039;&#039;, $PyIqJDl);

Which removes all of the #&#039;s and reveals the eval(base64_decode(... string.

Do you have root access to this server? If so, please let me know as I would like to gather as much information as possible and let the world know, what to look for.

Have you seen any POST requests in the access.log? It might look like this:

2xx.2xx.2xx.14 - - [30/Sep/2009:18:24:51 +0100] &quot;POST /test/php/test.php HTTP/1.1&quot; 200 281 &quot;http://www.google.com&quot; &quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Alexa Toolbar)&quot;
7x.x2.1xx.1xx - - [30/Sep/2009:18:24:52 +0100] &quot;POST /test/php/test.php HTTP/1.1&quot; 200 8976 &quot;http://www.google.com&quot; &quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Alexa Toolbar)&quot;

Let me know...</description>
		<content:encoded><![CDATA[<p>@Csaba,</p>
<p>You probably won&#8217;t see any suspicious process or even a modified binary, what we&#8217;ve found is that there is an infectious .php file that contains some base64 code. The code is the binary (ELF) that takes advantage of an Apache APR bug of some sort. Whenever the .php file is POSTed to with the correct parameters, the infection is live for some period of time. There is no binary to find because it&#8217;s obfuscated in the base64 code.</p>
<p>If you have access to the root of the server,  you can search all websites for a .php file with base64_decode in it as a start. However, we&#8217;ve been seeing where the .php file has hidden the base64_decode like this:</p>
<p>?php $PyIqJDl=&#8217;#####e##############################v###a####l(b########a####s###e###########6##4##########_##d###eco###d####e#######(#\&#8217;ZXJ</p>
<p>Then there&#8217;s a piece of code at the end that looks like this:</p>
<p>$PyIqJDl=str_replace(&#8216;#&#8217;, &#8221;, $PyIqJDl);</p>
<p>Which removes all of the #&#8217;s and reveals the eval(base64_decode(&#8230; string.</p>
<p>Do you have root access to this server? If so, please let me know as I would like to gather as much information as possible and let the world know, what to look for.</p>
<p>Have you seen any POST requests in the access.log? It might look like this:</p>
<p>2xx.2xx.2xx.14 &#8211; - [30/Sep/2009:18:24:51 +0100] &#8220;POST /test/php/test.php HTTP/1.1&#8243; 200 281 &#8220;http://www.google.com&#8221; &#8220;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Alexa Toolbar)&#8221;<br />
7x.x2.1xx.1xx &#8211; - [30/Sep/2009:18:24:52 +0100] &#8220;POST /test/php/test.php HTTP/1.1&#8243; 200 8976 &#8220;http://www.google.com&#8221; &#8220;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Alexa Toolbar)&#8221;</p>
<p>Let me know&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Csaba</title>
		<link>http://wewatchyourwebsite.com/wordpress/2009/07/another-round-of-beladen-or-the-new-go-infection/#comment-38</link>
		<dc:creator>Csaba</dc:creator>
		<pubDate>Wed, 30 Sep 2009 14:21:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.wewatchyourwebsite.com/wordpress/?p=202#comment-38</guid>
		<description>Hi,

I also found a server with this new &quot;n_sess_id&quot; infection. I couldn&#039;t find any suspicious process or even modified binary (of course, this check is not 100% correct on a running server). The interesting thing is the apache sometimes gives this infected content instead of a static page even! So, there is no PHP or anything else is used...</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I also found a server with this new &#8220;n_sess_id&#8221; infection. I couldn&#8217;t find any suspicious process or even modified binary (of course, this check is not 100% correct on a running server). The interesting thing is the apache sometimes gives this infected content instead of a static page even! So, there is no PHP or anything else is used&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://wewatchyourwebsite.com/wordpress/2009/07/another-round-of-beladen-or-the-new-go-infection/#comment-37</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 21 Sep 2009 11:39:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.wewatchyourwebsite.com/wordpress/?p=202#comment-37</guid>
		<description>Yes. The latest attack is creating the cookies with n_sess_id and from what we&#039;ve seen, quite often it&#039;s a server side compromise. We don&#039;t have any real details on it as far as what to look for. But it does seem like it&#039;s a process running as the same user as Apache is. So it&#039;s very similar to previous server side infections.

Do you have access to any servers that have been hit by this?</description>
		<content:encoded><![CDATA[<p>Yes. The latest attack is creating the cookies with n_sess_id and from what we&#8217;ve seen, quite often it&#8217;s a server side compromise. We don&#8217;t have any real details on it as far as what to look for. But it does seem like it&#8217;s a process running as the same user as Apache is. So it&#8217;s very similar to previous server side infections.</p>
<p>Do you have access to any servers that have been hit by this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NetPanther</title>
		<link>http://wewatchyourwebsite.com/wordpress/2009/07/another-round-of-beladen-or-the-new-go-infection/#comment-36</link>
		<dc:creator>NetPanther</dc:creator>
		<pubDate>Sun, 13 Sep 2009 17:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.wewatchyourwebsite.com/wordpress/?p=202#comment-36</guid>
		<description>Just now I detected another attack here in Germany, which seems similar to those noticed before. When calling a php file,  a fake virus warning shows up randomly (x out of 100 times).

The scripts sets a cookie called &quot;n_sess_id&quot; and redirects to a page called &quot;best[minus]virus[minus]scanner5[dot]com&quot;. Maybe a new round?</description>
		<content:encoded><![CDATA[<p>Just now I detected another attack here in Germany, which seems similar to those noticed before. When calling a php file,  a fake virus warning shows up randomly (x out of 100 times).</p>
<p>The scripts sets a cookie called &#8220;n_sess_id&#8221; and redirects to a page called &#8220;best[minus]virus[minus]scanner5[dot]com&#8221;. Maybe a new round?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Helvetica</title>
		<link>http://wewatchyourwebsite.com/wordpress/2009/07/another-round-of-beladen-or-the-new-go-infection/#comment-35</link>
		<dc:creator>Helvetica</dc:creator>
		<pubDate>Sat, 01 Aug 2009 16:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.wewatchyourwebsite.com/wordpress/?p=202#comment-35</guid>
		<description>Our forum (Switzerland) has been hit by these swine. Very annoying and I hope that our programmer can fix it, as I have no more access to our server.</description>
		<content:encoded><![CDATA[<p>Our forum (Switzerland) has been hit by these swine. Very annoying and I hope that our programmer can fix it, as I have no more access to our server.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
