<?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>ThreatFire Research Blog &#187; Commodity Kit</title>
	<atom:link href="http://blog.threatfire.com/category/commodity-kit/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.threatfire.com</link>
	<description>ThreatFire™ AntiVirus protects when others can&#039;t</description>
	<lastBuildDate>Mon, 15 Mar 2010 15:00:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Much Tedroo about Nothing, other than &#8220;Viagra Professional&#8221;</title>
		<link>http://blog.threatfire.com/2010/01/much-tedroo-about-nothing-other-than-viagra-professional.html</link>
		<comments>http://blog.threatfire.com/2010/01/much-tedroo-about-nothing-other-than-viagra-professional.html#comments</comments>
		<pubDate>Wed, 20 Jan 2010 00:24:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Commodity Kit]]></category>
		<category><![CDATA[Evasion technique]]></category>
		<category><![CDATA[Exploit]]></category>
		<category><![CDATA[Obfuscation]]></category>
		<category><![CDATA[Reversing]]></category>
		<category><![CDATA[Scams and Monetization]]></category>
		<category><![CDATA[Shellcode]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Trojan]]></category>
		<category><![CDATA[Undetected malware]]></category>
		<category><![CDATA[Unpack]]></category>
		<category><![CDATA[Vulnerability]]></category>

		<guid isPermaLink="false">http://blog.threatfire.com/?p=575</guid>
		<description><![CDATA[In an early-2009 literary flourish we condemned spammers to hell, discussed the Tedroo spambot&#8217;s increased momentum due to the shutdown of other botnets, posted screenshots of the Tedroo spewed pharmaceutical spam and related scam sites, and noted its distribution via malicious pdf files. Tedroo&#8217;s increased presence and its distribution is continuing into 2010. As a matter of fact, while the distributors [...]]]></description>
			<content:encoded><![CDATA[<p>In an <a title="March 2009 Tedroo Post" href="http://blog.threatfire.com/2009/03/much-tedroo-about-nothing.html" target="_blank">early-2009</a> literary flourish we condemned spammers to hell, discussed the Tedroo spambot&#8217;s increased momentum due to the shutdown of other botnets, posted screenshots of the Tedroo spewed pharmaceutical spam and related scam sites, and noted its distribution via malicious pdf files. Tedroo&#8217;s increased presence and its distribution is continuing into 2010. As a matter of fact, while the distributors are relying on users&#8217; delays in updating their vulnerable pdf readers like Acrobat, the distributors are actively maintaining/modifying the bot itself &#8212; AV scanner results on the repacked binaries are very low as the modified variants are newly re-released.</p>
<p>Vulnerable systems with out-of-date Adobe Acrobat installs are the main focus of the attacks involving the Tedroo spambot. The spambot commonly is being distributed via a set of canned attacks using what appears to be a version of the Liberty Exploit kit. The Liberty pack maintains an effective set of Acrobat attacks, and considering the thousands of Acrobat attacks prevented on ThreatFire systems since the beginning of Jan, the attacks themselves are well chosen &#8212; vulnerable versions of Acrobat Reader continue to be readily available, even in this new decade. </p>
<p>Once the malformed pdf&#8217;s shellcode is passed control on a victim system, it attempts to download multiple components from another server. In our samples, a system hosted in China. There are several downloads to choose from on the server. The first of the files is a loader, carrying a packing stub somewhat similar to the recent Bredolab packed malware with an outer layer of encryption on top of a UPX packed inner layer. It drops a dll to an alternate data stream of a random file in the windows or system32 directory. It then registers that ADS in the AppInit_DLLs so that the dll is loaded at startup. The dll is loaded, and maintains a long list of paths and executables. Most are related to security solutions (examples are listed below) and system components. It terminates a group of them immediately. It then adds entries for security software to the Restricted Software Policy list in the registry, an AVKill method that we haven&#8217;t seen fully described as one elsewhere:  HKLM\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Paths\&lt;SID&gt;</p>
<p>C:\Documents and Settings\All Users\Application Data\PC Tools<br />
C:\Program Files\Common Files\PC Tools<br />
C:\Program Files\Kaspersky Lab<br />
C:\Documents and Settings\All Users\Application Data\Kaspersky Lab<br />
C:\Documents and Settings\All Users\Application Data\Kaspersky Lab Setup Files<br />
C:\Program Files\ESET<br />
C:\Program Files\Panda Security<br />
C:\Program Files\Avira<br />
C:\Program Files\Norton AntiVirus<br />
C:\Program Files\Alwil Software<br />
C:\Program Files\Agnitum<br />
C:\Program Files\Symantec</p>
<p>With that undetected (on the day of discovery) component loaded and AV processes killed, the Tedroo spambot is loaded. In the latest loader variants associated with the bot, we observe an interesting entry point with anti-debug and anti-emulator tricks that can be vaguely described as an abuse of <a title="Anti-Unpacking Tricks" href="http://pferrie.tripod.com/papers/unpackers.pdf" target="_blank">&#8220;Modern&#8221; CPU Instructions</a>. In this case, the packer implements an unexpected x86 VMX instruction &#8212; VMLAUNCH. Versions of reverser-friendly Ollydbg decode it to &#8220;sgdt edx&#8221; and cannot handle the instruction at runtime, reporting to the user that it does not know how to step into it, while some vendor emulators also have a difficult time decoding it. </p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-593" style="border: black 1px solid;" title="Olly_sgdt" src="http://blog.threatfire.com/wp-content/uploads/2010/01/Olly_sgdt.png" alt="Olly sgdt" width="418" height="154" /></p>
<p>Windbg, on the other hand, decodes the vmlaunch command properly as specified by the Intel Reference material, seen below&#8230;</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-594" style="border: black 1px solid;" title="Windbg vmlaunch" src="http://blog.threatfire.com/wp-content/uploads/2010/01/Windbg_vmlaunch.png" alt="Windbg vmlaunch" width="384" height="146" /></p>
<p>Following the malware entrypoint, a windbg deadlisting shows &#8220;mov ecx, 0&#215;4fffh&#8221;, followed by the vmlaunch. On processors we observed, this setup thows an exception for an Illegal Instruction with ecx = 0&#215;4fffh. The writers of this trick, however, took it upon themselves to force the code to trigger this exception 20,479 times (the decimal representation of 0&#215;4fffh). It&#8217;s implemented by registering an SEH pointer to code that simply stores the counter, decrements it, and returns back into the ExcecuteHandler2 function within ntdll that&#8217;s within the standard flow of Windows exception handling. Each time, the exception &#8220;handler&#8221; code returns back into RtlDispatchException and eventually NtContinue, where CONTEXT.eip takes control directly back to the Illegal Instruction location, triggering yet another exception. When the counter finally is decremented to zero, the unpacking stub then modifies CONTEXT.eip on the stack so that flow passes out of this exception loop at ntdll.NtContinue and further into its unpacking stub. Tricky stuff indeed.</p>
<div id="attachment_595" class="wp-caption aligncenter" style="width: 526px"><img class="size-full wp-image-595  " style="border: black 1px solid;" title="decrement_CONTEXT_struct" src="http://blog.threatfire.com/wp-content/uploads/2010/01/decrement_CONTEXT_struct.png" alt="Decrement ecx value within the process CONTEXT struct" width="516" height="394" /><p class="wp-caption-text">Decrement ecx value within the process CONTEXT struct</p></div>
<p>Continuing on its code path, the code first checks if it&#8217;s been run before on the victim system, looking for registry values it creates:</p>
<p>HKCU  &#8220;Software\Microsoft\Windows\CurrentVersion\Run&#8221;<br />
 HKCU  &#8220;Software\Microsoft\Windows\CurrentVersion\policies\Explorer\Run&#8221;<br />
 HKLM  &#8220;Software\Microsoft\Windows\CurrentVersion\Run&#8221;<br />
 HKLM  &#8220;Software\Microsoft\Windows\CurrentVersion\policies\Explorer\Run&#8221;<br />
    value: userini path: c:\windows\explorer.exe:userini.exe</p>
<p>It copies itself as an alternate data stream of explorer.exe<br />
     c:\windows\explorer.exe:userini.exe</p>
<p>It sets this ADS to load at startup in the various autorun registry entries listed above, and then runs thru a series of sleeps/gettickcout to delay activity and cloak itself.</p>
<p> After a long wait, the spambot calls InternetConnectA and HttpOpenRequestA to contact its hardcoded server and retrieves more spam templates. The resulting spam recently has all led to www . pharm directbook .com, another &#8221;Canadian Pharmacy #1 Internet Online Drugstore&#8221;. This behavior is similar to that noted in our past <a title="March 2009 Tedroo Post" href="http://blog.threatfire.com/2009/03/much-tedroo-about-nothing.html" target="_blank">post</a>. The sites have been run for years by a group otherwise known as &#8220;<a title="Glavmed Canadian Pharmacy" href="http://spamtrackers.eu/wiki/index.php?title=Canadian_Pharmacy" target="_blank">Glavmed</a>&#8220;, selling knockoff, illegal pills with shifty names like &#8220;Viagra Professional&#8221;&#8230;</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-596" style="border: black 1px solid;" title="www .pharmadirectbook. com" src="http://blog.threatfire.com/wp-content/uploads/2010/01/www-.pharmadirectbook.-com.png" alt="www .pharmadirectbook. com" width="585" height="426" /></p>
<p> </p>
<p>In spite of the significant shutdowns over the past year, spam like Tedroo&#8217;s continues to mess it all up on the net. Don John couldn&#8217;t have tried to mess up a good thing any better himself.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threatfire.com/2010/01/much-tedroo-about-nothing-other-than-viagra-professional.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PDF Reader Exploitation 2009</title>
		<link>http://blog.threatfire.com/2009/03/pdf-reader-exploitation-2009.html</link>
		<comments>http://blog.threatfire.com/2009/03/pdf-reader-exploitation-2009.html#comments</comments>
		<pubDate>Wed, 11 Mar 2009 19:06:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Commodity Kit]]></category>
		<category><![CDATA[Exploit]]></category>
		<category><![CDATA[Incident]]></category>
		<category><![CDATA[Malware Estimates]]></category>
		<category><![CDATA[Vulnerability]]></category>

		<guid isPermaLink="false">http://newblog.threatfire.com/2009/03/pdf-reader-exploitation-2009/</guid>
		<description><![CDATA[Pdf readers are commonly used, and so far this year, they have been a highly abused third party plugin. Tens of thousands of malcrafted pdf exploits have been prevented from running by ThreatFire on our community systems so far this year. This information is being presented to encourage our users to upgrade their pdf reader [...]]]></description>
			<content:encoded><![CDATA[<p>Pdf readers are commonly used, and so far this year, they have been a highly abused third party plugin. Tens of thousands of malcrafted pdf exploits have been prevented from running by ThreatFire on our community systems so far this year. This information is being presented to encourage our users to upgrade their pdf reader software to the latest version and remind them of the versions available.</p>
<p>Usually, attackers deliver these malcrafted pdf files via malicious websites serving up links to malcrafted pdf files and sometimes send spam with malcrafted pdf email attachments. Even if you do not regularly open pdf files within your browser or open email attachments containing pdf files, if you have installed Adobe Reader, please take a minute to visit the web site and upgrade the software to the latest version.</p>
<p>Here is the variety of attacked Adobe Acrobat Reader versions targeted this year (as of the very beginning of March) and their percent of the pie (rounded numbers here):</p>
<p>Reader v9 less than 1%<br />Reader v8 48%<br />Reader v7 50%</p>
<div>This list does not mean that Acrobat Reader 7 is the most vulnerable of the versions. As a matter of fact, the top five subversion info, in order of highest number of incidents, is 8.1.0.137, 7.0.8.218, 7.0.0.0, 7.0.5.172, 8.0.0.456. However, it may tell us that the highest number of users that install ThreatFire continue to use one of the version 7 products and seeing it attacked. If you are using any of the Adobe Reader versions, please upgrade to the latest at their web site.</div>
<div></div>
<p><img id="BLOGGER_PHOTO_ID_5312081141781121442" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 59px; CURSOR: hand; HEIGHT: 63px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_YaXoRZbsXc4/SbhNp2HqSaI/AAAAAAAAAxI/BSGyk0Ejzrw/s200/xrun.png" border="0" />
<div>Some of the most common payloads for the exploits&#8217; shellcode are downloaders. Unfortunately, that leaves the explanation a bit hazy, because by definition, a downloader simply pulls down more software and &#8220;loads&#8221; it. Well, from our vantage point, most commonly the downloaders fetch and install FakeAV software, otherwise called rogueware. One example that we discussed <a href="http://blog.threatfire.com/2008/12/antivirus-360-distribution-update-third.html" target="_blank">last year</a> was an <a href="http://blog.threatfire.com/2008/12/av360.html" target="_blank">Antivirus 360</a> downloader, which seemed to <a href="http://blog.threatfire.com/2008/11/rigged-pdf-files.html" target="_blank">replace the Antivirus 2009 attacks</a>. Current examples are sites delivering downloaders like hxxp:(slashslash)f-o-r(dot)ms(slash)xrun.tmp<br />We also see a number of banking/identity password stealers delivered via malcrafted pdf files, with Zbot leading the charge, followed by a variety of <a href="http://www.threatexpert.com/report.aspx?md5=b0f84299c2f30dcdf64f68591a8a862f" target="_blank">Hupigon stealers and FakeAV</a>.<br />This morning, we witnessed v9 exploited on multiple users&#8217; desktops by malcrafted pdf files with the shellcode downloading a<a href="http://www.threatexpert.com/report.aspx?md5=39376f28624e3de9e23d6fd57235b42e" target="_blank"> gaming password stealer</a> from hxxp:(slashslash)202(dot)67(dot)215(dot)110(slash)caonimabi.exe. This link is live and serving malware &#8212; DO NOT download and run it.<br />And on a more recent trend, malcrafted pdf files will download more exploit code. For example, malcrafted pdf files generated by the LuckySploit exploit pack will pull down more javascript served at 72(dot)233(dot)79(dot)18(slash)prn(slash), and <a href="http://www.threatexpert.com/report.aspx?md5=0a866941d5e75610e8bde745d761e707" target="_blank">wreck more havok</a>, installing a rootkit to hide more downloaders installed on the victim system.</p>
<p>So what techniques are employed most frequently in the shellcode?<br />The shellcode is generally around 215 bytes long, following a lengthy nop sled. UrlDownloadToFile, ShellExecute and WinExec are the most commonly implemented api calls in the malicious pdf based shellcode that we&#8217;ve examined.</p>
<p>If you have installed pdf reader software on your system, no matter how often you think that you use them, please be sure to upgrade. It&#8217;s useful stuff so it&#8217;s ubiquitous, and become a common target of commodity exploit kits.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.threatfire.com/2009/03/pdf-reader-exploitation-2009.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Underground Marketplace during a Global Recession</title>
		<link>http://blog.threatfire.com/2009/03/underground-marketplace-during-a-global-recession.html</link>
		<comments>http://blog.threatfire.com/2009/03/underground-marketplace-during-a-global-recession.html#comments</comments>
		<pubDate>Fri, 06 Mar 2009 21:21:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blackhat]]></category>
		<category><![CDATA[Bot]]></category>
		<category><![CDATA[Commodity Kit]]></category>
		<category><![CDATA[Evasion technique]]></category>
		<category><![CDATA[Exploit]]></category>
		<category><![CDATA[Software Release]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Undetected malware]]></category>
		<category><![CDATA[cybercrime]]></category>

		<guid isPermaLink="false">http://newblog.threatfire.com/2009/03/underground-marketplace-during-a-global-recession/</guid>
		<description><![CDATA[As 2009 moves through a worldwide financial crisis, the underground markets continue to thrive.
A recent perusal through prices offered various services shows that a user can obtain a private spambot kit for just under $5000, an exploit kit for another ~$400 complete with the newest pdf, flash, and browser exploits (Internet Explorer, Firefox, and Opera [...]]]></description>
			<content:encoded><![CDATA[<p>As 2009 moves through a worldwide financial crisis, the underground markets continue to thrive.</p>
<p>A recent perusal through prices offered various services shows that a user can obtain a private spambot kit for just under $5000, an exploit kit for another ~$400 complete with the newest pdf, flash, and browser exploits (Internet Explorer, Firefox, and Opera covered here), subscribe to an AV-detection/evasion service for under $100/month, and subscribe to an email address harvesting service that boasts almost a billion verified private addresses all for a low price of under $100 per 1 million sorted addresses. These marketplaces are currently very active.<br />The technologies being peddled are slowly adapting as the defenses in the field change, with promises of multi-platform effectiveness (XP, Vista, etc) in feature lists and pro-active/heuristic detection functionality addressed by evasion services.<br />Based on a walk through the market like this one, it&#8217;s easy to predict that client side attacks, delivering spambots and DdoSbots will continue with high levels of activity, regardless of the recession.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threatfire.com/2009/03/underground-marketplace-during-a-global-recession.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Global Recession Hits Every Market?</title>
		<link>http://blog.threatfire.com/2008/12/global-recession-hits-every-market.html</link>
		<comments>http://blog.threatfire.com/2008/12/global-recession-hits-every-market.html#comments</comments>
		<pubDate>Tue, 09 Dec 2008 16:30:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Commodity Kit]]></category>
		<category><![CDATA[Malware Estimates]]></category>
		<category><![CDATA[Vulnerability]]></category>
		<category><![CDATA[ZBot]]></category>

		<guid isPermaLink="false">http://newblog.threatfire.com/2008/12/global-recession-hits-every-market/</guid>
		<description><![CDATA[A somewhat behind the scenes Crimeware-as-a-service scheme opened up shop a few weeks ago in time for the holidays, but to a lack of &#8220;customers&#8221;.
Currently, the service is set up to host 30 customer sites, and since November, the group has taken on a measly seven. For this market, that is not much momentum. At [...]]]></description>
			<content:encoded><![CDATA[<p>A somewhat behind the scenes <a href="http://ddanchev.blogspot.com/2008/12/zeus-crimeware-as-service-going.html" target="_blank">Crimeware-as-a-service</a> scheme opened up shop a few weeks ago in time for the holidays, but to a lack of &#8220;customers&#8221;.</p>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YaXoRZbsXc4/ST6dbvyzt8I/AAAAAAAAAqA/NRWt7DjxlOA/s1600-h/ZeuEstaHostingUser.png" target="_blank"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 116px;" src="http://2.bp.blogspot.com/_YaXoRZbsXc4/ST6dbvyzt8I/AAAAAAAAAqA/NRWt7DjxlOA/s200/ZeuEstaHostingUser.png" alt="" id="BLOGGER_PHOTO_ID_5277828913336399810" border="0" /></a><br />Currently, the service is set up to host 30 customer sites, and since November, the group has taken on a measly seven. For this market, that is not much momentum. At 50 bucks a month for hosting, the group is taking on a petty 350 U.S. dollars for the service. The global recession seems to be hitting every market.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threatfire.com/2008/12/global-recession-hits-every-market.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bootkit binaries in the wild</title>
		<link>http://blog.threatfire.com/2008/01/bootkit-binaries-in-the-wild.html</link>
		<comments>http://blog.threatfire.com/2008/01/bootkit-binaries-in-the-wild.html#comments</comments>
		<pubDate>Tue, 08 Jan 2008 22:02:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blackhat]]></category>
		<category><![CDATA[Commodity Kit]]></category>
		<category><![CDATA[Dropper]]></category>
		<category><![CDATA[Exploit]]></category>
		<category><![CDATA[Rootkit]]></category>
		<category><![CDATA[Vulnerability]]></category>

		<guid isPermaLink="false">http://newblog.threatfire.com/2008/01/bootkit-binaries-in-the-wild/</guid>
		<description><![CDATA[Yesterday, we were further analyzing an executable that we recently haven&#8217;t been seeing all that much of, tmpms45.exe. The filename is familiar, as sometimes various executables with that name are delivered by malicious emails or malicious web pages. Most often, we see it as a part of a commodity exploit kit (i.e. Mpack), and the [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, we were further analyzing an executable that we recently haven&#8217;t been seeing all that much of, tmpms45.exe. The filename is familiar, as sometimes various executables with that name are delivered by malicious emails or malicious web pages. Most often, we see it as a part of a commodity exploit kit (i.e. <a href="http://en.wikipedia.org/wiki/MPack_%28software%29" target="_blank">Mpack</a>), and the malicious web site operators simply forgot to change the filename in the kit&#8217;s scripts that they just purchased.<br />This time, however, a file delivered with that filename is receiving a lot of attention as the newest piece of malware writing directly to raw disk and the <a href="http://en.wikipedia.org/wiki/Master_boot_record#Structure_of_a_Master_Boot_Record" target="_blank">master boot record</a> on WindowsXP systems. It may also go by several other names, like mat16.exe, mat17.exe, mat18.exe and so on. The code for the malicious <a href="http://en.wikipedia.org/wiki/Dropper" target="_blank">dropper</a> itself is getting attention partly because it is the first in the wild malware found to contain a slightly modifed version of the &#8220;BootRoot&#8221; code presented at <a href="http://www.blackhat.com/html/bh-usa-05/bh-usa-05-speakers.html" target="_blank">Blackhat 2005</a> by eEye researchers.</p>
<p>This malicious dropper executable is being distributed from web sites via a set of exploits targeting a vulnerability patched in 2003, the common Microsoft MDAC (MS06-014) vulnerabilities that we see targeted on a daily basis, along with the somewhat more recent VML and XML CoreServices BoF.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threatfire.com/2008/01/bootkit-binaries-in-the-wild.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dave&#8217;s inflight thoughts</title>
		<link>http://blog.threatfire.com/2007/12/daves-inflight-thoughts.html</link>
		<comments>http://blog.threatfire.com/2007/12/daves-inflight-thoughts.html#comments</comments>
		<pubDate>Tue, 11 Dec 2007 23:49:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bot]]></category>
		<category><![CDATA[Commodity Kit]]></category>
		<category><![CDATA[Evasion technique]]></category>
		<category><![CDATA[Penetration testing]]></category>

		<guid isPermaLink="false">http://newblog.threatfire.com/2007/12/daves-inflight-thoughts/</guid>
		<description><![CDATA[Dave Aitel, founder of ImmunitySec, sometimes comments on Halvar Flake&#8217;s and Sabre security (oops, I mean zynamics) projects. They speak at a lot of the same conferences.
He just happened to be flying back from jfk when a few deep thoughts came to mind about evading the holy grail of automatic malware classification that he posted [...]]]></description>
			<content:encoded><![CDATA[<p>Dave Aitel, founder of <a href="http://immunitysec.com/" target="_blank">ImmunitySec</a>, sometimes comments on <a href="http://www.zynamics.com/index.php?page=company" target="_blank">Halvar Flake&#8217;s</a> and Sabre security (oops, I mean zynamics) projects. They speak at a lot of the same conferences.</p>
<p>He just happened to be flying back from jfk when a few deep thoughts came to mind about evading the holy grail of <a href="http://www.vxclass.com/" target="_blank">automatic malware classification</a> that he posted on <a href="http://lists.immunitysec.com/pipermail/dailydave/2007-December/004791.html" target="_blank">DailyDave</a>:<br />&#8220;Given that avoiding &#8220;behavioral signatures&#8221; is a matter of calling random NOP-like API calls (i.e. CreateFile + CloseHandle == 1 NOP), Halvar&#8217;s program classification techniques involve a structural differencing engine. This has advantages (see his talk for details) in that program structure closely reflects the semantic meaning of a program, as interpreted by a compiler.<br />So the obvious way, from what I can tell, to defeat a structural differencing algorithm would be to do a static or dynamic analysis of your target program, and for each CALL opcode, change the destination to a dispatcher function. This dispatcher function can then be built to do a O(1) table lookup to find the true destination of the call.&#8221;<br /><span class="text"><br />I like the way Dave thinks. Unfortunately, other folks do too, and all sorts of evasive techniques are commercially available. That means the techniques are available to the bot herders, and it appears in our labs that the herders are distributing most of their bots packed with this stuff now.<br /></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threatfire.com/2007/12/daves-inflight-thoughts.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>40,000 googled pages, an ineffective link that gets fixed, and tons of system-freezing downloads</title>
		<link>http://blog.threatfire.com/2007/11/40000-googled-pages-an-ineffective-link-that-gets-fixed-and-tons-of-system-freezing-downloads.html</link>
		<comments>http://blog.threatfire.com/2007/11/40000-googled-pages-an-ineffective-link-that-gets-fixed-and-tons-of-system-freezing-downloads.html#comments</comments>
		<pubDate>Wed, 28 Nov 2007 16:38:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Commodity Kit]]></category>
		<category><![CDATA[Exploit]]></category>
		<category><![CDATA[Vulnerability]]></category>
		<category><![CDATA[Zlob]]></category>
		<category><![CDATA[cybercrime]]></category>

		<guid isPermaLink="false">http://newblog.threatfire.com/2007/11/40000-googled-pages-an-ineffective-link-that-gets-fixed-and-tons-of-system-freezing-downloads/</guid>
		<description><![CDATA[We&#8217;ve been tracking the malicious search campaign involving thousands of domains and pages cited at the Internet Storm Center desk this morning for some time now. A couple of the sites in China each host approximately 5,000 web pages that each incorporate the same link to one malicious javascript page targeting Windows users. Other servers [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been tracking the malicious search campaign involving thousands of domains and pages cited at the <a href="http://isc.sans.org/diary.html?storyid=3700" target="_blank">Internet Storm Center</a> desk this morning for some time now. A couple of the sites in China each host approximately 5,000 web pages that each incorporate the same link to one malicious javascript page targeting Windows users. Other servers around the world have basically the same configuration. ThreatFire users are protected.</p>
<p>It&#8217;s a pretty complicated attack. Basically, when visiting one of these google results, the malicious server will prompt you to download a malicious executable, at the same time while analysing your system for vulnerabilities and attempting to attack them. All this work in an effort to install lots of &#8220;rogue security software&#8221; that will scan your system, attempt to intimidate the user with fraudulent scan results into purchasing the product. Complete with pop-ups for pharaceuticals sprouting up on the screen.</p>
<p>Yesterday afternoon, we installed their executable manually (displayed at the <a href="http://sunbeltblog.blogspot.com/2007/11/breaking-massive-amounts-of-malware.html" target="_blank">Sunbelt blog</a> as &#8220;VideoAccessCodecInstall.exe&#8221;). It runs on a user&#8217;s system and then attempts to connect to a website and perform more downloads. The server at that destination was up, but the malicious download was not available.<br />However, the servers that the &#8220;video codec&#8221; connects to came back up overnight. Around 55 Internet Explorer windows and various screen prompts on one of our infected lab systems now tell me that malware and porn has been found all over the system (which were not when we started), and we need to buy their products to clean it up and keep my kids away from porn. What garbage.<br />Some of the product names look like this:<br />YourPrivacyGuard, ABSSearch, SecurePCCleaner, UltimateDefender, ADWare Remover2007, XPAntivirus, UltimateCleaner</p>
<p>So we&#8217;ve been visiting these malicious web sites in the lab, and they appear to prompt you to install a video codec, enticing you to check out the video that is about to play onscreen. But, in the background, the web page&#8217;s javascript identifies the OS, browser and JavaVM version of the visiting user and attacks the browser accordingly. Based on this information, it attacks multiple Microsoft vulnerabilities: MS06-014, MS06-006, MS05-001, MS03-011. It also can attack a couple of old Firefox vulnerabilities: first MFSA 2005-50, and if that attack fails on your firefox browser, it resorts to attacking MS06-006, which overflows a buffer in unpatched versions of Firefox.</p>
<p>Simply put, the best way to deal with this threat is to <a href="http://update.microsoft.com/microsoftupdate/" target="_blank">update your Windows operating system and application components</a> and keep your system&#8217;s third party utilities patched, and maintain <a href="http://www.pctools.com/">effective security products</a> on your system.<br />We&#8217;ll keep you updated on the situation.</p>
<p>If you see this on your system while you are browsing the web with Firefox, do NOT download and execute the executable:</p>
<p><a href="http://3.bp.blogspot.com/_YaXoRZbsXc4/R04B7H7-xQI/AAAAAAAAAEo/jKSWsawqZa0/s1600-h/firefox_zoldgonit_filesaveas_focus.JPG" target="_blank"><img id="BLOGGER_PHOTO_ID_5138046340130850050" style="margin: 0px 10px 10px 0px; float: left;" alt="" src="http://3.bp.blogspot.com/_YaXoRZbsXc4/R04B7H7-xQI/AAAAAAAAAEo/jKSWsawqZa0/s400/firefox_zoldgonit_filesaveas_focus.JPG" border="0" /></a></p>
<p>If you see this on your system while you are browsing the web with Internet Explorer, do NOT allow the executable to run:</p>
<p><a href="http://4.bp.blogspot.com/_YaXoRZbsXc4/R04CYX7-xRI/AAAAAAAAAEw/qEE9ZpVk2dk/s1600-h/zoldgonit_IE_psyme_focus.JPG" target="_blank"><img id="BLOGGER_PHOTO_ID_5138046842642023698" style="margin: 0px 10px 10px 0px; float: left;" alt="" src="http://4.bp.blogspot.com/_YaXoRZbsXc4/R04CYX7-xRI/AAAAAAAAAEw/qEE9ZpVk2dk/s400/zoldgonit_IE_psyme_focus.JPG" border="0" /></a></p>
<p>Here is an example of ThreatFire identifying one of the downloaders, running on a lab system:</p>
<p><a href="http://4.bp.blogspot.com/_YaXoRZbsXc4/R04GaX7-xSI/AAAAAAAAAE4/gnFRS_ewF5k/s1600-h/tempmbroit2.JPG" target="_blank"><img id="BLOGGER_PHOTO_ID_5138051275048273186" style="margin: 0px 10px 10px 0px; float: left;" alt="" src="http://4.bp.blogspot.com/_YaXoRZbsXc4/R04GaX7-xSI/AAAAAAAAAE4/gnFRS_ewF5k/s400/tempmbroit2.JPG" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threatfire.com/2007/11/40000-googled-pages-an-ineffective-link-that-gets-fixed-and-tons-of-system-freezing-downloads.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Are we ready for some football?</title>
		<link>http://blog.threatfire.com/2007/09/are-we-ready-for-some-football.html</link>
		<comments>http://blog.threatfire.com/2007/09/are-we-ready-for-some-football.html#comments</comments>
		<pubDate>Tue, 11 Sep 2007 17:21:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Commodity Kit]]></category>
		<category><![CDATA[Evasion technique]]></category>
		<category><![CDATA[Social Engineering]]></category>
		<category><![CDATA[Storm]]></category>

		<guid isPermaLink="false">http://newblog.threatfire.com/2007/09/are-we-ready-for-some-football/</guid>
		<description><![CDATA[We&#8217;ve been receiving all sorts of new mail from the Storm threat&#8217;s authors. The latest to arrive at our office accounts is a message appealing to football fans. With college and pro football underway in the states, this social engineering is sure to attract some individuals. Here is the text of the email message:
&#8220;Life as [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">We&#8217;ve been receiving all sorts of new mail from the Storm threat&#8217;s authors. The latest to arrive at our office accounts is a message appealing to football fans. With college and pro football underway in the states, this social engineering is sure to attract some individuals. Here is the text of the email message:</p>
<p style="text-align: left;">&#8220;Life as we know it is back, NFL season is open.<br />
Know all the games, what time, what channel and the stats.<br />
Never be in the dark again with this online game tracker:<br />
http: // ip.address.he .re&#8221;</p>
<p style="text-align: left;">Here is a snapshot of the site offering the &#8220;tracker.exe&#8221; file that potential victims will reach by clicking on the email message&#8217;s link. DO NOT visit the site if you receive the email, and DO NOT download and run this &#8220;tracker.exe&#8221; file:</p>
<p style="text-align: center;"><a href="http://3.bp.blogspot.com/_YaXoRZbsXc4/RubRGGryM2I/AAAAAAAAABs/Hmeoj91NQUg/s1600-h/Storm_football_tracker.JPG" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5109000730102084450" class="aligncenter" style="margin-top: 0pt; margin-bottom: 10px; cursor: pointer; border: black 1px solid;" src="http://3.bp.blogspot.com/_YaXoRZbsXc4/RubRGGryM2I/AAAAAAAAABs/Hmeoj91NQUg/s400/Storm_football_tracker.JPG" border="0" alt="" width="280" height="213" /></a></p>
<p>Every link on the page, including the &#8220;Peyton Manning&#8221; link, will fail to download a couple of times, frustrating and confusing the user. Three&#8217;s a charm, and the tracker.exe file will download to your machine. Again, do not download and run the file. It installs all sorts of rootkit components and executables that you do not want on your system.</p>
<p style="text-align: left;">The authors have been somewhat inconsistent with this version of the multi-layered threat. They haven&#8217;t incorporated the commoditized exploits that attack Internet Explorer, Firefox and third party components like the Yahoo! Messenger into this web page, like they have on all of their other recent attack sites. The tracker.exe executable doesn&#8217;t change with every download, either. Maybe we are very early on in this stage of the spam/website setup, or a different part of the group set this server up.<br />
The location of this server, most likely another Mac OSX server, is somewhat unusual for this group as well. Geobytes tells us that it is located in Tujunga, CA:</p>
<p style="text-align: center;"><a href="http://3.bp.blogspot.com/_YaXoRZbsXc4/RubSbGryM3I/AAAAAAAAAB0/nOTcRU65lQM/s1600-h/geobytes_iplocator_certainty.JPG" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5109002190390965106" class="aligncenter" style="margin-top: 0pt; margin-bottom: 10px; cursor: pointer; border: black 1px solid;" src="http://3.bp.blogspot.com/_YaXoRZbsXc4/RubSbGryM3I/AAAAAAAAAB0/nOTcRU65lQM/s400/geobytes_iplocator_certainty.JPG" border="0" alt="" width="280" height="224" /></a></p>
<p>Peyton Manning? They probably could have pwned my system with a Brett Favre link.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threatfire.com/2007/09/are-we-ready-for-some-football.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do Storm and other current threats attack security solutions and silently maintain their presence on systems?</title>
		<link>http://blog.threatfire.com/2007/09/how-do-storm-and-other-current-threats-attack-security-solutions-and-silently-maintain-their-presence-on-systems.html</link>
		<comments>http://blog.threatfire.com/2007/09/how-do-storm-and-other-current-threats-attack-security-solutions-and-silently-maintain-their-presence-on-systems.html#comments</comments>
		<pubDate>Thu, 06 Sep 2007 04:40:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Commodity Kit]]></category>
		<category><![CDATA[Dropper]]></category>
		<category><![CDATA[Evasion technique]]></category>
		<category><![CDATA[Rootkit]]></category>
		<category><![CDATA[Shellcode]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Storm]]></category>
		<category><![CDATA[Vulnerability]]></category>

		<guid isPermaLink="false">http://newblog.threatfire.com/2007/09/how-do-storm-and-other-current-threats-attack-security-solutions-and-silently-maintain-their-presence-on-systems/</guid>
		<description><![CDATA[Malware v2.0 writers continue to develop new techniques and write sophisticated code to evade security solutions. We&#8217;ve seen a surge in the volume of changing and newly distributed malware that “go Ring0”, or install kernel level drivers. Often, and in the case presented here, the driver is installed in order to silently render AV solutions [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Malware v2.0 writers continue to develop new techniques and write sophisticated code to evade security solutions. We&#8217;ve seen a surge in the volume of changing and newly distributed malware that “go Ring0”, or install kernel level drivers. Often, and in the case presented here, the driver is installed in order to silently render AV solutions useless. The widespread Storm threat includes kernel level functionality to perform some of its malicious work, but so do a number of other web-based threats that include components not yet detected by all of the AV community.</p>
<p class="MsoNormal">In our previous post, we examined a commoditized third party plugin exploit being used in the wild now and its &#8220;proactive-solution&#8221; evading shellcode. This post will take a look at another effective attack method being used right now, often as another layer in a web based attack, with the end result of rendering a majority of real time av scanners ineffective on the system. Why do malware writers go to these lengths? Usually, in order to obtain and maintain presence on the system.</p>
<p class="MsoNormal">This added technique relies on a driver installer (often downloaded and executed by an attacker’s shellcode), and a driver component to perform the malicious activity. The samples that we have analyzed also will download a spambot and proxies following the driver component’s successful modification/destruction of the av solution’s real-time scanning capabilities.</p>
<p class="MsoNormal">I&#8217;ll try to describe the activity and environment in fairly plain terms, so readers don&#8217;t have to be a device driver writer to understand what is going on.</p>
<p class="MsoNormal">The driver somehow has to be copied to the system and its service installed. This action can be done in a number of ways. The executable component that creates the driver file and installs the service can be launched on a victim&#8217;s system by attacking a web browser plugin as detailed in the last post, binding it to another exe and spamming it out to harvested email accounts, or any number of other well known methods already effectively used in the wild.</p>
<p class="MsoNormal" style="text-align: left;">This downloaded executable copies out the .sys file to c:\windows\system32\drivers and makes a common win32 api call to install this driver as a file system object. Here&#8217;s a quick snapshot of the thread stack when the call is made:</p>
<p class="MsoNormal"> </p>
<p style="text-align: center;"><a href="http://2.bp.blogspot.com/_YaXoRZbsXc4/Rt-HKmryMuI/AAAAAAAAAAs/Y1_Ee_JY4X8/s1600-h/blog_threadstack_createservice.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5106949118714065634" class="aligncenter" style="margin-top: 0pt; margin-bottom: 10px; cursor: pointer; border: black 1px solid;" src="http://2.bp.blogspot.com/_YaXoRZbsXc4/Rt-HKmryMuI/AAAAAAAAAAs/Y1_Ee_JY4X8/s400/blog_threadstack_createservice.jpg" border="0" alt="" width="280" height="86" /></a></p>
<p class="MsoNormal">The dropper’s work is almost done. Next, it starts the service and exits.</p>
<p class="MsoNormal">Once the driver is started by its installer, it maliciously modifies the file system stack. &#8220;Real-time&#8221; file scan functionality is then disabled, even for major av products.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Here are a couple of screenshots of the system’s device tree prior to the attack – 1. a device tree representation of the Ntfs and raw filesystem drivers following a default install, and 2. a device tree representation of the Ntfs and raw filesystem drivers following the installation of a major anti-virus product. Keep in mind this kernel layout is what the malware writers are looking at when choosing their targets. The visualization is meant to help understand what is being attacked…</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">This screenshot presents the filesystem stack prior to the installation of the AV product. Notice that the ntfs driver (labelled DRV <span> </span>\FileSystem\Ntfs) has a named device (labelled DEV \Ntfs), and also in its stack is the system volume (labeled MED \Device\HarddiskVolume1), which represents the underlying disk volume/partition. The XP SP2 operating system device tree normally looks like this following a default install:</p>
<p style="text-align: center;"><a href="http://3.bp.blogspot.com/_YaXoRZbsXc4/Rt-IC2ryMwI/AAAAAAAAAA8/pYNX1FKXIOA/s1600-h/blog_drive_normal.JPG" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5106950085081707266" class="aligncenter" style="margin-top: 0pt; margin-bottom: 10px; cursor: pointer; border: black 1px solid;" src="http://3.bp.blogspot.com/_YaXoRZbsXc4/Rt-IC2ryMwI/AAAAAAAAAA8/pYNX1FKXIOA/s400/blog_drive_normal.JPG" border="0" alt="" width="280" height="116" /></a></p>
<p class="MsoNormal">This screenshot presents the device tree representation of the file system stack after the installation of a major vendor&#8217;s anti-virus product. The Ntfs driver stack has been changed altogether. These changes are indicate that the anti-virus scanner has installed a set of mini-filter drivers, shown by the additions of multiple new attachments labeled &#8220;ATT Attached: (Unnamed) &#8211; \Filesystem\FltMgr&#8221;:</p>
<p style="text-align: center;"><a href="http://4.bp.blogspot.com/_YaXoRZbsXc4/Rt-IjGryMxI/AAAAAAAAABE/DfjkSc8S7AU/s1600-h/blog_drive_av_installed.JPG" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5106950639132488466" class="aligncenter" style="margin-top: 0pt; margin-bottom: 10px; cursor: pointer; border: black 1px solid;" src="http://4.bp.blogspot.com/_YaXoRZbsXc4/Rt-IjGryMxI/AAAAAAAAABE/DfjkSc8S7AU/s400/blog_drive_av_installed.JPG" border="0" alt="" width="280" height="160" /></a></p>
<p class="MsoNormal">After observing and recording the state of the filesystem stack in a normal state and in a av solution modified state, we run the malware on this goat system in our lab, and it runs unhindered by the antivirus product &#8212; signatures for the binary have not been added yet by this av vendor, even though the malware has been circulating in the wild for over a couple of weeks now. At least a couple other vendors are detecting the dropper and its driver.</p>
<p class="MsoNormal">Here is a screenshot of the filesystem stack after the malware has been run. Notice that all of the mini-filter attachments that were attached by the AV solution to the Ntfs device object have now been detached from the stack:</p>
<p style="text-align: center;"><a href="http://1.bp.blogspot.com/_YaXoRZbsXc4/Rt-JEWryMyI/AAAAAAAAABM/AKeuiUvjPKw/s1600-h/blog_drifiltrm_p.sys.JPG" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5106951210363138850" class="aligncenter" style="margin-top: 0pt; margin-bottom: 10px; cursor: pointer; border: black 1px solid;" src="http://1.bp.blogspot.com/_YaXoRZbsXc4/Rt-JEWryMyI/AAAAAAAAABM/AKeuiUvjPKw/s400/blog_drifiltrm_p.sys.JPG" border="0" alt="" width="255" height="88" /></a></p>
<p class="MsoNormal">This modification effectively chokes off any real-time functionality of the AV solution&#8217;s filesystem scanner. We expected the system to crash and throw off a BSOD, but it kept running in this state in our labs for hours without any blue screen.</p>
<p class="MsoNormal">The AV security application continues to run, without presenting any warning to the user that it has been hacked, so the user thinks everything is ok. But their system is left unprotected at this level.</p>
<p class="MsoNormal">At last we confirm the inability of the real-time AV filesystem scanner to detect malware copied to disk in real-time. We copy three year old malware binaries (variants of the bagle Trojan) from a server we maintain in the labs to this attacked system. Normally they are caught by this AV scanner’s real-time protection: </p>
<p style="text-align: center;"><a href="http://1.bp.blogspot.com/_YaXoRZbsXc4/Rt-J1WryMzI/AAAAAAAAABU/ctEQReW6MoY/s1600-h/blog_drBAGLEcp_avinstalled_nuked_by_p.sys.JPG" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5106952052176728882" class="aligncenter" style="margin-top: 0pt; margin-bottom: 10px; cursor: pointer; border: black 1px solid;" src="http://1.bp.blogspot.com/_YaXoRZbsXc4/Rt-J1WryMzI/AAAAAAAAABU/ctEQReW6MoY/s400/blog_drBAGLEcp_avinstalled_nuked_by_p.sys.JPG" border="0" alt="" width="280" height="137" /></a></p>
<p class="MsoNormal">The files are copied to the system&#8217;s hard drive without any detection, while the Auto-protect feature of the scanner quietly reports its “On” status. The AV solution clearly has been rendered useless and misleads the user into thinking that their drive is protected. This last confirmation in the AV gui&#8217;s status page reinforces that this host compromise is unexpected, effective and stealthy:</p>
<p class="MsoNormal" style="text-align: center;"><a href="http://3.bp.blogspot.com/_YaXoRZbsXc4/Rt-KX2ryM0I/AAAAAAAAABc/FIoa442FDvA/s1600-h/blog_av_autoprotect.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5106952644882215746" class="aligncenter" style="margin-top: 0pt; margin-bottom: 10px; cursor: pointer; border: black 1px solid;" src="http://3.bp.blogspot.com/_YaXoRZbsXc4/Rt-KX2ryM0I/AAAAAAAAABc/FIoa442FDvA/s400/blog_av_autoprotect.jpg" border="0" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threatfire.com/2007/09/how-do-storm-and-other-current-threats-attack-security-solutions-and-silently-maintain-their-presence-on-systems.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do Storm, NotFound and other threats infiltrate so many PC&#8217;s?</title>
		<link>http://blog.threatfire.com/2007/08/how-do-storm-notfound-and-other-threats-infiltrate-so-many-pcs.html</link>
		<comments>http://blog.threatfire.com/2007/08/how-do-storm-notfound-and-other-threats-infiltrate-so-many-pcs.html#comments</comments>
		<pubDate>Fri, 31 Aug 2007 14:37:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Commodity Kit]]></category>
		<category><![CDATA[Evasion technique]]></category>
		<category><![CDATA[Exploit]]></category>
		<category><![CDATA[Rootkit]]></category>
		<category><![CDATA[Shellcode]]></category>
		<category><![CDATA[Storm]]></category>
		<category><![CDATA[Targeted attack]]></category>
		<category><![CDATA[Vulnerability]]></category>

		<guid isPermaLink="false">http://newblog.threatfire.com/2007/08/how-do-storm-notfound-and-other-threats-infiltrate-so-many-pcs/</guid>
		<description><![CDATA[As the trend continues to move away from exploiting system services and more commonly toward exploiting client applications like web browsers and third party plugins, our research has turned towards these threats and overturned some fairly new stones for the commoditized exploit packages currently in the wild. The Storm threat, and numerous others have been [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">As the trend continues to move away from exploiting system services and more commonly toward exploiting client applications like web browsers and third party plugins, our research has turned towards these threats and overturned some fairly new stones for the commoditized exploit packages currently in the wild. The Storm threat, and numerous others have been using these packages to deliver driveby browser and, in this case, third party plugin exploits. These sorts of threats have been very effective recently at compromising users&#8217; systems in order to build botnets and send spam, and steal passwords and other sensitive information.</p>
<p class="MsoNormal" style="text-align: left;">Now, not only are these packages delivering repacked and crypted binaries via harmless looking but malicious web pages, but they are re-obfuscating the malicious content hidden on the web pages at very small intervals. The threats, at every level, are constantly changing.</p>
<p class="MsoNormal" style="text-align: left;"> </p>
<p class="MsoNormal" style="text-align: left;">We collected up these changing pages from multiple malicious web sites, de-obfuscated their code, and isolated each exploit with its shellcode to analyze them, and to identify any problems they might cause for security products. Here are some notes from our research on in-the-wild web exploits:</p>
<p class="MsoNormal" style="text-align: left;"> </p>
<p class="MsoNormal" style="text-align: left;">The code across malicious groups is becoming more and more similar. There most definitely is code sharing between the groups writing the exploits. Some of them are the exact same techniques for identical exploits.</p>
<p class="MsoNormal" style="text-align: left;">One recent addition to the commoditized exploit packages that are bought and sold online that has not been much discussed is exploitation of a recently disclosed Yahoo Messenger vulnerability, with shellcode that evades some of the major av vendors’ security software.</p>
<p class="MsoNormal" style="text-align: left;"> </p>
<p class="MsoNormal" style="text-align: left;">The vulnerability effects a version of a component called the &#8220;Webcam Viewer Networking and Imaging&#8221; ActiveX component (ywcvwr.dll v2.0.1.4). Basically, an old-fashioned stack-based buffer overflow occurs because a 1023 byte buffer is set aside to store input for webcam functionality, but the input is not properly checked, allowing for maliciously crafted webcam objects to run arbitrary code of the attacker&#8217;s choosing.</p>
<p class="MsoNormal" style="text-align: left;"> </p>
<p class="MsoNormal" style="text-align: left;">We examined the attacker&#8217;s approach. They use a reliable method of delivering control to their shellcode on XP Sp2 and Vista systems over IE6 and IE7 with default settings: they spray the heap with shellcode of their choosing simply by creating a dozen or so variables in their javascript, and stuffing them with lots of NOP followed by shellcode. They then deliver a large amount of data (5000 bytes) to this unchecked 1023 byte buffer and overrun values on the stack, including the exception handler. An exception occurs, and because the exception handler is overwritten with an address on the heap, control is passed to their download and execute shellcode.</p>
<p class="MsoNormal" style="text-align: left;">By default, this exploit works on Vista systems when IE6 and IE7 do not have the &#8220;Data Execution Prevention&#8221; feature enabled. But techniques to disable the DEP check even when it is enabled have been published as well.</p>
<p class="MsoNormal" style="text-align: left;"> </p>
<p class="MsoNormal" style="text-align: left;">This image shows the thread stack as it is overflowed. An exception has been caused at this point, and we break on it to notice that the stack is covered with “\x0a\x0a\x0a\x0a”.</p>
<p style="text-align: center;">
<div><a href="http://3.bp.blogspot.com/_YaXoRZbsXc4/RtgqlmryMqI/AAAAAAAAAAM/iop7EFgFGvI/s1600-h/ymw_stack.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5104877003152175778" class="aligncenter" style="margin-top: 0pt; margin-bottom: 10px; cursor: pointer; border: black 1px solid;" src="http://3.bp.blogspot.com/_YaXoRZbsXc4/RtgqlmryMqI/AAAAAAAAAAM/iop7EFgFGvI/s320/ymw_stack.jpg" border="0" alt="" width="224" height="191" /></a></div>
<p class="MsoNormal">When this exception occurs, we can take a peek at the exception handler, which also is stored on the stack. It has been overwritten with “\x0a\x0a\x0a\x0a” as well. Because the exception has been thrown, our goat system tries to provide control to the first handler in the list, which happens to be at the craftily overwritten “0a0a0a0a”.</p>
<p style="text-align: center;"><a href="http://3.bp.blogspot.com/_YaXoRZbsXc4/RtgrHmryMrI/AAAAAAAAAAU/CLh4l06Nb0U/s1600-h/ym_SEH.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5104877587267728050" class="aligncenter" style="margin-top: 0pt; margin-bottom: 10px; cursor: pointer; border: black 1px solid;" src="http://3.bp.blogspot.com/_YaXoRZbsXc4/RtgrHmryMrI/AAAAAAAAAAU/CLh4l06Nb0U/s320/ym_SEH.jpg" border="0" alt="" width="179" height="107" /></a></p>
<p class="MsoNormal">Interestingly, the heap has been sprayed with shellcode because the javascript sets up multiple variables full of shellcode. Due to this spray, the location “0a0a0a0a” now points to “0c0c0c0c”, which also is located on the heap. This heap contains two things – a nop sled of &#8220;0c0c0c0c&#8221; and “download and execute” shellcode.</p>
<p style="text-align: center;"><a href="http://2.bp.blogspot.com/_YaXoRZbsXc4/RtgrlWryMsI/AAAAAAAAAAc/wxvMqwfoWA4/s1600-h/ymv_heap_sledshell.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5104878098368836290" class="aligncenter" style="margin-top: 0pt; margin-bottom: 10px; cursor: pointer; border: black 1px solid;" src="http://2.bp.blogspot.com/_YaXoRZbsXc4/RtgrlWryMsI/AAAAAAAAAAc/wxvMqwfoWA4/s320/ymv_heap_sledshell.jpg" border="0" alt="" width="224" height="57" /></a></p>
<p class="MsoNormal">Control will slide down the sled to our shellcode, and the attackers will effectively download and execute a set of binaries stored on another web server. These binaries download and execute even more malware, including bots, rootkits, password stealers, adware and other problematic software.</p>
<p class="MsoNormal">And whoa, they keep coming as this post is written! Another Yahoo webcam viewer vulnerability has been discovered and its exploit posted by a Chinese security group without having notified Yahoo, so we’ll keep an eye on this 0day as well and probably post on attacking activity abusing this new vulnerability. We’ve looked through the code, and it attacks a heap overflow instead of a stack overflow like this one, but methods to effectively defend against it remain the same.</p>
<p class="MsoNormal">Beware web sites and links that you have not visited before, especially if they are sent to you via email, and update your security software. Buffer overflow exploits like this one can turn an unwitting user into a victim.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threatfire.com/2007/08/how-do-storm-notfound-and-other-threats-infiltrate-so-many-pcs.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
