<?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>Blog Central &#187; McAfee Labs</title>
	<atom:link href="http://blogs.mcafee.com/mcafee-labs/feed" rel="self" type="application/rss+xml" />
	<link>http://blogs.mcafee.com</link>
	<description></description>
	<lastBuildDate>Fri, 17 May 2013 22:07:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Bank Account Logins for Sale, Courtesy of Citadel Botnet</title>
		<link>http://blogs.mcafee.com/mcafee-labs/bank-account-logins-for-sale-courtesy-of-citadel-botnet</link>
		<comments>http://blogs.mcafee.com/mcafee-labs/bank-account-logins-for-sale-courtesy-of-citadel-botnet#comments</comments>
		<pubDate>Fri, 17 May 2013 05:56:10 +0000</pubDate>
		<dc:creator>Chintan Shah</dc:creator>
				<category><![CDATA[McAfee Labs]]></category>
		<category><![CDATA[banking fraud]]></category>
		<category><![CDATA[botnet]]></category>
		<category><![CDATA[Citadel]]></category>
		<category><![CDATA[financial institutions]]></category>

		<guid isPermaLink="false">http://blogs.mcafee.com/?p=24417</guid>
		<description><![CDATA[Financial theft is one of the most lucrative forms of cybercrime. Malware authors continue to deliver sophisticated tools and techniques to unlock online bank accounts. Attackers design and develop botnets to perform financial fraud, targeting banks and other institutions for profit. These botnets traditionally have monitored victims&#8217; Internet activities and intercepted banking transactions to extract <a href="http://blogs.mcafee.com/mcafee-labs/bank-account-logins-for-sale-courtesy-of-citadel-botnet">Read more...</a>]]></description>
				<content:encoded><![CDATA[<p>Financial theft is one of the most lucrative forms of cybercrime. Malware authors continue to deliver sophisticated tools and techniques to unlock online bank accounts. Attackers design and develop botnets to perform financial fraud, targeting banks and other institutions for profit. These botnets traditionally have monitored victims&#8217; Internet activities and intercepted banking transactions to extract account credentials and send them to their control servers. Recent botnets are armed with more advanced capabilities, yet traditional methods continue to be the most effective way to steal money.</p>
<p>Recently I came across an underground Russian forum in which an author was actively selling botnet logs with account-login details from one targeted bank.</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit1.jpg"><img class="alignleft  wp-image-24738" alt="cit1" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit1.jpg" width="594" height="397" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>These botnet logs were from the Citadel botnet Version 1.3.4.5 (Extreme Edition). Citadel is a variant of the popular Zeus botnet and has been widely seen since late 2012. This botnet has already been covered in <a href="http://www.xylibox.com/2012/10/citadel-1351-rain-edition.html">blogs</a> and <a href="http://blogs.mcafee.com/mcafee-labs/labs-paper-looks-inside-the-world-of-the-citadel-trojan">by McAfee Labs.</a></p>
<p>Here is an image of server code for extracting bank account information.</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit7.jpg"><img class="alignleft  wp-image-24776" alt="cit7" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit7.jpg" width="539" height="302" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Next we see what Citadel can do. I tried log in to several bank accounts using the posted credentials and was surprised to find that most of the accounts mentioned were active. I could log in to them successfully.</p>
<p>&nbsp;</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit2.jpg"><img class="alignleft  wp-image-24740" alt="cit2" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit2.jpg" width="433" height="236" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit3.jpg"><img class="alignleft  wp-image-24777" alt="cit3" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit3.jpg" width="450" height="240" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit4.jpg"><img class="alignleft  wp-image-24778" alt="cit4" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit4.jpg" width="456" height="270" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Our <a href="http://www.mcafee.com/us/resources/white-papers/wp-citadel-trojan-summary.pdf">research</a> has revealed that Citadel  is one of the most active botnets in the world, spanning several locations across Europe. One of the major reasons for its common use is that the botnet setup services are fairly cheap via the underground community. Here is an advertisement for the Citadel setup service.</p>
<p>&nbsp;</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit5.jpg"><img class="alignleft  wp-image-24821" alt="cit5" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit5.jpg" width="491" height="356" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The same user offers the setup services on another forum:</p>
<p>&nbsp;</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit6.jpg"><img class="alignleft  wp-image-24822" alt="cit6" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit6.jpg" width="467" height="242" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit8.jpg"><img class="alignleft  wp-image-24823" alt="cit8" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/cit8.jpg" width="499" height="246" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Many cybercriminals avoid transferring money to their own accounts due to the risk of prosecution, but selling the account information and making the money from the sale is an effective way of preserving  anonymity. Thus the attacker can&#8217;t be held accountable for the transfers made from a stolen account.</p>
<p>As the precautionary measure, we should look out for accounts being accessed or transactions made to/from different geographical locations. Banks place limits on the amount of money that can be transferred in one day or in a single transaction. Spotting small, unauthorized transactions made from an account should be noticeable and prevent major financial losses.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.mcafee.com/mcafee-labs/bank-account-logins-for-sale-courtesy-of-citadel-botnet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Travnet Botnet Controls Victims With Remote Admin Tool</title>
		<link>http://blogs.mcafee.com/mcafee-labs/travnet-botnet-controls-victims-with-remote-admin-tool</link>
		<comments>http://blogs.mcafee.com/mcafee-labs/travnet-botnet-controls-victims-with-remote-admin-tool#comments</comments>
		<pubDate>Tue, 14 May 2013 06:53:57 +0000</pubDate>
		<dc:creator>Umesh Wanve</dc:creator>
				<category><![CDATA[McAfee Labs]]></category>
		<category><![CDATA[botnet]]></category>
		<category><![CDATA[data theft]]></category>
		<category><![CDATA[PCRat]]></category>
		<category><![CDATA[RAT]]></category>
		<category><![CDATA[Travnet]]></category>

		<guid isPermaLink="false">http://blogs.mcafee.com/?p=24677</guid>
		<description><![CDATA[The malicious binary behind the Travnet botnet has been updated. The new code has a new compression algorithm, steals the list of running processes, adds new file extensions to its list of files to steal, and has improved its control commands. Also, after the malware has uploaded the stolen files on its remote server, the <a href="http://blogs.mcafee.com/mcafee-labs/travnet-botnet-controls-victims-with-remote-admin-tool">Read more...</a>]]></description>
				<content:encoded><![CDATA[<p>The malicious binary behind the Travnet botnet has been updated. The new code has a new compression algorithm, steals the list of running processes, adds new file extensions to its list of files to steal, and has improved its control commands. Also, after the malware has uploaded the stolen files on its remote server, the bot installs the malicious PCRat remote administration tool (RAT), which can take full control of the victim’s machine. The control server and the list of file extensions are hard coded in the binary with a simple XOR key. Here is a look at the hard-coded XOR and decoded strings:</p>
<p>&nbsp;</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_xored_strings.png"><img class="aligncenter size-medium wp-image-24678" alt="travnet_xored_strings" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_xored_strings-300x85.png" width="300" height="85" /></a></p>
<p>The bot steals files with the extensions .doc, .docx, .ppt, .pptx, .xls, .xlsx, .rtf, .pdf, .dwg, .cdw, and .cdr as well as source code files such as “.c” from the victim’s machine. The three new file extensions:</p>
<ul>
<li>.dwg = used by CAD applications</li>
<li>.cdw = used by CAD applications</li>
<li>.cdr = used by CorelDraw applications</li>
</ul>
<p>The bot copies the main binary into the %TEMP% folder with the name cmss.exe, creates the startup link seruvice.lnk, and creates the mutex Assassin. The old Travnet bot used to initially steal a lot of information about a victim’s machine, but the new binary collects only the list of running processes on the system. Here is a snippet of code from the new binary:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_process_lists.png"><img class="aligncenter size-medium wp-image-24679" alt="travnet_process_lists" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_process_lists-273x300.png" width="273" height="300" /></a></p>
<p>The bot creates process.dll in the %TEMP% folder and writes all running processes in it. The malware then compresses the file data using an algorithm similar to LZSS. The bot generates its own format with the magic string “Begin” and appends the compressed data to it. This formatted data is encoded with a custom Base64 algorithm before being sent over the wire.</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/travent_get_request1.png"><img class="aligncenter size-medium wp-image-24682" alt="travent_get_request" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/travent_get_request1-300x291.png" width="300" height="291" /></a></p>
<p><b>New Algorithm</b></p>
<p>In my <a href="http://blogs.mcafee.com/mcafee-labs/travnet-botnet-steals-huge-amount-of-sensitive-data">earlier blog</a>, I wrote about the old Travnet bot&#8217;s using a variant of LZSS compression with sliding window of 65KB. The output of the compression was straightforward, reading bits from the start to the end of the full stream. The new binary modifies this algorithm, using 1,024 bytes in a sliding window and requires a fixed 10 bits to store the offset. The algorithm outputs 9 bits for a single byte (1 bit for the flag and 9 bits for literal) and 11 bits for flag and offset. The length of the match is written in a special way. To make standard decompression difficult, the bot writes the output byte in a different way by writing MSB bits into LSB bits in the output. This means you can’t treat the first bit of whole steam as a flag bit. The compression algorithm needs to maintain the previously written bits count to avoid losing all bits. Here is a look at the pseudo code for the new algorithm:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_new_algo.png"><img class="aligncenter size-medium wp-image-24684" alt="travnet_new_algo" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_new_algo-300x224.png" width="300" height="224" /></a></p>
<p>The compressed data is appended to a 15-byte custom header:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_custom_header.png"><img class="aligncenter size-medium wp-image-24686" alt="travnet_custom_header" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_custom_header-300x116.png" width="300" height="116" /></a></p>
<p>The structure of the custom format:</p>
<ul>
<li>2 bytes = compressed length</li>
<li>2 bytes = compressed length</li>
<li>5 bytes = string “Begin”</li>
<li>1 byte = space</li>
<li>4 bytes = random number</li>
<li>1 byte = space</li>
<li>…………. compressed data</li>
</ul>
<p>The preceding data is encoded with a similar custom Base64 algorithm as used previously. This data is first sent over the network to the remote server in an HTTP GET request format. The malicious control server replies with further commands. Decompressing the data using a new tool:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_tool_version2.png"><img class="aligncenter size-medium wp-image-24688" alt="travnet_tool_version2" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_tool_version2-300x153.png" width="300" height="153" /></a></p>
<p>The decompressed text now looks like this:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_decompressed_list.png"><img class="aligncenter size-medium wp-image-24690" alt="travnet_decompressed_list" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_decompressed_list-300x162.png" width="300" height="162" /></a></p>
<p>At this point, the attacker knows which processes are running on the victim’s machine. The control server instructs the bot to upload important files. The bot scans all the drives for these files and creates index.ini, which contains the newly generated name and path of filenames:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_index_ini.png"><img class="aligncenter size-medium wp-image-24692" alt="travnet_index_ini" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/travnet_index_ini-300x174.png" width="300" height="174" /></a></p>
<p>Thus the malware steals all of the important files from the victim’s machine. The new binary has only two commands, namely uninstall and upload.</p>
<p><b>PCRat </b></p>
<p>Once the victim&#8217;s data has been uploaded, the control server instructs the bot to download and install the remote admin program PCRat, a malicious tool written in Chinese. I found a copy of the PCRat builder that supports English:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/pcrat_builder.png"><img class="aligncenter size-medium wp-image-24693" alt="pcrat_builder" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/pcrat_builder-300x198.png" width="300" height="198" /></a></p>
<p>Once installed, PCRat connects to different remote control server on higher ports and sends information about the machine in encrypted format. Here is the packet capture:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/pcrat_get.png"><img class="aligncenter size-medium wp-image-24695" alt="pcrat_get" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/pcrat_get-300x82.png" width="300" height="82" /></a></p>
<p>PCRat first sends an HTTP GET request followed by encrypted data:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/pcrat_encrypt_traffic.png"><img class="aligncenter size-medium wp-image-24696" alt="pcrat_encrypt_traffic" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/pcrat_encrypt_traffic-300x153.png" width="300" height="153" /></a></p>
<p>The structure of the PCRat encrypted data:</p>
<ul>
<li>5 bytes = magic string “PCRat”</li>
<li>4 bytes = whole packet length</li>
<li>4 bytes = compressed length of data</li>
<li>… Zlib compressed data</li>
</ul>
<p><b> </b>PCRat sends some information about system. The decompressed data:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/pcrat_data.png"><img class="aligncenter size-medium wp-image-24697" alt="pcrat_data" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/pcrat_data-300x44.png" width="300" height="44" /></a></p>
<p>PCRat has many commands to control the victim’s machine:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/05/pcrat_cmmands.png"><img class="aligncenter size-medium wp-image-24699" alt="pcrat_cmmands" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/pcrat_cmmands-254x300.png" width="254" height="300" /></a></p>
<p>The MD5 hashes:</p>
<ul>
<li>Updated Binary : 8D78A9E3DF1E19F9520F2BBB5F04CB54</li>
<li>PCRat Binary: DA0C19DB8215D8CBF3D0FBA4A1A00183</li>
</ul>
<p>With the help of PCRat, the Travnet botnet takes full control of a victim’s machine. The attackers behind Travnet are very active. Not only have they updated the main binary, but they are also randomly generating the .asp files that control the bot from their control servers. We have also seen that the attackers are actively restoring previous domains that were down and .asp files so that they can continue to collect data from previously infected machines.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.mcafee.com/mcafee-labs/travnet-botnet-controls-victims-with-remote-admin-tool/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NCCDC 2013 &#8211; Red Team Recap</title>
		<link>http://blogs.mcafee.com/cto/nccdc-2013-red-team-recap</link>
		<comments>http://blogs.mcafee.com/cto/nccdc-2013-red-team-recap#comments</comments>
		<pubDate>Wed, 08 May 2013 03:34:22 +0000</pubDate>
		<dc:creator>Jim Walter</dc:creator>
				<category><![CDATA[CTO]]></category>
		<category><![CDATA[Data Protection]]></category>
		<category><![CDATA[McAfee Labs]]></category>
		<category><![CDATA[Network Security]]></category>
		<category><![CDATA[Public Sector]]></category>
		<category><![CDATA[Security Connected]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[anti-virus]]></category>
		<category><![CDATA[critical infrastructure]]></category>
		<category><![CDATA[Cybercrime]]></category>
		<category><![CDATA[global threat intelligence]]></category>
		<category><![CDATA[internet security]]></category>
		<category><![CDATA[labs]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[McAfee]]></category>
		<category><![CDATA[NCCDC]]></category>
		<category><![CDATA[Red Team]]></category>
		<category><![CDATA[Risk and Compliance]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blogs.mcafee.com/?p=24545</guid>
		<description><![CDATA[&#160; &#160; &#160; &#160; &#160; This past April (4/19 to 4/21) I had the great pleasure and experience of joining the Red Team at 9th NCCDC competition.   It was actually my 2nd year on the Red Team and 4th year to attend in total (I judged in 2010 and 2011).  McAfee is actually a perpetual <a href="http://blogs.mcafee.com/cto/nccdc-2013-red-team-recap">Read more...</a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://blogs.mcafee.com/cto/nccdc-2013-red-team-recap/attachment/nccdc" rel="attachment wp-att-24552"><br />
<img class="size-full wp-image-24552 alignright" alt="nccdc" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/nccdc.gif" width="300" height="133" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>This past April (4/19 to 4/21) I had the great pleasure and experience of joining the Red Team at 9<sup>th</sup> <a title="http://www.nationalccdc.org/" href="http://www.nationalccdc.org/" target="_blank">NCCDC competition</a>.   It was actually my 2<sup>nd</sup> year on the Red Team and 4<sup>th</sup> year to attend in total (I judged in 2010 and 2011).  McAfee is actually a perpetual sponsor of this event.  That being said, I have my own selfish agenda when I attend.</p>
<p>Joining in as part of the Red Team is, by far, on of the most educational experiences I could possibly put myself in.   Not only are you tossed into a room w/ folks like Mubix, Vyrus, Raphael Mudge, and others – but also you are on a limited schedule and from the time that the competition starts it’s heated and non-stop.</p>
<p>The general strategy this year was to lay down all our toys and persistence (backdoors, beacons, RATs and other tools) on Day 1.   We made very little noise, hoping that the competing teams would gain a false sense of confidence and not notice our presence on their systems.   This way on Day 2 when the chaos commences, and the teams choose to just ‘restore from backup’ or ‘revert snapshots’ and the like, they end up restoring all our persistent tools and we retain access and ownership.</p>
<p><div id="attachment_24547" class="wp-caption alignleft" style="width: 310px"><a href="http://blogs.mcafee.com/cto/nccdc-2013-red-team-recap/attachment/jim_darkcomet_console1" rel="attachment wp-att-24547"><img class="size-medium wp-image-24547" alt="DarkComet Client Console" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Jim_DarkComet_Console1-300x183.png" width="300" height="183" /></a><p class="wp-caption-text">DarkComet Client Console</p></div></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>And . . . .. . It worked!</strong></p>
<p>&nbsp;</p>
<p>Different individuals on the Red Team had their unique tools and methods to gain and retain access and unset the teams’ activities.   As the McAfee guy, I choose to rely on some old, tried and true (and very accessible RATs).  Most of my activities centered on the use of DarkComet and, to a far lesser degree, DNA.</p>
<p>&nbsp;</p>
<p><div id="attachment_24550" class="wp-caption alignleft" style="width: 310px"><a href="http://blogs.mcafee.com/cto/nccdc-2013-red-team-recap/attachment/jim_remote_view_1" rel="attachment wp-att-24550"><img class="size-medium wp-image-24550 " alt="RAT Remote Process View" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Jim_remote_view_1-300x195.png" width="300" height="195" /></a><p class="wp-caption-text">RAT Remote Process View</p></div></p>
<p>My philosophy was driven by two primacy goals.   First, I know these things work realllllllllly well.  And with these RATs on the box, I can control and own everything.  Second, and possibly more interesting, is that if these tools work, I know that the teams are not putting any effort into installing/deploying even the most basic endpoint/host-based AV solutions.   This is especially intriguing because, as a sponsor, McAfee provided the competition with our software.   I purposely did NOT do any crypting/packing/obfuscation on the RATs I generated.   I know that McAfee (and just about all other) vendors DID detect these things.  Yet, I still managed to install and persist on most of the hosts that I deployed to (deployed via Cobalt Strike btw).</p>
<p>When the competition was over, I chatted with a few competitors, and mentioned this fact.  I immediately saw the gears start turning.  I could tell they had a real “Ahhhh we should have done that” moment.  Not to mention, that McAfee (and others) detect meterpreter/MSF listeners and Trojans as malware/PUPs.  Those could have been curtailed as well.</p>
<p>Each year, the teams have to setup, maintain, and safeguard an environment for a faux company/entity.  This year the teams were tasked with tasked with the environment of a Correctional Institute.   This includes databases for tracking the whereabouts of prisoners, an e-commerce site for a prisoner commissary, and more.  From the Red Team perspective, this gives us some of our big bets for getting points deducted from the teams.   For example if you kill/mangle/destroy the database for tracking prisoner and personnel, that’s one of the high point items.   After all, they don’t want an IT issue to allow prisoners to go unaccounted for or escape, etc.   Other hot items include public web site defacement and acquisition of PII (personally identifiable information).  For added fun, many of us defaced the web sites by posting the company’s PII for all to see.</p>
<p><div id="attachment_24548" class="wp-caption alignleft" style="width: 727px"><a href="http://blogs.mcafee.com/cto/nccdc-2013-red-team-recap/attachment/jim_defaced_team_9_1" rel="attachment wp-att-24548"><img class=" wp-image-24548 " alt="Defaced with PII" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Jim_defaced_team_9_1-1024x608.png" width="717" height="426" /></a><p class="wp-caption-text">Defaced with PII</p></div></p>
<p>&nbsp;</p>
<p>All and all it was a fantastic experience.   I look forward to future activities with this competition.</p>
<p>UTSA shot a documentary this year.  I’ll post details on that once it’s released.    However, if you’d like to get some really detailed info, Hak5 released a documentary filmed at the 2012 event.   It features great interviews and ‘behind the scenes’ Red Team action.   I’m not interviewed, but you can see the top of my head in a couple shots!!</p>
<p><div id="attachment_24551" class="wp-caption alignleft" style="width: 1034px"><a href="http://blogs.mcafee.com/cto/nccdc-2013-red-team-recap/attachment/jimhead" rel="attachment wp-att-24551"><img class="size-large wp-image-24551" alt="Hak5 Doc - Jim's Head" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/jimhead-1024x632.jpg" width="1024" height="632" /></a><p class="wp-caption-text">Hak5 Doc &#8211; Jim&#8217;s Head</p></div></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="Hak5 NCCDC Documentary" href="http://hak5.org/episodes/hak5-1118" target="_blank">2012 Hak5 Documentary</a></p>
<p>Additional Blogs on NCCDC 2013</p>
<ul>
<li>David Cowen - <a id="resultURL" href="http://mcaf.ee/wid10" target="_blank">http://mcaf.ee/wid10</a></li>
<li>Raphael Mudge - <a id="resultURL" href="http://mcaf.ee/ageor">http://mcaf.ee/ageor</a></li>
<li>Alex Levinson - <a id="resultURL" href="http://mcaf.ee/limh1">http://mcaf.ee/limh1</a></li>
</ul>
<p>NCCDC 2013 Red Team Brief - <a id="resultURL" href="http://mcaf.ee/uodvk">http://mcaf.ee/uodvk</a></p>
<p><b>Bonus</b>:   We recently did our 2<sup>nd</sup> AudioParasitics episode with the great Raphael Mudge.   This time we have a full and glorious video demo of Cobalt Strike in action.  We actually walk though scenarios and give you details on how some of these Red Team activities actually occur.</p>
<p>AudioParasitics Episode 141 (video) - <a id="resultURL" href="http://mcaf.ee/gep69">http://mcaf.ee/gep69</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.mcafee.com/cto/nccdc-2013-red-team-recap/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emerging &#8216;Stack Pivoting&#8217; Exploits Bypass Common Security</title>
		<link>http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security</link>
		<comments>http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security#comments</comments>
		<pubDate>Mon, 06 May 2013 20:38:18 +0000</pubDate>
		<dc:creator>Peter Szor</dc:creator>
				<category><![CDATA[McAfee Labs]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe Reader]]></category>
		<category><![CDATA[APSA13-02]]></category>
		<category><![CDATA[ASLR]]></category>
		<category><![CDATA[CVE-2013-0640]]></category>
		<category><![CDATA[CVE-2013-0641]]></category>
		<category><![CDATA[DEP]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[return-oriented programming]]></category>
		<category><![CDATA[ROP]]></category>
		<category><![CDATA[stack pivoting]]></category>

		<guid isPermaLink="false">http://blogs.mcafee.com/?p=24435</guid>
		<description><![CDATA[[This blog was primarily written by Xiaoning Li of Intel Labs, with assistance from Peter Szor of McAfee Labs.] In February 2013, the Adobe Product Security Incident Response Team (PSIRT) released security advisory APSA13-02. In that report they listed two vulnerabilities (CVE-2013-0640 and CVE-2013-0641) that were widely exploited. At Intel Labs and McAfee Labs we <a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security">Read more...</a>]]></description>
				<content:encoded><![CDATA[<p>[This blog was primarily written by Xiaoning Li of Intel Labs, with assistance from Peter Szor of McAfee Labs.]</p>
<p>In February 2013, the Adobe Product Security Incident Response Team (PSIRT) released <a href="http://blogs.adobe.com/psirt/2013/02/security-advisory-for-adobe-reader-and-acrobat-apsa13-02.html">security advisory APSA13-02. </a>In that report they listed two vulnerabilities (CVE-2013-0640 and CVE-2013-0641) that were widely exploited. At Intel Labs and McAfee Labs we ran some further analysis of these exploits and want to share some of the interesting details we discovered.</p>
<p>Based on information from the PSIRT, both vulnerabilities will impact all versions of Adobe Reader from 9.x to 11.x. (Some Acrobat versions are also vulnerable.) We verified this claim and found the sample affected all of them.</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop1" rel="attachment wp-att-24441"><img class="alignnone size-full wp-image-24441" alt="Szor ROP1" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP1.jpg" width="550" height="76" /></a></p>
<p><b>Attack Path</b></p>
<p>The exploit is spread by a malicious PDF file. When Reader opens the PDF file, it will trigger the vulnerability and start the exploit. This PDF file delivers a very complex attack, bypassing the current Adobe sandbox mechanism to launch the malware.</p>
<p>This flow shows the basic steps for the attack path:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop2" rel="attachment wp-att-24442"><img class="alignnone size-full wp-image-24442" alt="Szor ROP2" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP2.jpg" width="576" height="124" /></a></p>
<p>The files D.T and L2P.T are DLLs in a sandboxed temp path, as in the following:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop3" rel="attachment wp-att-24443"><img class="alignnone size-full wp-image-24443" alt="Szor ROP3" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP3.jpg" width="473" height="148" /></a></p>
<p>A new PDF is created in the normal temp path:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop4" rel="attachment wp-att-24444"><img class="alignnone size-full wp-image-24444" alt="Szor ROP4" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP4.jpg" width="580" height="268" /></a></p>
<p>The new PDF, Visaform Turkey, will appear to hide the exploitation. The exploit uses a lot of memory in the background.</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop5" rel="attachment wp-att-24445"><img class="alignnone size-full wp-image-24445" alt="Szor ROP5" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP5.jpg" width="494" height="317" /></a></p>
<p>&nbsp;</p>
<p><b>First Exploit </b></p>
<p>The PDF’s first exploit uses a heap overflow to overwrite a virtual function pointer, and also uses a memory information leak to bypass the address space layout randomization (ASLR) protection in Windows. Return-oriented programming is used to bypass data execution prevention (DEP).</p>
<p>Let’s sidetrack for a moment and look at two definitions: <b><i>Return-oriented programming</i></b> (ROP) is an exploit technique in which an attacker controls the call stack to indirectly execute arbitrary intended or unintended code to deliver an attack, thereby bypassing security features such as DEP. <b><i>Stack pivoting</i></b> is a common technique used by ROP-based exploits. Pointing the stack pointer to an attacker-owned buffer, such as the heap, will provide more flexibility for the attacker to carry out a complex ROP exploit.</p>
<p>Here’s how the exploit works from the first trigger point. The vulnerability is in AcroForm.api. After the exploit prepares customized stack data on the heap, the data triggers the exploit via following instructions in AcroForm.api.</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop6" rel="attachment wp-att-24446"><img class="alignnone size-full wp-image-24446" alt="Szor ROP6" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP6.jpg" width="579" height="76" /></a></p>
<p>With a modified virtual function pointer, the instruction calls into a special ROP gadget, which will start pivoting.</p>
<p>The address for the first gadget is 0x209b9f50. Here’s the original code:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop7" rel="attachment wp-att-24447"><img class="alignnone size-full wp-image-24447" alt="Szor ROP7" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP7.jpg" width="580" height="114" /></a></p>
<p>But if we decode from 0x209b9f50, the code piece looks like what follows. This is the ROP gadget for stack pivoting:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop8" rel="attachment wp-att-24448"><img class="alignnone size-full wp-image-24448" alt="Szor ROP8" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP8.jpg" width="413" height="173" /></a></p>
<p>Now the stack points to a fake stack in the heap. The code log in a debugger at runtime looks like this:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop9" rel="attachment wp-att-24449"><img class="alignnone size-full wp-image-24449" alt="Szor ROP9" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP9.jpg" width="580" height="175" /></a></p>
<p>Once the customized stack works, it will start more ROP gadgets. When the next Ret instruction is called, the stack looks like this:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop10" rel="attachment wp-att-24450"><img class="alignnone size-full wp-image-24450" alt="Szor ROP10" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP10.jpg" width="579" height="195" /></a></p>
<p>What’s the instruction for 0x6acc1049? It is offset 0&#215;1049 from AcroForm.api because 0x6acc00 is the base address for the target module. Here is the unintended ROP gadget again:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop11" rel="attachment wp-att-24451"><img class="alignnone size-full wp-image-24451" alt="Szor ROP11" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP11.jpg" width="578" height="76" /></a></p>
<p>The decoded ROP gadget is just a Ret instruction:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop12" rel="attachment wp-att-24452"><img class="alignnone size-full wp-image-24452" alt="Szor ROP12" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP12.jpg" width="580" height="84" /></a></p>
<p>It will repeat from stack 0x11849a34 to stack 0x1184beb4, a whopping 9,344 (0&#215;2480) times!</p>
<p>Let’s see what the stack content is now:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop13" rel="attachment wp-att-24453"><img class="alignnone size-full wp-image-24453" alt="Szor ROP13" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP13.jpg" width="236" height="136" /></a></p>
<p>The next gadget will move the esp register to esi. It will control the stack itself.</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop14" rel="attachment wp-att-24454"><img class="alignnone size-full wp-image-24454" alt="Szor ROP14" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP14.jpg" width="289" height="90" /></a></p>
<p>The gadget still includes lots of return addresses with repeated patterns, such as these:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop15" rel="attachment wp-att-24455"><img class="alignnone size-full wp-image-24455" alt="Szor ROP15" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP15.jpg" width="403" height="40" /></a></p>
<p>With related code pieces:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop16" rel="attachment wp-att-24456"><img class="alignnone size-full wp-image-24456" alt="Szor ROP16" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP16.jpg" width="382" height="52" /></a></p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop17" rel="attachment wp-att-24457"><img class="alignnone size-full wp-image-24457" alt="Szor ROP17" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP17.jpg" width="361" height="52" /></a></p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop18" rel="attachment wp-att-24458"><img class="alignnone size-full wp-image-24458" alt="Szor ROP18" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP18.jpg" width="419" height="87" /></a></p>
<p>So the logic will write target memory with values in the ecx register. The same pattern will repeat many times to modify 0x6b55e001, which is the beginning of the data section of AcroForm.api.</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop19" rel="attachment wp-att-24459"><img class="alignnone size-full wp-image-24459" alt="Szor ROP19" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP19.jpg" width="314" height="339" /></a></p>
<p>The data from 0x6b55e001 to 0x6b55e04e is modified and writes several API/DLL names into the area of 0x6b55e001:</p>
<ul>
<li>GetTempPathA</li>
<li>Fwrite</li>
<li>Wb</li>
<li>CryptStringToBinaryA</li>
<li>Ntdll</li>
<li>RtlDecompressBuffer</li>
<li>Wcsstr</li>
</ul>
<p>These strings are later used as parameters, during ROP-based API calls. After writing these strings into the data section, the ROP code continues with the following gadgets:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop20" rel="attachment wp-att-24460"><img class="alignnone size-full wp-image-24460" alt="Szor ROP20" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP20.jpg" width="253" height="75" /></a></p>
<p>We can list the first piece of an ROP gadget step by step. The following code moves [esp] to ecx:</p>
<p style="padding-left: 30px;">                                                                  <strong>6b218551</strong></p>
<p style="padding-left: 30px;"><strong>1184c074  cccc0240 6b022c74 6b19567b 6ad6ed72</strong></p>
<p style="padding-left: 30px;"><strong>1184c084  6b19567b 6b237664</strong></p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b218551 58              pop     eax</p>
<p style="padding-left: 30px;">6b218552 c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b022c74 0fb7c0       movzx   eax,ax</p>
<p style="padding-left: 30px;">6b022c77 c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b19567b 97              xchg    eax,edi</p>
<p style="padding-left: 30px;">6b19567c c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6ad6ed72 01f7           add     edi,esi</p>
<p style="padding-left: 30px;">6ad6ed74 c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b19567b 97              xchg    eax,edi</p>
<p style="padding-left: 30px;">6b19567c c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b237664 91              xchg    eax,ecx</p>
<p style="padding-left: 30px;">6b237665 c3              ret</p>
<p>The following code moves the pointer to eax, and then writes [eax] with the previous value in ecx:</p>
<p style="padding-left: 30px;"><strong>                                                    6b218551 cccc023c</strong></p>
<p style="padding-left: 30px;"><strong>1184c094  6b022c74 6b19567b 6ad6ed72 6b1d943b</strong></p>
<p style="padding-left: 30px;"><strong>1184c0a4  6b16d51a</strong></p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b218551 58              pop     eax</p>
<p style="padding-left: 30px;">6b218552 c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b022c74 0fb7c0       movzx   eax,ax</p>
<p style="padding-left: 30px;">6b022c77 c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b19567b 97              xchg    eax,edi</p>
<p style="padding-left: 30px;">6b19567c c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6ad6ed72 01f7           add     edi,esi</p>
<p style="padding-left: 30px;">6ad6ed74 c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b1d943b 57              push    edi</p>
<p style="padding-left: 30px;">6b1d943c 58              pop     eax</p>
<p style="padding-left: 30px;">6b1d943d c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b16d51a 8908          mov     dword ptr [eax],ecx</p>
<p style="padding-left: 30px;">6b16d51c c3              ret</p>
<p>The following code gets the LoadLibraryA() API pointer from the import table:</p>
<p style="padding-left: 30px;"><strong>1184c0a4                                                        6b218551 6b32b234 6b1d92ac</strong></p>
<p style="padding-left: 30px;">6b218551 58              pop     eax</p>
<p style="padding-left: 30px;">6b218552 c3              ret</p>
<p style="padding-left: 30px;">6b1d92ac ff10            call    dword ptr [eax]</p>
<p style="padding-left: 30px;">6b1d92ae c3               ret</p>
<p>At this point, the stack keeps the parameter for LoadLibraryA(). This is actually a string for MSVCR100.dll in the “idata” section.</p>
<p>Once the MSVCR100.dll handle is available via LoadLibraryA(), the following code writes the handle to the target address in the heap (actually the fake stack), which is used to call GetProcAddress() as the first parameter. The address is 0x1184c0e4.</p>
<p style="padding-left: 30px;"><strong>1184c0b4                   6b237664 6b218551 cccc022c</strong></p>
<p style="padding-left: 30px;"><strong>1184c0c4  6b022c74 6b19567b 6ad6ed72 6b1d943b</strong></p>
<p style="padding-left: 30px;"><strong>1184c0d4  6b16d51a</strong></p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b237664 91              xchg    eax,ecx</p>
<p style="padding-left: 30px;">6b237665 c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b218551 58              pop     eax</p>
<p style="padding-left: 30px;">6b218552 c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b022c74 0fb7c0       movzx   eax,ax</p>
<p style="padding-left: 30px;">6b022c77 c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b19567b 97              xchg    eax,edi</p>
<p style="padding-left: 30px;">6b19567c c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6ad6ed72 01f7           add     edi,esi</p>
<p style="padding-left: 30px;">6ad6ed74 c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b1d943b 57              push    edi</p>
<p style="padding-left: 30px;">6b1d943c 58              pop     eax</p>
<p style="padding-left: 30px;">6b1d943d c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b16d51a 8908          mov     dword ptr [eax],ecx</p>
<p style="padding-left: 30px;">6b16d51c c3              ret</p>
<p>Next the process calls the following gadgets to get function pointers for the wcsstr function. The first parameter is a DLL handle received from previous gadgets.</p>
<p style="padding-left: 30px;"><strong>1184c0d4                    6b218551 6b32b1ec 6b1d92ac</strong></p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b218551 58              pop     eax</p>
<p style="padding-left: 30px;">6b218552 c3              ret</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6b1d92ac ff10            call    dword ptr [eax]</p>
<p style="padding-left: 30px;">6b1d92ae c3              ret</p>
<p>Now it’s time to call the function with the jmp eax gadget.</p>
<p style="padding-left: 30px;"><strong>1184c0e4                     6acce598</strong></p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">6acce598 ffe0            jmp     eax {MSVCR100!wcsstr (6c5f20f1)}</p>
<p>Here the code searches for the string “MODULE” from the heap or the fake stack. There is a long string in the heap following the “MODULE” signature. This is the encoded and compressed DLL D.T. With more gadgets, the code calls CryptStringToBinaryA() to convert this string to binary, and then calls RtlDecompressBuffer() to decompress the binary to the real D.T binary code in memory.</p>
<p>Similar ROP gadgets get ntdll.dll and related API addresses, for example, RtlDecompressBuffer() and CryptStringToBinaryA(). Finally, the ROP gadget calls GetTempPathA() to get the current temp path, the sandboxed path. It will create D.T under this path and call LoadLibraryA() to run the D.T. module.</p>
<p>D.T creates two threads. One shows error messages. The second creates and loads the DLL L2P.T, which exploits the second vulnerability to load L2P.T into a nonsandboxed acrord32 process. Finally this process terminates.</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop21" rel="attachment wp-att-24461"><img class="alignnone size-full wp-image-24461" alt="Szor ROP21" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP21.jpg" width="365" height="184" /></a></p>
<p>&nbsp;</p>
<p><b>Second Exploit</b></p>
<p>The second exploit triggers the vulnerability at acrord32.exe:</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop22" rel="attachment wp-att-24462"><img class="alignnone size-full wp-image-24462" alt="Szor ROP22" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP22.jpg" width="543" height="42" /></a></p>
<p>Due to a heap overflow, the eax register calls to the stack-pivoting ROP gadget.</p>
<p><a href="http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/attachment/szor-rop23" rel="attachment wp-att-24440"><img class="alignnone size-full wp-image-24440" alt="Szor ROP23" src="http://blogs.mcafee.com/wp-content/uploads/2013/05/Szor-ROP23.jpg" width="471" height="117" /></a></p>
<p>A few more ROP gadgets after stack pivoting load L2P.T in the same process. L2P.T creates another DLL, langbar.dll, which downloads the rest of the malware.</p>
<p><b>No Shell</b></p>
<p>After we reviewed all of the exploit code and corresponding ROP, we found that this exploit does not use any traditional shellcode. All API calls use the fake stack from the stack pivoting.</p>
<p><b>Mitigation </b></p>
<p>Stack pivoting is a very common technique to allow an exploit to run powerful gadgets with a fake stack. For this kind of complex case, it’s very hard to create a customized stack within the real stack instead of within a fake stack. Once an exploit can do stack pivoting, it can bypass different defense mechanisms. Evolving security solutions need to address this attack pattern. Stack pivoting creates a very complex ROP attack and is a good example of how exploitation techniques continue to evolve. This successful exploit bypasses both Adobe client security features and basic Windows DEP and ASLR defenses.</p>
<p>We thank our colleagues Haifei Li, Bing Sun, Xiaobo Chen, and Chong Xu for their help with this analysis.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.mcafee.com/mcafee-labs/emerging-stack-pivoting-exploits-bypass-common-security/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tracking PDF Usage Poses a Security Problem</title>
		<link>http://blogs.mcafee.com/mcafee-labs/tracking-pdf-usage-poses-a-security-problem</link>
		<comments>http://blogs.mcafee.com/mcafee-labs/tracking-pdf-usage-poses-a-security-problem#comments</comments>
		<pubDate>Fri, 26 Apr 2013 23:18:19 +0000</pubDate>
		<dc:creator>Haifei Li</dc:creator>
				<category><![CDATA[McAfee Labs]]></category>
		<category><![CDATA[0 day vulnerability]]></category>
		<category><![CDATA[Adobe Reader]]></category>
		<category><![CDATA[Advanced Persistent Threat]]></category>
		<category><![CDATA[APT]]></category>
		<category><![CDATA[detection]]></category>
		<category><![CDATA[email tracking service]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[tracking usage]]></category>
		<category><![CDATA[Zero-Day]]></category>

		<guid isPermaLink="false">http://blogs.mcafee.com/?p=24235</guid>
		<description><![CDATA[Update on May 2 Adobe has confirmed this vulnerability and has scheduled a patch release for May 14. &#160; Looking back this year&#8217;s RSA Conference, you might have the feeling that the current threat landscape is primarily a series of advanced attacks. This concept includes well-known advanced persistent threats (APTs) and zero-day vulnerability exploits. To <a href="http://blogs.mcafee.com/mcafee-labs/tracking-pdf-usage-poses-a-security-problem">Read more...</a>]]></description>
				<content:encoded><![CDATA[<p><strong>Update on May 2</strong></p>
<p><em>Adobe <a href="http://blogs.adobe.com/psirt/2013/05/adobe-reader-and-acrobat-information-leakage-issue.html">has confirmed this</a> vulnerability and has scheduled a patch release for May 14.</em></p>
<p>&nbsp;</p>
<p>Looking back this year&#8217;s RSA Conference, you might have the feeling that the current threat landscape is primarily a series of advanced attacks. This concept includes well-known advanced persistent threats (APTs) and zero-day vulnerability exploits. To respond to this trend in threats, McAfee Labs has launched several innovative projects, one of which we call the advanced exploit detection system (AEDS). The AEDS is based on our in-depth understanding of application security, which comes from our long-term cutting-edge research efforts. We have already seen some interesting results that reflect the effectiveness of the project.</p>
<p>Recently, we detected some unusual PDF samples. After some investigation, we successfully identified that the samples are exploiting an unpatched security issue in every version of Adobe Reader including the latest &#8220;sandboxed&#8221; Reader XI (11.0.2). Although the issue is not a serious problem (such as allowing code execution), it does let people track the usage of a PDF. Specifically, it allows the sender to see when and where the PDF is opened.</p>
<p><b>The vulnerability</b></p>
<p>When a specific PDF JavaScript API is called with the first parameter having a UNC-located resource, Adobe Reader will access that UNC resource. However, this action is normally blocked and creates a warning dialog asking for permission, such as we see below:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/pdf_track_of_usage1.png"><img class="alignnone size-full wp-image-24236" alt="pdf_track_of_usage1" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/pdf_track_of_usage1.png" width="427" height="191" /></a></p>
<p>The danger is that if the second parameter is provided with a special value, it changes the API&#8217;s behavior. In this situation, if the UNC resource exists, we see the warning dialog. However, if the UNC resource does not exist, the warning dialog will not appear even though the TCP traffic has already gone.</p>
<p>The following screen capture shows the outgoing traffic:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/pdf_track_of_usage2.png"><img class="alignnone size-full wp-image-24237" alt="pdf_track_of_usage2" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/pdf_track_of_usage2.png" width="767" height="165" /></a></p>
<p><b>How does this affect users?</b></p>
<p>Is this a serious problem? No, we don&#8217;t want to overvalue the issue. However, we do consider this issue a security vulnerability. Considering this, we have reported the issue to Adobe and we are waiting for their confirmation and a future patch. We are also hiding the key details of the vulnerability to protect Reader users. We may update this post at some point after we see a patch from Adobe.</p>
<p>Some people might leverage this issue just out of curiosity to know who has opened their PDF documents, but others won&#8217;t stop there. An APT attack usually consists of several sophisticated steps. The first step is often collecting information from the victim; this issue opens the door. Malicious senders could exploit this vulnerability to collect sensitive information such as IP address, Internet service provider, or even the victim&#8217;s computing routine. In addition, our analysis suggests that more information could be collected by calling various PDF JavaScript APIs. For example, the document’s location on the system could be obtained by calling the JavaScript &#8220;this.path&#8221; value.</p>
<p><b>Who is exploiting this issue?</b></p>
<p>We have detected some PDF samples in the wild that are exploiting this issue. Our investigation shows that the samples were made and delivered by an &#8220;email tracking service&#8221; provider. We don&#8217;t know whether the issue has been abused for illegal or APT attacks.</p>
<p><b>Conclusion and protection</b></p>
<p>This interesting case highlights the point that privacy protection is a part of security. It shows that we can form different opinions depending on our goals (such as security protection vs. email tracking service).</p>
<p>This case also demonstrates that we need to constantly explore methods of detection because these examples won’t trigger memory corruption or code execution. Some of the most advanced detection technologies in the industry failed to detect them. We are happy to see that our AEDS is filling the gap.</p>
<p>Until Adobe creates a patch, Reader users should consider disabling JavaScript in Reader.</p>
<p>&nbsp;</p>
<p><i>Thanks to my colleagues Bing Sun, Xiaobo Chen, and Chong Xu for their help with this investigation.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.mcafee.com/mcafee-labs/tracking-pdf-usage-poses-a-security-problem/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Travnet Botnet Steals Huge Amount of Sensitive Data</title>
		<link>http://blogs.mcafee.com/mcafee-labs/travnet-botnet-steals-huge-amount-of-sensitive-data</link>
		<comments>http://blogs.mcafee.com/mcafee-labs/travnet-botnet-steals-huge-amount-of-sensitive-data#comments</comments>
		<pubDate>Wed, 24 Apr 2013 00:25:28 +0000</pubDate>
		<dc:creator>Umesh Wanve</dc:creator>
				<category><![CDATA[McAfee Labs]]></category>
		<category><![CDATA[botnet]]></category>
		<category><![CDATA[data theft]]></category>
		<category><![CDATA[Travnet]]></category>

		<guid isPermaLink="false">http://blogs.mcafee.com/?p=24123</guid>
		<description><![CDATA[In a McAfee Labs blog by my colleague Vikas Taneja last month, he discussed high-level functioning in the malware Travnet. Since then we have continued to analyze different samples and now classify Travnet as a botnet rather than a Trojan because of the presence of control code, and the malware&#8217;s ability to wait for further <a href="http://blogs.mcafee.com/mcafee-labs/travnet-botnet-steals-huge-amount-of-sensitive-data">Read more...</a>]]></description>
				<content:encoded><![CDATA[<p>In a <a href="http://blogs.mcafee.com/mcafee-labs/travnet-trojan-could-be-part-of-apt-campaign">McAfee Labs blog </a>by my colleague Vikas Taneja last month, he discussed high-level functioning in the malware Travnet. Since then we have continued to analyze different samples and now classify Travnet as a botnet rather than a Trojan because of the presence of control code, and the malware&#8217;s ability to wait for further commands from the malicious control server.</p>
<p>The Travnet bot not only steals sensitive information from a victim’s machine; it also steals document files. Generally speaking, we store most of our sensitive information in Office files, PDFs, etc. Using data compression and data-encoding methods allows Travnet to steal huge amount of data including large files.</p>
<p>The bot at first gathers sensitive information about victim’s machine. Then searches for document files (doc, docx, xls, xlsx, txt, rtf, pdf). Here is snippet of code:<a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Travnet_source.png"><img class="aligncenter size-medium wp-image-24124" alt="Travnet_source" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Travnet_source-300x268.png" width="300" height="268" /></a></p>
<p>The preceding code includes computer name, IP address, username, operating system, list of running processes, IP config details, and information about different accounts present on the system. The malware creates the file system_t.dll to store this information in plain text. It also creates the file travelbackinfo-(SystemTime).dll, which will be used in an HTTP GET request.</p>
<p>The data stored in the file can be huge, depending upon running processes and IP config details. The bot will use data compression and encoding methods to send the sensitive data to a remote server. The packet capture looks like this:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Travnet_GET_Request.png"><img class="aligncenter size-medium wp-image-24125" alt="Travnet_get_Request" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Travnet_GET_Request-300x130.png" width="300" height="130" /></a></p>
<p>The bot sends the stolen data with the parameter “&amp;filetext,” which starts with “begin::.” But the compressed file can be too big to send over the HTTP, so the bot sends the compressed file in chunks of 1,024 bytes. To track this, it uses the parameter “&amp;filestart.” The bot appends the string “::end” to signal the end of the file.</p>
<p><b>Data compression and encoding techniques</b></p>
<p>The bot processes the original data in two passes:</p>
<ul>
<li>In the first pass, it uses a data compression method similar to <a href="http://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Storer%E2%80%93Szymanski">LZSS</a> (Lempel–Ziv–Storer–Szymanski) to compress the original data</li>
<li>In the second pass, it encodes the compressed data using custom Base64</li>
</ul>
<p><b>First pass data compression<br />
</b></p>
<p>The bot&#8217;s data compression maintains a dictionary (a sliding window) of previously seen data that is similar to data compression with LZSS.</p>
<p>The bot uses a similar method to maintain a large sliding window size (to achieve a high compression ratio) but outputs variable-length “Length- Offset” pairs (the number of bits required to represent the number). We have not seen yet any references or implementation that outputs variable lengths and variable offsets, so for now we will call this method a variant of the LZSS data compression algorithm.</p>
<p>The bot starts compression by reading original data in chunks of 65,536 bytes (so it has to maintain sliding windows of this size). The final output of compression will be in chunks following this format:</p>
<p>Original Length (2 bytes) + Compressed Length (2 bytes) + Compressed Data</p>
<p>This method achieves a high compression ratio and reduces the size of the original data, allowing the bot to upload large files on the remote server. The decompression process is very easy to write because it does not need to search for the longest match but needs only to take care of variable-length values.</p>
<p><b>Second pass custom Base64 encoding</b></p>
<p>The Travnet bot uses custom Base64 encoding to encode the compressed binary data. The key and character set used in standard Base64 is “ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&#8221; with “=” used for padding; the key used by the bot is &#8220;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-/&#8221; with “*” used for padding.</p>
<p>We wrote a small tool to decompress the data stolen by Travnet.</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/travnet_tool.png"><img class="aligncenter size-medium wp-image-24128" alt="travnet_tool" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/travnet_tool-300x156.png" width="300" height="156" /></a></p>
<p>As we look at the output, we see the size of the decompressed file (the original data) is much higher than that of the compressed file. Let’s now look the decompressed data:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Travnet_decompressed_data1.png"><img class="aligncenter size-medium wp-image-24132" alt="Travnet_decompressed_data" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Travnet_decompressed_data1-300x291.png" width="300" height="291" /></a></p>
<p>The preceding is the original data stolen from the victim’s machine. Interestingly, the unreadable characters in the decompressed file are in Chinese. While writing the sensitive information in a DLL file, the bot writes some hardcoded strings that are in Chinese. If we convert those strings to English, here is how the file looks:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Travnet_chinese_converted_data.png"><img class="aligncenter size-medium wp-image-24134" alt="Travnet_chinese_converted_data" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Travnet_chinese_converted_data-300x97.png" width="300" height="97" /></a></p>
<p><b>Stealing files</b></p>
<p>The bot doesn’t stop; it steals more data. Next we see the functions called by the bot:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Travnet_send_files.png"><img class="aligncenter size-medium wp-image-24139" alt="Travnet_send_files" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Travnet_send_files-300x115.png" width="300" height="115" /></a></p>
<p>The bot will send the following:</p>
<ul>
<li>A file containing lists of all filenames on the system drives</li>
<li>All files that have doc, docx, xls, xlsx, txt, rtf, and pdf extensions</li>
<li>All files from victim’s desktop</li>
</ul>
<p>Once it sends all the files to the remote server, the bot will go into sleep mode and wait for further commands.</p>
<p><b>Server commands<br />
</b></p>
<ul>
<li>UNINSTALL</li>
<li>UPDATE</li>
<li>RESET</li>
<li>UPLOAD</li>
</ul>
<p>Next we see a command from the server telling the bot to upload more data:<a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Travnet_cnc_command.png"><img class="aligncenter size-medium wp-image-24137" alt="Travnet_cnc_command" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Travnet_cnc_command-300x136.png" width="300" height="136" /></a></p>
<p>Although the botnet uses a simple mechanism to infect and steal information, a few elements make a Travnet botnet unique:</p>
<ul>
<li>Using lossless data compression to steal large data files</li>
<li>Stealing documents files with extensions doc, docx, xls, xlsx, txt, rtf, and pdf</li>
<li>Stealing all files on the system drives</li>
</ul>
<p>These unique features and the presence of Chinese strings lead us to conclude that the Travnet botnet may be a targeted attack for stealing sensitive data. We suspect the attackers are using the initial data&#8211;computer information, IP’s&#8211;to steal sensitive data from a particular group or identity. We also believe that the data uploaded to malicious severs is actively monitored by the attackers. We have found new domains registered to carry out the attack. We believe that huge amounts of data have been stolen from victims whose machines were infected with Travnet.</p>
<p>I would like to thank my colleagues Vikas Taneja, Anil Aphale, Arunpreet Singh, and Subrat Sarkar for their research and assistance.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.mcafee.com/mcafee-labs/travnet-botnet-steals-huge-amount-of-sensitive-data/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cybercriminals Exploit News of Boston Marathon Bombing, Texas Fertilizer Plant Explosion</title>
		<link>http://blogs.mcafee.com/mcafee-labs/cybercriminals-exploit-news-of-boston-marathon-bombing-texas-fertilizer-plant-explosion</link>
		<comments>http://blogs.mcafee.com/mcafee-labs/cybercriminals-exploit-news-of-boston-marathon-bombing-texas-fertilizer-plant-explosion#comments</comments>
		<pubDate>Tue, 23 Apr 2013 18:52:20 +0000</pubDate>
		<dc:creator>Kamalesh Singh</dc:creator>
				<category><![CDATA[McAfee Labs]]></category>
		<category><![CDATA[bombings]]></category>
		<category><![CDATA[Boston Marathon]]></category>
		<category><![CDATA[Exploit Kit]]></category>
		<category><![CDATA[Red Kit]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[Texas fertilizer plant explosion]]></category>

		<guid isPermaLink="false">http://blogs.mcafee.com/?p=24106</guid>
		<description><![CDATA[McAfee Labs Messaging Security recently observed a spam campaign based on the Boston Marathon bombing and the Texas fertilizer plant explosion. The messages take advantage of our interest in these tragic events to lure victims to malware and exploits. Last week my colleague Paras Gupta blogged about the use of the Blackhole exploit kit to <a href="http://blogs.mcafee.com/mcafee-labs/cybercriminals-exploit-news-of-boston-marathon-bombing-texas-fertilizer-plant-explosion">Read more...</a>]]></description>
				<content:encoded><![CDATA[<p>McAfee Labs Messaging Security recently observed a spam campaign based on the Boston Marathon bombing and the Texas fertilizer plant explosion. The messages take advantage of our interest in these tragic events to lure victims to malware and exploits. Last week my colleague Paras Gupta blogged about the use of the <a href="http://blogs.mcafee.com/mcafee-labs/blackhole-exploit-kit-spam-campaigns-disguised-as-top-service-brands">Blackhole exploit kit to disguise spam campaigns as top service brands</a>. In that case, spammers served hidden iframes and redirections that exploited vulnerabilities across operating systems. This week, spammers are taking advantage of the tragedies with the help of the <a href="http://blogs.mcafee.com/mcafee-labs/red-kit-an-emerging-exploit-pack">Red Kit exploit kit.</a></p>
<p>The following list of URLs are just a few of the malicious links we observed during our investigation. There could be many more patterns that we have not yet found.  <b><br />
</b></p>
<ul>
<li>http://&lt;some domain&gt;/cnn_boston.html</li>
<li>http://&lt;some domain&gt;/bostoncnn.html</li>
<li>http://www.&lt;some domain&gt;/bbb_compl_genr.html</li>
<li>http://&lt;some zombie IP&gt;/boston.html</li>
<li>http:// &lt;some zombie IP&gt;/news.html</li>
<li>http:// &lt;some zombie IP&gt;/texas.html</li>
</ul>
<p>&nbsp;</p>
<p>The campaign was likely made especially for the Boston Marathon bombings, but it was quickly altered to accommodate the Texas fertilizer plant explosion and follows the same pattern, as we can see from these subject lines.</p>
<ul>
<li>Explosions at the Boston Marathon</li>
<li>Texas Plant Explosion</li>
<li>Video of Explosion at the Boston Marathon 2013</li>
<li>Aftermath to explosion at Boston Marathon</li>
<li>Opinion: Boston Marathon Explosions &#8211; FBI Benefits? &#8211; CNN.com</li>
<li>Opinion: North Korean Official&#8217;s child was the CIA target &#8211; Boston Marathon Explosions</li>
<li>Opinion: FBI knew about bombs 3 days before Boston Marathon &#8211; Why and Who</li>
<li>Opinion: Boston Marathon Explosions &#8211; Obama Benefits? &#8211; CNN.com</li>
</ul>
<p>&nbsp;</p>
<p>Most of the samples coming with a simple subject line referring to a breaking-news update, with a fake hyperlink and a reference to the current incident. Spammers often take advantage of the latest events to make it tricky for antimalware companies to filter these messages or to recognize them as spam. Spammers target recipients with emails designed to pique their curiosity.</p>
<p><b>Boston Marathon fake email:</b></p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Boston_Marathon_and_Texas_Plant-explosion_Img_1-.jpg"><img class="alignnone size-medium wp-image-24107" alt="Boston_Marathon_and_Texas_Plant explosion_Img_1" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Boston_Marathon_and_Texas_Plant-explosion_Img_1--300x115.jpg" width="300" height="115" /></a></p>
<p>&nbsp;</p>
<p><b>Texas plant fake email:</b></p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Boston_Marathon_and_Texas_Plant-explosion_Img_2.jpg"><img class="alignnone size-medium wp-image-24108" alt="Boston_Marathon_and_Texas_Plant explosion_Img_2" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Boston_Marathon_and_Texas_Plant-explosion_Img_2-300x91.jpg" width="300" height="91" /></a></p>
<p>&nbsp;</p>
<p><b>Fake CNN breaking news email: </b></p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Boston_Marathon_and_Texas_Plant-explosion_Img_3.jpg"><img class="alignnone size-medium wp-image-24109" alt="Boston_Marathon_and_Texas_Plant explosion_Img_3" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Boston_Marathon_and_Texas_Plant-explosion_Img_3-272x300.jpg" width="272" height="300" /></a></p>
<p>&nbsp;</p>
<p>People using McAfee Site Advisor will get an instant alert after clicking this type of bogus link.</p>
<p>&nbsp;</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Boston_Marathon_and_Texas_Plant-explosion_Img_4.jpg"><img class="alignnone size-medium wp-image-24110" alt="Boston_Marathon_and_Texas_Plant explosion_Img_4" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Boston_Marathon_and_Texas_Plant-explosion_Img_4-300x198.jpg" width="300" height="198" /></a></p>
<p>&nbsp;</p>
<p>Those who ignore this warning and choose to &#8220;Visit anyway&#8221; will reach a title page of a malicious website:</p>
<ul>
<li>Hot News::Videos of Explosions at the Boston Marathon 2013</li>
<li>Hot News::Fertilizer Explosions</li>
</ul>
<p><b> </b></p>
<p>The page contains the following:</p>
<ul>
<li>An automatic download for a malicious executable file that could make changes to the Registry and install files to allow hackers to gain remote entry to the infected PC</li>
<li>Four or five links to YouTube videos of explosions at the Boston Marathon or Texas fertilizer plant</li>
<li>Hidden iframes and redirections that exploit vulnerabilities across operating systems</li>
</ul>
<p>&nbsp;</p>
<p>After visiting this malicious site, the user will be taken to a web page with four or five valid videos. But the last video has an embedded Red Kit iframe that downloads a payload file without the victim&#8217;s knowledge. A sample follows:</p>
<p>&nbsp;</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Boston_Marathon_and_Texas_Plant-explosion_Img_5.jpg"><img class="alignnone size-medium wp-image-24111" alt="Boston_Marathon_and_Texas_Plant explosion_Img_5" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Boston_Marathon_and_Texas_Plant-explosion_Img_5-300x125.jpg" width="300" height="125" /></a></p>
<p>&nbsp;</p>
<p>McAfee security products will give an alert immediately before a malicious file starts to download on the user&#8217;s PC.</p>
<p>&nbsp;</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Boston_Marathon_and_Texas_Plant-explosion_Img_6.jpg"><img class="alignnone size-medium wp-image-24112" alt="Boston_Marathon_and_Texas_Plant explosion_Img_6" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Boston_Marathon_and_Texas_Plant-explosion_Img_6-300x136.jpg" width="300" height="136" /></a></p>
<p>&nbsp;</p>
<p>As always, we advise users to follow best practices to avoid any targeted fraud/spam/phishing harassment.</p>
<ul>
<li>Do not open or click any links in emails from unknown persons</li>
<li>Ignore unsolicited requests for sensitive personal information</li>
<li>Regularly update your security software</li>
<li>Don’t open any suspicious attachments in emails from unknown persons</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blogs.mcafee.com/mcafee-labs/cybercriminals-exploit-news-of-boston-marathon-bombing-texas-fertilizer-plant-explosion/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blackhole Exploit Kit Spam Campaigns Disguised as Top Service Brands</title>
		<link>http://blogs.mcafee.com/mcafee-labs/blackhole-exploit-kit-spam-campaigns-disguised-as-top-service-brands</link>
		<comments>http://blogs.mcafee.com/mcafee-labs/blackhole-exploit-kit-spam-campaigns-disguised-as-top-service-brands#comments</comments>
		<pubDate>Wed, 17 Apr 2013 22:40:32 +0000</pubDate>
		<dc:creator>Paras Gupta</dc:creator>
				<category><![CDATA[McAfee Labs]]></category>
		<category><![CDATA[Blackhole Exploit Kit]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://blogs.mcafee.com/?p=23994</guid>
		<description><![CDATA[Spam campaigns based on the Blackhole Exploit Kit send messages that contain links to compromised legitimate websites, which serve hidden iframes and redirections that exploit vulnerabilities across operating systems&#8211;from Android to Windows. Spam themes we have seen vary rapidly and are disguised to appear as legitimate messages from familiar services. Campaigns spoofing Facebook, LinkedIn, American <a href="http://blogs.mcafee.com/mcafee-labs/blackhole-exploit-kit-spam-campaigns-disguised-as-top-service-brands">Read more...</a>]]></description>
				<content:encoded><![CDATA[<p>Spam campaigns based on the <a href="https://kc.mcafee.com/resources/sites/MCAFEE/content/live/PRODUCT_DOCUMENTATION/23000/PD23826/en_US/McAfee_Labs_Threat_Advisory_Blackhole.pdf">Blackhole Exploit Kit</a> send messages that contain links to compromised legitimate websites, which serve hidden iframes and redirections that exploit vulnerabilities across operating systems&#8211;from Android to Windows. Spam themes we have seen vary rapidly and are disguised to appear as legitimate messages from familiar services. Campaigns spoofing Facebook, LinkedIn, American Airlines, and various banking services carry embedded links to malware. Spammers abuse email templates from familiar service providers by capturing automated emails, replacing links in the template with links to malware, and rebroadcasting those messages to harvested or predicted recipients.</p>
<p>This tactic has proven effective for spammers. Recipients are likely to click links in familiar-looking emails and often create custom whitelist entries for common sending domains without enforcing Sender Policy Framework or DomainKeys Identified Mail validation.</p>
<p>The Messaging Security Team at McAfee Labs has closely monitored this trend and would like to share a few common traits from recent campaigns to aid in identification:</p>
<ul>
<li>Messages are disguised to appear as legitimate mails from well-known service providers</li>
<li>Subject lines are very catchy and similar to those of any service provider</li>
</ul>
<p>Subject line examples:</p>
<ul>
<li>Your Verizon wireless bill</li>
<li>Pending Wire Transfer Notification &#8211; Ref: 15192</li>
<li>TrustKeeper Network Scan Information</li>
<li>BBC-Email: USA government decided to follow Cyprus and rise deposit taxes!!!</li>
<li>[FIRSTNAME LASTNAME] left you a comment&#8230;</li>
<li>Your order # ID[Random digits] has been completed</li>
</ul>
<p>Other features:</p>
<ul>
<li>URL paths commonly end in …/random_word.html or …/random_word.php</li>
<li>Spammers recycle templates across campaigns. These emails could have embedded links to malware or attached .zip/executable files.</li>
<li>Unsubscribe links are typically missing or replaced with malicious links</li>
</ul>
<p><strong>Blackhole Spam Samples</strong></p>
<p>Fake wire-transfer campaign:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Paras_Blackhole_Wire_Transfer.jpeg"><img class="alignnone size-medium wp-image-23996" alt="Paras_Blackhole_Wire_Transfer" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Paras_Blackhole_Wire_Transfer.jpeg" /></a></p>
<p>Fake LinkedIn campaign:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Paras_Blackhole_LinkedIn_Sample.jpeg"><img class="alignnone size-medium wp-image-23997" alt="Paras_Blackhole_LinkedIn_Sample" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Paras_Blackhole_LinkedIn_Sample.jpeg" /></a></p>
<p>Fake Facebook campaign:</p>
<p><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/Paras_Blackhole_Facebook_Sample.jpeg"><img class="alignnone size-medium wp-image-23997" alt="Paras_Blackhole_Facebook_Sample" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/Paras_Blackhole_Facebook_Sample.jpeg" /></a></p>
<p>&nbsp;</p>
<p>You will notice all of these samples have fake .html or .php links, which are highlighted in red in the foregoing samples. These are the links carrying payloads that we need to be aware off.</p>
<p>The bad guys will use many techniques to deliver their spam; social engineering is a reality. Messaging Security advises caution when clicking links in emails: hover first! Employ multiple layers of defense in your environment&#8211;from email defense to web security to antimalware, and keep those definitions up to date!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.mcafee.com/mcafee-labs/blackhole-exploit-kit-spam-campaigns-disguised-as-top-service-brands/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One-Click Fraud Variant on Google Play in Japan Steals User Data</title>
		<link>http://blogs.mcafee.com/mcafee-labs/one-click-fraud-variant-on-google-play-in-japan-steals-user-data</link>
		<comments>http://blogs.mcafee.com/mcafee-labs/one-click-fraud-variant-on-google-play-in-japan-steals-user-data#comments</comments>
		<pubDate>Tue, 09 Apr 2013 18:07:52 +0000</pubDate>
		<dc:creator>Daisuke Nakajima</dc:creator>
				<category><![CDATA[McAfee Labs]]></category>
		<category><![CDATA[Mobile - Consumer]]></category>
		<category><![CDATA[Android security]]></category>
		<category><![CDATA[Android/OneClickFraud]]></category>
		<category><![CDATA[Google Play]]></category>
		<category><![CDATA[one-click fraud]]></category>
		<category><![CDATA[online safety]]></category>

		<guid isPermaLink="false">http://blogs.mcafee.com/?p=23774</guid>
		<description><![CDATA[Last week McAfee Labs reported a series of &#8220;one-click fraud&#8221; malware on Google Play in Japan. We have been monitoring this fraudulent activity and have found more than 120 additional variants on Google Play since the previous report. The malicious developers upload five or six applications per account using three to five accounts every night, <a href="http://blogs.mcafee.com/mcafee-labs/one-click-fraud-variant-on-google-play-in-japan-steals-user-data">Read more...</a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://blogs.mcafee.com/mcafee-labs/ongoing-google-play-attacks-plague-japanese-with-variation-on-one-click-fraud">Last week McAfee Labs reported</a> a series of &#8220;one-click fraud&#8221; malware on Google Play in Japan. We have been monitoring this fraudulent activity and have found more than 120 additional variants on Google Play since the previous report. The malicious developers upload five or six applications per account using three to five accounts every night, even though almost all of the applications are quickly deleted from Google Play. In some cases the fraudsters upload the applications with few or no modifications to the previous ones, and in other cases they substantially modify images and descriptions. But the final behavior is always the same.</p>
<p>Most of the variants of this malware have the same functionality, with only slight differences in their implementation code. They simply show the fraudulent web pages on the in-application web component or the device’s browser.</p>
<p>McAfee has also found a variant of this family of malware with more dangerous features. This variant retrieves the device user’s Google account name&#8211;the email address&#8211;as well as the phone number, and sends the information to the attacker’s remote server.</p>
<p>&nbsp;</p>
<p style="text-align: center;"><img class="size-full wp-image-23775  aligncenter" title="Fig.1 Application description page on Google Play" alt="Fig.1 Application description page on Google Play" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/dnakajim20130409-ocf-gp-jp-top.png" width="240" height="384" /></p>
<p style="text-align: center;">The application description page on Google Play.</p>
<p>&nbsp;</p>
<p>This application, tv.maniax.p_urapane1, is a 16-piece slider-puzzle game consisting of pornographic images. It also plays movie files when the user completes the game.</p>
<p>Unlike previous variants from this family of fraudulent malware, this application requires several permissions at installation that are usually unnecessary for this type of game:</p>
<ul>
<li>android.permission.READ_PHONE_STATE</li>
<li>android.permission.GET_ACCOUNTS</li>
</ul>
<p>&nbsp;</p>
<p style="text-align: center;"><img class="size-large wp-image-23783 aligncenter" title="Fig.2 List of required permissions" alt="Fig.2 List of required permissions" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/dnakajim20130409-ocf-gp-jp-perm.png" width="391" height="320" /></p>
<p style="text-align: center;">The malware&#8217;s list of required permissions.</p>
<p>&nbsp;</p>
<p>Behind the scenes, the malware retrieves the user’s data using these permissions and sends it to a remote server by opening the URL http://man****app.com/m/users/aftpur/GOOGLE_ACCOUNT_NAME/PHONE_NUMBER. It stores the data in a MySQL database server using the Java Database Connectivity API in a database-driver library in the application.</p>
<p>&nbsp;</p>
<p style="text-align: center;"><img class="size-large wp-image-23782 aligncenter" title="Fig.3  Application screens" alt="Fig.3  Application screens" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/dnakajim20130409-ocf-gp-jp-game.png" width="583" height="322" /></p>
<p style="text-align: center;">Malware application screens.</p>
<p>&nbsp;</p>
<p style="text-align: center;"><img class="size-large wp-image-23776 aligncenter" title="Fig.4 Google account name and phone number data sent on network" alt="Fig.4 Google account name and phone number data sent on network" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/ocf-gp-jp-dnakajim20130409-traffic.png" width="615" height="145" /></p>
<p style="text-align: center;">Google account name and phone number data sent to the attacker&#8217;s server.</p>
<p>&nbsp;</p>
<p>This application also displays some &#8220;advertisement&#8221; links at the bottom of the screen. The application’s description page on Google Play says that the developer does not guarantee the safety of these linked advertisements, implying that they are not aware of the contents of the ads. In fact, however, the application simply displays the image files bundled in the application package and invokes the browser with the hard-coded URL http://pr**.*obi/?neosp_nontop_eropne01, which is the fraudulent web page often used in other variants of this one-click-fraud family of malware.</p>
<p>&nbsp;</p>
<p style="text-align: center;"><img class="size-large wp-image-23781 aligncenter" title="Fig.5 Fraudulent Web pages" alt="Fig.5 Fraudulent Web pages" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/dnakajim20130409-ocf-gp-jp-fraud.png" width="583" height="322" /></p>
<p style="text-align: center;">Fraudulent web pages.</p>
<p>&nbsp;</p>
<p>The stolen Google account name and phone number are not directly used in the fraudulent page opened from this application. However, we expect the attacker will try to use this information for future malicious activities.</p>
<p>Fortunately, this application was deleted from Google Play within a day after it was added, and so the number of victims should be small. But the appearance of this variant indicates that the attackers are determined to collect personal information from their victims and that they are capable of developing variants with more advanced features than previous ones.</p>
<p>McAfee Mobile Security detects this application as Android/OneClickFraud, and will continue to monitor for more fraudulent activities from this family in Japan.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.mcafee.com/mcafee-labs/one-click-fraud-variant-on-google-play-in-japan-steals-user-data/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turkish &#8216;Delete Virus&#8217; Targets Facebook Users</title>
		<link>http://blogs.mcafee.com/mcafee-labs/turkish-delete-virus-targets-facebook-users</link>
		<comments>http://blogs.mcafee.com/mcafee-labs/turkish-delete-virus-targets-facebook-users#comments</comments>
		<pubDate>Mon, 08 Apr 2013 21:48:04 +0000</pubDate>
		<dc:creator>Umesh Wanve</dc:creator>
				<category><![CDATA[McAfee Labs]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Delete Virus]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Turkey]]></category>

		<guid isPermaLink="false">http://blogs.mcafee.com/?p=23632</guid>
		<description><![CDATA[Facebook continues to be a favorite target for attackers to spread fake wall-post messages or fake scams. Most of the time these fake messages are involved in fake scams that ask users to respond to surveys. Recently, I discovered a Facebook wall post with a malicious website address that was unknowingly shared by a friend. <a href="http://blogs.mcafee.com/mcafee-labs/turkish-delete-virus-targets-facebook-users">Read more...</a>]]></description>
				<content:encoded><![CDATA[<p>Facebook continues to be a favorite target for attackers to spread fake wall-post messages or fake scams. Most of the time these fake messages are involved in fake scams that ask users to respond to surveys. Recently, I discovered a Facebook wall post with a malicious website address that was unknowingly shared by a friend. Once infected with this spam, the malicious wall post will also tag all the friends of an infected Facebook user.  Here is the screenshot of a malicious wall post:</p>
<p style="text-align: center;"><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/post2.png"><img class="aligncenter size-medium wp-image-23642" alt="Sil_wallpost" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/post2-300x265.png" width="300" height="265" /></a></p>
<p>The link from this wall post redirects users to a malicious website that hosts malicious code. This site launches its main attack by identifying browsers with the help of the following code:</p>
<p style="text-align: center;"><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/code.png"><img class="aligncenter size-medium wp-image-23635" alt="sil_code" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/code-300x199.png" width="300" height="199" /></a></p>
<p>The preceding code from the malicious site targets Firefox and Chrome browsers on userAgent strings.</p>
<p><b>Firefox</b></p>
<p>If the malware detects Firefox, it presents the following error message in Turkish:</p>
<p style="text-align: center;"><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/firefox.png"><img class="aligncenter size-medium wp-image-23637" alt="sil_firefox_warning" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/firefox-300x158.png" width="300" height="158" /></a></p>
<p>The Google translation of the this message reads:</p>
<p style="padding-left: 30px;">Please Refresh button, Firefox Add-Update your. Due to system errors and security bugs that are required by pressing the Reload button. Install Firefox Plug-in Update. As long as you have not updated the site faydalanamayacaksýnýz features.</p>
<p>Once clicked, the site installs the malicious “sosyalag.xpi” (XPI extension archive) file for Firefox (from the malicious site) along with a Chrome application from the Google Chrome store (this app has been removed from the store). Here is the JavaScript function used for the Chrome app:</p>
<p style="text-align: center;"><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/javascript1.png"><img class="aligncenter size-medium wp-image-23647" alt="sil_javascript" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/javascript1-300x42.png" width="300" height="42" /></a></p>
<p><b>Chrome</b></p>
<p>If the malicious site detects Chrome, it will download the malicious file player.exe from the attacker’s dropbox account without asking the user. After using Chrome to visit the site, a victim will see a fake video page:</p>
<p style="text-align: center;"><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/chrome.png"><img class="aligncenter size-medium wp-image-23639" alt="sil_chrome_warning" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/chrome-300x161.png" width="300" height="161" /></a></p>
<p>The malicious site cleverly shows an arrow pointing to the malicious file for download, even though the file has already  arrived. Player.exe makes Chrome install another malicious application by adding an entry for a .crx file from another malicious site under “\Policies\Google\Chrome\ExtensionInstallForcelist\1: &#8220;gagalgomhifgcmeciklindhpaihmecgi;https://XXXXXX.com/maflu.xml.” Once an infected user enters Facebook, the malicious code runs JavaScript in the background, infecting further users.</p>
<p><b>VirusTotal Detection<br />
</b></p>
<p><a href="https://www.virustotal.com/en/file/2181cd0b4462f4bc588868149450c7d256ea7d238fd5104a20f36763b76b1a10/analysis/1365051734/">Player.exe</a></p>
<p><a href="https://www.virustotal.com/en/file/54c401e8c65430b9a61e85a49bc5763c89a8d7b88e3c664a4f8560f09ffd37af/analysis/1365051888/">sosyalag.xpi</a></p>
<p><a href="https://www.virustotal.com/en/file/98859a8594d10a29b4266fecc6ab0fb81c28a92710af5dd4150e610f71bdc7a7/analysis/1365052156/">mafera.crx</a></p>
<p>The XPI extension file for Firefox contains malicious JavaScript code that targets Facebook. Here is screenshot of one of the files:</p>
<p style="text-align: center;"><a href="http://blogs.mcafee.com/wp-content/uploads/2013/04/source1.png"><img class="aligncenter size-medium wp-image-23649" alt="sil_source" src="http://blogs.mcafee.com/wp-content/uploads/2013/04/source1-300x207.png" width="300" height="207" /></a></p>
<p>The name in the preceding script “Virusü Sil” is Turkish, which in English is “Delete Virus.” Malicious sites hosting the files present user with information in Turkish. This campaign is aimed against Turkish Facebook users, but it&#8217;s not limited to them. Once someone is infected with these extensions, a victim can spread the same post by tagging their friends.</p>
<p>Facebook has already removed these malicious messages from the infected users&#8217; wall posts. The malicious apps have also been removed from Google Chrome store.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.mcafee.com/mcafee-labs/turkish-delete-virus-targets-facebook-users/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
