<?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; Darren Kitchen</title>
	<atom:link href="http://Hak5.org/author/administrator-2/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>Hak5 920 &#8211; Ubertooth One Primer, Multiboot USBs, Airodump Tips and Network Scanning</title>
		<link>http://Hak5.org/episodes/hak5-920</link>
		<comments>http://Hak5.org/episodes/hak5-920#comments</comments>
		<pubDate>Thu, 07 Jul 2011 01:23:37 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Episodes]]></category>
		<category><![CDATA[Season 9]]></category>
		<category><![CDATA[airodump-ng]]></category>
		<category><![CDATA[backtrack]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mike ossmann]]></category>
		<category><![CDATA[monitor mode]]></category>
		<category><![CDATA[multiboot]]></category>
		<category><![CDATA[nibble]]></category>
		<category><![CDATA[packet sniffing]]></category>
		<category><![CDATA[pause]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[sardu]]></category>
		<category><![CDATA[shortcut]]></category>
		<category><![CDATA[spectrum analyzer]]></category>
		<category><![CDATA[syslinux]]></category>
		<category><![CDATA[ubertooth]]></category>
		<category><![CDATA[Ubertooth One]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[xboot]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=3817</guid>
		<description><![CDATA[<object width="640" height="360"><param name="movie" value="http://www.youtube.com/p/47FBE9849901B938?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="640" height="360" src="http://www.youtube.com/p/47FBE9849901B938?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object>]]></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%2Fepisodes%2Fhak5-920"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-920&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This time on the show, an <a href="http://hakshop.com/products/ubertooth-one" target="_blank">Ubertooth One</a> Primer &#8211; Setup with BackTrack 5. Booting multiple ISOs from a single USB drive, we&#8217;ve got plenty of options. And answers to your questions on A+ certs, programming languages, network scanning and more.</p>
<div style="clear:both;"></div>
<p><a class="mov" href="http://videos.revision3.com/revision3/web/hak5/0920/hak5--0920--minsnubs--hd720p30.h264.mp4">Download HD</a> <a class="mov" href="http://videos.revision3.com/revision3/web/hak5/0920/hak5--0920--minsnubs--large.h264.mp4">Download MP4</a> <a class="wmv" href="http://videos.revision3.com/revision3/web/hak5/0920/hak5--0920--minsnubs--large.wmv9.wmv">Download WMV</a></p>
<p><span id="more-3817"></span></p>
<div align="center">
<object width="640" height="360"><param name="movie" value="http://www.youtube.com/p/47FBE9849901B938?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="640" height="360" src="http://www.youtube.com/p/47FBE9849901B938?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object>
</div>
<p><b>Ubertooth One Primer &#8211; Setup with BackTrack 5</b></p>
<p>We&#8217;ve been asked numerous times to do a segment on getting started with the <a href="http://hakshop.com/products/ubertooth-one" target="_blank">Ubertooth One</a>, and while it&#8217;s specific to this hardware in nature the techniques involved are similar to that of many other tools.</p>
<p>If you&#8217;re not familiar, the <a href="http://hakshop.com/products/ubertooth-one" target="_blank">Ubertooth One</a> is an open source bluetooth testing tool made by Mike Ossmann in response to the lack of good bluetooth testing devices, or the ridiculously high price tags in excess of $10,000 for commercial monitoring equipment.</p>
<p>So in the same sense that we have inexpensive WiFi adapters that can go into monitor or promiscuous mode, we now have the <a href="http://hakshop.com/products/ubertooth-one" target="_blank">Ubertooth One</a>.</p>
<p>Now props to HarvestGardener on the BackTrack Linux forums for putting a lot of this together. Most of the Ubertooth development was done on Mac OSX but getting it going in Linux isn&#8217;t too difficult, thankfully.</p>
<p>So today I aim to setup dependencies and compile Ubertooth Tools in Backtrack 5 linux host machine. Currently does not work in VM &#8212; Libusb issues.</p>
<p>The first dependency you&#8217;ll need is pyside. It&#8217;s a PySide adds Qt bindings to Python, letting it use the cross-platform UI framework for some graphical goodness. You can download it manually from PySide.org or simply install it with apt. Unfortunately it isn&#8217;t in the default BackTrack 5 repository so you&#8217;ll need to add a personal package archive or PPA.</p>
<blockquote><p>
apt-get install python-software-properties<br />
add-apt-repository ppa:pyside<br />
apt-get update<br />
apt-get install libnl-dev libusb-1.0-0-dev pyside-tools
</p></blockquote>
<p>Next we&#8217;ll need the PyUSB extension which provides USB access to Python.</p>
<blockquote><p>
wget http://downloads.sourceforge.net/project/pyusb/PyUSB%201.0/1.0.0-alpha-1/pyusb-1.0.0-a1.tar.gz<br />
tar xvf pyusb-1.0.0-a1.tar.gz<br />
cd pyusb-1.0.0-a1<br />
python setup.py install
</p></blockquote>
<p>We&#8217;ll also need bluetooth baseband libraries so we can process raw bluetooth data. Thankfully libbtbb does the trick:</p>
<blockquote><p>
wget http://downloads.sourceforge.net/project/libbtbb/libbtbb.0.5.tgz<br />
tar xvf libbtb.0.5.tgz<br />
cd libbtbb<br />
make<br />
make install
</p></blockquote>
<p>Ok so we&#8217;re finally to the part where we actually get to the Ubertooth code. As of recording the latest version of Ubertooth software is release 238.</p>
<blockquote><p>
wget http://downloads.sourceforge.net/project/ubertooth/ubertooth-r238.tar.gz<br />
tar xvf ubertooth-r238.tar.gz
</p></blockquote>
<p>This archive contains the latest firmware for both the <a href="http://hakshop.com/products/ubertooth-one" target="_blank">Ubertooth One</a> and Ubertooth Zero, the KiCad files if you&#8217;re so inclined to make your own Ubertooth, documentation and host software including a few bluetooth tools, kismet plugins and a fun little spectrum analyzer.</p>
<p>Since Bluetooth operates in the same 2.4 GHz ISM band as WiFi, we can actually use the <a href="http://hakshop.com/products/ubertooth-one" target="_blank">Ubertooth One</a> as a basic spectrum analyzer and see all of the WiFi signals for a given area. </p>
<blockquote><p>
python specan_ui.py
</p></blockquote>
<p>Alright, that&#8217;s a lot of info so we&#8217;re going to stop right here and pick up next time with compiling Kismet from source with the Ubertooth Plugin, capturing our first Bluetooth packets, installing the Wireshark plugin and finally analyzing the good stuff. If you haven&#8217;t already checked it out you can find the <a href="http://hakshop.com/products/ubertooth-one" target="_blank">Ubertooth One</a> at HakShop.com along with the documentation and source files if you&#8217;re crafty with the soldering iron and eager to build your own.</p>
<p><b>Boot multiple ISOs from one USB with these free tools</b></p>
<p>Having several tools on several USB&#8217;s or CD&#8217;s can be a pain in the butt, especially when you&#8217;re looking for a specific one but don&#8217;t remember which USB you put it on. To save us from this trouble, there are many applications available online that let you create one multibootable USB drive. Thus, you can store all your tools on one USB drive instead of ten. We&#8217;ve reviewed YUMI, UNetBootin, Darren&#8217;s done his MultiPass, and I&#8217;ve checked out Katana. This week, I&#8217;m checking out a couple of your user picks, <a href="https://sites.google.com/site/shamurxboot/home" target="_blank">XBoot</a>, and <a href="http://www.sarducd.it/" target="_blank">Sardu</a>.</p>
<p>The first one is <a href="https://sites.google.com/site/shamurxboot/home" target="_blank">XBoot</a>. Its a light weight utility for creating multiboot USB&#8217;s OR CD&#8217;s. To use it, download the zip file from their website. Open the application and plug in your USB flashdrive. Now, you&#8217;ll need to have some ISO&#8217;s already downloaded on to your computer or you can go to File&#8211;>Download and choose some of your favorite utilities and linux distros.<br />
Once they are done installing, drag the ISO&#8217;s into the box under the Create Multiboot USB/ISO tab. For mine, I chose Ophcrack, Clonezilla, and Puppy Linux. On the side, you can see the total size of the files added, you can remove files, look up the MD5 hash checksum in case you&#8217;re wondering if it&#8217;s the actual tool, and at the bottom you can choose to create your ISO Live CD or USB bootable flash drive. I&#8217;m choosing my FlashDrive. Double check the Selected USB drive to make sure it&#8217;s not your operating system drive. Then, this is cool, you can choose your Bootloader. I&#8217;ll stick with the recommended Syslinux, but you can also choose Grub4dos or not install one at all.<br />
Then, when you click next, it&#8217;ll start copying all your ISO&#8217;s to your thumbdrive and create the bootloader. This may take several minutes, so just kick back and relax.</p>
<p>Once the USB is created, you&#8217;ll have the option to run it on QEMU to test it. You can also edit the flashdrive, by clicking the tab that says Edit Multiboot USB. </p>
<p>The second one is <a href="http://www.sarducd.it/" target="_blank">Sardu</a>. Sardu is a program I found that was apparently made by Vikings using hieroglyphics. You simply plug in your flashdrive, click on your choices for Antivirus, Utilities, Linux Distros, and/or Windows CD&#8217;s, and choose make bootable USB. Clicking on the different utilities and linux distros will download them from their websites. You can also click ISO at the top and choose Make ISO, then click on an ISO folder to choose it for your flashdrive. I downloaded all of mine into my downloads folder, so I just navigate to the downloads folder and click OK. When done, click the cute little USB button and wait for it to finish creating the bootable USB. Once done, you can boot off your flashdrive using SuperGrubDisk. The tabs at the top enable you to check the Hash, create and defrag your USB.</p>
<p>Now I&#8217;m going to restart my computer and boot into Syslinux for XBoot and Grub for Sardu and try them out!<br />
Looks like it works, and works well. The three ISO&#8217;s that I chose boot properly, and I can add more if I want!&#8221;"</p>
<p>So of these two, I have to say Sardu for Vikings took a bit more time for me to figure out how to get my ISO&#8217;s onto the USB and make it bootable. Turns out, I was just thinking too hard when trying to add my ISO folders! Xboot was pretty natural to figure out and it was easier to use. Xboot was my definetly my favorite.</p>
<p>So after googling for other multiboot creators, I found all the ones I could, but are there other ones? Do you use a tool that could make my life easier? Email me at <a href="mailto:feedback@hak5.org">feedback@hak5.org</a></p>
<p><b>Bash and Airodump-ng tips</b></p>
<p>Whether you&#8217;re trying to copy a PID from TOP or a BSSID from airodump-ng, when your terminal is constantly refreshing the task is cumbersome at best. So calm that screen with the shortcut CTRL+s. To resume simply hit CTRL+q. And specific to airodump-ng not only can you pause the screen with &#8216;space bar&#8217;, but there are all sorts of handy keystrokes like &#8216;tab&#8217; &#8211; which lets you to scroll up and down the list of stations, &#8216;s&#8217; which changes the sorting column, and my favorite, &#8216;m&#8217; which marks connection groups with a colors. </p>
<p>Thanks to Sitwon and Bethany for sending these in and getting some complimentary hak5 swag. Submit your 4-bits at <a href="http://www.hak5.org/nibble" target="_blank">hak5.org/nibble</p>
<hr/>
<p>If you&#8217;re into Hak5 you&#8217;ll love our new show by hosts Darren Kitchen and Shannon Morse. Check out <a href="http://www.revision3.com/haktip">HakTip</a>!</p>
<p>Whether you&#8217;re a beginner or a pro, <a href="http://www.revision3.com/haktip">HakTip</a> is essential viewing for current and aspiring hackers, computer enthusiasts, and IT professionals. With a how-to approach to all things Information Technology, HakTip breaks down the core concepts, tools, and techniques of Linux, Wireless Networks, Systems Administration, and more</p>
<p>And let&#8217;s not forget to mention that you can follow us on <a href="http://www.twitter.com/hak5/" target="_blank">Twitter</a> and <a href="http://www.facebook.com/technolust/" target="_blank">Facebook</a>, <a href="http://revision3.com/hak5/subscribe" target="_blank">Subscribe</a> to the show and get all your Hak5 goodies, including the infamous <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> over at <a href="http://hakshop.com/" target="_blank">HakShop.com</a>. If you have any questions or suggestions please feel free to contact us at <a href="mailto:feedback@hak5.org">feedback@hak5.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/episodes/hak5-920/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
<enclosure url="http://videos.revision3.com/revision3/web/hak5/0920/hak5--0920--minsnubs--hd720p30.h264.mp4" length="437502598" type="video/mp4" />
<enclosure url="http://videos.revision3.com/revision3/web/hak5/0920/hak5--0920--minsnubs--large.h264.mp4" length="207986876" type="video/mp4" />
<enclosure url="http://videos.revision3.com/revision3/web/hak5/0920/hak5--0920--minsnubs--large.wmv9.wmv" length="379701661" type="video/asf" />
		</item>
		<item>
		<title>HakTip 3 &#8211; Packet Sniffing 101: Promiscuous Mode</title>
		<link>http://Hak5.org/episodes/haktip-3</link>
		<comments>http://Hak5.org/episodes/haktip-3#comments</comments>
		<pubDate>Tue, 31 May 2011 19:20:19 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Episodes]]></category>
		<category><![CDATA[HakTip]]></category>
		<category><![CDATA[802.11]]></category>
		<category><![CDATA[aircrack-ng]]></category>
		<category><![CDATA[backtrack]]></category>
		<category><![CDATA[crack]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[monitor mode]]></category>
		<category><![CDATA[packet sniffing]]></category>
		<category><![CDATA[promiscuous mode]]></category>
		<category><![CDATA[wep]]></category>
		<category><![CDATA[wireless network]]></category>
		<category><![CDATA[WPA]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=3602</guid>
		<description><![CDATA[<object width="555" height="342"><param name="movie" value="http://www.youtube.com/v/_Kz8C7g7XOY?version=3&#38;hl=en_US&#38;fs=1&#38;hd=1&#38;showinfo=0&#38;rel=0&#38;showsearch=0" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="555" height="342" src="http://www.youtube.com/v/_Kz8C7g7XOY?version=3&#38;hl=en_US&#38;fs=1&#38;hd=1&#38;showinfo=0&#38;rel=0&#38;showsearch=0" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object>]]></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%2Fepisodes%2Fhaktip-3"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhaktip-3&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>We&#8217;re getting promiscuous, with wireless cards! As part of our foundation series of HakTips Darren covers the fundamentals of wireless packet sniffing with a practical approach in BackTrack Linux using the Aircrack-ng suite.</p>
<div style="clear:both;"></div>
<p><a class="mov" href="http://videos.revision3.com/revision3/web/hak5/haktip/0003/hak5--haktip--0003--promiscuous--hd720p30.h264.mp4">Download HD</a> <a class="mov" href="http://videos.revision3.com/revision3/web/hak5/haktip/0003/hak5--haktip--0003--promiscuous--large.h264.mp4">Download MP4</a> <a class="wmv" href="http://videos.revision3.com/revision3/web/hak5/haktip/0003/hak5--haktip--0003--promiscuous--large.wmv9.wmv">Download WMV</a></p>
<p><span id="more-3602"></span></p>
<p><object width="555" height="342"><param name="movie" value="http://www.youtube.com/v/_Kz8C7g7XOY?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="555" height="342" src="http://www.youtube.com/v/_Kz8C7g7XOY?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>
<p>Let&#8217;s think about network traffic as a cocktail party. Picture Alice and Bob on the love seat chatting it up while Charlie is deep in conversation with Dave at the bar. Meanwhile, Eve is nearby sipping a Hendrix Martini listening in on everyone&#8217;s conversations.</p>
<p>You see, in order for Alice to send a message to Bob she has to address it to him by his network interfaces MAC address &#8212; or Media Access Control Address. This address is unique every network interface on the planet. Bob&#8217;s is going to be different from Charlie&#8217;s, Dave&#8217;s or anyone else.</p>
<p>On a hub based network, Alice&#8217;s message is heard by all. But by default when Charlie or Dave hear a message addressed to a mac address other their own, their network interface will drop the frame completely.</p>
<p>This is where promiscuous mode comes into play. If Eve&#8217;s network interface is in promiscuous mode she doesn&#8217;t drop frames not addressed to her. This is great for packet sniffing, say if Eve was a network administrator attempting to debug a faulty network. Likewise, if Eve had malicious intent the same applies to eavesdropping.</p>
<p>Now promiscuous mode assumes a hub based network. Switches thwart this by only sending messages to their intended recipients instead of everyone.</p>
<p>Which brings us to Monitor mode. Monitor mode, or RFMON for Radio Frequency Monitor, is one of six modes that wireless network interfaces can assume. Similar to Promiscuous mode, Monitor mode allows the wireless network interface to &#8220;sniff packets&#8221; not intended for it. </p>
<p>Unline promiscuous mode however, an interface in monitor mode can sniff packets from access points it isn&#8217;t even associated with. Again this is great for, say, an administrator troubleshooting a network, or on the darker side for malicious purposes such as eavesdropping and cracking encrypted networks.</p>
<p>What program or command is giving you warm fuzzies? Hit me up &#8212; <a href="mailto:tips@hak5.org">tips@hak5.org</a></p>
<p>And be sure to check out our sister show, <a href="http://www.hak5.org" target="_blank">Hak5</a> for more great stuff just like this.</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/episodes/haktip-3/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
<enclosure url="http://videos.revision3.com/revision3/web/hak5/haktip/0003/hak5--haktip--0003--promiscuous--hd720p30.h264.mp4" length="126887847" type="video/mp4" />
<enclosure url="http://videos.revision3.com/revision3/web/hak5/haktip/0003/hak5--haktip--0003--promiscuous--large.h264.mp4" length="57575306" type="video/mp4" />
<enclosure url="http://videos.revision3.com/revision3/web/hak5/haktip/0003/hak5--haktip--0003--promiscuous--large.wmv9.wmv" length="85722009" type="video/asf" />
		</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>Hak5 910 &#8211; OpenWRT and WiFi Pineapple mods, Gmail 2-step verification, zScreen screencaptures, Image burning and MD5 hashes</title>
		<link>http://Hak5.org/episodes/episode-910</link>
		<comments>http://Hak5.org/episodes/episode-910#comments</comments>
		<pubDate>Wed, 27 Apr 2011 07:15:55 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Episodes]]></category>
		<category><![CDATA[Season 9]]></category>
		<category><![CDATA[2 step verification]]></category>
		<category><![CDATA[bebo]]></category>
		<category><![CDATA[berlin]]></category>
		<category><![CDATA[burn]]></category>
		<category><![CDATA[ccc]]></category>
		<category><![CDATA[cd burn]]></category>
		<category><![CDATA[chaos computer club]]></category>
		<category><![CDATA[dnsmasq]]></category>
		<category><![CDATA[fastsum]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[google mail]]></category>
		<category><![CDATA[Hak.5]]></category>
		<category><![CDATA[haktip]]></category>
		<category><![CDATA[imgburn]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[Jasager]]></category>
		<category><![CDATA[MD5]]></category>
		<category><![CDATA[md5sum]]></category>
		<category><![CDATA[OpenWRT]]></category>
		<category><![CDATA[Pineapple]]></category>
		<category><![CDATA[rickroll]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[Snubs]]></category>
		<category><![CDATA[trivia]]></category>
		<category><![CDATA[twitpic]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[Wifi Pineapple]]></category>
		<category><![CDATA[zscreen]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=3389</guid>
		<description><![CDATA[<object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/aMqmv0q0AAc?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/aMqmv0q0AAc?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="555" height="312" wmode="transparent"></embed></object>]]></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%2Fepisodes%2Fepisode-910"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fepisode-910&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This time on the show, the Gmail 2-step verification, the easiest screen shot utility in the world, Image burning, MD5 integrity verification and the auto-rickrolling pineapple of doom!</p>
<div style="clear:both;"></div>
<p><a class="mov" href="http://videos.revision3.com/revision3/web/hak5/0910/hak5--0910--twosteprickrolldoom--hd720p30.h264.mp4">Download HD</a> <a class="mov" href="http://videos.revision3.com/revision3/web/hak5/0910/hak5--0910--twosteprickrolldoom--large.h264.mp4">Download MP4</a> <a class="wmv" href="http://videos.revision3.com/revision3/web/hak5/0910/hak5--0910--twosteprickrolldoom--large.wmv9.wmv">Download WMV</a></p>
<p><span id="more-3389"></span></p>
<p><object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/aMqmv0q0AAc?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/aMqmv0q0AAc?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="555" height="312" wmode="transparent"></embed></object></p>
<p><b>Hacker Headlines</b></p>
<p><a href="http://arstechnica.com/gaming/news/2011/04/hotz-lawyer-ps3-hacking-case-over-dmca-and-ip-abuse-live-on.ars" target="_blank">Sony and George Hotz have called a truce</a>. Settling outside court famed PS3 hacker GeoHot agreed not to be &#8220;engaging in any unauthorized access to any SONY PRODUCT under the law&#8221; etc&#8230; Following the settlement <a href="http://arstechnica.com/gaming/news/2011/04/hacker-george-hotz-donates-10k-to-eff-mocks-sony.ars" target="_blank">Hotz donated $10k to the Electronic Frontier Foundation</a>, money left over from his donated legal defense fund.</p>
<p>Skype made a boo-boo. Android Police found this little <a target="_blank" href="http://www.engadget.com/2011/04/14/skype-for-android-vulnerable-to-hack-that-compromises-personal-i/">vulnerability in the Skype app for Android</a>, where it seems that the SQLite3 databases where all your chat logs and info is stored was never protected. Skype forgot to encrypt the databases. That means a rogue app could potentially steal data out of your Skype app and send it back to the bad guy. Android Police created this app called Skypwned just to show how the breached can effect you. Oops!</p>
<p>Revealed at the Where 2.0 conference this week, security researchers published details on how <a target="_blank" href="http://arstechnica.com/apple/news/2011/04/how-apple-tracks-your-location-without-your-consent-and-why-it-matters.ars">iPhones and 3G iPads have been periodically logging your location</a>. Since iOS 4.0 the file consolidated.db has been storing timestamps with latitude-longitude coordinates. The researchers <a target="_blank" href="http://radar.oreilly.com/2011/04/apple-location-tracking.html">published an open source tool</a>, dubbed <a target="_blank" href="http://petewarden.github.com/iPhoneTracker/">iPhone Tracker</a>, which maps your devices stored locations.</p>
<p>Looks like Skype isn&#8217;t the only one with trouble brewing. <a target="_blank" href="http://techcrunch.com/2011/04/13/hacker-gains-access-to-wordpress-com-servers/">WordPress.com&#8217;s servers were hacked</a> pretty deep, root-access level deep. They say a bunch of customer&#8217;s source codes were accessible, so they&#8217;re having the vulnerable site change their passwords and API&#8217;s. The breach was on Automattic.com&#8217;s servers to be exact, the software company behind the WordPress platform. Obviously, a lot of information was viewable, but hopefully all the customer&#8217;s have already fixed any problems on their sites.</p>
<p>Mad Scientists Photonicinduction bring happyness to the world with a video demonstrating <a target="_blank" href="http://www.youtube.com/watch?v=Zi_bMYFmFGg">how to erase the data off a CD by spinning between it between two high voltage transformers</a>. </p>
<p><b>HakTip: zScreen</b></p>
<p>Want to capture print screens and share them, but don&#8217;t want to go through the hassle of saving, uploading, and all that jazz? Try zScreen. </p>
<p>zScreen will automatically capture screenshots, text, or files from your computer clipboard and upload them to a destination of your choice, as well as have the link to it automatically copied to your computer when it&#8217;s completed.  </p>
<p>Simply download zScreen from code.google.com and install. Once installed, choose your destination for images, files, and text, and the type of URL shortener you would like to use. Under destinations, you can authenticate and authorize zScreen to upload to your FTP, ImageShack, Flickr, even Twitter page, and tons of others. For myself, I&#8217;m going to upload to my Flickr page. zScreen uses OAuth, so all it requires is your username, not your password. It&#8217;ll authenticate through your Flickr site. You can even choose settings such as what window you want the print screen to copy, you can add a watermark, and tons of other options. Once you&#8217;ve gotten your settings squared away, hit your favorite HotKey and watch as your image gets uploaded to your account automatically. </p>
<p>So I hit PrtSc, and my full size image gets uploaded to my Flickr just like that. After it&#8217;s uploaded I can easily copy the image link from my clipboard. The link is also saved in zScreen.</p>
<p>It&#8217;s a great time saver, and perfect for easily taking notes on your screen and sharing them with others. Thanks to Patrick F for sending this in to us. Do you have a time saver or something cool to share? Email <a href="mailto:tips@hak5.org">tips@hak5.org</a> and we&#8217;ll share them.</p>
<p><b>OpenWRT / WiFi Pineapple mod: Auto-Rickroll</b></p>
<p>&#8220;John Bebo&#8217;s Auto-Rickroll payload for the WiFi Pineapple is an excellent example of using Dnsmasq to forward targets to a hosted site. While this site could be malicious, perhaps hosing the Browser Exploitation Framework, Bebo&#8217;s payload is a safe and simple prank. Any web site a victim attempts to browse to brings them to a WiFi Pineapple hosted page containing Rick Astley 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.</p>
<p>Thanks to great documentation from Bebo and Hak5 forum member Psychosis setting up your own Auto-rickrolling WiFi Pineapple 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 WiFi Pineapple specifically for its Jasager abilities.</p>
<p>Follow the step-by-step article with pictures and video at <a target="_blank" href="http://www.hak5.org/hack/auto-rickrolling-wifi-pineapple">hak5.org/hack/auto-rickrolling-wifi-pineapple</a></p>
<blockquote><p>
scp * pineapple<br />
mv *. /etc/config<br />
mv * /www/<br />
touch /etc/dnsmasq.conf<br />
echo address=/#/192.168.1.1 > /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<br />
reboot
</p></blockquote>
<p><b>Trivia</b></p>
<p>Our last trivia question was: What is the name of this prominent computer club that was founded in Berlin in 1981? And the answer was: Chaos Computer Club</p>
<p>This week&#8217;s trivia question is: What is the name of this virus, considered the first known use of polymorphic code?</p>
<p>Answer at <a target="_blank" href="http://www.hak5.org/trivia/">hak5.org/trivia</a> for a chance to win some swag! </p>
<p><b>2 Step Verification in Gmail</b></p>
<p>Although I know all of you out there protect your online accounts like crazy, there is always a way to get more protection. Maybe you don&#8217;t like using an encryption program or you use the same password for all of your sites. Although this is really bad, I think all of us have done that once or twice in the past. So perhaps you want to try something new.</p>
<p>I just discovered Gmail 2 Step Verification process for my google mail account. I&#8217;ve been a little paranoid lately with all the cyber attacks going on, so I decided to up my security, especially because my email is the one site I really don&#8217;t want hacked. </p>
<p><a target="_blank" href="http://gmailblog.blogspot.com/2011/02/advanced-sign-in-security-for-your.html">2 Step Verification</a> can help prevent unauthorized access that someone might have with just a stolen password. Now, when I sign in to gmail, I&#8217;ll not only need my password, but also a code that generates on my phone.</p>
<p>You might be thinking, &#8216;Well, what if your phone gets stolen?&#8217;. I set up a passcode on my phone, a series of random numbers that only I remember, and I set it so if I try brute forcing the passcode, after 10 wrong codes, it&#8217;ll wipe my phone. </p>
<p>Back to Gmail. When setting this up, first you&#8217;ll need your phone. If you won&#8217;t have a secure phone nearby when you sign in to Gmail, perhaps this isn&#8217;t the tool for you. </p>
<p>Click on &#8220;&#8221;Set Up 2 Step Verification&#8221;" and choose your phone. Androids, Blackberries, and Iphones have a special Google Authenticator app that will generate your random codes. </p>
<p>The first time you open the app, it&#8217;ll ask you to scan a QR code with your phone&#8217;s camera. This QR code generates your first series of random digits, and it ties you, the phone holder, to your gmail account. If you don&#8217;t have a usable camera or can&#8217;t read the QR code, choose to create a time-based key instead, and type your secret key into your phone.</p>
<p>Click next after taking your photo and verify your generated code. Gmail will then ask you to set up a backup in case your phone is lost or stolen. Next you will need a printer or a safe place to save your backup codes. I had a printer installed so I printed my backup codes. Each of these codes will let you sign in once to your gmail. </p>
<p>After printed, click next and choose a backup phone. This can be a home phone, a spouses phone, etc. Type in the phone number and you can then test it if you want. I set up my personal number to my home phone, and when I tested it, it called me and left me a message with a new generated code. When you hit next, confirm your account, and turn on 2 Step Verification.</p>
<p>When you first log in, you&#8217;ll type in your account name, password, then your verification code off your phone. You can also choose if you want the code remembered for 30 days or if you want it to ask you for a new code every time you log in.</p>
<p>You&#8217;ll notice after you turn on 2 Step Verification that all your devices tied to your gmail account are logged out. Things like gmail for iphone, the mail app, etc, don&#8217;t have a place to type in a verification code. To help your security, you&#8217;ll need to set up application specific passwords. To do this, under the 2 Step Verification main page, choose application specific passwords.</p>
<p>Choose a name of your device, for example, mine will be &#8220;&#8221;Shannon&#8217;s Iphone&#8221;". Click next and you&#8217;ll see a series of letters and numbers that you&#8217;ll have to type in to your Iphone. So I type in my username, and under the password box I type in this generated password and click next. I only have to do this one time, ever. So I won&#8217;t need to memorize this code.</p>
<p>But what happens if someone gets ahold of Shannon&#8217;s Iphone? Luckily, under the code, you can see my Iphone. If I choose &#8216;Revoke&#8217;, all access to my mail will be logged out on my Iphone until I authorize it again.</p>
<p>If at any time I need new printed codes, or I need to change my phones, I can go under account settings, 2 Step Verification and edit anything I need. I can even turn off 2 Step Verification if needed.</p>
<p>I LOVE 2 Step Verification. It makes me feel a lot more secure about my mail and personal information. Questions? Comments? Have another program for me? Email <a href="mailto:feedback@hak5.org">feedback@hak5.org</a>.</p>
<p><b>Emails: CD Burning and nomnomfish</b></p>
<blockquote><p>Max S writes: I have been watching your show since season 6. Since then you mentioned a program named Konboot few times.<br />
I was curious and tried getting it. But  I have a problem, I successfully download it, and extract it using winrar but when I burn it to a blank CD it doesn’t work.<br />
Am I missing something or does konboot not function anymore?</p></blockquote>
<p>Shannon recommends verifying the integrity of the download using a tool like <a target="_blank" href="http://www.fastsum.com/">Fast Sum</a> or MD5SUM and burning with a tool like <a href="http://www.imgburn.com/">IMG Burn</a></p>
<p>Keep up with the latest on Hak5 by follow us on <a href="http://www.twitter.com/hak5/" target="_blank">Twitter</a> or <a href="http://www.facebook.com/technolust/" target="_blank">Facebook</a>. <a href="http://revision3.com/hak5/subscribe" target="_blank">Subscribe</a> and get your weekly technolust delivered automatically. Or show your support and grab some swag from the <a href="http://hak5.org/store" target="_blank">HakShop</a> &#8211; including the new airport friendly <a href="http://www.hak5.org/store/wifi-pineapple-version-2" target="_blank">WiFi Pineapple</a> and <a href="http://www.hak5.org/store/hak5-hoodie" target="_blank">hoodie</a>. Finally if you&#8217;d like to suggest a topic<br />
for ask a question feel free to hit up <a href="mailto:feedback@hak5.org">feedback@hak5.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/episodes/episode-910/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
<enclosure url="http://videos.revision3.com/revision3/web/hak5/0910/hak5--0910--twosteprickrolldoom--hd720p30.h264.mp4" length="572165795" type="video/mp4" />
<enclosure url="http://videos.revision3.com/revision3/web/hak5/0910/hak5--0910--twosteprickrolldoom--large.h264.mp4" length="363285983" type="video/mp4" />
<enclosure url="http://videos.revision3.com/revision3/web/hak5/0910/hak5--0910--twosteprickrolldoom--large.wmv9.wmv" length="153225688" type="video/asf" />
		</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>Hak5 909 &#8211; HD video mixers for under a grand, broadband bonding live streamers, extreme sports cameras and more</title>
		<link>http://Hak5.org/episodes/episode-909</link>
		<comments>http://Hak5.org/episodes/episode-909#comments</comments>
		<pubDate>Wed, 20 Apr 2011 18:35:04 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Episodes]]></category>
		<category><![CDATA[Season 9]]></category>
		<category><![CDATA[2011 chevrolet volt]]></category>
		<category><![CDATA[blackmagic]]></category>
		<category><![CDATA[gopro]]></category>
		<category><![CDATA[Hak.5]]></category>
		<category><![CDATA[intensity]]></category>
		<category><![CDATA[mushroom networks]]></category>
		<category><![CDATA[nab]]></category>
		<category><![CDATA[nab2011]]></category>
		<category><![CDATA[nabshow]]></category>
		<category><![CDATA[national association of broadcasters]]></category>
		<category><![CDATA[tricaster]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=3266</guid>
		<description><![CDATA[<object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/f0lY6mx-WBU?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/f0lY6mx-WBU?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="555" height="312" wmode="transparent"></embed></object>]]></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%2Fepisodes%2Fepisode-909"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fepisode-909&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This time on an unorthodox Hak5, producers Darren and Paul venture to Las Vegas for the NAB Show and see what the National Association of Broadcasters are up to. We find HD video mixers for under a grand, 3G and 4G bonding solutions for live streaming on the go, HDMI field recorders, extreme sports cameras and some 30 foot jibs we can&#8217;t afford or house but still want anyway. This is our technolust!</p>
<div style="clear:both;"></div>
<p><a class="mov" href="http://videos.revision3.com/revision3/web/hak5/0909/hak5--0909--nabtime--hd720p30.h264.mp4">Download HD</a> <a class="mov" href="http://videos.revision3.com/revision3/web/hak5/0909/hak5--0909--nabtime--large.h264.mp4">Download MP4</a> <a class="wmv" href="http://videos.revision3.com/revision3/web/hak5/0909/hak5--0909--nabtime--large.wmv9.wmv">Download WMV</a></p>
<p><span id="more-3266"></span></p>
<p><object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/f0lY6mx-WBU?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/f0lY6mx-WBU?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="555" height="312" wmode="transparent"></embed></object></p>
<p>Keep up with the latest on Hak5 by following us on <a href="http://www.twitter.com/hak5/" target="_blank">Twitter</a> or <a href="http://www.facebook.com/technolust/" target="_blank">Facebook</a>. <a href="http://revision3.com/hak5/subscribe" target="_blank">Subscribe</a> and get your weekly technolust delivered automatically. Or show your support and grab some swag from the <a href="http://hak5.org/store" target="_blank">HakShop</a> &#8211; including the new airport friendly <a href="http://www.hak5.org/store/wifi-pineapple-version-2" target="_blank">WiFi Pineapple</a> and <a href="http://www.hak5.org/store/hak5-hoodie" target="_blank">hoodie</a>. Finally if you&#8217;d like to suggest a topic<br />
for ask a question feel free to hit up <a href="mailto:feedback@hak5.org">feedback@hak5.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/episodes/episode-909/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
<enclosure url="http://videos.revision3.com/revision3/web/hak5/0909/hak5--0909--nabtime--hd720p30.h264.mp4" length="579728249" type="video/mp4" />
<enclosure url="http://videos.revision3.com/revision3/web/hak5/0909/hak5--0909--nabtime--large.h264.mp4" length="385760658" type="video/mp4" />
<enclosure url="http://videos.revision3.com/revision3/web/hak5/0909/hak5--0909--nabtime--large.wmv9.wmv" length="393840290" type="video/asf" />
		</item>
		<item>
		<title>40 years later, Snake still nibbling</title>
		<link>http://Hak5.org/game/40-years-later-snake-still-nibbling</link>
		<comments>http://Hak5.org/game/40-years-later-snake-still-nibbling#comments</comments>
		<pubDate>Fri, 25 Mar 2011 19:26:27 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Game]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=3353</guid>
		<description><![CDATA[
			
				
			
		
Originating in the 1970s, Snake has become a classic of simplistic video game design. With merely two controls to speak of, turning left and right relative to the direction of the main character, Snake has ...]]></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%2Fgame%2F40-years-later-snake-still-nibbling"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fgame%2F40-years-later-snake-still-nibbling&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Originating in the 1970s, Snake has become a classic of simplistic video game design. With merely two controls to speak of, turning left and right relative to the direction of the main character, Snake has found its way into popular culture and ultimately our hearts.</p>
<p>Play is fairly straight forward. Navigate a game board without running into obstacles, such as walls and ones self. <span id="more-3353"></span> Score points by running into or “eating” pieces of food. Each piece of food accumulated causes Snake&#8217;s tail to grow, thus increasing the complexity of the game board. With no way to stop or reverse, Snake is fundamentally a game of finite length. </p>
<p><img src="http://www.Hak5.org/wp-content/uploads/2011/04/nokia2.jpg" alt="" title="nokia2" width="100" height="179" class="alignright size-full wp-image-3363" />For some Snake might be most known as the game that comes with most Nokia phones. Debuting in 1997 on the Finnish candy-bar style 6110 series handsets, Snake consisted of monochrome squares controlled by a rudimentary D-pad. Since then Snake has found a massive audience with Nokia users with new versions including Snake EX – a 16-bit color quality versions sporting multiplayer support over IR and Bluetooth. More recently Snake has evolved to include 3D graphics on Nokia phones.</p>
<p>In 2005 Taneli Armanto, Nokia engineer responsible for Snake on Nokia devices, received an award and special recognition for his pivotal role in embedding Snake on the 6110 from the Mobile Entertainment Forum.</p>
<p>For me Snake was first known as Nibbles, a Qbasic sample program included in MS-DOS version 5.0. This ANSI color graphic Snake variant included 9 levels and featured multiplayer support where by two players could use a single keyboard to navigate individual snakes across a game board. For me Nibbles served as a gateway to programming as the source code, freely modifiable, made the game easy to hack.<br />
<img src="http://www.Hak5.org/wp-content/uploads/2011/04/Nibbles_level3-300x140.png" alt="" title="Nibbles_level3" width="300" height="140" class="aligncenter size-medium wp-image-3362" /></p>
<p>Today Snake lives on in many forms. Some of my favorites include Youtube and Gmail. To play Snake on Youtube one must hold the left key for two seconds and press the up key while a video is loading. The video loading throbber will then become the familiar always hungry creature.<br />
<img src="http://www.Hak5.org/wp-content/uploads/2011/04/Youtubesnake-300x183.png" alt="" title="Youtubesnake" width="300" height="183" class="aligncenter size-medium wp-image-3360" /></p>
<p>To play Snake in Gmail one must visit Mail Settings and activate Old Snakey from the Labs menu.<br />
<img src="http://www.Hak5.org/wp-content/uploads/2011/04/gmailsnake-300x200.jpg" alt="" title="gmailsnake" width="300" height="200" class="aligncenter size-medium wp-image-3361" /></p>
<p><img class="alignleft size-thumbnail wp-image-1849" title="Darren Kitchen" src="http://www.Hak5.org/wp-content/uploads/2011/03/darren_blog.jpg" alt="" width="100" height="100" /><em>Darren Kitchen has been exploring underground scenes since his first 1200 baud modem. He first found technolust after writing a BBS dialer in BASIC on a PC-XT. Since then he has made a career of his self-taught tech skills in the field of Systems Administration. After founding Hak5 in 2005 he has become fascinated with new media. Darren also pwns you in Unreal Tournament.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/game/40-years-later-snake-still-nibbling/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Season 9 Party</title>
		<link>http://Hak5.org/blog/backstage/season-9-party</link>
		<comments>http://Hak5.org/blog/backstage/season-9-party#comments</comments>
		<pubDate>Mon, 21 Mar 2011 22:19:59 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Backstage]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=3021</guid>
		<description><![CDATA[
			
				
			
		

Join the Hak5 crew as we celebrate our Bay Area arrival and the beginning of season 9! 
LIVE PERFORMANCES from Nerdcore sensations Dual Core and Dale Chase
Saturday April 2nd at 7:00pm
The Hotsy Totsy Club
601 San ...]]></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%2Fbackstage%2Fseason-9-party"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fblog%2Fbackstage%2Fseason-9-party&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://www.Hak5.org/wp-content/uploads/2011/03/party_570.png" alt="" title="party_570" width="570" height="445" class="alignnone size-full wp-image-3095" /></p>
<p>Join the Hak5 crew as we celebrate our Bay Area arrival and the beginning of season 9! </p>
<p>LIVE PERFORMANCES from Nerdcore sensations Dual Core and Dale Chase</p>
<p>Saturday April 2nd at 7:00pm</p>
<p>The Hotsy Totsy Club<br />
601 San Pablo Ave<br />
Albany, CA 94706</p>
<p>Ring in the ninth season with cocktails, nerdcore and technolust!</p>
<p>21 and up. Bring your friends</p>
<p><a href="http://www.facebook.com/event.php?eid=192784467427211">RSVP at Facebook</a></p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/blog/backstage/season-9-party/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  hak5.org/author/administrator-2/feed ) in 1.16570 seconds, on Feb 7th, 2012 at 8:25 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 7th, 2012 at 9:25 am UTC -->
