<?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>Day by day...</title>
	<atom:link href="http://ondailybasis.com/blog/?feed=rss2&#038;p=1236" rel="self" type="application/rss+xml" />
	<link>http://ondailybasis.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 27 Mar 2013 21:01:11 +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>&#8220;NY TRAFFIC TICKET&#8221; SPAM is back</title>
		<link>http://ondailybasis.com/blog/?p=1972</link>
		<comments>http://ondailybasis.com/blog/?p=1972#comments</comments>
		<pubDate>Wed, 27 Mar 2013 21:00:42 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BlackHole]]></category>
		<category><![CDATA[malware]]></category>

		<guid isPermaLink="false">http://ondailybasis.com/blog/?p=1972</guid>
		<description><![CDATA[Well, it was gone for a while, and here it back Email message sample: &#160; Actually code looks like: &#160; Attack, actually, run for about 48 hours already at least. You may see traces of it on URLQuery [36 entries by now] When clicked &#8211; lead to BHEK2 &#160; BHEK2 payload &#8211; Cridex [22/46] and Fareit. [...]]]></description>
				<content:encoded><![CDATA[<p>Well, it was gone for a while, and here it back <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Email message sample:</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/mail1.png"><img class="alignnone  wp-image-1973" alt="mail1" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/mail1-1024x198.png" width="819" height="158" /></a></p>
<p>&nbsp;</p>
<p>Actually code looks like:</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/mail3.png"><img class="alignnone  wp-image-1974" alt="mail3" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/mail3-1024x262.png" width="819" height="210" /></a></p>
<p>&nbsp;</p>
<p>Attack, actually, run for about 48 hours already at least. You may see traces of it on <a href="http://urlquery.net/search.php?q=%2Fpage-3.htm&amp;type=string&amp;max=50">URLQuery</a> [36 entries by now]</p>
<p>When clicked &#8211; lead to BHEK2</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/mail2.png"><img class="alignnone  wp-image-1975" alt="mail2" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/mail2.png" width="475" height="200" /></a></p>
<p>&nbsp;</p>
<p>BHEK2 payload &#8211; <a href="https://www.virustotal.com/en/file/5cd8195c8489ab2a550b7595cd61da867142abf8d83a4ce5f910bdec2807546f/analysis/">Cridex</a> [22/46] and Fareit.</p>
<p>Second binary is interesting one, yes <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Wait for updates.</p>
<p>Stay safe!</p>
<p>D.L.</p>
]]></content:encoded>
			<wfw:commentRss>http://ondailybasis.com/blog/?feed=rss2&#038;p=1972</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Darkleech &#8211; malicious Apache mod anti-forensics &#8211; client-side.</title>
		<link>http://ondailybasis.com/blog/?p=1945</link>
		<comments>http://ondailybasis.com/blog/?p=1945#comments</comments>
		<pubDate>Mon, 18 Mar 2013 14:29:52 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Darkleech]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[malicious]]></category>

		<guid isPermaLink="false">http://ondailybasis.com/blog/?p=1945</guid>
		<description><![CDATA[I wrote about Darkleech last year, and one of questions remain  - among anti-forensics features of it, that seller declared, were: - frame delivered to unique users only, no frame on repeat.  So &#8211; How it looks like for victim and how implemented? Since than Linux/Chapro.A was posted in SecLists and  analysed by Kaspersky and ESET. Afterwards Eric [...]]]></description>
				<content:encoded><![CDATA[<p>I <a href="http://ondailybasis.com/blog/?p=1368">wrote</a> about Darkleech last year, and one of questions remain  - among anti-forensics features of it, that seller declared, were:</p>
<p style="padding-left: 30px;"><em>- frame delivered to unique users only, no frame on repeat. </em></p>
<p>So &#8211; <strong>How it looks like for victim and how implemented?</strong></p>
<p>Since than <strong>Linux/Chapro.A was <a href="http://seclists.org/fulldisclosure/2012/Nov/94">posted</a> in SecLists and  analysed by Kaspersky and ESET.</strong></p>
<p>Afterwards <strong>Eric Romang <a href="http://eromang.zataz.com/2012/12/20/isnt-linuxchapro-a-only-darkleech-apache-module/">provided</a> some details, that it appear to be version of Darkleech module.</strong></p>
<p>And here it appear again:<strong> <a href="http://unixfreaxjp.blogspot.jp/2013/03/ocjp-098-285blackhole-exploit-kit.html">UnixFreaxJP</a> blog report about massive attack on Japanese segment of Internet</strong>.</p>
<p><span style="text-decoration: underline;"><strong>Well, It&#8217;s time to see, is it DarkLeech and how anti-forensics implemented there from client PoV <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></span></p>
<p>Ok. Let&#8217;s see on any of servers that in list:</p>
<p><span id="more-1945"></span></p>
<p><span style="text-decoration: underline;"><strong>Stage 1. Victim request the infected page:</strong></span></p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/dle1.png"><img class="alignnone  wp-image-1949" alt="dle1" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/dle1.png" width="533" height="337" /></a></p>
<p>if You analyse the page retrieved, it clean. All content is legit, or at least not malicious&#8230;</p>
<p>But after full analysis, let me cheat a bit and draw Your attention to Date and Set-Cookie fields.</p>
<p>Well, <strong>at 11:40:12  GMT request was sent to Apache server. And Apache respond with Cookie, that have PHP_SESSION_ID and Expiration date in 5 minutes..</strong>.</p>
<p>ok <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  move on.</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Stage 2. infector appear:</strong></span></p>
<p>I hope It&#8217;s clear to You, that browsing a web go as SET of HTTP requests. So &#8211; second HTTP request come to Apache server already with Cookie value set:</p>
<p><strong>Cookie: PHP_SESSION_ID=1345283934</strong></p>
<p>And response is:</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/dle2.png"><img class="alignnone  wp-image-1953" alt="dle2" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/dle2.png" width="897" height="409" /></a></p>
<p>&nbsp;</p>
<p>Sorry for huge pic, but You have to see it <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Well, what we have?</p>
<p><strong>Red line &#8211; injected code. iframe that forward victim to BHEK2 in this case&#8230;</strong></p>
<p>See pic from Eric Romang&#8217;s blog &#8211; <a href="http://eromang.zataz.com/2012/12/20/isnt-linuxchapro-a-only-darkleech-apache-module/">here</a> [second from top]</p>
<p>Structure is very similar, IMHO.<strong> So I think it is a Darkleech. </strong></p>
<p>Now &#8211; let&#8217;s see, how it works <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Green line &#8211; Cookie updated</strong>.<strong> Now it have PHP_SESSION_ID with -1 value, that will expire only in 7 days. </strong></p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Stage 3. Full picture:</strong></span></p>
<p><strong>Ok, now we can combine all that knowledge in one algorithm, Darkleech coders use for one-time infection attempt per client: </strong></p>
<p style="padding-left: 30px;"><strong>1. Victim visit website, provided with Cookie, that:</strong></p>
<p style="padding-left: 60px;"><strong>    &#8211; have expiration date in 5 minutes</strong></p>
<p style="padding-left: 60px;"><strong>    &#8211; have ID unique per client</strong></p>
<p style="padding-left: 30px;"><strong>2.  Second request victim pass Cookie value to server with Darkleech attached. </strong></p>
<p style="padding-left: 60px;"><strong>    &#8211; Darkleech respond with altered webpage, included malicious iframe. </strong></p>
<p style="padding-left: 60px;"><strong>    &#8211; In addition, DarkLeech set Cookie ID to -1 and &#8220;mark&#8221; this client for 7 days from been infected again. Even if it IP changes, because cookie remain for 7 days <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p style="padding-left: 30px;"><strong>3.  Any following requests from same IP appear to be clean for at least 60 mins. [still investigating time limit]. Looks like IP also &#8220;marked&#8221; in some local list. </strong></p>
<p style="padding-left: 60px;">       : <a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/dle3.png"><img class="alignnone  wp-image-1956" alt="dle3" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/dle3.png" width="466" height="330" /></a></p>
<p>This is how it looks like from victim side..</p>
<p><span style="text-decoration: underline;"><strong>Credits: </strong></span></p>
<p>Thx @unixfreaxjp for original path and been good friend. <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thx Eric Romang for his blog</p>
<p>Thx to all researchers, that You keep head up and fight against malware <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Stay Safe</p>
<p>D.L.</p>
]]></content:encoded>
			<wfw:commentRss>http://ondailybasis.com/blog/?feed=rss2&#038;p=1945</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cool Exploit Kit &#8211; &#8220;We Try harder!&#8221;</title>
		<link>http://ondailybasis.com/blog/?p=1930</link>
		<comments>http://ondailybasis.com/blog/?p=1930#comments</comments>
		<pubDate>Wed, 13 Mar 2013 09:23:55 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CoolEK]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[malware]]></category>

		<guid isPermaLink="false">http://ondailybasis.com/blog/?p=1930</guid>
		<description><![CDATA[Heh, when I am sick &#8211; it&#8217;s time to hunt&#8230; Prerequisites:  Temperature: 37.8 C Local Time: 23:00 Mood: [censored] Test machine: fully updated (pdf, flash, java up to 7.u17) Live Exploit Kits in list: 5 What we testing: How dangerous can be surfing for those who follow best practices &#8211; at least performing updates. Results: [...]]]></description>
				<content:encoded><![CDATA[<p>Heh, when I am sick &#8211; it&#8217;s time to hunt&#8230;</p>
<p><strong>Prerequisites: </strong></p>
<p>Temperature: 37.8 C</p>
<p>Local Time: 23:00</p>
<p>Mood: [censored]</p>
<p>Test machine: fully updated (pdf, flash, java up to 7.u17)</p>
<p>Live Exploit Kits in list: 5</p>
<p><strong>What we testing:</strong></p>
<p>How dangerous can be surfing for those who follow best practices &#8211; at least performing updates.</p>
<p><strong>Results:</strong></p>
<p>All behavior among tested Exploit Kits, can be described as:</p>
<p style="padding-left: 30px;">- If plugin-detect present, than system realize that no vulnerable plugins detected, and</p>
<p style="padding-left: 60px;">- no exploit served at all [Safe End]</p>
<p style="padding-left: 60px;">- last available Java exploit served. [Fail]</p>
<p style="padding-left: 30px;">- If plugin-detect not present, than all available exploits execute and fail.</p>
<p>* Sometimes LibTiff exploit crash the PDF plugin, once Java cause error message appears&#8230;</p>
<p><strong>Bottom line &#8211; if machine is up to date &#8211; well, leave it, there are plenty of easy targets around. </strong></p>
<p><strong>Except for <span style="text-decoration: underline;">Cool Exploit Kit. Let me show You some fun stuff there&#8230; </span></strong></p>
<p><span id="more-1930"></span></p>
<p>It landing page with plugin-detect served, push Java CVE-2013-0431 exploit (see it <a href="http://security-obscurity.blogspot.co.il/2013/02/deobfuscating-java-7u11-exploit-from.html">analysis by @SecObscurity</a> )</p>
<p>It require permission to run</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/cek1.png"><img class="alignnone  wp-image-1931" alt="cek1" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/cek1.png" width="376" height="163" /></a></p>
<p>&nbsp;</p>
<p>Ok. If You click Cancel &#8211; blank page for few seconds&#8230;</p>
<p>Waiting&#8230;</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/cek2.png"><img class="alignnone size-full wp-image-1932" alt="cek2" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/cek2.png" width="695" height="39" /></a></p>
<p>Second try! <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Ok, lets allow it, who cares! <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/cek4.png"><img class="alignnone size-medium wp-image-1934" alt="cek4" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/cek4-300x115.png" width="300" height="115" /></a></p>
<p>Well, in here &#8211; same exploit. <a href="https://www.virustotal.com/en/file/2d07b633f5c3020cff64c82f0a3e5582bba7648397aa6e920ee6000c1d0a41e7/analysis/1363164420/" target="_blank">VT [6/45]</a></p>
<p>Well, that&#8217;s it, no harm? <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>No, as I said &#8211; <strong>&#8220;Cool Exploit Kit&#8221; mojo &#8220;We try harder!&#8221; <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p>Voila:</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/cek6.png"><img class="alignnone  wp-image-1941" alt="cek6" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/cek6.png" width="331" height="248" /></a></p>
<p><strong>Ha, since no exploits for our machine, let&#8217;s use  old school trick</strong>! <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <a href="https://www.virustotal.com/en/file/60d17b854d184ffe652a75b1d22a32491647753d2bd40333351cce63f5cdaab1/analysis/1363166014/" target="_blank">VT [22/45]</a></p>
<p>Nice try, that eventually reach it target &#8211; amount of &#8220;installs&#8221; grows.</p>
<p><strong>Conclusions:</strong></p>
<p><strong>Well, once Cool EK was announced, it was quite similar to BHEK2&#8230; Than it appear that new exploits added there faster and work more &#8220;clean&#8221;. Fast implementation of recent line of Java and Flash exploits. Hard obfuscation techniques. Maybe, after Yesterday&#8217;s patch Tuesday we&#8217;ll see new exploits there.. But here we may see also some tricks that add sophistication to this Exploit kit&#8230; It actually try harder&#8230; Kinda like to have such enemies, it&#8217;s more fun to defeat them. <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </strong></p>
<p>Stay Safe</p>
<p>D.L.</p>
]]></content:encoded>
			<wfw:commentRss>http://ondailybasis.com/blog/?feed=rss2&#038;p=1930</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Security is everyone&#8217;s concern, or why Blacklisting fail.</title>
		<link>http://ondailybasis.com/blog/?p=1903</link>
		<comments>http://ondailybasis.com/blog/?p=1903#comments</comments>
		<pubDate>Tue, 12 Mar 2013 07:48:34 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[RedKit]]></category>

		<guid isPermaLink="false">http://ondailybasis.com/blog/?p=1903</guid>
		<description><![CDATA[&#8220;Democracy is the worst form of government, except for all those other forms that have been tried from time to time.&#8221; (Winston Churchill) I wrote huge philosophic part here&#8230; But then &#8211; I realized, that too much ideology already dumped into Net, no need to add. So &#8211; see mr. Churchill quote and add &#8220;BlackListing&#8221; [...]]]></description>
				<content:encoded><![CDATA[<p>&#8220;Democracy is the worst form of government, except for all those other forms that have been tried from time to time.&#8221; (Winston Churchill)</p>
<p><strong>I wrote huge philosophic part here&#8230; But then &#8211; I realized, that too much ideology already dumped into Net, no need to add.</strong></p>
<p>So &#8211; see mr. Churchill quote and add &#8220;BlackListing&#8221; instead of &#8220;Democracy&#8221; &lt;&lt; this is exactly my point.</p>
<p>And making long story short &#8211; <strong>in providing protection against malware &#8211; blacklisting fail.</strong></p>
<p>Why? Simple.</p>
<p><em>Blacklisting &#8211; &#8220;&#8230;a blacklist or block list is a basic access control mechanism that allows through all elements (email addresses, users, URLs, etc.), except those explicitly mentioned. Those items on the list are denied access&#8230;&#8221; (WikiPedia.org)</em></p>
<p>So, basically,<strong> how it should work:</strong></p>
<p style="padding-left: 30px;"><strong>1. Someone detect that IP x.x.x.x or domain badassmalwarehomepage.com is spreading malware, got Exploit Kit installed or some other malicious activity detected</strong></p>
<p style="padding-left: 30px;"><strong>2. IP or domain list added to blacklist &#8211; now all software that work with that blacklist, protected from entering this bad site.</strong></p>
<p style="padding-left: 30px;"><strong>3. Internet Safe! (Yeah&#8230; )</strong></p>
<p><strong>And how it works now:</strong></p>
<p style="padding-left: 30px;"><strong>1. Malicious IP or domain detected. It take some time to detect new attack, discover all infectors, gather all evidence and prepare to be reported</strong></p>
<p style="padding-left: 30px;"><strong>2. IP\domain reported. There are plenty of different lists, each have it rules. Take some time to re-check and add to list &#8211; otherwise it can be used for malicious purposes. </strong></p>
<p style="padding-left: 30px;"><strong>3. Clients not up to date, lists delivered from time to time, check with list take time and traffic. And bottom line &#8211; in fastest way it take 2-3 days to get stuff done. Attacker already got profit, monetized and planning new attack. </strong></p>
<p>Nothing new for many of You, and as I said &#8211; it&#8217;d terrible solution, but we dont have another now.</p>
<p>But wait &#8211; it even worse <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span style="text-decoration: underline;"><strong>Malware don&#8217;t need to have it&#8217;s own IP\domain exposed to victims, or even malware researchers, on any level. Let me show You, how. </strong></span></p>
<p><span id="more-1903"></span></p>
<p>BTW: For those who want to send me &#8220;Hey, why publish ideas that bad guys will use&#8221; &#8211; let me assure You, bad guys use it for some time already. Almost all of them, even complete script kiddies. Nothing new for bad guys disclosed here. But maybe, some good guys still stay not updated.</p>
<p>If You know basics of networking, You know what <a href="http://en.wikipedia.org/wiki/Proxy_server" target="_blank">proxy server</a> is. Tor is good example of complicate system of proxy gates.</p>
<p><strong>But less people know, that You may turn almost any web server into proxy server.</strong> All what required &#8211; shell on this server. No root needed.</p>
<p>Here is small part from sample of  <a href="http://ondailybasis.com/blog/?p=1739" target="_blank">&#8220;4 horses club&#8221;</a> delivery system.</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/scr2.png"><img class="alignnone  wp-image-1911" alt="scr2" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/scr2.png" width="682" height="470" /></a></p>
<p>Basically, what this script do, it check if new binary available on remote server, and if so &#8211; download it to local system (website) and continue to deliver.</p>
<p>&nbsp;</p>
<p><strong>Another code from sample &#8211; from TDS system that rented to forward traffic to various EK during last year</strong></p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/scr3.png"><img class="alignnone  wp-image-1913" alt="scr3" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/scr3.png" width="990" height="106" /></a></p>
<p>This sample intercept request to web page, on the fly form request to malicious server and receive unique inject for each victim.</p>
<p><strong>Among anti-forensic features, implemented here:</strong></p>
<p style="padding-left: 30px;">- Various obfuscation techniques</p>
<p style="padding-left: 30px;">- GeoIP -based attacks</p>
<p style="padding-left: 30px;">- Filter-off repeat requests.</p>
<p>And all &#8211; in one .php script.</p>
<p><strong>Famous Redkit have very similar technique</strong> I described <a href="http://ondailybasis.com/blog/?p=1675" target="_blank">here</a>. <strong>In active state, forwarder looks like this:</strong></p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/scr4.png"><img class="alignnone  wp-image-1916" alt="scr4" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/scr4.png" width="763" height="364" /></a></p>
<p>Sorry for blank space &#8211; very, very sophisticated piece of malware, don&#8217;t want add ideas to others ) But every malware researcher can see here wildcard for so popular:</p>
<p style="padding-left: 30px;"><strong>./[abcd].html</strong></p>
<p style="padding-left: 30px;"><strong>./887.jar</strong></p>
<p style="padding-left: 30px;"><strong>./332.jar</strong></p>
<p style="padding-left: 30px;"><strong>./987.pdf</strong></p>
<p><strong>Among features, that NOT require server [really-malicious] interception, but done on victim website:</strong></p>
<p style="padding-left: 30px;"><strong>1. Filter of crawlers, bots, search agents etc.</strong></p>
<p style="padding-left: 30px;"><strong>2. Filter of &#8220;wrong&#8221; requests.</strong></p>
<p style="padding-left: 30px;"><strong>3. Filter of repeat requests.</strong></p>
<p style="padding-left: 30px;"><strong>4. Tracking of infection process per client.</strong></p>
<p style="padding-left: 30px;"><strong>5. Local caching of transferred data.</strong></p>
<p style="padding-left: 30px;"><strong>6. Ability to act as C&amp;C proxy for transferred back data\files.</strong></p>
<p style="padding-left: 30px;"><strong>7. Polymorphic features.</strong></p>
<p style="padding-left: 30px;"><strong>8. Non-standard encryption\obfuscation.</strong></p>
<p style="padding-left: 30px;"><strong>9. Remote management.</strong></p>
<p>Yes, all those requests are intercepted and forwarded to remote server on the fly.</p>
<p>In addition &#8211; <strong>active phase of RedKit infector is between 30 mins to few hours.</strong> <strong>Afterwards &#8211; server appear &#8220;clean&#8221; to requests &#8211; 404 error returned.</strong></p>
<p>And more and more&#8230;</p>
<p><strong>What common for all those samples &#8211; they intend to be placed on hacked website. That mean, legit person create legit family business website, upload content, got hacked (multiple ways) and became an evil drone for spreading malware. Simple, and for now &#8211; bulletproof schema. And this schema defeat blacklisting for now. What to do? No idea.</strong></p>
<p>that&#8217;s it for now&#8230;</p>
<p>Stay safe.</p>
<p>D.L.</p>
<p>&nbsp;</p>
<p>p.s. and yeah, I am terrible in blog article namings&#8230; sorry for that too&#8230;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://ondailybasis.com/blog/?feed=rss2&#038;p=1903</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CrimeBoss Exploit Kit &#8211; Java CVE-2013-0422 + SE tricks :)</title>
		<link>http://ondailybasis.com/blog/?p=1890</link>
		<comments>http://ondailybasis.com/blog/?p=1890#comments</comments>
		<pubDate>Wed, 06 Mar 2013 21:36:26 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CrimeBoss EK]]></category>
		<category><![CDATA[malware]]></category>

		<guid isPermaLink="false">http://ondailybasis.com/blog/?p=1890</guid>
		<description><![CDATA[CrimeBoss EK already known, described and You may see it here: KahuSecurity MalwareSigs So I will not paste all details step-by-step. Who interested &#8211; see it here. What was interesting in this case in particular &#8211; Java exploit, that  try to convince victim, that it is Adobe Flash Player . Not new, actually, You right. [...]]]></description>
				<content:encoded><![CDATA[<p>CrimeBoss EK already known, described and You may see it here:</p>
<p><a href="http://www.kahusecurity.com/2012/crimeboss-exploit-pack/" target="_blank">KahuSecurity</a></p>
<p><a href="http://www.malwaresigs.com/2012/12/22/crimeboss-exploit-kit/" target="_blank">MalwareSigs</a></p>
<p>So I will not paste all details step-by-step. Who interested &#8211; see it <a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/crimebossEK_06.03.2013.txt" target="_blank">here</a>.</p>
<p>What was interesting in this case in particular &#8211; <strong>Java exploit, that  try to convince victim, that it is Adobe Flash Player</strong> . <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/cbek2.png"><img class="alignnone  wp-image-1897" alt="cbek2" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/cbek2.png" width="640" height="359" /></a></p>
<p>Not new, actually, You right. @kafeine recently posted some details about similar behavior of <a href="http://malware.dontneedcoffee.com/2013/02/jre17u15unpatchedvuln.html" target="_blank">recent Java exploit in Popads EK</a>.</p>
<p>So &#8211; as You may see, idea appear to spread among other malware spreaders as well. <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Actually, if You press &#8220;Cancel&#8221; in this point, no harm done to Your machine (if Java is up to date).</p>
<p>If Java is outdated &#8211; 2 additional exploits served as well.</p>
<p><strong>Here samples on VT:</strong></p>
<p><strong>Java:</strong></p>
<p><strong><a href="https://www.virustotal.com/en/file/ef4e5803ae43ba60fdb689d2da9a3898e91484a8318de0b198ab462ab2b8c934/analysis/" target="_blank">JAR1</a> <a href="https://www.virustotal.com/en/file/017b6b145778959e5cdac46ba8931bda8b0257bac14a465ac60619f0698bd254/analysis/" target="_blank">JAR2</a> <a href="https://www.virustotal.com/en/file/9be28d4258d1c8cff36b0fb50d847df61b5a1c622777632ef46c6e573c3f353b/analysis/" target="_blank">JAR3</a></strong></p>
<p><strong>Exe:</strong></p>
<p><strong><a href="https://www.virustotal.com/en/file/fcb94bd167b93a43ac3a2e1d1bb73f4094724ef74b9054e180334dcaa993e771/analysis/1362605535/" target="_blank">Bin [6/46]</a></strong></p>
<p>That&#8217;s all</p>
<p>Stay safe</p>
<p>D.L.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://ondailybasis.com/blog/?feed=rss2&#038;p=1890</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Portal TDS &#8211; walking after &#8220;Monster&#8221;</title>
		<link>http://ondailybasis.com/blog/?p=1867</link>
		<comments>http://ondailybasis.com/blog/?p=1867#comments</comments>
		<pubDate>Sun, 03 Mar 2013 16:57:47 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BlackHole]]></category>
		<category><![CDATA[PortalTDS]]></category>

		<guid isPermaLink="false">http://ondailybasis.com/blog/?p=1867</guid>
		<description><![CDATA[Another day, another attack on internet surfers But this time some new piece of software used.. It call itself  &#8221;Portal TDS &#8211; You monster v 2.02&#8221; List of detected links on URLQuery1 or URLQuery2 (looks like not yet in list of known TDS patterns?) TDS Administrator login page: Link management form: Google indexed few results of this TDS, [...]]]></description>
				<content:encoded><![CDATA[<p>Another day, another attack on internet surfers <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But this time some new piece of software used..</p>
<p>It call itself  &#8221;<strong>Portal TDS &#8211; You monster v 2.02</strong>&#8221;</p>
<p>List of detected links on <a href="http://urlquery.net/search.php?q=.php%3Fc002&amp;type=string&amp;max=400" target="_blank">URLQuery1</a> or <a href="http://urlquery.net/search.php?q=php%3Fpprec&amp;type=string&amp;max=400" target="_blank">URLQuery2</a> (looks like not yet in list of known TDS patterns?)</p>
<p>TDS Administrator login page:</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/ptds1.png"><img class="alignnone size-medium wp-image-1868" alt="ptds1" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/ptds1-300x291.png" width="300" height="291" /></a></p>
<p><span id="more-1867"></span></p>
<p>Link management form:</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/ptds2.png"><img class="alignnone size-medium wp-image-1870" alt="ptds2" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/ptds2-300x30.png" width="300" height="30" /></a></p>
<p>Google indexed few results of this TDS, most of them &#8211; traces of  Admin console. It is possible that domain <strong>portal-tds.ru</strong> and <strong>demo.portal-tds.ru</strong> , but this domain is currently down. IP that various system logged as belong to this domain is <strong>194.28.68.124 (Ukraine)</strong></p>
<p><strong>Domain Register Details: </strong></p>
<p><em>domain: PORTAL-TDS.RU</em><br />
<em>nserver: ns1.portal-tds.ru. 194.28.x.x</em> (Updated: request from owner of IP range. They claim that registered users were banned and no malicious activity accepted from their IP range. If so, thx. )<br />
<em>nserver: ns2.portal-tds.ru. 78.26.184.129</em><br />
<em>state: REGISTERED, DELEGATED, UNVERIFIED</em><br />
<em>person: Private Person</em><br />
<em>registrar: <strong>NAUNET-REG-RIPN</strong></em><br />
<em>admin-contact: https://client.naunet.ru/c/whoiscontact</em><br />
<em>created: 2011.08.21</em><br />
<em>paid-till: 2013.08.21</em><br />
<em>free-date: 2013.09.21</em><br />
<em>source: TCI</em></p>
<p><strong>Currently live TDS detected:</strong></p>
<p>sydinex.net &gt; <img title="More..." alt="" src="http://ondailybasis.com/blog/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" />94.250.251.43</p>
<p>corn.ptds3.ru &gt; 194.28.x.x (Updated: request from owner of IP range. They claim that registered users were banned and no malicious activity accepted from their IP range. If so, thx. )</p>
<p><strong>Also known hosts, currently dead:</strong></p>
<p>intermediac.com</p>
<p>jpegprovider.ru</p>
<p>gsm-poisg.ru</p>
<p>agnese.portal-tds.ru</p>
<p><strong>Schema used </strong>is quite classic:</p>
<p style="padding-left: 30px;">1. Spam message sent to victim, trying to impersonate LinkedIn message:</p>
<p style="padding-left: 30px;"><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/03/ptds3.png"><img class="alignnone size-medium wp-image-1873" alt="ptds3" src="http://ondailybasis.com/blog/wp-content/uploads/2013/03/ptds3-300x119.png" width="300" height="119" /></a></p>
<p style="padding-left: 30px;">2. Victim click on link and forwarded to TDS, which forward it to BlackHole2, in case victim looks legit, not bot\crawler</p>
<p style="padding-left: 30px;">3. BlackHole2 landing page served to victim.</p>
<p style="padding-left: 30px;">4. Profit.</p>
<p> Dropped binary You may see here: <a href="https://www.virustotal.com/en/file/c7ea76b4e4543ebf1556bd93c466258ed729527609824dc6a38aac1060d3007c/analysis/">https://www.virustotal.com/en/file/c7ea76b4e4543ebf1556bd93c466258ed729527609824dc6a38aac1060d3007c/analysis/</a></p>
<p>p.s. Sorry for been less available recently &#8211; making few changes in regular schedule <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>p.p.s. Should I credit <a href="https://www.youtube.com/watch?v=wcLNteez3c4" target="_blank">PSY and HYUNA</a> as soundtrack for this small dig-in? I think -yes )</p>
]]></content:encoded>
			<wfw:commentRss>http://ondailybasis.com/blog/?feed=rss2&#038;p=1867</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List of compromised domains [2725] that spread RedKit EK.</title>
		<link>http://ondailybasis.com/blog/?p=1859</link>
		<comments>http://ondailybasis.com/blog/?p=1859#comments</comments>
		<pubDate>Sun, 03 Feb 2013 11:55:06 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hardening]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[RedKit]]></category>
		<category><![CDATA[virus removal]]></category>

		<guid isPermaLink="false">http://ondailybasis.com/blog/?p=1859</guid>
		<description><![CDATA[Hi all, folks. Need Your help. For last few month we were looking former Redkit spreading all over, using compromised websites to get into victim machines. At this point, united tracker results indicate that at least 2725 unique domains were compromised and participated in Redkit spreading from 11.11.2012 till 31.01.2013 Since I literally have no [...]]]></description>
				<content:encoded><![CDATA[<p>Hi all, folks.</p>
<p>Need Your help.</p>
<p>For last few month we were looking former Redkit spreading all over, using compromised websites to get into victim machines.</p>
<p>At this point, united tracker results indicate that at least <strong>2725</strong> unique domains were compromised and participated in Redkit spreading from 11.11.2012 till 31.01.2013</p>
<p><strong>Since I literally have no free time to manage all cleanup process and no resources to provide support to owners of those web-resources (major part of them even not respond to mail), <span style="color: #ff0000;">here is <a href="http://ondailybasis.com/blog/wp-content/uploads/2013/02/redkit_EK_spreaders.txt"><span style="color: #ff0000;">list</span></a> </span></strong></p>
<p>Please note, that this list not 100% solid, there were few changes in Exploit Kit spreading system that tracking agent need to be reconfigured, but bottom line is &#8211; its at least 90% accurate.</p>
<p>Some domains were cleaned up, some &#8211; abused and took down by hoster company or owner. Most of listed hosts still infected, I assume. And since MDS system reuse them frequently, once they&#8217;ll appear to be malicious again. Please act accordingly.</p>
<p>In case Your website listed in here:</p>
<p><span style="color: #ff0000;"><strong>Removal instructions [for site\host\shared hosting services Owners]:</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ffffff;"><strong>1. Search for .htaccess files and php.ini or .user.ini files in root directories, check them for mod_rewrite.c entries (see more details <a href="http://ondailybasis.com/blog/?p=1675"><span style="color: #ffffff;">here</span></a>)</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ffffff;"><strong>2. Clean  files attached in mod_rewrite.c section of .htaccess</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ffffff;"><strong>3. Hire security professional that will harden Your website\service to prevent future intrusions. If not &#8211; malware will return. </strong></span></p>
<p>Stay Safe!</p>
<p>D.L.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://ondailybasis.com/blog/?feed=rss2&#038;p=1859</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inside &#8220;4 horses club&#8221; malware &gt;&gt; social details :)</title>
		<link>http://ondailybasis.com/blog/?p=1846</link>
		<comments>http://ondailybasis.com/blog/?p=1846#comments</comments>
		<pubDate>Fri, 01 Feb 2013 17:18:44 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[self-study]]></category>

		<guid isPermaLink="false">http://ondailybasis.com/blog/?p=1846</guid>
		<description><![CDATA[It&#8217;s too big for twitter, so I post it as separate blog post. Some time ago I posted info about ransomware from &#8220;4 horses club&#8221;. Grab it HERE. Here is login page of this Aff program for partners (click for bigger pic) All concept of page &#8211; based on very good book of Soviet Authors [...]]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s too big for twitter, so I post it as separate blog post.</p>
<p>Some time ago I posted info about ransomware from &#8220;4 horses club&#8221;. Grab it <a href="http://ondailybasis.com/blog/?p=1739">HERE</a>.</p>
<p>Here is login page of this Aff program for partners (click for bigger pic)</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/02/4h.png"><img class="alignnone size-medium wp-image-1847" alt="4h" src="http://ondailybasis.com/blog/wp-content/uploads/2013/02/4h-300x199.png" width="300" height="199" /></a></p>
<p><span id="more-1846"></span></p>
<p>All concept of page &#8211; based on very good book of Soviet Authors <a href="http://en.wikipedia.org/wiki/Ilf_and_Petrov"> Ilya Ilf and Eugene Petrov</a> -<a href="http://en.wikipedia.org/wiki/The_Twelve_Chairs"> &#8220;The Twelve Chairs&#8221;</a> - very good, IMHO. If You read russian, and not read it yet &#8211; please do <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Even name of partner program referenced to some place and story in this book</p>
<p>Well, except Bender pic (funny fact, that name of main hero in book is also Bender). And on picture it presented same as in famous musical &#8220;The Twelve Chairs&#8221;(1976) played by actor Andrey Mironov:</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/02/4.jpg"><img class="alignnone  wp-image-1848" alt="4" src="http://ondailybasis.com/blog/wp-content/uploads/2013/02/4-300x225.jpg" width="210" height="158" /></a></p>
<p>&nbsp;</p>
<p>As You may see, unmistakable similarity here <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ok, so back to binary</p>
<p>You may see a LOT of it recently over net.</p>
<p>After I had a time for fresh look on a binary IDA\Ollydbg in this binary, there are few interesting things I like to share.</p>
<p>Binary compiled in Delphi7, and use a lot of VBScript files to execute commands needed. Literally, binary create a dit, extract a VB file in it, and execute it to perform some tasks. Bottom line of those tasks You may see in previous post. Here we looking for social info?</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/02/4h21.png"><img class="alignnone size-medium wp-image-1851" alt="4h2" src="http://ondailybasis.com/blog/wp-content/uploads/2013/02/4h21-300x131.png" width="300" height="131" /></a></p>
<p>Have a look on this screen. Those files were created on victim&#8217;s system as temporary, and then removed.</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/02/4h3.png"><img class="alignnone  wp-image-1854" alt="4h3" src="http://ondailybasis.com/blog/wp-content/uploads/2013/02/4h3.png" width="658" height="34" /></a></p>
<p>First of all &#8211; look at the path <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8220;The First Evidence&#8221;? Actually, it is <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Still looking for second one, BTW. And &#8220;Guatemala is a magical&#8221; <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Then &#8211; look at VB code &#8211; it&#8217;s a good opportunity to look inside source code that developer (in this case &#8211; malicious developer) wrote. Vars he\she uses &#8211; Egypt, Ibiza, Muson (slang for Music), REMONT (repairs, [RUS]), SPRITZ (probably injector, syringe [RUS] )..</p>
<p>another part that can be found in code:</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/02/4р4.png"><img class="alignnone size-full wp-image-1856" alt="4р4" src="http://ondailybasis.com/blog/wp-content/uploads/2013/02/4р4.png" width="507" height="18" /></a></p>
<p>&nbsp;</p>
<p>this is string stored in binary  to be saved as .bat file and then executed to modify hosts file. Variable carries  it&#8217;s portion  of intel too.</p>
<p><strong>So here we are starting to make assumptions:  </strong></p>
<p>Well, there are some details about person (or at least 2 persons) we see here.</p>
<p>First one is about 35-45 Years old man, maybe slightly older, who is familiar with Soviet literature of XX century, have good knowledge in IT, maybe he is in charge or  a leading position, employer.</p>
<p>The other one is younger (25-35?), it is a programmer, that code on Delphi, uses VB-Script, thinks about music, party, vacation and other stuff that people who work for salary think of. He\She is an employee or a minor partner. Not a Rap culture lover, apparently, and definitely native Russian speaker.</p>
<p>ups, it became bigger than I planned initially&#8230;</p>
<p>Well, need to take a break, real life calling <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span style="font-size: 13px; line-height: 19px;">Stay Safe! </span></p>
<p>D.L.</p>
]]></content:encoded>
			<wfw:commentRss>http://ondailybasis.com/blog/?feed=rss2&#038;p=1846</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reveton.N malware &#8211; Safe Mode included.</title>
		<link>http://ondailybasis.com/blog/?p=1842</link>
		<comments>http://ondailybasis.com/blog/?p=1842#comments</comments>
		<pubDate>Thu, 31 Jan 2013 11:19:40 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[virus removal]]></category>

		<guid isPermaLink="false">http://ondailybasis.com/blog/?p=1842</guid>
		<description><![CDATA[Reveton.N malware quite known recently, it&#8217;s Ransomeware that lock Your PC and demand money. See Microsoft Encyclopedia for screenshots and some details about it. interesting is, that most of  removal instructions that Google found start from Boot in &#8220;Safe mode&#8221; And my sample from 2 days ago infect victim in way, that in &#8220;Safe mode&#8221; [...]]]></description>
				<content:encoded><![CDATA[<p>Reveton.N malware quite known recently, it&#8217;s Ransomeware that lock Your PC and demand money.</p>
<p>See <a href="http://www.microsoft.com/security/portal/threat/encyclopedia/entry.aspx?Name=Trojan:Win32/Reveton.N">Microsoft Encyclopedia</a> for screenshots and some details about it.</p>
<p>interesting is, that most of  removal instructions that Google found start from Boot in &#8220;Safe mode&#8221;</p>
<p>And<strong> my sample from 2 days ago infect victim in way, that in &#8220;Safe mode&#8221; nice window that demand money, reappear (!)</strong></p>
<p>Ok, how?</p>
<p>Simple, actually. It inject itself into WMI service, as ServiceDLL both in ControlSet001 and ControlSet003</p>
<p>Local path of DLL is victim current %TEMP% folder</p>
<p><strong>So, updated cleanup instructions for Reveton.N malware:</strong></p>
<p style="padding-left: 60px;"><strong>1. Reboot and press F8, choose &#8220;Safe mode with command prompt&#8221; and boot with Your current user</strong></p>
<p style="padding-left: 60px;"><strong>2. In command prompt (black window) type in</strong></p>
<p style="padding-left: 90px;"><strong> cd %TEMP%</strong></p>
<p style="padding-left: 90px;">and press Enter</p>
<p style="padding-left: 90px;">then type in</p>
<p style="padding-left: 90px;"><strong>del /q *.dll</strong></p>
<p style="padding-left: 90px;">and press Enter</p>
<p style="padding-left: 90px;">type in</p>
<p style="padding-left: 90px;"><strong>shutdown /r /f /t 00</strong></p>
<p style="padding-left: 90px;">press Enter</p>
<p style="padding-left: 90px;">Computer will restart</p>
<p style="padding-left: 60px;"><strong>3. Download proper antivirus and clean Your computer with it from all other malware You have on Your PC. </strong></p>
<p>Stay Safe!</p>
<p>D.L.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://ondailybasis.com/blog/?feed=rss2&#038;p=1842</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SPL exploit kit &#8211; now with CVE-2013-0422</title>
		<link>http://ondailybasis.com/blog/?p=1774</link>
		<comments>http://ondailybasis.com/blog/?p=1774#comments</comments>
		<pubDate>Mon, 14 Jan 2013 17:15:36 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[FakeAV]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[SPL EK]]></category>

		<guid isPermaLink="false">http://ondailybasis.com/blog/?p=1774</guid>
		<description><![CDATA[Once in few days  I see some new stuff (for me, of course) and Google cannot answer me with enough details Friends, WTF is SPL Exploit Kit? urlquery.net/report.php?id=… &#60;&#60; sample detection by @urlquery. &#8212; Denis Laskov (@it4sec) January 7, 2013 So URLquery named it SPL Exploit kit, and almost no additional info about it present. Weird? Yep. [...]]]></description>
				<content:encoded><![CDATA[<p>Once in few days  I see some new stuff (for me, of course) and Google cannot answer me with enough details <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote class="twitter-tweet" width="500"><p>Friends, WTF is SPL Exploit Kit? <a href="http://t.co/47IlOhqH" title="http://urlquery.net/report.php?id=540361">urlquery.net/report.php?id=…</a> &lt;&lt; sample detection by @<a href="https://twitter.com/urlquery">urlquery</a>.</p>
<p>&mdash; Denis Laskov (@it4sec) <a href="https://twitter.com/it4sec/status/288341949927288832" data-datetime="2013-01-07T17:50:52+00:00">January 7, 2013</a></p></blockquote>
<p><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script></p>
<p>So URLquery named it SPL Exploit kit, and almost no additional info about it present. Weird? Yep.</p>
<p>So me and <a href="https://twitter.com/nsmfoo">@nsmfoo</a> had  a look at it, to see what we can learn.</p>
<p>Well, first of all, as I understand, name to this EK was given based on some tech specs, that return in each installation detected. Since then tech details slightly changed, but major idea is the same.</p>
<p>Ok, lets begin&#8230;</p>
<p><span id="more-1774"></span></p>
<p><strong>First Stage: Got infected</strong></p>
<p>Classic always work ) malicious JS or iframe that lead to TDS</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl1.png"><img class="alignnone  wp-image-1778" alt="spl1" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl1.png" width="445" height="57" /></a></p>
<p>Ok. Moving&#8230;</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl2.png"><img class="alignnone  wp-image-1779" alt="spl2" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl2.png" width="399" height="105" /></a></p>
<p>and we land on first page of EK. It&#8217;s more visual part, which <strong>main purpose is to scary You and in background forward browser to actual exploit.</strong></p>
<p>Some screenshots:</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl4.png"><img class="alignnone size-thumbnail wp-image-1782" alt="spl4" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl4-150x150.png" width="150" height="150" /></a> <a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl3.png"><img class="alignnone size-thumbnail wp-image-1781" alt="spl3" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl3-150x117.png" width="150" height="117" /></a> <a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl5.png"><img class="alignnone size-thumbnail wp-image-1783" alt="spl5" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl5-150x150.png" width="150" height="150" /></a></p>
<p>&nbsp;</p>
<p>All this is same HTML page with JS in it to create vision of victim&#8217;s PC gone crazy. <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Nice one, but have a look on JS code, responsible for one of alerts <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl6.png"><img class="alignnone size-full wp-image-1784" alt="spl6" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl6.png" width="342" height="191" /></a></p>
<p>Looks like Sophos guys doing good job, if it gone that far <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Actual  forwarder looks also very familiar</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl7.png"><img class="alignnone  wp-image-1786" alt="spl7" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl7.png" width="603" height="53" /></a></p>
<p><strong>Landing page is:</strong></p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl8.png"><img class="alignnone  wp-image-1788" alt="spl8" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl8.png" width="637" height="287" /></a></p>
<p>in this case it was -<strong> JAVA CVE-2012-1723</strong> &#8211; sample on <a href="https://www.virustotal.com/file/8e8dd6370cf40ee3693ceba72d93df68d9a2d6b364703a3ef1d19cd6c7307e51/analysis/1358172235/">VT</a> [5/46]</p>
<p>What JAR do, I hope colleague of mine will blog soon in details. <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Update2: And here is expected part from <strong>@kahusecurity</strong> &#8211; please have a read <a href="http://www.kahusecurity.com/2013/unpacking-a-malicious-java-applet/"><strong>&#8220;Unpacking a Malicious Java Applet&#8221;</strong></a></p>
<p>Update3: Another good analysis of SPL EK JAR file, and detailed step by step technique of it unpack &amp; understand, by <a href="https://twitter.com/Gunther_AR">@Gunther_AR</a> - grab it here: <a href="http://quequero.org/2013/01/malicious-java-applet-deobfuscation/">&#8220;Malicious Java Applet Deobfuscation&#8221;</a></p>
<p><strong style="font-size: 13px;">Many thx to <a href="https://twitter.com/kahusecurity">@kahusecurity</a> for <a href="http://www.kahusecurity.com/tools/">tools</a> and readiness to help and share <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </strong></p>
<p>But wait, also <strong>thx to <a href="http://malware.dontneedcoffee.com/2013/01/0-day-17u10-spotted-in-while-disable.html">@kafeine</a>, we all now know about recent 0day on Java ver 7u10 &#8211; CVE-2013-0422 <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p>And <strong>here it is</strong>, served thru SPL Expoit kit to any Java client ver 7. <a href="https://www.virustotal.com/file/091c789c10e41230c5b5ffc496da94d9e5911b169fb7e87cbad602ec0951a999/analysis/">VT</a> <strong>[2/46]</strong></p>
<p>Payload is the same, packed and XORed</p>
<p><strong>Second stage: Binary behavior</strong></p>
<p>Victim experience:</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl9.png"><img class="alignnone size-thumbnail wp-image-1791" alt="spl9" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl9-150x150.png" width="150" height="150" /></a> <a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl10.png"><img class="alignnone size-thumbnail wp-image-1792" alt="spl10" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl10-150x150.png" width="150" height="150" /></a> <a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl11.png"><img class="alignnone size-thumbnail wp-image-1793" alt="spl11" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl11-150x150.png" width="150" height="150" /></a><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl12.png"><img class="alignnone size-thumbnail wp-image-1794" alt="spl12" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl12-150x150.png" width="150" height="150" /></a></p>
<p>Actually, as You may see, display name of malware depends on location and OS version. thx <a href="https://twitter.com/c_APT_ure/">TomU</a> for <a href="https://twitter.com/c_APT_ure/status/288293457502552065">this</a> tip!  It also behaves differently.</p>
<p><strong>What it do:</strong></p>
<p style="padding-left: 30px;">1. Binary extracted from JAR</p>
<p style="padding-left: 30px;">2. It copy itself to Local Settings\Application Data folder and name new binary as [3 vary letters].exe with attributes Hidden and System</p>
<p style="padding-left: 30px;">3. Delete a copy in %Temp% folder</p>
<p style="padding-left: 30px;">4. Remove registry data, that point to Windows Update\Automatic Update services</p>
<p style="padding-left: 30px;">5. Update current registry values for multiple internet-related programs and addons, so now each time any binary, addon or internet-related program executed, malware catch it execution in first place.</p>
<p>Now, when executed and run, it demand money <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Of course!</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl15.png"><img class="alignnone  wp-image-1799" alt="spl15" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl15.png" width="535" height="501" /></a></p>
<p>And  here where those &#8221;transactions&#8221; go to verify:</p>
<p><strong>109.206.174.38</strong> was before few days</p>
<p><strong>109.206.174.45</strong> &#8211; recent.</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl13.png"><img class="alignnone size-thumbnail wp-image-1800" alt="spl13" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl13-150x110.png" width="150" height="110" /></a> <a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl14.png"><img class="alignnone size-thumbnail wp-image-1801" alt="spl14" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl14-150x72.png" width="150" height="72" /></a></p>
<p>Great, simple known schema, but&#8230;</p>
<p>In addition &#8211; <strong>during execution FakeAV try to get another  binary data.exe</strong></p>
<p>This one two days old &#8211; <a href="https://www.virustotal.com/file/b1e6f0cad0ae5c60e9e4fa18fd3b4a045d6db172c10a1c8e054e22d1aff4c673/analysis/1358178918/" target="_blank">VT</a> [21/45]</p>
<p>And this one &#8211; today <a href="https://www.virustotal.com/file/0bcff889dc85df787f65ee6a48da2ba378513a48429903b019f275e277b6dfb6/analysis/" target="_blank">VT</a> [7/46]</p>
<p><strong>It&#8217;s malware of Necurs family. </strong></p>
<p>Have a look on Anubis <a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/report_161cd7750f3d389e4998255ed1da3d036.pdf" target="_blank">report</a> of it activity on machine.</p>
<p><a href="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl16.png"><img class="alignnone size-full wp-image-1810" alt="spl16" src="http://ondailybasis.com/blog/wp-content/uploads/2013/01/spl16.png" width="194" height="80" /></a></p>
<p>It actually re-crypted very often, and in time of serving<strong> detection is about 3-4 from 46. according to VirusTotal. </strong></p>
<p><strong>Conclusions:</strong></p>
<p>1. SPL exploit kit looks simple and lame (for brief look) in compare to EK we saw previously &#8211; simple page, some HTML code, JAR etc. But this assumption is  wrong. It include:</p>
<p style="padding-left: 30px;">- on the fly generated JAR file, with only one exploit per victim, which most suitable.</p>
<p style="padding-left: 30px;">- binary embedded into JAR re-packed and re-crypted very often.</p>
<p style="padding-left: 30px;">- SPL EK included  0-day  Java few days afer disclosure of it. Not before &#8211; for sure, but few days after it was announced (between 07.01 and 11.01)</p>
<p style="padding-left: 30px;">- as a result &#8211; detection ratio of every served payload is extremely low, got also a bunch of FUD&#8217;s during tests.</p>
<p>2. Malware binary, that  SPL EK serve to victims, is quite old. Original name is &#8220;XP Home Security 2011&#8243; (hard-coded in binary), and then themes applied according to current victim.</p>
<p>3. As part of this FakeAV, also rootkit\backdoor Necurs served. Nasty and very low detect ratio too.</p>
<p>4. Well, bottom line, this EK is quite successful in it main purpose &#8211; serving malware and gather installs.</p>
<p>&nbsp;</p>
<p><strong>Removal instructions:</strong></p>
<p>Go to Local Settings\Application Data\ folder, find there hidden filename. Rename it</p>
<p>Open Task Manager and kill process named same as renamed file</p>
<p>Then You need to update AV, maybe perform return to Last Known Good Config or so to restore registry keys.</p>
<p><strong>Credits:</strong></p>
<p><strong>@nsmfoo for started all this and continue with it even now <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p><strong>@kahusecurity for tools and great support in de-XORing binary</strong></p>
<p><strong>@kafeine for advises and valuable knowledge</strong></p>
<p><strong>@c_APT_ure for useful tips</strong></p>
<p><strong>@unixfreaxjp for help with JAR and Java</strong></p>
<p><strong>@MalwareMustDie and all participants of a project for their valuable input!</strong></p>
<p>thx Friends!</p>
<p><strong>Additional readings:</strong></p>
<p>Article about SPL EK by @MalwareSigs  - <a href="http://www.malwaresigs.com/2012/12/05/spl-exploit-kit/">&#8220;SPL Exploit Kit&#8221;</a> &lt;&lt; see here regex for checking SPL EK presence.</p>
<p>That&#8217;s all for now</p>
<p>Stay Safe</p>
<p>D.L.</p>
<p>Update1: Oh, my english is terrible&#8230; Fixing <img src='http://ondailybasis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ondailybasis.com/blog/?feed=rss2&#038;p=1774</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
