<?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>Passionate about Information Security &#187; spain</title>
	<atom:link href="http://blog.ismaelvalenzuela.com/tag/spain/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ismaelvalenzuela.com</link>
	<description>on ismaelvalenzuela.com</description>
	<lastBuildDate>Fri, 16 Sep 2011 18:48:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>A follow up on the Indian embassy issue</title>
		<link>http://blog.ismaelvalenzuela.com/2009/02/06/a-follow-up-on-the-indian-embassy-issue/</link>
		<comments>http://blog.ismaelvalenzuela.com/2009/02/06/a-follow-up-on-the-indian-embassy-issue/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 20:35:06 +0000</pubDate>
		<dc:creator>Ismael Valenzuela</dc:creator>
				<category><![CDATA[Awareness]]></category>
		<category><![CDATA[Forensics]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[attack]]></category>
		<category><![CDATA[embassy]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[india]]></category>
		<category><![CDATA[Ismael Valenzuela]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[spain]]></category>

		<guid isPermaLink="false">http://blog.ismaelvalenzuela.com/?p=65</guid>
		<description><![CDATA[It&#8217;s been a busy two weeks trying to put together the training material I&#8217;ll be using to teach Incident Response and Computer Forensics to some of my colleagues in other geographies across Europe, Asia and Australia, and that will kick-off in Leiden in approximately 10 days. Meanwhile, the latest news about the Indian embassy reported [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a busy two weeks trying to put together the training material I&#8217;ll be using to teach Incident Response and Computer Forensics to some of my colleagues in other geographies across Europe, Asia and Australia, and that will kick-off in Leiden in approximately 10 days. Meanwhile, the latest news about the Indian embassy reported earlier on this blog, spread quickly on the Internet.</p>
<p>Many sites reported on the issue, from antivirus vendors to security professional&#8217;s blogs and online magazines. Whilst most of them just echoed what others said, some shed more light on it posting some interesting notes and only a few did an in-depth analysis worth of mention, the most relevant being:</p>
<p><span id="more-65"></span></p>
<ul>
<li><a title="Sergio Herando's Blog" href="http://www.sahw.com/wp/archivos/2009/01/26/alerta-sitio-web-de-la-embajada-de-la-india-en-espana-comprometido/" target="_blank">Sergio Hernando&#8217;s Blog</a> (in Spanish)</li>
<li><a title="Dancho Danchev's Blog" href="http://ddanchev.blogspot.com/2009/01/embassy-of-india-in-spain-serving.html" target="_blank">Dancho Danchev&#8217;s Blog</a></li>
<li><a title="Sophos" href="http://www.sophos.com/security/blog/2009/01/2827.html" target="_blank">Sophos</a></li>
<li><a title="Trend Micro" href="http://blog.trendmicro.com/embassy-site-attack-reveals-other-compromised-sites/" target="_blank">Trend Micro</a></li>
<li><a title="The Register" href="http://www.theregister.co.uk/2009/01/29/indian_embassy_website_hack/" target="_blank">The Register</a></li>
<li><a title="The Web Hacking Incidents Database" href="http://www.xiom.com/whid/2009/12/embassy-of-india-in-spain-found-serving-remote-malware-through-iframe" target="_blank">The Web Hacking Incidents Database</a></li>
<li><a title="CyberCrime Updates Blog" href="http://cybercrimeupdates.blogspot.com/2009/01/indian-embassy-website-serving-malware.html" target="_blank">CyberCrime Updates Blog</a></li>
<li><a title="Hackers Center Blog" href="http://blogs.hackerscenter.com/2009/01/indian-embassy-in-spain-spreading.html" target="_blank">Hackers Center Blog</a></li>
<li><a title="Net-Security" href="http://www.net-security.org/news.php?id=16314" target="_blank">Net-Security</a></li>
<li><a title="Kriptopolis" href="http://www.kriptopolis.org/alerta-malware-embajada-india-madrid" target="_blank">Kriptopolis</a> (in Spanish)</li>
</ul>
<p>It&#8217;s interesting to note that all of them gave credit to my post as the first report on the issue, all except one: Trend Micro. The reason became clear when I read Paul Baccas&#8217;s post on <a title="SophosLabs" href="http://www.sophos.com/security/blog/2009/01/2827.html" target="_blank">SophosLabs</a>:</p>
<blockquote><p><em>&#8220;The interesting thing from my point of view is that Ismael’s screenshot (on </em><a href="http://blog.ismaelvalenzuela.com/2009/01/26/embassy-of-india-in-spain-found-serving-remote-malware-through-iframe-attack/"><em>Passionate about Information Security</em></a><em>) suggests he is using </em><a href="http://www.sophos.com/products/enterprise/endpoint/security-and-control/8.0/mac/"><em>Sophos Anti-Virus for Mac</em></a><em>.&#8221;</em></p></blockquote>
<p>So, there you go. It&#8217;s obvious that Trend Micro didn&#8217;t want to include a link to a post that included a screenshot of Sophos for Mac picking up the virus. Awesome!</p>
<p>On the other hand, it&#8217;s fair to say that Trend Micro posted an excellent report on the incident, including updates on their analysis:</p>
<blockquote><p><em>Trend Micro Advanced Threats Analyst </em><strong><em>Ryan Flores</em></strong><em> also revealed that there is inserted code in the compromised websites that injects pages that look like blog entries into the compromised sites’ domain. The inserted pages contain various pharma information. Flores then states that this is possibly an SEO poisoning scheme, or a plot to use the legitimate domains of the compromised websites to evade spam filters.</em></p>
<p><em>&#8230;</em></p>
<p><em>Though no trace of malware was found in the </em><em>other</em><em> links, Trend Micro Antivirus Engineer </em><strong><em>Edgardo Diaz, Jr.</em></strong><em>suggests that this is possibly an advertisement scam or a massive malware attack in its early stage. This would also explain why parts of this threat do not appear to be fully functional. He warns, though, that since the website is already compromised, it’s just a matter of modifying the tags to turn the seemingly “non-malicious” injection of code into a full-blown malware attack.</em></p>
<p><em><strong>Updated 5:49 PM:</strong></em><em> </em><a href="http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=BKDR_TDSS.CG"><em>BKDR_TDSS.CG</em></a><em> drops a rootkit that is then injected into SVCHOST.EXE. While injected, the rootkit attempts to connect to several websites to send and receive information.</em></p>
<p><strong><em>Updated February 1, 2009</em></strong><em>: At this time, BKDR_TDSS.CG is also downloading an encrypted configuration file. Once decrypted, this file appears to contain commands to download other dll files and an updated copy of TDSSserv.sys, load certain modules from the dll files, upload log files (which contain error logs, process lists, and OS details), display popup ads, prevent security software from running, and set command delays. While the content of the files from the download URLs are not the same every time, this backdoor does keep accessing from the list of URLs even after completing its routine–so it may eventually get to access all URLs (except of course the currently inaccessible ones) it needs to achieve all mentioned functionalities.</em></p></blockquote>
<p>I didn&#8217;t check the website for a while, but as of yesterday, embajadaindida.com redirects to embassyindia.es, a new domain that hosts a new website. This confirms what I was told by the Consul of India in Madrid when I called to report the incident last week. Back then I was told that the old compromised website was going to be replaced by a new one in the coming days.</p>
<p>Whether all these news pushed them to deploy it before they planned I don&#8217;t know, but at least we&#8217;re all glad that action was taken and that the site seems to be clean, by now&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ismaelvalenzuela.com/2009/02/06/a-follow-up-on-the-indian-embassy-issue/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Embassy of India in Spain found serving remote malware through iFrame attack</title>
		<link>http://blog.ismaelvalenzuela.com/2009/01/26/embassy-of-india-in-spain-found-serving-remote-malware-through-iframe-attack/</link>
		<comments>http://blog.ismaelvalenzuela.com/2009/01/26/embassy-of-india-in-spain-found-serving-remote-malware-through-iframe-attack/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 15:56:09 +0000</pubDate>
		<dc:creator>Ismael Valenzuela</dc:creator>
				<category><![CDATA[Awareness]]></category>
		<category><![CDATA[Forensics]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[attack]]></category>
		<category><![CDATA[embassy]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[india]]></category>
		<category><![CDATA[Ismael Valenzuela]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[spain]]></category>

		<guid isPermaLink="false">http://blog.ismaelvalenzuela.com/?p=60</guid>
		<description><![CDATA[Earlier this morning I was alerted to this problem by a colleague who was trying to access www (dot) embajadaindia (dot) com to sort out some paperwork related to my employer's offices in India. When tried to load the site, the Desktop Antivirus displayed the following pop-up alert...]]></description>
			<content:encoded><![CDATA[<p>Hacking an embassy&#8217;s website to use it as malware distribution point <a title="http://www.theregister.co.uk/2008/01/23/embassy_sites_serve_malware/" href="http://www.theregister.co.uk/2008/01/23/embassy_sites_serve_malware/" target="_blank">is not something new</a>, neither is the use of the <a title="http://www.guardian.co.uk/technology/2008/apr/03/security.google" href="http://www.guardian.co.uk/technology/2008/apr/03/security.google" target="_blank">iframe injection attack</a>, but it&#8217;s still surprising the number of infected sites out there.</p>
<p>Earlier this morning I was alerted to this problem by a colleague who was trying to access www (dot) embajadaindia (dot) com to sort out some paperwork related to my employer&#8217;s offices in India. When tried to load the site, the Desktop Antivirus displayed the following pop-up alert:</p>
<p style="text-align: center;"><a href="http://blog.ismaelvalenzuela.com/wp-content/uploads/2009/01/picture-3.png"><img class="aligncenter size-medium wp-image-61" style="border: 0; margin: 0px;" title="Sophos Alert - www (dot) embajadaindia (dot) com" src="http://blog.ismaelvalenzuela.com/wp-content/uploads/2009/01/picture-3-300x171.png" alt="Sophos Alert - www (dot) embajadaindia (dot) com" width="300" height="171" /></a></p>
<p>The alert description is fairly self-explanatory, <span id="more-60"></span>though a quick look at the source code erases all doubt:</p>
<p style="text-align: center;"><a href="http://blog.ismaelvalenzuela.com/wp-content/uploads/2009/01/picture-12.png"><img class="aligncenter size-medium wp-image-62" style="border: 0; margin: 0px;" title="Infected php source code - India embassy in Spain" src="http://blog.ismaelvalenzuela.com/wp-content/uploads/2009/01/picture-12-300x145.png" alt="Infected php source code - India embassy in Spain" width="300" height="145" /></a></p>
<p>Everything indicates that the site was compromised and those invisible iframe tags appended to the index.php (and possibly other files too) to load multiple pieces of malware from the following domains:</p>
<ul>
<li>msn-analytics.net</li>
<li>pinoc.org</li>
<li>wsxhost.net</li>
</ul>
<p>Obviously, do not visit any of these sites as, at the very least, it is known that they have facilitated the distribution of malicious software in the past. In fact, <a title="http://googleonlinesecurity.blogspot.com/2008/05/safe-browsing-diagnostic-to-rescue.html" href="http://googleonlinesecurity.blogspot.com/2008/05/safe-browsing-diagnostic-to-rescue.html" target="_blank">Google&#8217;s Safe Browsing Diagnostic page</a> reports that one of those has hosted malicious sofware that has infected at least 33 domains in the last 90 days, as shown below.</p>
<p style="text-align: center;"><a href="http://blog.ismaelvalenzuela.com/wp-content/uploads/2009/01/picture-6.png"><img class="aligncenter size-medium wp-image-63" style="border: 0; margin: 0px;" title="Google Safe Browsing Diagnostic" src="http://blog.ismaelvalenzuela.com/wp-content/uploads/2009/01/picture-6-300x136.png" alt="Google Safe Browsing Diagnostic" width="300" height="136" /></a></p>
<p>Although the attack vector is still unknown, it&#8217;s likely to be due to either weak directory and file permissions or to a vulnerability in any of their PHP scripts. Actually, similar effects were reported to the <a title="http://forum.joomla.org/viewtopic.php?f=432&amp;t=329768&amp;p=1432932" href="http://forum.joomla.org/viewtopic.php?f=432&amp;t=329768&amp;p=1432932" target="_blank">Joomla! discussion forum</a> back in September last year, so I guess we must be dealing with the same kind of attack.</p>
<p>I&#8217;ve personally reported this security issue to the Embassy of India in Spain, and it&#8217;s expected they will be taking some action to remove the iframe tags sooner rather than later. In the meantime, please DO NOT VISIT THE SITE.</p>
<p style="text-align: center;"> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ismaelvalenzuela.com/2009/01/26/embassy-of-india-in-spain-found-serving-remote-malware-through-iframe-attack/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

