<?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>I Am Security &#187; Finjan</title>
	<atom:link href="http://www.iamit.org/blog/category/finjan/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iamit.org/blog</link>
	<description>Security news and research</description>
	<lastBuildDate>Mon, 26 Jul 2010 09:20:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
<cloud domain='www.iamit.org' port='80' path='/blog/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Crimeware server catering to “grab and run” criminals</title>
		<link>http://www.iamit.org/blog/2008/05/crimeware-server-catering-to-%e2%80%9cgrab-and-run%e2%80%9d-criminals/</link>
		<comments>http://www.iamit.org/blog/2008/05/crimeware-server-catering-to-%e2%80%9cgrab-and-run%e2%80%9d-criminals/#comments</comments>
		<pubDate>Tue, 06 May 2008 02:59:13 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Finjan]]></category>
		<category><![CDATA[Security Research]]></category>
		<category><![CDATA[eCrime]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=46</guid>
		<description><![CDATA[During our research for the latest Malicious Page of the Month that has just been released, we came across a domain that was being used as a command and control for the Crimeware that was executed on attacked machines. This domain was also used as the “drop site” for private information being harvested by that [...]


Related posts:<ol><li><a href='http://www.iamit.org/blog/2008/02/crimeware-server-and-the-international-man-of-mystery/' rel='bookmark' title='Permanent Link: Crimeware server and the international man of mystery'>Crimeware server and the international man of mystery</a></li>
<li><a href='http://www.iamit.org/blog/2008/09/snooping-into-palin-emails-watch-out-for-the-criminals-snooping-on-you/' rel='bookmark' title='Permanent Link: Snooping into Palin emails? Watch out for the criminals snooping on you!'>Snooping into Palin emails? Watch out for the criminals snooping on you!</a></li>
<li><a href='http://www.iamit.org/blog/2008/09/neosploit-the-rumors-of-my-demise-have-been-greatly-exaggerated/' rel='bookmark' title='Permanent Link: Neosploit &#8211; The rumors of my demise have been greatly exaggerated'>Neosploit &#8211; The rumors of my demise have been greatly exaggerated</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>During our research for the latest <a href="http://www.finjan.com/GetObject.aspx?ObjId=606">Malicious Page of the Month</a> that has just been released, we came across a domain that was being used as a command and control for the Crimeware that was executed on attacked machines. This domain was also used as the “drop site” for private information being harvested by that Crimeware.<br />
When we further examined this server, we found that the stolen data on it was <strong>unprotected</strong> and freely accessible to anyone &#8211; we found no access restrictions, no encryption whatsoever!<br />
In total, we found more than <strong>1.4Gb</strong> of personal and business data (including emails and web related data) for grabs, collected from infected PCs.</p>
<p>Obviously, no business or personal data was safe; we found logs with business information on shipments, intellectual property, pension funds, legal cases, patients, marketing strategies etc. but also personal information that criminal elements could use to their own benefit.</p>
<p>Following are some of the records that were on that server for grabs.<br />
We changed/blurred information to protect people’s and companies&#8217; privacy.</p>
<p>Medical record:</p>
<div><span style="border: 1px solid #000000; display: block; width: 560px;"><em>http://&#8230;../de&#8230;nts/&#8230;/MedicalRecordReview/ &#8220;Diagnosis=Admitted for IV abx 2nd spinal rod infection. Hx of SMA, wheelchair bound, on bipap c back up rate. ESR increased. Ctx neg. Not getting meds at home. Will need 42 days abx…. low grade fever 2 days ago.&#8221; </em></span></div>
<p>Email communications:</p>
<div><span style="border: 1px solid #000000; display: block; width: 560px;"><em>&#8220;…Attached you will find our personnel file. Please fill it out in its entirety and return via email….These forms are kept confidential and locked up&#8221; </em></span></div>
<p><img class="alignnone size-full wp-image-293" title="crimeserver1" src="http://www.iamit.org/blog/wp-content/uploads/2008/05/crimeserver1.jpg" alt="crimeserver1" width="560" height="151" /></p>
<p>Outlook with email communications:</p>
<p><img class="alignnone size-full wp-image-294" title="crimeserver2" src="http://www.iamit.org/blog/wp-content/uploads/2008/05/crimeserver2.jpg" alt="crimeserver2" width="422" height="310" /></p>
<p align="center">
<p>Bank customer’s credit card details:</p>
<p><img class="alignnone size-full wp-image-295" title="crimeserver3" src="http://www.iamit.org/blog/wp-content/uploads/2008/05/crimeserver3.jpg" alt="crimeserver3" width="437" height="223" /></p>
<p align="center">
<p>We were especially curious how these user data for grabs were managed by the cybercriminals, and we found a C&amp;C application that they used for that purpose.<br />
The administration of this Command &amp; Control (C&amp;C) function consists of a PHP based web application. It managed the infected machines, and enabled the criminal to address specific groups of “users” –by country, by IP, by type of logs, you name it!</p>
<p><img class="alignnone size-full wp-image-297" title="crimeserver4" src="http://www.iamit.org/blog/wp-content/uploads/2008/05/crimeserver4.jpg" alt="crimeserver4" width="504" height="413" /></p>
<p align="center">
<p>The administrator could also issue commands, instructing the Crimeware on the infected machines to perform certain actions:</p>
<p><img class="alignnone size-full wp-image-298" title="crimeserver5" src="http://www.iamit.org/blog/wp-content/uploads/2008/05/crimeserver5.gif" alt="crimeserver5" width="207" height="233" /></p>
<p align="center">
<p>The server we investigated hosted multiple “attack campaigns”.<br />
Each campaign had its own logged data from the infected users, as well as an administrative interface to the attack Crimeware toolkit that was used to infect the users (in this case the “AdPack” toolkit).</p>
<p><img class="alignnone size-full wp-image-299" title="crimeserver6" src="http://www.iamit.org/blog/wp-content/uploads/2008/05/crimeserver6.jpg" alt="crimeserver6" width="514" height="421" /></p>
<p align="center">
<p>The administrative (statistics) interface to these AdPack toolkits showed how effective each campaign was, and provided statistical information on the geographical location of the infections, and of course, referral statistics to accurately measure where did the infections come from.</p>
<p>With user data services as described above, we now see that Crimeware has reached a new level of sophistication – again!<br />
We see that Command &amp; Control applications enable administrators to manage the actions and performance of their Crimeware. It gives them also control over the users of the Crimeware as well as its victims. Most scarily of all &#8211; it also allows easy access to user data.<br />
The full research is captured in our MPOM April 2008.<br />
We would like to emphasize, that due to restrictions set by law, the research discloses only a fraction of the amount and type of data that we found on the crime server.</p>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2008/02/crimeware-server-and-the-international-man-of-mystery/' rel='bookmark' title='Permanent Link: Crimeware server and the international man of mystery'>Crimeware server and the international man of mystery</a></li>
<li><a href='http://www.iamit.org/blog/2008/09/snooping-into-palin-emails-watch-out-for-the-criminals-snooping-on-you/' rel='bookmark' title='Permanent Link: Snooping into Palin emails? Watch out for the criminals snooping on you!'>Snooping into Palin emails? Watch out for the criminals snooping on you!</a></li>
<li><a href='http://www.iamit.org/blog/2008/09/neosploit-the-rumors-of-my-demise-have-been-greatly-exaggerated/' rel='bookmark' title='Permanent Link: Neosploit &#8211; The rumors of my demise have been greatly exaggerated'>Neosploit &#8211; The rumors of my demise have been greatly exaggerated</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2008/05/crimeware-server-catering-to-%e2%80%9cgrab-and-run%e2%80%9d-criminals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On the (dis)merits of privacy</title>
		<link>http://www.iamit.org/blog/2008/03/on-the-dismerits-of-privacy/</link>
		<comments>http://www.iamit.org/blog/2008/03/on-the-dismerits-of-privacy/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 02:58:19 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Finjan]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=44</guid>
		<description><![CDATA[Following up on my last post, after filing a complaint with the abuse department of privacyprotect.org (and blogging about the problem), I have just received an update noting that: &#8211;quote&#8211; On investigating on your complaint , we have determined that the domain name &#8220;SPYWARESAFE.NET &#8221; is in violation of the terms of usage of the [...]


Related posts:<ol><li><a href='http://www.iamit.org/blog/2008/03/taking-down-a-malicious-site-the-good-the-bad-and-the-ugly/' rel='bookmark' title='Permanent Link: Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;'>Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Following up on <a href="http://www.finjan.com/MCRCblog.aspx?EntryId=1910">my last post</a>, after filing a complaint with the abuse department of privacyprotect.org (and blogging about the problem), I have just received an update noting that:</p>
<p>&#8211;quote&#8211;</p>
<p>On investigating on your complaint , we have determined that the domain name &#8220;SPYWARESAFE.NET &#8221; is in violation of the terms of usage of the Privacy Protect service. We have therefore,</p>
<ol>
<li>disabled the Privacy Protect service for the domain name, such that it now displays the putative contact details of the domain name holder, and</li>
<li>notified the sponsoring Registrar about the complaint, who shall act upon the complaint in accordance with their policies.</li>
</ol>
<p>For any further updates on this matter, you can contact ESTDOMAINS, INC.  , the sponsoring Registrar for &#8220;SPYWARESAFE.NET&#8221;.</p>
<p>We are extremely particular about preventing misuse of our services in any manner. Should you encounter any other such instances, please feel free to notify us immediately.</p>
<p>&#8211;quote&#8211;</p>
<p>It’s interesting to note how a little exposure, combined with an email pointing out that the privacy protection is in direct violation of the service terms, gets some gears in motion. Don’t expect though to get complete verifiable details on the domain owner… The known issue with whois data is not limited to hideouts such as privacyprotect.org, but to the entire scheme of how domain registration works, and the accountability (or lack of) of the registrars to make sure that the details of domain owners are at least somewhat relevant. As you can see from the below data, trying to find a “Pavel” that lives in Russia, is like trying to find a “Mohammad” in Saudi-Arabia, or a “Mr. Smith” back in the states&#8230;</p>
<p>&#8211;quote&#8211;</p>
<p>Registration Service Provided By: ESTDOMAINS INC<br />
Contact: +1.3027224217<br />
Website: <a href="http://www.estdomains.com/">http://www.estdomains.com</a></p>
<p>Domain Name: SPYWARESAFE.NET</p>
<p>Registrant:<br />
N/A<br />
Pavel        (<a href="mailto:linkwork@mail.ru">linkwork@mail.ru</a>)<br />
kremlin st. 1<br />
Moscow<br />
Moskovskaya oblast,123456<br />
RU<br />
Tel. +495.1231212</p>
<p>Creation Date: 05-Dec-2007<br />
Expiration Date: 05-Dec-2008</p>
<p>&#8211;quote&#8211;</p>
<p>At least the onion is starting to peel off and maybe hopefully law-enforcement can get better details on the owner, or work with the registrar to track him/her down.</p>
<p>Off to Amasterdam now – see you in BlackHat EU (Friday the 28th, track 2, 10am)!</p>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2008/03/taking-down-a-malicious-site-the-good-the-bad-and-the-ugly/' rel='bookmark' title='Permanent Link: Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;'>Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2008/03/on-the-dismerits-of-privacy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;</title>
		<link>http://www.iamit.org/blog/2008/03/taking-down-a-malicious-site-the-good-the-bad-and-the-ugly/</link>
		<comments>http://www.iamit.org/blog/2008/03/taking-down-a-malicious-site-the-good-the-bad-and-the-ugly/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 02:57:37 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Finjan]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Security Research]]></category>
		<category><![CDATA[eCrime]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=42</guid>
		<description><![CDATA[As part of the &#8220;closure&#8221; on the February Malicious Page of the Month, which involved meoryprof.info (taken down), and spywaresafe.net we have contacted the appropriate parties in order to notify them that these websites contain malicious code. Meoryprof.info was the first to buckle (probably under the press exposure), but spywaresafe.net have managed to stay afloat [...]


Related posts:<ol><li><a href='http://www.iamit.org/blog/2008/03/on-the-dismerits-of-privacy/' rel='bookmark' title='Permanent Link: On the (dis)merits of privacy'>On the (dis)merits of privacy</a></li>
<li><a href='http://www.iamit.org/blog/2008/10/taking-the-red-pill-down-the-rabbit-hole/' rel='bookmark' title='Permanent Link: Taking the Red Pill Down the Rabbit Hole'>Taking the Red Pill Down the Rabbit Hole</a></li>
<li><a href='http://www.iamit.org/blog/2008/02/crimeware-server-and-the-international-man-of-mystery/' rel='bookmark' title='Permanent Link: Crimeware server and the international man of mystery'>Crimeware server and the international man of mystery</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>As part of the &#8220;closure&#8221; on the <a href="http://www.finjan.com/GetObject.aspx?ObjId=559&amp;Openform=63">February Malicious Page of the Month</a>, which involved meoryprof.info (taken down), and spywaresafe.net we have contacted the appropriate parties in order to notify them that these websites contain malicious code.</p>
<p>Meoryprof.info was the first to buckle (probably under the press exposure), but spywaresafe.net have managed to stay afloat for quite a while. The problem with such domains these days, is that they are usually designed to hide the true owner in the best possible way.</p>
<p>Spywaresafe.net has been running in full-steam for only a short period of time, but has managed to rack up quite a track record of user visits and infections (see the below screenshot from its NeoSploit admin page)</p>
<p align="center"><img class="alignnone size-full wp-image-301" title="takingDown" src="http://www.iamit.org/blog/wp-content/uploads/2008/03/takingDown.jpg" alt="takingDown" width="564" height="141" /></p>
<p>(note that this screenshot is rather old and contains data on the first half of February only… nevertheless, almost 300k visits were logged to the main user and 150k more on the second user)</p>
<p>Looking into the whois record for spywaresafe.net would yield a disappointment – it is hidden using a service provided by <a href="http://privacyprotect.org/" target="_blank">privacyprotect.org</a>. This service allows domain owners to hide behind an entity that would provide them &#8220;privacy&#8221;. The practice itself may seem questionable, but privacyprotect.org has a nice website with easy to access forms for requesting the disclosure of a domain owner in case there is some kind of &#8220;abuse&#8221; done by it.</p>
<p>Well… that didn&#8217;t really work. Sending a couple of these forms in the past month got us absolutely nowhere. No response, not even a decline for our request. These guys must be doing a too good of a job protecting something (definitely not internet users, but something&#8230;).</p>
<p>On the bright side, when we contacted the hosting company that was associated with the IP address for spywaresafe.net (78.109.18.130), the response was surprisingly quick, and the security guys there took the offending site down (p.s. – always use email, trying to call in brought an unbridgeable language barrier):</p>
<p>—quote—</p>
<p>&#8230;</p>
<p>The actions accepted by us:</p>
<p>Server IP: 78.109.18.130 it is disconnected and formatted.</p>
<p>&#8230;</p>
<p>—quote—</p>
<p>Although the company policy there is not to disclose details about the client who paid for this service (can&#8217;t blame us for trying <img src='http://www.iamit.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ).</p>
<p>Moral of the story – undecided (hence – good, bad, ugly?). Seems like the law enforcement efforts does work, on targeted incidents (no follow up on the second domain). Trying to be the good samaritan does not always play well, and you get to hurdles such as these privacy protection schemes (which in my opinion have no place on the internet), and to surprises such as the guys in <a href="http://hosting.ua/eng/index.php" target="_blank">hosting.ua</a> (Ukraine’s national hosting) who diligently stepped up to the plate. One has to admit that there really is no place for discrimination on the net&#8230;</p>
<p>In hope that we won’t have to do any more of this and have law enforcement and CERTs kick in for those cases, I&#8217;ll sign off for this time <img src='http://www.iamit.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2008/03/on-the-dismerits-of-privacy/' rel='bookmark' title='Permanent Link: On the (dis)merits of privacy'>On the (dis)merits of privacy</a></li>
<li><a href='http://www.iamit.org/blog/2008/10/taking-the-red-pill-down-the-rabbit-hole/' rel='bookmark' title='Permanent Link: Taking the Red Pill Down the Rabbit Hole'>Taking the Red Pill Down the Rabbit Hole</a></li>
<li><a href='http://www.iamit.org/blog/2008/02/crimeware-server-and-the-international-man-of-mystery/' rel='bookmark' title='Permanent Link: Crimeware server and the international man of mystery'>Crimeware server and the international man of mystery</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2008/03/taking-down-a-malicious-site-the-good-the-bad-and-the-ugly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimizing Cross Site Scripting &#8211; and general security practices</title>
		<link>http://www.iamit.org/blog/2008/03/optimizing-cross-site-scripting-and-general-security-practices/</link>
		<comments>http://www.iamit.org/blog/2008/03/optimizing-cross-site-scripting-and-general-security-practices/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 02:56:52 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Finjan]]></category>
		<category><![CDATA[Security Research]]></category>
		<category><![CDATA[eCrime]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=40</guid>
		<description><![CDATA[We have been working recently on a XSS attack that impacted  a huge number of  potential victims, as the attack itself has been “optimized” by SEO (Seacrh Engine Optimization) practices that pushed it to Google’s indexes. In itself, this is not a new technique, but the sheer size of it made us take a second [...]


Related posts:<ol><li><a href='http://www.iamit.org/blog/2009/03/social-aspects-of-web-security-the-march-edition/' rel='bookmark' title='Permanent Link: Social aspects of web security &#8211; the March edition'>Social aspects of web security &#8211; the March edition</a></li>
<li><a href='http://www.iamit.org/blog/2008/03/taking-down-a-malicious-site-the-good-the-bad-and-the-ugly/' rel='bookmark' title='Permanent Link: Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;'>Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2008/10/obama-leads-in-us-presidential-election-poll-the-ecrime-way/' rel='bookmark' title='Permanent Link: Obama Leads in US Presidential Election Poll &#8211; the eCrime Way'>Obama Leads in US Presidential Election Poll &#8211; the eCrime Way</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>We have been working recently on a XSS attack that impacted  a huge number of  potential victims, as the attack itself has been “optimized” by SEO (Seacrh Engine Optimization) practices that pushed it to Google’s indexes.</p>
<p>In itself, this is not a new technique, but the sheer size of it made us take a second look (incidentally, another <a href="http://ddanchev.blogspot.com/2008/03/zdnet-asia-and-torrentreactor-iframe-ed.html" target="_blank">security researcher</a> has gone public with the details at the same time while we were communicating with Google’s security team about it). So how does it work? Basically the recipe is quite simple:</p>
<ol>
<li>Find an XSS vulnerability on a major site that has a decent amount of traffic (<a href="http://www.xssed.com/" target="_blank">easy</a>).</li>
<li>Decide what you want your victim to “experience” – this can vary from serving some malicious code, to pure  Crimeware marketing (lessons learned from “what to avoid”  from SPAM email marketing).</li>
<li>Start googling it with the XSS in the URL (most sites normally allow parameters to be passed in a GET rather than enforcing POST only).</li>
<li>Enjoy the show – make sure that the XSS (usually a search page) also contains some keywords that would attract hits from legitimate searches.</li>
</ol>
<p>XSSed sites used:</p>
<p>From what we have seen so far – including sites such as torrentreactor.net (first one) and zdnetasia.com (on 3/4/2008), tv.com (2/5/2008), torrentportal.com (3/8/2008), University of Pittsburgh’s jurist.law.pitt.edu, torrentfreak.com and fulldownloads.us (3/9/2008).</p>
<p>Unwanted sites used in the attack:</p>
<p>From is-t-h-e.com, through 72.232.39.252, media-toolbar.com, oasdc.info, do-t-h-e.com – all provide some kind of unwanted malware to be eventually dropped onto the unsuspecting user.</p>
<p>And finally – a glimpse into what people are looking for.  Looking at the keywords used as part of the search terms, we discovered a sort of a zeitgeist of popular terms. The obligatory mature content terms (which I won’t quote for obvious reasons!) to the other extreme such as “the lost book of the new testament bible”, and the more spiritual “working with emotional intelligence” as well as the mundane “chevy tahoe specs”. Even techies are properly served with “bash if or condition”. In short, it provides us with a truly “inspiring” journey into what makes us tick (although we already know, still, seeing it is truly believing).</p>
<p>And now for the replies we got from some affected parties:</p>
<p>From torrentreactor  &#8211; who we contacted on 3/4/2008, as their XSS was not public at the time (if you don’t count the outing done by other <a href="http://ddanchev.blogspot.com/" target="_blank">blogs</a>) – we got a pretty quick response thanking us for the notification, and asking if there were more issues with their site. However, there hasn’t been a fix of the XSS issue yet at the time of this writing).</p>
<p>The more interesting view comes from Google (contacted early 3/4/2008). We contacted them since we saw that some of the search results were sanitized of the offending XSS effect, while other still contained a working XSS.</p>
<p>Google acknowledged that this was a known attack vector, and confirmed that they are indeed working on ways to manipulate and “sanitize” links provided by them in an effort to minimize the effect of incidents such as XSS on indexed sites. They also share our opinion on the reality of XSS and its affects on web browsing: &#8220;Google recommends that sites fix their cross-site scripting vulnerabilities as a priority. These can be abused in a number of ways, including bad interactions with search engines. Google is helping by reaching out to affected organizations. In addition, Google has internal processes to block abuses when the situation warrants.&#8221;</p>
<p>It will be interesting to see how this will work out  since sites still cache search results, thus allowing search engines to index those as results as well. That practice is exploited here where the site is affected by a XSS, which is then in turn “immortalized” when a search engine sees it.</p>
<p>In the meantime we would recommend the following:</p>
<ol>
<li>Website owners and developers &#8211; XSS is rated no. 1 in the <a href="http://www.owasp.org/index.php/Top_10_2007" target="_blank">OWASP top 10</a> web application vulnerabilities (no pun intended). <a href="http://ha.ckers.org/xss.html" target="_blank">Most of them are known</a>. Test for it, fix it. It may not be a direct threat to YOUR site, but it&#8217;s a security issue nonetheless and poses a risk to your users.</li>
<li>Stop allowing the caching of search results. All the XSS were found in the search pages of the vulnerable sites. Just disable search engine caching for them. There is no added value in it.</li>
<li>Search Engines &#8211; you have the money and the resources. Although it&#8217;s OPP (other people&#8217;s problem), you can help prevent and mitigate such incidents (kudos to Google for their ongoing efforts).</li>
</ol>
<p>Ending on a high note – we stand for security of online browsing, as well as responsible disclosure.</p>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2009/03/social-aspects-of-web-security-the-march-edition/' rel='bookmark' title='Permanent Link: Social aspects of web security &#8211; the March edition'>Social aspects of web security &#8211; the March edition</a></li>
<li><a href='http://www.iamit.org/blog/2008/03/taking-down-a-malicious-site-the-good-the-bad-and-the-ugly/' rel='bookmark' title='Permanent Link: Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;'>Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2008/10/obama-leads-in-us-presidential-election-poll-the-ecrime-way/' rel='bookmark' title='Permanent Link: Obama Leads in US Presidential Election Poll &#8211; the eCrime Way'>Obama Leads in US Presidential Election Poll &#8211; the eCrime Way</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2008/03/optimizing-cross-site-scripting-and-general-security-practices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crimeware server and the international man of mystery</title>
		<link>http://www.iamit.org/blog/2008/02/crimeware-server-and-the-international-man-of-mystery/</link>
		<comments>http://www.iamit.org/blog/2008/02/crimeware-server-and-the-international-man-of-mystery/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 02:50:40 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Finjan]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Security Research]]></category>
		<category><![CDATA[eCrime]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=38</guid>
		<description><![CDATA[While conducting research for the latest Malicious Page of the Month we have just released, we tried to track down the origins of the crimeware. Obviously, this is a daunting task by itself, and although sometimes security researchers are able to point at specific people as the ones running the criminal activity, it does not [...]


Related posts:<ol><li><a href='http://www.iamit.org/blog/2008/05/crimeware-server-catering-to-%e2%80%9cgrab-and-run%e2%80%9d-criminals/' rel='bookmark' title='Permanent Link: Crimeware server catering to “grab and run” criminals'>Crimeware server catering to “grab and run” criminals</a></li>
<li><a href='http://www.iamit.org/blog/2008/03/taking-down-a-malicious-site-the-good-the-bad-and-the-ugly/' rel='bookmark' title='Permanent Link: Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;'>Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2008/03/on-the-dismerits-of-privacy/' rel='bookmark' title='Permanent Link: On the (dis)merits of privacy'>On the (dis)merits of privacy</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>While conducting research for the latest <a href="http://www.finjan.com/GetObject.aspx?ObjId=559&amp;Openform=63">Malicious Page of the Month</a> we have just released, we tried to track down the origins of the crimeware.</p>
<p>Obviously, this is a daunting task by itself, and although sometimes security researchers are able to point at specific people as the ones running the criminal activity, it does not always help that much (remember the RBN case where multiple law enforcement agencies were notified, but the people behind the scenes were never arrested or indicted).</p>
<p>Well then, back to our little server – the domain name hosting the crimeware (Neosploit 2.0.13) was hosted in Hong-Kong (see below)</p>
<p><img class="alignnone size-full wp-image-303" title="mistery001" src="http://www.iamit.org/blog/wp-content/uploads/2008/02/mistery001.png" alt="mistery001" width="564" height="312" /></p>
<p align="center">
<p>So that does not bring us any closer to who is this – as the address is located at a hosting company. Fortunately, our research brought in some additional IP addresses. We managed to grab these from the web server just like we have uncovered the 8,700 FTP account credentials that the research paper talks about (no exploits or attacks were used to do so – simply thinking outside the box sufficed).</p>
<p>Tracking these down proved to be a nice tour around the globe (long whois info deprecated for clarity):</p>
<table style="height: 690px;" border="0" cellspacing="0" cellpadding="0" width="733">
<tbody>
<tr>
<td valign="top">inetnum:        78.109.19.160 &#8211; 78.109.19.167</p>
<p><strong>netname:        activebill</strong></p>
<p><strong>descr:          activebill &#8211; Andrey Smirnov</strong></p>
<p><strong>person:         Andrey Smirnov</strong></p>
<p><strong>address:        125167, Leningradsky prospekt, 47, Moscow, Russia</strong></p>
<p><strong>remarks:        phone:        +7 095 795 0295</strong></p>
<p><strong>phone:          +7 495 795 0295</strong></p>
<p><strong>remarks:        fax-no:       +7 095 795 0295</strong></p>
<p><strong>fax-no:         +7 495 795 0295</strong></p>
<p>nic-hdl:        AS32250-RIPE</p>
<p>e-mail:         <a href="mailto:admie@svetcorp.net"><span style="text-decoration: underline;">admie@svetcorp.net</span></a></p>
<p>source:         RIPE # Filtered</td>
<td valign="top">inetnum:        82.146.40.0 &#8211; 82.146.47.255</p>
<p><strong>netname:        ISPSYSTEM</strong></p>
<p><strong>descr:          ISPsystem at MSM</strong></p>
<p><strong>country:        RU</strong></p>
<p>admin-c:        DS2036-RIPE</p>
<p>tech-c:         AB11726-RIPE</p>
<p>status:         ASSIGNED PA</p>
<p>mnt-by:         ISPSYSTEM-MNT</p>
<p>source:         RIPE # Filtered</p>
<p>&lt;&gt;<strong>person:         Dmitry Sidorov</strong><strong>address:        PoBox 30, 664017, Irkutsk, Russia</strong></p>
<p><strong>phone:          +7 495 727 38 79</strong></p>
<p><strong>e-mail:         <a href="mailto:inet@ispserver.com"><span style="text-decoration: underline;">inet@ispserver.com</span></a></strong></p>
<p>nic-hdl:        DS2036-RIPE</p>
<p>source:         RIPE # Filtered</p>
<p><strong>person:         Alexandr Brukhanov</strong></p>
<p><strong>address:        PoBox30, 664017, Irkutsk, Russia</strong></p>
<p><strong>phone:          +7 495 727 38 79</strong></p>
<p>nic-hdl:        AB11726-RIPE</p>
<p>source:         RIPE # Filtered</td>
<td valign="top">inetnum:        85.17.111.0 &#8211; 85.17.111.255</p>
<p><strong>netname:        LEASEWEB</strong></p>
<p><strong>descr:          LeaseWeb</strong></p>
<p><strong>descr:          P.O. Box 93054</strong></p>
<p><strong>descr:          1090BB AMSTERDAM</strong></p>
<p><strong>descr:          Netherlands</strong></p>
<p><strong>descr:          <a href="http://www.leaseweb.com/"><span style="text-decoration: underline;">www.leaseweb.com</span></a></strong></p>
<p>remarks:        Please send email to &#8220;<a href="mailto:abuse@leaseweb.com"><span style="text-decoration: underline;">abuse@leaseweb.com</span></a>&#8221; for complaints</p>
<p>remarks:        regarding portscans, DoS attacks and spam.</p>
<p>remarks:        INFRA-AW</p>
<p>country:        NL</p>
<p>admin-c:        LSW1-RIPE</p>
<p>tech-c:         LSW1-RIPE</p>
<p>status:         ASSIGNED PA</p>
<p>mnt-by:         OCOM-MNT</p>
<p>source:         RIPE # Filtered</td>
</tr>
<tr>
<td colspan="3" valign="top"><strong>OrgName:    Galaxyvisions Inc </strong></p>
<p><strong>OrgID:      GALAX-6</strong></p>
<p><strong>Address:    882 3rd avenue 8th floor</strong></p>
<p><strong>City:       Brooklyn</strong></p>
<p><strong>StateProv:  NY</strong></p>
<p><strong>PostalCode: 11232</strong></p>
<p><strong>Country:    US</strong></td>
</tr>
</tbody>
</table>
<p>Putting all these guys on the map results in a very interesting “international man of mystery” cross-continent network of connections:</p>
<p><img class="alignnone size-full wp-image-305" title="mistery002" src="http://www.iamit.org/blog/wp-content/uploads/2008/02/mistery002.png" alt="mistery002" width="564" height="305" /></p>
<p align="center">
<p>Obviously we are looking at some eastern-bloc oriented operation, with some access to resources in the Netherlands and the US (either other people, or just computers from which access could have been made).</p>
<p>Now that law enforcement agencies are involved with this, maybe we would see some developments on the matter, although from the looks of these pins on the map, I expect some really interesting multi-lingual cop-speak to spur out soon&#8230;</p>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2008/05/crimeware-server-catering-to-%e2%80%9cgrab-and-run%e2%80%9d-criminals/' rel='bookmark' title='Permanent Link: Crimeware server catering to “grab and run” criminals'>Crimeware server catering to “grab and run” criminals</a></li>
<li><a href='http://www.iamit.org/blog/2008/03/taking-down-a-malicious-site-the-good-the-bad-and-the-ugly/' rel='bookmark' title='Permanent Link: Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;'>Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2008/03/on-the-dismerits-of-privacy/' rel='bookmark' title='Permanent Link: On the (dis)merits of privacy'>On the (dis)merits of privacy</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2008/02/crimeware-server-and-the-international-man-of-mystery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The impact of just 5 random letters&#8230;</title>
		<link>http://www.iamit.org/blog/2008/01/the-impact-of-just-5-random-letters/</link>
		<comments>http://www.iamit.org/blog/2008/01/the-impact-of-just-5-random-letters/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 02:50:00 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Finjan]]></category>
		<category><![CDATA[Security Research]]></category>
		<category><![CDATA[press]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[toolkit]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=36</guid>
		<description><![CDATA[We have been watching in amazement the impact our latest Malicious Page of the Month had on the industry and media. From coverage at Fox Business News, and the Washington Post, all the way to the more &#8220;traditional&#8221; security outlets such as SecurityFocus, SC Magazine and bloggers such as Dancho Danchev. The scary thing is the [...]


Related posts:<ol><li><a href='http://www.iamit.org/blog/2009/09/two-steps-forward-one-step-back-controling-botnets/' rel='bookmark' title='Permanent Link: Two steps forward, one step back &#8211; controling botnets&#8230;'>Two steps forward, one step back &#8211; controling botnets&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2007/09/hitting-the-nail-on-the-head/' rel='bookmark' title='Permanent Link: Hitting the nail on the head'>Hitting the nail on the head</a></li>
<li><a href='http://www.iamit.org/blog/2008/11/hosting-provider-crackdown/' rel='bookmark' title='Permanent Link: Hosting provider crackdown?'>Hosting provider crackdown?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div>
<p>We have been watching in amazement the impact our latest <a href="http://www.finjan.com/GetObject.aspx?ObjId=550&amp;Openform=50">Malicious Page of the Month</a> had on the industry and media.<br />
From coverage at <a href="http://www.foxbusiness.com/article/finjan-uncovers-insidious-new-variant-crimeware-toolkit-infecting-10000_434265_1.html" target="_blank">Fox Business News</a>, and the <a href="http://www.washingtonpost.com/wp-dyn/content/article/2008/01/15/AR2008011500025.html" target="_blank">Washington Post</a>, all the way to the more &#8220;traditional&#8221; security outlets such as <a href="http://www.securityfocus.com/news/11501" target="_blank">SecurityFocus</a>, <a href="http://www.scmagazineus.com/JavaScript-toolkit-hit-10000-websites-in-December-Finjan/article/104174/" target="_blank">SC Magazine</a> and bloggers such as <a href="http://ddanchev.blogspot.com/2008/01/random-js-malware-exploitation-kit.html" target="_blank">Dancho Danchev</a>.</p>
<p>The scary thing is the non-media related impact &#8211; we are still seeing a tremendous amount of domains (and sites) that are still compromised. Just a quick preview of the ongoing research we are putting into this &#8211; we are getting closer to getting to the root (no pun intended) cause of the problem that seems to affect Linux webservers (and this time it may not be a cPanel related issue for a change).</p>
<p>Looking forward to posting an update soon as we make progress in cracking this one.</p></div>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2009/09/two-steps-forward-one-step-back-controling-botnets/' rel='bookmark' title='Permanent Link: Two steps forward, one step back &#8211; controling botnets&#8230;'>Two steps forward, one step back &#8211; controling botnets&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2007/09/hitting-the-nail-on-the-head/' rel='bookmark' title='Permanent Link: Hitting the nail on the head'>Hitting the nail on the head</a></li>
<li><a href='http://www.iamit.org/blog/2008/11/hosting-provider-crackdown/' rel='bookmark' title='Permanent Link: Hosting provider crackdown?'>Hosting provider crackdown?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2008/01/the-impact-of-just-5-random-letters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>And the winner for &#8220;top virus&#8221; of 2007 is&#8230;</title>
		<link>http://www.iamit.org/blog/2008/01/and-the-winner-for-top-virus-of-2007-is/</link>
		<comments>http://www.iamit.org/blog/2008/01/and-the-winner-for-top-virus-of-2007-is/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 02:49:23 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Finjan]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[summary]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=34</guid>
		<description><![CDATA[Not a virus. Not even a malware. Neither is the runner up… It&#8217;s the method of how malware is populated. According to a report, the most common malware attack in 2007 is the notorious IFRAME. On our monthly and quarterly reports we provided more in-depth analysis of such top-ranking IFRAME and obfuscated code. In Finjan’s [...]


Related posts:<ol><li><a href='http://www.iamit.org/blog/2007/06/have-something-to-hide-make-a-lot-of-noise-about-it/' rel='bookmark' title='Permanent Link: Have something to hide? make a lot of noise about it!'>Have something to hide? make a lot of noise about it!</a></li>
<li><a href='http://www.iamit.org/blog/2007/10/iframe-is-a-security-risk/' rel='bookmark' title='Permanent Link: IFRAME is a security risk???'>IFRAME is a security risk???</a></li>
<li><a href='http://www.iamit.org/blog/2007/10/playing-with-obfuscators-teaching-an-old-dog-new-tricks/' rel='bookmark' title='Permanent Link: Playing with obfuscators &#8211; teaching an old dog new tricks&#8230;'>Playing with obfuscators &#8211; teaching an old dog new tricks&#8230;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Not a virus. Not even a malware. Neither is the runner up… It&#8217;s the method of how malware is populated.</p>
<p>According to <a href="http://www.sophos.com/pressoffice/news/articles/2008/01/toptendec07.html" target="_blank">a report</a>, the most common malware attack in 2007 is the notorious IFRAME.</p>
<p><img class="aligncenter size-full wp-image-308" title="top_virus_2007" src="http://www.iamit.org/blog/wp-content/uploads/2008/01/top_virus_2007.png" alt="top_virus_2007" width="454" height="298" /></p>
<p align="center">
<p>On our <a href="http://www.finjan.com/content.aspx?id=1367">monthly</a> and <a href="http://www.finjan.com/content.aspx?id=827">quarterly</a> reports we provided more in-depth analysis of such top-ranking IFRAME and obfuscated code.<br />
In Finjan’s terminology, the top-ranked virus IFRAME is not a malware or a virus, it&#8217;s more like how criminals are directing users’ browsers to a malware. Interestingly enough – the runner-up is “Mal/ObfJS” – Obfuscated javascript, again no a virus or malware but a simple technique to hide exploits from signature matching inspection.</p>
<p>How come? Well, remember that signature-based solutions are in a dire need to be able to stop the more common techniques employed by attackers (we have actually started to report on them during 2006), since the detection technology is limited in detecting the obfuscation and evasive techniques – typically signaturing the de-obfuscating portions of the script.</p>
<p>This has led to the recent <a href="http://isc.sans.org/diary.html?storyid=3803" target="_blank">reports</a> of <a href="http://isc.sans.org/diary.html?storyid=3797" target="_blank">false-positives</a> by <a href="http://www.kaspersky.com/technews?id=203038717" target="_blank">multiple</a> AV <a href="http://erratasec.blogspot.com/2008/01/wow.html" target="_blank">vendors</a> lately, as active-content is becoming more and more complicated, and the ways to express an action in interpreted code are very complex – meaning that signatures in this realm are almost obsolete (you can see the honorary mention of the “DF” function (Mal/FunDF) in the 10th place, which is a signature on a specific de-obfuscating function – again, no mention of any malicious action taken by it, it’s just that it had it’s 15 minutes of fame when it was used by toolkits to deliver actual malicious code…)</p>
<p>Looking forward to 2008 I really hope that the industry as a whole will not be lagging behind the attack vectors as it did in 2007, and new and improved engines would enable end-users (especially consumers who do not benefit from the more sophisticated solutions offered to enterprises) to have better protection when using the internet.</p>
<p>I know what my new-year resolutions are – do you?</p>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2007/06/have-something-to-hide-make-a-lot-of-noise-about-it/' rel='bookmark' title='Permanent Link: Have something to hide? make a lot of noise about it!'>Have something to hide? make a lot of noise about it!</a></li>
<li><a href='http://www.iamit.org/blog/2007/10/iframe-is-a-security-risk/' rel='bookmark' title='Permanent Link: IFRAME is a security risk???'>IFRAME is a security risk???</a></li>
<li><a href='http://www.iamit.org/blog/2007/10/playing-with-obfuscators-teaching-an-old-dog-new-tricks/' rel='bookmark' title='Permanent Link: Playing with obfuscators &#8211; teaching an old dog new tricks&#8230;'>Playing with obfuscators &#8211; teaching an old dog new tricks&#8230;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2008/01/and-the-winner-for-top-virus-of-2007-is/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Orkut worm takes us back in the wayback machine</title>
		<link>http://www.iamit.org/blog/2007/12/new-orkut-worm-takes-us-back-in-the-wayback-machine/</link>
		<comments>http://www.iamit.org/blog/2007/12/new-orkut-worm-takes-us-back-in-the-wayback-machine/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 02:48:42 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Finjan]]></category>
		<category><![CDATA[Security Research]]></category>
		<category><![CDATA[press]]></category>
		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=32</guid>
		<description><![CDATA[I just love it how old news are recycled with a bit of a flare when they become relevant again. The latest Orkut worm reports talk about the technique that the worm writer has used to distribute its code. Quoting from the original article above: “It then downloads and executes a heavily obfuscated JavaScript”… looking [...]


Related posts:<ol><li><a href='http://www.iamit.org/blog/2007/10/playing-with-obfuscators-teaching-an-old-dog-new-tricks/' rel='bookmark' title='Permanent Link: Playing with obfuscators &#8211; teaching an old dog new tricks&#8230;'>Playing with obfuscators &#8211; teaching an old dog new tricks&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2007/09/hitting-the-nail-on-the-head/' rel='bookmark' title='Permanent Link: Hitting the nail on the head'>Hitting the nail on the head</a></li>
<li><a href='http://www.iamit.org/blog/2007/06/have-something-to-hide-make-a-lot-of-noise-about-it/' rel='bookmark' title='Permanent Link: Have something to hide? make a lot of noise about it!'>Have something to hide? make a lot of noise about it!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I just love it how old news are recycled with a bit of a flare when they become relevant again. The latest <a href="http://blog.trendmicro.com/orkutgoogle-worms-compromise-over-400000-accounts/" target="_blank">Orkut worm</a> reports talk about the technique that the worm writer has used to distribute its code. Quoting from the original article above: “It then downloads and executes a heavily obfuscated JavaScript”… looking at the code, I was expecting some whiz-bang brand-spankin-new cool-as-ice JS that you can’t even watch without eye protection. Alas, I was greeted with the good-ole’ “packed” obfuscation (see <a href="http://www.gnucitizen.org/blog/the-orkut-xss-worm" target="_blank">pdp’s post</a> in it):</p>
<p><img class="aligncenter size-full wp-image-310" title="orkut001" src="http://www.iamit.org/blog/wp-content/uploads/2007/12/orkut001.png" alt="orkut001" width="564" height="92" /></p>
<p align="center">
<p>This brings us back to our <a href="http://www.finjan.com/MCRCblog.aspx?EntryId=1696">August post on obfuscators</a> (that are obviously easily detected and processed by us) which talked about the “packed” strand of JS obfuscation&#8230;</p>
<p>Hope that the industry will bring in something more exciting in the next wave of malicious code <img src='http://www.iamit.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2007/10/playing-with-obfuscators-teaching-an-old-dog-new-tricks/' rel='bookmark' title='Permanent Link: Playing with obfuscators &#8211; teaching an old dog new tricks&#8230;'>Playing with obfuscators &#8211; teaching an old dog new tricks&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2007/09/hitting-the-nail-on-the-head/' rel='bookmark' title='Permanent Link: Hitting the nail on the head'>Hitting the nail on the head</a></li>
<li><a href='http://www.iamit.org/blog/2007/06/have-something-to-hide-make-a-lot-of-noise-about-it/' rel='bookmark' title='Permanent Link: Have something to hide? make a lot of noise about it!'>Have something to hide? make a lot of noise about it!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2007/12/new-orkut-worm-takes-us-back-in-the-wayback-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IFRAME is a security risk???</title>
		<link>http://www.iamit.org/blog/2007/10/iframe-is-a-security-risk/</link>
		<comments>http://www.iamit.org/blog/2007/10/iframe-is-a-security-risk/#comments</comments>
		<pubDate>Thu, 25 Oct 2007 02:47:15 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Finjan]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=30</guid>
		<description><![CDATA[Ok, I have just read the latest in “IFRAME Security” articles and had to write something about it. While going through my usual RSS feeds, I stumbled onto this article, which tries to summarize why “iframes are a security risk”. Not to pick on the specific article, but this is not the first time that [...]


Related posts:<ol><li><a href='http://www.iamit.org/blog/2007/06/have-something-to-hide-make-a-lot-of-noise-about-it/' rel='bookmark' title='Permanent Link: Have something to hide? make a lot of noise about it!'>Have something to hide? make a lot of noise about it!</a></li>
<li><a href='http://www.iamit.org/blog/2007/09/hitting-the-nail-on-the-head/' rel='bookmark' title='Permanent Link: Hitting the nail on the head'>Hitting the nail on the head</a></li>
<li><a href='http://www.iamit.org/blog/2008/01/and-the-winner-for-top-virus-of-2007-is/' rel='bookmark' title='Permanent Link: And the winner for &#8220;top virus&#8221; of 2007 is&#8230;'>And the winner for &#8220;top virus&#8221; of 2007 is&#8230;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Ok, I have just read the latest in “IFRAME Security” articles and had to write something about it. While going through my usual RSS feeds, I stumbled onto <a href="http://www.thespanner.co.uk/2007/10/24/iframes-security-summary/" target="_blank">this article</a>, which tries to summarize why “iframes are a security risk”. Not to pick on the specific article, but this is not the first time that I have seen this approach. More notably, we have lately been faced with a barrage of sites that are detected by some AV engines as having a virus on them, when the detection is usually named “xxx-IFRAME-xxx”.</p>
<p>Scrutinizing the mere existence of an IFRAME element (as we all remember – a <a href="http://www.w3.org/TR/html401/present/frames.html#h-16.5" target="_blank">standard HTML element</a>), sounds pretty bad. Now, we were asking ourselves, how come this has become a security threat? The answer is simpler and more alarming that you might have thought – we are shooting the messenger (excuse the pun&#8230;). Simply because an IFRAME element exists (or is dynamically created) in a page, does not mean that it contains malicious content. But since old-tech security products are having a hard time detecting web-bourne crimeware and malware these days (<a href="http://www.finjan.com/Content.aspx?id=1456">dynamic code obfuscation</a>, <a href="http://www.finjan.com/GetObject.aspx?ObjId=443">evasive techniques</a>, etc&#8230;), they set their radars to shoot down the iframe elements. What’s next? Script tags&#8230;</p>
<p>Just to set things straight – the security model we should be looking at should detect actual malicious code in real-time. The source (URL, Domain, etc&#8230;) should not matter, and neither should  the looks (iframe, packed code, etc…). By analyzing the true intent of the code, one can be certain that the security policy sought after is really implemented.</p>
<p>That’s it for this week’s rants-and-raves, see you next week in the Greek ICT conference in Athens&#8230;</p>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2007/06/have-something-to-hide-make-a-lot-of-noise-about-it/' rel='bookmark' title='Permanent Link: Have something to hide? make a lot of noise about it!'>Have something to hide? make a lot of noise about it!</a></li>
<li><a href='http://www.iamit.org/blog/2007/09/hitting-the-nail-on-the-head/' rel='bookmark' title='Permanent Link: Hitting the nail on the head'>Hitting the nail on the head</a></li>
<li><a href='http://www.iamit.org/blog/2008/01/and-the-winner-for-top-virus-of-2007-is/' rel='bookmark' title='Permanent Link: And the winner for &#8220;top virus&#8221; of 2007 is&#8230;'>And the winner for &#8220;top virus&#8221; of 2007 is&#8230;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2007/10/iframe-is-a-security-risk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing with obfuscators &#8211; teaching an old dog new tricks&#8230;</title>
		<link>http://www.iamit.org/blog/2007/10/playing-with-obfuscators-teaching-an-old-dog-new-tricks/</link>
		<comments>http://www.iamit.org/blog/2007/10/playing-with-obfuscators-teaching-an-old-dog-new-tricks/#comments</comments>
		<pubDate>Sun, 07 Oct 2007 02:46:25 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Finjan]]></category>
		<category><![CDATA[Security Research]]></category>
		<category><![CDATA[eCrime]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=28</guid>
		<description><![CDATA[So our Malicious Page of the Month for September is out now. Going over the details of the document, I wanted to re-visit an old habit I had back in the days of putting code to the test – especially when the code in subject is simple, and has been signature to hell by every [...]


Related posts:<ol><li><a href='http://www.iamit.org/blog/2008/01/and-the-winner-for-top-virus-of-2007-is/' rel='bookmark' title='Permanent Link: And the winner for &#8220;top virus&#8221; of 2007 is&#8230;'>And the winner for &#8220;top virus&#8221; of 2007 is&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2007/03/tying-it-all-up-explosive-exploits/' rel='bookmark' title='Permanent Link: Tying it all up &#8211; explosive exploits&#8230;'>Tying it all up &#8211; explosive exploits&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2007/12/new-orkut-worm-takes-us-back-in-the-wayback-machine/' rel='bookmark' title='Permanent Link: New Orkut worm takes us back in the wayback machine'>New Orkut worm takes us back in the wayback machine</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So our <a href="http://www.finjan.com/GetObject.aspx?ObjId=513&amp;Openform=50">Malicious Page of the Month for September</a> is out now. Going over the details of the document, I wanted to re-visit an old habit I had back in the days of putting code to the test – especially when the code in subject is simple, and has been signature to hell by every security vendor already… You guessed it right – code obfuscation (or more precisely – the de-obfuscating function).</p>
<p>So here are the basics – index.php is a highly malicious page being served by a crimeware toolkit somewhere (see the MPOM for the specifics). It contains a de-obfuscation function (df) and a call to it with a long parameter that looks like garbage, but then open up to some nice exploit code.</p>
<p>Running it through our friends at VirusTotal – here is what comes up (not a competitive analysis, no one is responsible for the results, etc, etc…):</p>
<p><img class="aligncenter size-full wp-image-313" title="Playing002" src="http://www.iamit.org/blog/wp-content/uploads/2007/10/Playing002.png" alt="Playing002" width="564" height="408" /></p>
<p align="center">
<p>OK, that’s pretty decent – 15 out of 32 (database unreachable is not a malicious detection – on previous runs it came up with nothing)… Now, wondering what makes these things really tick, let’s neutralize the malicious part of the file. Let’s just completely make it useless – and pass an empty string to the de-obfuscating function. This should obviously not be blocked, since the end-result is non-malicious, and these obfuscators are being used for harmless code as well.</p>
<p><img class="aligncenter size-full wp-image-315" title="Playing001" src="http://www.iamit.org/blog/wp-content/uploads/2007/10/Playing001.png" alt="Playing001" width="564" height="381" /></p>
<p align="center">
<p>Aha! Someone does not like this coding… So what really happened is that the de-obfuscation function is the one being scrutinized, and not the malicious code that end up running on the machine. So to our final step in the game – play a bit with the function, make it look nice and just change a couple of parameter names. No functionality change, just a bit of cosmetics (function name change to asda, 2 parameters changed names, code got through tidy…):</p>
<p><img class="aligncenter size-full wp-image-316" title="Playing004" src="http://www.iamit.org/blog/wp-content/uploads/2007/10/Playing004.png" alt="Playing004" width="564" height="244" /></p>
<p align="center">
<p>Conclusion – don’t believe everything you see… it may actually not be that bad… just make sure you take a close look at what’s really going on under the hood</p>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2008/01/and-the-winner-for-top-virus-of-2007-is/' rel='bookmark' title='Permanent Link: And the winner for &#8220;top virus&#8221; of 2007 is&#8230;'>And the winner for &#8220;top virus&#8221; of 2007 is&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2007/03/tying-it-all-up-explosive-exploits/' rel='bookmark' title='Permanent Link: Tying it all up &#8211; explosive exploits&#8230;'>Tying it all up &#8211; explosive exploits&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2007/12/new-orkut-worm-takes-us-back-in-the-wayback-machine/' rel='bookmark' title='Permanent Link: New Orkut worm takes us back in the wayback machine'>New Orkut worm takes us back in the wayback machine</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2007/10/playing-with-obfuscators-teaching-an-old-dog-new-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
