<?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>Code in my Bug! &#187; defacement</title>
	<atom:link href="http://projectbee.org/blog/archive/category/defacement/feed/" rel="self" type="application/rss+xml" />
	<link>http://projectbee.org/blog</link>
	<description>Bipin&#039;s experiments with life, society, programming, hacking, &#38; other stuff</description>
	<lastBuildDate>Mon, 23 Jan 2012 18:49:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Orkut Latest XSS Worm; and what it means for Indian Orkuteers</title>
		<link>http://projectbee.org/blog/archive/orkut-latest-xss-worm-and-what-it-means-for-indian-orkuteers/</link>
		<comments>http://projectbee.org/blog/archive/orkut-latest-xss-worm-and-what-it-means-for-indian-orkuteers/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 10:14:39 +0000</pubDate>
		<dc:creator>Bipin 3 Upadhyay</dc:creator>
				<category><![CDATA[cyberlaw]]></category>
		<category><![CDATA[defacement]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[irony]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[webappsec]]></category>
		<category><![CDATA[xss]]></category>
		<category><![CDATA[reality]]></category>

		<guid isPermaLink="false">http://codeinmybug.wordpress.com/2007/12/20/orkut-latest-xss-worm-and-what-it-means-for-indian-orkuteers/</guid>
		<description><![CDATA[Update: Kishor reports a flaw in the implementation of &#8220;private&#8221; videos feature on Orkut. Although I am at office and I haven&#8217;t checked it yet myself, I believe I can trust him, based on his posts at Slackers. Nice one Kishor. 1. YAWN [Yet Another Worm, Nanny] Orkut (Google&#8217;s MySpace and Facebook for Indian, Pakistan [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #3366ff;"><strong>Update: </strong></span>Kishor reports <a href="http://wasjournal.blogspot.com/2007/12/orkut-private-videos-are-not-private.html">a flaw in the implementation of &#8220;private&#8221; videos feature on Orkut</a>. Although I am at office and I haven&#8217;t checked it yet myself, I believe I can trust him, based on his posts at Slackers. Nice one Kishor. <img src='http://projectbee.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div>
<h3><span style="color: #3366ff;"><strong>1. YAWN [Yet Another Worm, Nanny]</strong></span></h3>
</div>
<h3><img src="http://farm3.static.flickr.com/2084/1735501790_18be4450be_d.jpg" alt="http://flickr.com/photos/aqlott/1735501790/" width="403" height="227" /></h3>
<p>Orkut (Google&#8217;s MySpace and Facebook for Indian, Pakistan and Brazil) has been hit by an XSS worm. It&#8217;s useless to say but I am not able to resist, so I&#8217;ll say it anyways. <em>It&#8217;s not the first time that a Social networking site has been attacked by an XSS worm.</em> In fact these sites are the primary target due to a number of reasons -easier gullibility level, exponential reach, huge amount of data waiting to be harvested, <strong>web 2.0</strong> etc. etc. etc. There&#8217;s good compilation of XSS worms going on <a href="http://sla.ckers.org/forum/read.php?2,14477,18504">at Slackers </a>(Social n/w worm, or no).<br />
Anyhoo. This incident has <a href="http://www.cgisecurity.com/2007/12/17">already been</a> <a href="http://antrix.net/journal/techtalk/orkut_xss.html" target="_blank">reported</a> <a href="http://tkhere.blogspot.com/2007/12/orkut-under-cross-site-scripting-xss.html">by a</a> <a href="http://www.marrowbones.com/commons/technosocial/2007/12/orkut_worm_code_and_why_was_go.html" target="_blank">number of</a> <a href="http://www.gnucitizen.org/blog/the-orkut-xss-worm" target="_blank">bloggers</a>, so I  won&#8217;t dive into the technical details. However, this worm seems to be harmless and fixed for now.</p>
<div>
<h3><span style="color: #3366ff;"><strong>2. What it did?</strong></span></h3>
</div>
<p>If you <strong>view</strong>ed a message <strong><em>2008 vem ai&#8230; que ele comece mto bem para vc</em></strong> in your scrapbook, there is a big probability that you&#8217;re infected. You were added to a community named <em><strong>Infectados pelo Vírus do Orkut</strong></em> at http://www.orkut.com/CommunityJoin.aspx?cmm=44001818. The worm then forwards itself to the scrapbook of all your contacts (on your behalf). Any doubts on it being exponential?</p>
<div>
<h3><span style="color: #3366ff;"><strong>3. </strong><a href="//www.mit.gov.in/download/itbill2000.pdf" target="_blank"><strong>IT Act 2000</strong></a><strong> </strong><strong>[pdf]</strong></span></h3>
</div>
<p>IT Act 2000 is India&#8217;s legal answer to the miscreants on the technological front. (I realize it&#8217;s a pathetic definition, so no flame on it please <img src='http://projectbee.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). The trouble with IT Act 2000 is that the majority of law enforcers aren&#8217;t really aware of the real life scenarios. I&#8217;ll give a real case to support the point, in a while. Although I am no law expert (just a little bit of interest), I guess I can safely say that the Act needs a few amendments to include/modify a number of issues (e.g., SPAM, etc.)</p>
<p>So what happens when the implementation is in nascent stage, and the enforcers  are not completely eductaed?<br />
Things get blown out of proportion. Things get painted in a completely new color. Things get&#8230; uh! fill them up yourself.</p>
<div>
<h3><span style="color: #3366ff;"><strong>4. <a href="http://www.indiacyberlab.in/cyberlaws/chapter11.htm">Chapter 11, IT Act 2000</a></strong></span></h3>
</div>
<p>Chapter 11 of the Act defines the <strong>Offences</strong> &#8211; section 65 to section 78.   For now, let&#8217;s have a look at Sections 65, and 67.<br />
<strong> Section 65: Tampering with computer source documents.</strong></p>
<blockquote><p><em> Whoever knowingly or intentionally conceals, destroys or    alters or intentionally or knowingly causes another to conceal, destroy or    alter any computer source code used for a computer, computer programme,    computer system or computer network, when the computer source code is required    to be kept or maintained by law for the time being in force, shall be    punishable with imprisonment up to three years, or with fine which may extend    up to two lakh rupees, or with both.</em><br />
<em> Explanation: For the purposes of this section, &#8220;computer  source code&#8221; means the listing of programmes, computer commands, <strong>design and  layout and programme analysis of computer resource in any form</strong>.</em></p></blockquote>
<p><strong>Section 67:Publishing of information which is obscene in electronic form.</strong></p>
<blockquote><p><em>Whoever publishes or transmits <strong>or causes to be published in the electronic form</strong>, any material which is lascivious or appeals to the prurient interest or if its effect is such as to tend to deprave and corrupt persons who are likely, having regard to all relevant circumstances, to read, see or hear the matter contained or embodied in it, shall be punished on first conviction with imprisonment of either description for a term which may extend to five years and with fine which may extend to one lakh rupees and in the event of a second or subsequent conviction with imprisonment of either description for a term which may extend to ten years and also with fine which may extend to two lakh rupees.</em></p></blockquote>
<p>I have mostly been interested in section 67 (which according to some in the law indsutry) also extends to sms service <img src='http://projectbee.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Anyhoo. If you are interested in punishmentsm, <a href="http://www.indiacyberlab.in/cyberlaws/computer-offenses-punishment.htm" target="_blank">here&#8217;s the link</a>.  Have a look. You might be serving one someday <img src='http://projectbee.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div>
<h3><span style="color: #3366ff;"><strong>5. Case Study</strong></span></h3>
</div>
<p>There have been quite a few cases revolving around Orkut, but the one that I&#8217;ll be talking about (and is the most relevant) is the one where <a href="http://timesofindia.indiatimes.com/articleshow/2513737.cms">wrong man (<span style="font-size: 14px; font-weight: normal; line-height: 18px; font-family: Arial,Helvetica,sans-serif; color: #000000;"><span style="font-size:8pt;"> named Lakshmana Kailash K) </span></span>was put behind bars for 50 freakin&#8217; days</a>.  He&#8217;s &#8220;reportedly&#8221;  involved in the defamation of Chhatrapati Shivaji, a highly revered historical figure.<br />
In case you aren&#8217;t aware, Orkut (Google) has <a href="http://economictimes.indiatimes.com/Orkuts_tell-all_pact_with_cops_/RssArticleShow/articleshow/1982584.cms" target="_blank">signed a pact with Indian Law Enforcement.</a> They pledge to &#8220;<em>block any &#8216;defamatory or inflammatory content&#8217;, or hand over IP address information to police if asked&#8221;</em>.</p>
<p>So what happened in the above case?<br />
Law enforcers are reported about the defamation of Shivaji, they contact Orkut, Orkut gives IP, law enforcers run to the ISP (Airtel in this case), Airtel provides address, Guy put in jail.<br />
Simple. Isn&#8217;t it?</p>
<p>The only trouble being that Airtel provided the wrong address.<br />
Whoops! And bang! The dude spends 50 days straight, for something he didn&#8217;t do.<br />
Neha Viswanathan, a blogger based in UK, <a href="http://www.withinandwithout.com/?p=1176" target="_blank">has a very nice write-up</a> on the incident. Further, there&#8217;s a very <a href="http://www.indiacyberlab.in/know_more/copawards2005-legal.htm" target="_blank">nice compilation of some Cyber Crime cases in India at the IndiaCyberLab portal</a>.</p>
<div>
<h3><span style="color: #3366ff;"><strong>6. Putting the pieces of puzzle together</strong></span></h3>
</div>
<p>Let&#8217;s first collect all the pieces together:<br />
1.  Orkut has a pact with Indian law Enforcement.<br />
2. Law enforcers are incompetent *cough*.<br />
3. Orkut (or any other similar site) still has XSS and CSRF flaws in them. Period.<br />
4. XSS and CSRF let you (among other thousand things) manipulate source code (section 65) and/or insert obscene/derogatory (section 67).<br />
5. XSS and CSRF <strong>let you post/manipulate data on some other person&#8217;s behalf</strong>. (Orkut/Samy etc. worms did not  require you to click anywhere. Just load the page and the payload in inserted in your friend&#8217;s scrapbook <strong>on your behalf</strong>).</p>
<p>Now combine them all, and you&#8217;ll realize that there might be a day when you just sent a &#8220;long time no scraps&#8221; scrap in your friends scrapbook and went to bed. The next day, a bunch of Cyber officers wake you up, and arrest you for defaming Bala Saheb Thakrey.</p>
<p>&#8230;and yes! Don&#8217;t talk about Democracy. You&#8217;ve already seen that the politicians can get away with a wrestling in parliament arena that will put WWE stars to shame. On the contrary, a chap is detained for 50 days just because the cops thought that they had enough evidence.</p>
<h3><span style="color: #3366ff;">7. Conclusion</span></h3>
<p>What!<br />
Stay away from social networking sites. Trust me, they are not worth the price.</p>
Similar Posts:<ul><li><a href="http://projectbee.org/blog/archive/iframes-to-be-or-not-to-be/" rel="bookmark" title="September 10, 2007">IFrames &#8211; To be or not to be?</a></li>

<li><a href="http://projectbee.org/blog/archive/adsense-exploited-by-malware-trojanqhostwu/" rel="bookmark" title="December 22, 2007">AdSense exploited by malware (Trojan.Qhost.WU)</a></li>

<li><a href="http://projectbee.org/blog/archive/samy-a-hero-or-a-villian/" rel="bookmark" title="February 5, 2007">Samy: A hero or a villian!</a></li>

<li><a href="http://projectbee.org/blog/archive/yahoo-gone-insane/" rel="bookmark" title="August 11, 2007">Yahoo! gone Insane!</a></li>

<li><a href="http://projectbee.org/blog/archive/vista-3-exclamations-is-here-why/" rel="bookmark" title="February 19, 2007">Vista!!! (3 Exclamations.) is here? (Why :-/)</a></li>
</ul><!-- Similar Posts took 6.500 ms -->]]></content:encoded>
			<wfw:commentRss>http://projectbee.org/blog/archive/orkut-latest-xss-worm-and-what-it-means-for-indian-orkuteers/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>The Web is Broken</title>
		<link>http://projectbee.org/blog/archive/the-web-is-broken/</link>
		<comments>http://projectbee.org/blog/archive/the-web-is-broken/#comments</comments>
		<pubDate>Fri, 12 Oct 2007 12:54:19 +0000</pubDate>
		<dc:creator>Bipin 3 Upadhyay</dc:creator>
				<category><![CDATA[csrf]]></category>
		<category><![CDATA[defacement]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hackers]]></category>
		<category><![CDATA[humour]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[webappsec]]></category>
		<category><![CDATA[xss]]></category>
		<category><![CDATA[iframe]]></category>

		<guid isPermaLink="false">http://codeinmybug.wordpress.com/2007/10/12/the-web-is-broken/</guid>
		<description><![CDATA[Update: I somehow managed to make a blunder. A part of slide no. 12 was taken from David Kierznowski&#8217;s (of GNUCitizen and Blogsecurity group) presentation for OWASP Belgium Conf. I missed out on mentioning David&#8217;s name is the credits. Apologies David. I&#8217;ve updated and re-uploaded it. Yesterday, I presented my first Webinar (Seminar on Web). [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #808000;">Update:</span><strong><span style="color: #808000;"> I somehow managed to make a blunder. A part of slide no. 12 was taken from <a href="http://gnucitizen.org/about/dk">David Kierznowski&#8217;s</a> </span></strong><strong><span style="color: #808000;">(of GNUCitizen and Blogsecurity group) </span></strong><strong><span style="color: #808000;">presentation for OWASP Belgium Conf. I missed out on mentioning David&#8217;s name is the credits. Apologies David. I&#8217;ve updated and re-uploaded it. <img src='http://projectbee.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </span></strong></p>
<p>Yesterday, I presented my first Webinar (Seminar on Web). It was titled, <strong><span style="color: #ff0000;">The Web is Broken</span> </strong><span style="color: #ff0000;">&#8211;Why every feature is, in fact, a loophole</span>. A great experience.</p>
<p>Although after listening to my own recording, I felt that a number of things went wrong (mostly because of problems in connectivity and slow internet speed). The issue I was worried about was that it was targeted at developers with beginner to intermediate level knowledge of web, but the topic was very broad. Fortunately, I received some good feedback along with requests to conduct more such sessions. The talk was scheduled for 1.5 hours, but it stretched for 2.5 hours. <img src='http://projectbee.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here is the presentation:</p>
<div id="__ss_206607" style="width: 425px; text-align: left;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=the-web-is-broken-by-bipin-3-upadhyay-1197983798366666-4" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://static.slideshare.net/swf/ssplayer2.swf?doc=the-web-is-broken-by-bipin-3-upadhyay-1197983798366666-4" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;"><a href="http://www.slideshare.net/?src=embed"><img style="border:0px none;margin-bottom:-5px" src="http://static.slideshare.net/swf/logo_embd.png" alt="SlideShare" /></a> | <a title="View '" href="http://www.slideshare.net/bipin/the-web-is-broken-by-bipin-3-upadhyay?src=embed">View</a> | <a href="http://www.slideshare.net/upload?src=embed">Upload your own</a></div>
</div>
<p>I hope you like it too. <img src='http://projectbee.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
Similar Posts:<ul><li><a href="http://projectbee.org/blog/archive/what-a-new-year-gift/" rel="bookmark" title="January 5, 2008">What a new year Gift! :)</a></li>

<li><a href="http://projectbee.org/blog/archive/open-javafx-an-alternative-to-ajax/" rel="bookmark" title="May 9, 2007">Open JavaFX, an alternative to AJAX?</a></li>

<li><a href="http://projectbee.org/blog/archive/how-to-implementing-shindig/" rel="bookmark" title="September 30, 2008">[How To] Implementing Shindig.</a></li>

<li><a href="http://projectbee.org/blog/archive/samy-a-hero-or-a-villian/" rel="bookmark" title="February 5, 2007">Samy: A hero or a villian!</a></li>

<li><a href="http://projectbee.org/blog/archive/http-protocol/" rel="bookmark" title="December 15, 2011">HTTP protocol and other stuff that power the web</a></li>
</ul><!-- Similar Posts took 6.002 ms -->]]></content:encoded>
			<wfw:commentRss>http://projectbee.org/blog/archive/the-web-is-broken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zone-H Deafced by Saudi Hackers.</title>
		<link>http://projectbee.org/blog/archive/zone-h-deafced-by-saudi-hackers/</link>
		<comments>http://projectbee.org/blog/archive/zone-h-deafced-by-saudi-hackers/#comments</comments>
		<pubDate>Tue, 23 Jan 2007 12:33:00 +0000</pubDate>
		<dc:creator>Bipin 3 Upadhyay</dc:creator>
				<category><![CDATA[defacement]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hackers]]></category>
		<category><![CDATA[humour]]></category>
		<category><![CDATA[irony]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://codeinmybug.wordpress.com/2007/01/23/zone-h-deafced-by-saudi-hackers/</guid>
		<description><![CDATA[In an ironical/laughable/insightful event, http://zone-h.org was defaced today by Saudi Hackers. Irony because Zone-H maitains (probably the largest) archive of defaced site. Below is the screenshot of the (defaced) homepage of zone-h. The words &#8220;your security got bypassed .. see more security next time&#8221; are clear enough to announce that security is not an feature [...]]]></description>
			<content:encoded><![CDATA[<p>In an ironical/laughable/insightful event, http://zone-h.org was defaced today by Saudi Hackers. Irony because Zone-H maitains (probably the largest) archive of defaced site.<br />
Below is the screenshot of the (defaced) homepage of zone-h.</p>
<div style="text-align:center;"><a href="http://projectbee.org/blog/wp-content/uploads/2008/02/zone-h_defaced.jpg"><img src="http://projectbee.org/blog/wp-content/uploads/2008/02/zone-h_defaced.jpg" alt="zone-h_defaced.jpg" width="531" height="354" /></a></div>
<p>The words &#8220;<span style="font-weight:bold;">your security got bypassed .. see more security next time</span>&#8221; are clear enough to announce that security is not an feature or an event, it&#8217;s a process.By the way, I liked the music <img src='http://projectbee.org/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><a href="http://digg.com/submit?phase=2&amp;url=http://code-in-my-bug.blogspot.com/2007/01/zone-h-deafced-by-saudi-hackers.html"> <img src="http://www.digg.com/img/little-digg.gif" border="0" alt="" /></a></p>
Similar Posts:<ul><li><a href="http://projectbee.org/blog/archive/securcamp-and-back/" rel="bookmark" title="July 12, 2008">SecurCamp and back.</a></li>

<li><a href="http://projectbee.org/blog/archive/tpm-boys-withdraw-paper-from-blackhat-usa/" rel="bookmark" title="July 5, 2007">TPM Boys withdraw paper from BlackHat USA</a></li>

<li><a href="http://projectbee.org/blog/archive/amazing-interrupt-handling/" rel="bookmark" title="April 12, 2007">Amazing Interrupt Handling!</a></li>

<li><a href="http://projectbee.org/blog/archive/iframes-to-be-or-not-to-be/" rel="bookmark" title="September 10, 2007">IFrames &#8211; To be or not to be?</a></li>

<li><a href="http://projectbee.org/blog/archive/slashdot-uh/" rel="bookmark" title="May 21, 2008">Slashdot, uh! :|</a></li>
</ul><!-- Similar Posts took 4.939 ms -->]]></content:encoded>
			<wfw:commentRss>http://projectbee.org/blog/archive/zone-h-deafced-by-saudi-hackers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
