<?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>blog.l-lacker.com &#187; Security</title>
	<atom:link href="http://blog.l-lacker.com/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.l-lacker.com</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 22:52:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Security &#124; Backtrack 5 on a Galaxy S Phone</title>
		<link>http://blog.l-lacker.com/security-backtrack-5-on-a-galaxy-s-phone/</link>
		<comments>http://blog.l-lacker.com/security-backtrack-5-on-a-galaxy-s-phone/#comments</comments>
		<pubDate>Thu, 12 May 2011 18:32:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[backtrack]]></category>
		<category><![CDATA[Root]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[infosec]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=405</guid>
		<description><![CDATA[I just finished a Backtrack 5 install on my Samsung Galaxy S phone.  I will detail out the steps to get it running most Android phones.  While this method was ONLY testing on my Galaxy S (Vibrant) but should work with other devices. &#160; README.winning! I have split this guide into two sections.  The first <a href='http://blog.l-lacker.com/security-backtrack-5-on-a-galaxy-s-phone/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/05/IMG_7595.jpg"><img class="alignnone size-full wp-image-474" title="IMG_7595" src="http://blog.l-lacker.com/wp-content/uploads/2011/05/IMG_7595.jpg" alt="" width="420" height="280" /></a><br />
I just finished a Backtrack 5 install on my Samsung Galaxy S phone.  I will detail out the steps to get it running most Android phones.  While this method was ONLY testing on my Galaxy S (Vibrant) but should work with other devices.</p>
<p>&nbsp;</p>
<p><span id="more-405"></span></p>
<h1><strong>README.winning!</strong></h1>
<p>I have split this guide into two sections.  The first section titled &#8220;Quick Version&#8221; is a simple set of steps to get this working on your phone.  All the work in the full version has already been completed by using the quick version.</p>
<p>The &#8220;Full Version&#8221; goes into process detail if you would like to perform all the steps or it may help if you get stuck at any time during the process.  This guide will continually be updated to include any feedback or changes.</p>
<h1>Quick Version:</h1>
<ol>
<li>Download the complete set of files you need from here: <a rel="nofollow" href="http://l-lacker.com/bt5/BT5_ARM_Joined.zip" target="_blank">http://l-lacker.com/bt5/BT5_ARM_Joined.zip</a> Extract BT5.zip to your phones internal SDcard in a directory called &#8220;BT5&#8243; (cAsE sEnSiTiVe)</li>
<li>Launch terminal emulator from your phone and type (everything after the $: or #: is user input):<br />
$: <strong>su</strong><br />
#: <strong>cd sdcard</strong><br />
#: <strong>cd BT5</strong><br />
#: <strong>sh bootbt</strong></li>
<li>While Backtrack is loaded (when you see a red &#8220;<strong>root@localhost</strong>&#8220;) start the VNC server by typing:<strong>root@localhost</strong>:~#: <strong>startvnc </strong>(stopvnc kills it)</li>
<li>Launch VNC (im using <a href="https://market.android.com/details?id=android.androidVNC&amp;feature=search_result" target="_blank">this</a>)from your phone and point it at 127.0.0.1:5901 VNC pass: toortoor</li>
<li>Welcome to Backtrack on your Phone!</li>
</ol>
<h1>Full Version</h1>
<h2>1. Download a copy of Backtrack 5 for ARM from : <a href="http://www.backtrack-linux.org/downloads/">http://www.backtrack-linux.org/downloads/</a> (Be nice and register)</h2>
<table>
<tbody>
<tr>
<td>Name:</td>
<td>BT5-GNOME-ARM.torrent</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>Size:</td>
<td>1060</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>Flavor:</td>
<td>GNOME</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>Arch:</td>
<td>arm</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>Image:</td>
<td>IMG</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>Download:</td>
<td>Torrent</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>MD5:</td>
<td>a66bf35409f4458ee7f35a77891951eb</td>
</tr>
</tbody>
</table>
<p><em>Update!!!</em></p>
<p><em>Complete package files that you need to install on your phone can be found here: <a href="http://l-lacker.com/bt5/BT5_ARM_Joined.zip" target="_blank">http://l-lacker.com/bt5/BT5_ARM_Joined.zip</a> Instructions are included.</em></p>
<h2>2. Extract and review the &#8220;README&#8221; file.</h2>
<p>I have posted the readme file here for quick reference, and have just added my notes to during the process.     I urge you to read the official read me included with the release prior to reading the below with comments.  My notes are in bold.</p>
<p>I would HIGHLY recommend following busybox instructions for your specific rom.   Most of the time this means updating to the latest version, but that is not always the case.</p>
<p>The Vibrant comes with 16gig NON removable internal storage.  The phone mounts this as the &#8220;sdcard&#8221; and the external SD card is removable.  I will be using the internal mass storage device to install BT5.</p>
<p><strong>Without wasting more time, onto the readme.</strong></p>
<blockquote><p>BackTrack 5 ARM Edition Quick Start<br />
This image has been developed and tested on the Motorola Xoom.<br />
Your mileage may vary on other devices. As this image runs in a chroot, you will need to have your device rooted. There are numerous tutorials on the subject online and are not included here.</p>
<p>***Rooting your device will potentially void its warranty and we are not in any way resposible if  you brick your device while rooting it.***</p>
<p>### IMPORTANT POINTS ###<br />
1. Since the image runs in a chroot, there is no root password set.</p>
<p>2. There are 2 scripts under /usr/bin/ &#8216;startvnc&#8217; and &#8216;stopvnc&#8217; that are set to start with the Xoom&#8217;s default resolution.</p>
<h3><strong>Once Backtrack5 is running off your phones internal storage you will need to edit the scripts to match your phone or devices resolution.  In my case, the Vibrant uses 480&#215;800.   Details on this step later in the instructions.</strong></h3>
<p>3. The current vnc password is set to &#8216;toortoor&#8217; and can be changed by running &#8216;vncpasswd&#8217;</p>
<p>4. This image is a work in progress and suggestions/tips from the community are always welcome.</p>
<p>### GETTING STARTED ###</p>
<h3><strong>ADB is a  veristile tool when it comes to Android development and interacting with the device and while the below WILL indeed work, and is independent of any OS (assuming you have the <a href="http://developer.android.com/sdk/index.html">Android SDK</a> installed).  I felt it was overkill for this task and simply mounted my SDcard and moved the files through OSX finder.  I also made changes via another machine using Windows explorer.  Again, choose your comfort level, steps 1-5 are simply a means to an end. That end is getting the files onto your SDcard.</strong></h3>
<p>1. Once you have downloaded the ARM BT package, save the files in a convenient location. The steps below assume they are in the platform-tools folder of the Android SDK.</p>
<p>2. Go to your platform-tools directory and proceed to make a directory on the device to store BT5:	./adb shell	mkdir /sdcard/BT5	exit</p>
<p>3. Copy over the busybox install files:	./adb push busybox /sdcard/	./adb push installbusybox.sh /sdcard</p>
<p>4. Install busybox on the device:	./adb shell	cd /sdcard/	sh installbusybox.sh	exit</p>
<p>5. Transfer the required BT5 files to the device:	./adb push fsrw /sdcard/BT5/	./adb push mountonly /sdcard/BT5/	./adb push bootbt /sdcard/BT5/	./adb push bt5.img.gz /sdcard/BT5/	./adb push unionfs /sdcard/BT5/</p>
<p>6. Uncompress the image and start BT5:	./adb shell	su	cd /sdcard/BT5	gunzip bt5.img.gz	sh bootbt</p>
<h3>My internal SDcard is formated as FAT32 and this file system is &#8220;required&#8221; for the phone to interact with the contents on the sd card.  I have tried formating the internal card with EXT3, EXT4, exFAT and was greeted each time with a &#8220;Damaged SD card&#8221; message.<br />
Because of this the installation stops when trying to extract the official bt5.img file from the ARM package as it ends up being &gt;5 gigs.  Since there is a 4 gig file limitation on the FAT32  filesystem, we should just give up. Right?</h3>
<p><strong><a href="http://blog.l-lacker.com/wp-content/uploads/2011/05/putty.jpg"><img class="alignnone size-full wp-image-408" title="putty" src="http://blog.l-lacker.com/wp-content/uploads/2011/05/putty.jpg" alt="" width="460" height="281" /></a><br />
</strong></p>
<h3>Nope, Lets Try Harder.</h3>
<p>I have tried splitting  the bt5.img and resembling on the device which obviously failed.  There is only one thing left to do&#8230;.</p>
<p>Modify the bt5.img file to fit into 4 gigs.  What can we remove?</p>
<ol>
<li>Looks like someone over at <a href="http://forum.xda-developers.com/showthread.php?t=1074169" target="_blank">XDA</a> had the same idea. Therefore,  I am going to revisit this section at a later day on how to manually create the image file.  I started the process, but decided in my end goal for this post was to have a working Backtrack 5 install on my Vibrant.</li>
<li>Since the heavy lifting is done, It&#8217;s time to <a href="http://forum.xda-developers.com/showthread.php?t=1074169" target="_blank">grab the files </a> (or contact me for a mirror) , join them together and place this file into the BT5 directory of our sdcard.<br />
To join the 3 files from the XDA post together, simply put them all in the same directory and use the cat command to join them: &#8220;cat bt.7z.* &gt; bt.7z &#8221;</li>
<li>Extract the joined bt.7z file</li>
<li>Rename bt.img to bt5.img and grab on that file and move it to your sd cards&#8217;s BT5 directory.</li>
</ol>
<p>This is what you should end up with in your phones BT5 directory.<br />
<a href="http://blog.l-lacker.com/wp-content/uploads/2011/05/Screen-shot-2011-05-12-at-9.54.33-PM.png"><img class="alignnone size-full wp-image-462" title="Screen shot 2011-05-12 at 9.54.33 PM" src="http://blog.l-lacker.com/wp-content/uploads/2011/05/Screen-shot-2011-05-12-at-9.54.33-PM.png" alt="" width="310" height="146" /></a></p>
<p><span style="font-size: 26px; font-weight: bold;">Starting BackTrack 5</span></p>
<p><strong>Once all the files have been transfered, test the installation by trying to start Backtrack from terminal emulator.</strong></p>
<p><strong>Success!<br />
<a href="http://blog.l-lacker.com/wp-content/uploads/2011/05/snap20110512_2157451.png"><img class="alignnone size-full wp-image-479" title="snap20110512_215745" src="http://blog.l-lacker.com/wp-content/uploads/2011/05/snap20110512_2157451.png" alt="" width="479" height="272" /></a> </strong></p>
<p>If all goes well, you&#8217;ll be in the BT5 chroot:# sh bootbtnet.ipv4.ip_forward = 1root@localhost:/</p>
<p># ls /pentest/backdoors  database   exploits   passwords  scanners stressing  voipcisco  enumeration  forensics  python     sniffers  tunneling  webroot@localhost:/#</p></blockquote>
<h1>3. ???? (or is this one profit?)</h1>
<h1>4. VNC</h1>
<p>Here is the fun part, sure the shell is pretty to look at however I want a gui to interact with.</p>
<p><strong>Note: Prior to starting the VNC server, you MUST perform this step to alter the screen resolution to match your device by modifying the /usr/bin/startvnc file. </strong></p>
<p><strong> </strong></p>
<p><strong>If you do not alter the geometry you may encounter the error below.<br />
<a href="http://blog.l-lacker.com/wp-content/uploads/2011/05/snap20110512_223701.png"><img title="snap20110512_223701" src="http://blog.l-lacker.com/wp-content/uploads/2011/05/snap20110512_223701.png" alt="" width="480" height="288" /></a></strong></p>
<p><strong><strong>I modified /usr/bin/startvnc by starting an SSH daemon on my phone and doing the work from a computer.</strong><br />
</strong></p>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/05/vnc1.jpg"><img class="alignnone size-full wp-image-472" title="vnc" src="http://blog.l-lacker.com/wp-content/uploads/2011/05/vnc1.jpg" alt="" width="641" height="390" /></a></p>
<p>1. Start the VNC server running on the BT5 phone install.<br />
<a href="http://blog.l-lacker.com/wp-content/uploads/2011/05/snap20110512_220434.png"><img class="alignnone size-full wp-image-468" title="snap20110512_220434" src="http://blog.l-lacker.com/wp-content/uploads/2011/05/snap20110512_220434.png" alt="" width="800" height="480" /></a></p>
<p>2. Check the VNC log! BT5 is listening on 5901. Then click connect.<br />
<a href="http://blog.l-lacker.com/wp-content/uploads/2011/05/snap20110512_223402.png"><img class="alignnone size-full wp-image-469" title="snap20110512_223402" src="http://blog.l-lacker.com/wp-content/uploads/2011/05/snap20110512_223402.png" alt="" width="800" height="480" /></a></p>
<p>3. Welcome to Backtrack 5!</p>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/05/snap20110512_234325.png"><img class="alignnone size-full wp-image-476" title="snap20110512_234325" src="http://blog.l-lacker.com/wp-content/uploads/2011/05/snap20110512_234325.png" alt="" width="800" height="480" /></a></p>
<p>At the beginning of April  I <a href="https://twitter.com/#!/CoryKennedy/status/55462329822879744">tweeted</a>: &#8220;Wouldn&#8217;t this just bring tears to your eyes if it was true? <a title="#metasploitonandroid" rel="nofollow" href="https://twitter.com/#!/search?q=%23metasploitonandroid">#metasploitonandroid</a> <a rel="nofollow" href="http://twitpic.com/4hfqgz" target="_blank">http://twitpic.com/4hfqgz</a> &#8221; , and now its true. &lt;tear&gt;</p>
<p>Huge thanks to the<a href="http://www.backtrack-linux.org/about/"> backtrack team</a> for providing an Android version of  Backtrack.  Great work!</p>
<p>Special thanks to : <a href="http://forum.xda-developers.com/member.php?u=3703469">anantshri</a> at <a href="http://forum.xda-developers.com/">XDA</a> for the advice and doing the hard work of creating the image files so quickly.  Be sure to check out his other work.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/security-backtrack-5-on-a-galaxy-s-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security &#124; Wireless Vulnerability Assessments with Kismet</title>
		<link>http://blog.l-lacker.com/security-wireless-vulnerability-assessments-with-kismet/</link>
		<comments>http://blog.l-lacker.com/security-wireless-vulnerability-assessments-with-kismet/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 18:01:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Root]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[backtrack]]></category>
		<category><![CDATA[kismet]]></category>
		<category><![CDATA[packets]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=354</guid>
		<description><![CDATA[The purpose of this post (like most of mine) is to take my notes out of evernote and  make them available.  The goal for this post was really just a quick way to get Kismet up and running and then viewing the output quickly. I will just detail the steps to get this working and <a href='http://blog.l-lacker.com/security-wireless-vulnerability-assessments-with-kismet/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/2011-04-05-09.32.41-copy.jpg"><img class="size-thumbnail wp-image-355 alignnone" title="Kismet" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/2011-04-05-09.32.41-copy-150x150.jpg" alt="" width="150" height="150" /></a> The purpose of this post (like most of mine) is to take my notes out of <a href="http://evernote.com/" target="_blank">evernote</a> and  make them available.  The goal for this post was really just a quick way to get Kismet up and running and then viewing the output quickly.</p>
<p><span id="more-354"></span></p>
<p>I will just detail the steps to get this working and what to do with the data once you have collected it.  I am using BackTrack 4 r2 within a Virtual Machine and an <a href="http://www.amazon.com/Alfa-AWUS036H-802-11b-Wireless-network/dp/B002WCEWU8" target="_blank">Alfa AWUS036H</a> set at <a href="http://blog.l-lacker.com/security-set-your-alfa-awus036h-to-1000-mw/" target="_blank">30db</a>.  You can skip step 2 if you are not using a virtual machine.</p>
<h2>1. UPDATE BACKTRACK!!!</h2>
<ul>
<li>root@bt:~# apt-get update &amp;&amp; apt-get dist-upgrade
<ul>
<li>Let this complete, it may take upwards on 2-5 minutes depending on if its a fresh install.</li>
</ul>
</li>
</ul>
<h2>2.  Plug in your Alfa, connect it to the VM and restart networking﻿</h2>
<ul>
<li>Connect the Alfa USB to the VM by performing the steps below. Additionally you can use the icon row at the bottom of VMware workstation to connect the device.  With Fusion, simply click Virtual Machine // USB // Connect Realtek [Model]</li>
</ul>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/Untitled1.jpg"><img class="alignnone size-full wp-image-361" title="Untitled" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/Untitled1.jpg" alt="" width="924" height="278" /></a></p>
<ul>
<li>Once the adapter is attached to the VM, restart networking&#8230; just to have a clean attachment.
<ul>
<li>root@bt:~# /etc/init.d/networking stop</li>
<li>root@bt:~# /etc/init.d/networking start</li>
</ul>
</li>
<li>Check that the adapter has been detected and is functioning  by checking iwconfig
<ul>
<li>root@bt:~# iwconfig
<ul>
<li>Determine what interface is associated with your Alfa (Realtek RTL8187) chipset.</li>
<li>root@bt:~# airmon-ng</li>
<li>In my example we are going to use: wlan0 (zero)</li>
</ul>
</li>
</ul>
</li>
</ul>
<h2>3.  Update Kismet</h2>
<ul>
<li>Grab the latest version from  <a href="http://www.kismetwireless.net/download.shtml">http://www.kismetwireless.net/download.shtml</a> and install it. Be sure to review <a href="http://www.kismetwireless.net/documentation.shtml">ALL documentation here</a>.
<ul>
<li>root@bt:~# wget https://www.kismetwireless.net/code/kismet-2011-03-R2.tar.gz  (or whatever the latest version is)</li>
<li>root@bt:~# tar xvfz kismet-2011-03-R2.tar.gz</li>
<li>root@bt:~# cd kismet-2011-03-R2</li>
<li>root@bt:~/kismet-2011-03-R2# ./configure</li>
<li>root@bt:~/kismet-2011-03-R2# make install (this may take upwards of 5 &#8211; 10 minutes)</li>
</ul>
</li>
</ul>
<h2>4. Start Kismet</h2>
<ul>
<li>Be sure to read the kismet help file for all available switches. I am purposely NOT using -c to specify an interface.
<ul>
<li>root@bt:~# kismet</li>
<li><strong>Note: If you are not going to use GPS, edit your kismet.conf file and tell it you are not going to.</strong>
<ul>
<li><strong>root@bt:~# vi /usr/local/etc/kismet.conf</strong></li>
<li><strong>Edit the line: Do we have a GPS? to say &#8220;gps=false&#8221;</strong></li>
</ul>
</li>
<li>Helpful navigation tips. [TAB] moves selection. [`] Brings up menu items,  arrow and enter keys allow interaction between items.</li>
</ul>
</li>
</ul>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet1.jpg"><img class="alignnone size-full wp-image-366" title="kismet1" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet1.jpg" alt="" width="999" height="688" /></a></p>
<p>Select your interface preference . I chose [ Yes]</p>
<ul>
<li> After choosing interface options, you will be &#8216;reminded&#8217; that kismet is running as root.  Be sure to determine the risk before answering.</li>
</ul>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet2.jpg"><img class="alignnone size-full wp-image-367" title="kismet2" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet2.jpg" alt="" width="999" height="688" /></a></p>
<p>&nbsp;</p>
<ul>
<li>Choose if you would like to start the kismet server.  Kismet runs in a client/server configuration. <a href="http://www.kismetwireless.net/documentation.shtml">More details here</a>. Note, once you start the server, a number of files will be generated and placed on your desktop. (Assuming you started kismet within that directory)  Do not delete these files, they are the logs of the captures.</li>
</ul>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet3.jpg"><img class="alignnone size-full wp-image-368" title="kismet3" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet3.jpg" alt="" width="999" height="688" /></a></p>
<ul>
<li>Select [ YES ] to add an interface for raw capture.</li>
</ul>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet10.jpg"><img class="alignnone size-full wp-image-371" title="kismet10" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet10.jpg" alt="" width="1000" height="690" /></a></p>
<ul>
<li>Enter the interface you are going to use (from step 2) and enter any options or name and select [ Add ]</li>
</ul>
<p>﻿<a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet11.jpg"><img class="alignnone size-full wp-image-372" title="kismet11" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet11.jpg" alt="" width="1000" height="690" /></a></p>
<ul>
<li>An error about dhclient looking at the adapter you have chosen will appear if you have not stopped the service.  <strong>To stop it specifically for your wireless adapter, just look at the open files and kill the dhclient service attached to wlan0. </strong>
<ul>
<li><strong>root@bt:~# lsof | grep wlan0</strong></li>
<li><strong>root@bt:~# kill -9 [PSID]</strong></li>
</ul>
</li>
</ul>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet13.jpg"><img class="alignnone size-full wp-image-373" title="kismet13" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet13.jpg" alt="" width="1000" height="690" /></a></p>
<ul>
<li>To view the traffic Kismet is seeing, you will need to close the console. (Don&#8217;t worry, you can get it back if you need)</li>
</ul>
<p>&nbsp;</p>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet152.jpg"><img class="alignnone size-full wp-image-380" title="kismet15" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet152.jpg" alt="" width="1008" height="690" /></a></p>
<ul>
<li>The Kismet menu system can be engaged by pressing the [`]or [~] and then use the arrow keys to navigate.</li>
</ul>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet16.jpg"><img class="alignnone size-full wp-image-381" title="kismet16" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet16.jpg" alt="" width="1008" height="690" /></a></p>
<ul>
<li>To interact with the visible networks, head over to the sort menu and select your sorting preference.  I chose [ type ] for this example. You can select the network you want more details about by navigating to it and pressing enter.</li>
</ul>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet17.jpg"><img class="alignnone size-full wp-image-382" title="kismet17" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet17.jpg" alt="" width="1008" height="690" /></a></p>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet18.jpg"><img class="alignnone size-full wp-image-383" title="kismet18" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismet18.jpg" alt="" width="1008" height="690" /></a></p>
<h2><strong>5. Reviewing Captures</strong></h2>
<p>Now Kismet has been capturing data, how can we look at it?</p>
<ul>
<li>You should have 5 files (depending on your switches and options you may end up with more or less.</li>
</ul>
<ol>
<li>
<ol>
<li>Kismet-[ date/time].netxml</li>
<li>Kismet-[date/time].gpsxml</li>
<li>Kismet-[date/time].alert</li>
<li>Kismet-[date/time].nettxt</li>
<li>Kismet-[date/time].pcapdump</li>
</ol>
</li>
</ol>
<ul>
<li>To view the .netxml file in excel, simply rename and drop the [net].</li>
</ul>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismetexcel.jpg"><img class="alignnone size-full wp-image-384" title="kismetexcel" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/kismetexcel.jpg" alt="" width="442" height="178" /></a></p>
<ul>
<li>Then simply import the .xml file into excel.</li>
<li>In excel 2010, I was only able to open the data in read only mode.</li>
</ul>
<p>﻿<a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/excel2.jpg"><img class="alignnone size-full wp-image-385" title="excel2" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/excel2.jpg" alt="" width="690" height="216" /></a></p>
<ul>
<li>To view uptime in days,  for the AP&#8217;s.  <a href="https://twitter.com/#!/joswr1ght" target="_blank">Josh Wright</a> has provided a nice formula we can use.</li>
<li>Apply: =<span style="text-decoration: underline;"><strong>U[cell]/(1000000 * (60 * 60 * 24)) </strong></span> to the &#8220;/bsstimestamp column.
<ul>
<li>Example: =U70/(1000000*(60*60*24))</li>
<li>Row 76 becomes 77, where row 77 contains the time in Days in the last column.</li>
</ul>
</li>
</ul>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/excelexample.jpg"><img class="alignnone size-full wp-image-387" title="excelexample" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/excelexample.jpg" alt="" width="459" height="45" /></a></p>
<p>&nbsp;</p>
<h2>Wrap up</h2>
<p>There are many ways to view and capture data with Kismet, using <a href="http://www.xplico.org/" target="_blank">xplico</a> plus the .pcap could prove useful.  I have only scratched the surface of what is possible.  The purpose of this post wasn&#8217;t to include every possible combination, but to get you up and running quickly using kismet and reviewing the data just as fast.<br />
<a href="https://twitter.com/#!/corykennedy" target="_blank">Twitter</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/security-wireless-vulnerability-assessments-with-kismet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security &#124; Set your Alfa AWUS036H to 1000 mW</title>
		<link>http://blog.l-lacker.com/security-set-your-alfa-awus036h-to-1000-mw/</link>
		<comments>http://blog.l-lacker.com/security-set-your-alfa-awus036h-to-1000-mw/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 17:21:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Root]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=331</guid>
		<description><![CDATA[I purchased an Alfa AWUS036H a few months ago and it came with the &#8220;high power&#8221; (5dBi) antenna.   After plugging in a booting into Backtrack 4 (r2 at time of writing). I found that by default it is only operating at 10% power. To determine if it is, simply take a peek at iwconfig for <a href='http://blog.l-lacker.com/security-set-your-alfa-awus036h-to-1000-mw/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I purchased an <a href="http://www.amazon.com/Alfa-AWUS036H-802-11b-Wireless-network/dp/B002WCEWU8" target="_blank">Alfa AWUS036H</a> a few months ago and it came with the &#8220;high power&#8221; (5dBi) antenna.   After plugging in a booting into Backtrack 4 (r2 at time of writing). I found that by default it is only operating at 10% power.</p>
<p><span id="more-331"></span></p>
<div><strong>To determine if it is, simply take a peek at iwconfig for the alfa.</strong></div>
<blockquote>
<div>root@bt:/# iwconfig</div>
<div id="_mcePaste">lo        no wireless extensions.</div>
<div id="_mcePaste">eth0      no wireless extensions.</div>
<div id="_mcePaste">wlan0     IEEE 802.11bg  ESSID:off/any</div>
<div id="_mcePaste">Mode:Managed  Access Point: Not-Associated   <span style="text-decoration: underline;"><strong>Tx-Power=20 dBm</strong></span></div>
<div id="_mcePaste">Retry  long limit:7   RTS thr:off   Fragment thr:off</div>
<div id="_mcePaste">Encryption key:off</div>
<div id="_mcePaste">Power Management:off</div>
</blockquote>
<p>20 dBM = 100 MillWatts according to <a href="http://www.aubraux.com/design/dbm-to-milli-watts-calculator.php" target="_blank">this calculator. </a></p>
<p><strong>To increase power and get the advertised 1000mW perform the following steps.<br />
Note: This process works in a Virtual Machine OR on a physical machine. </strong></p>
<p>1. Diable the adapter</p>
<p>2. set the power (by changing the region code to alter the TX/RX power levels to work at the appropriate power levels for your country. ) Note: be sure you choose YOUR country. The below is a warning from the aircrack-ng page regarding these changes.</p>
<p><span style="color: #0000ff; font-family: Tahoma, arial, helvetica, serif; font-size: small; line-height: normal;"><strong>- <span style="text-decoration: underline;">Be sure to use this guide to set your CORRECT Country Regulatory Domain.</span></strong></span></p>
<p><span style="color: #0000ff; font-family: Tahoma, arial, helvetica, serif; font-size: small; line-height: normal;"><strong>- <span style="text-decoration: underline;">Setting the wrong Reg Domain could probably break the Law in your Country.</span></strong></span></p>
<p>3. Enable the adapter</p>
<p>4. Check it!</p>
<p>Process below:</p>
<blockquote><p>root@bt:/# ifconfig wlan0 down<br />
root@bt:/# iw reg set US<br />
root@bt:/# airmon-ng start wlan0</p>
<p>Interface       Chipset         Driver<br />
wlan0           RTL8187         rtl8187 &#8211; [phy5]<br />
(monitor mode enabled on mon0)</p>
<p>root@bt:/# iwconfig wlan0</p>
<p>wlan0     IEEE 802.11bg  ESSID:off/any<br />
Mode:Managed  Access Point: Not-Associated  <strong><span style="text-decoration: underline;"> Tx-Power=30 dBm<br />
</span></strong>Retry  long limit:7   RTS thr:off   Fragment thr:off<br />
Encryption key:off<br />
Power Management:off</p></blockquote>
<p>If you head back to the dBm to mW calculator it will tell you that 30dBm  1000 mW.  Success.</p>
<p>I can not take credit for the above, I simply put it here for my own notes to reference in the future.  For more information and further reading check out the <a href="http://forum.aircrack-ng.org/index.php?topic=7177.0" target="_blank">aircrack-ng forums</a>.</p>
<p>Update: You will have to perform these steps each time you power on your VM or physical device.  You can toss the below script in your init.d dir so you wont need to remember.  Again, not my work, just placing here for quick reference.</p>
<blockquote><p><span style="font-family: verdana, arial, sans-serif; font-size: 11px; line-height: normal;">#!/bin/bash<br />
##iw reg set &lt;your-country-code&gt;<br />
iw reg set &lt;insert-your-country-code-here-in-CAPITAL-LETERS&gt;All country codes are in &#8216;CAPITAL LETTERS&#8217;</p>
<p>save &amp; close text editer</p>
<p>then put it in the /etc/init.d/ directory.</p>
<p>So in a terminal enter<br />
sudo cp ~/Desktop/setwirelesscountrycode.sh /etc/init.d/<br />
Then make the file you created executable.e.g.<br />
sudo chmod +x /etc/init.d/setwirelesscountrycode.sh To set it to run on startup<br />
sudo update-rc.d /etc/init.d/setwirelesscountrycode.sh defaults note &#8216;defaults&#8217; puts a link to start &#8216;/etc/init.d/setwirelesscountrycode.sh&#8217; in run levels 2, 3, 4 and 5. and puts a link to stop &#8216;/etc/init.d/setwirelesscountrycode.sh&#8217; into run levels 0, 1 and 6.</span></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/security-set-your-alfa-awus036h-to-1000-mw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security &#124; Android &#8211; What other information are you leaking?</title>
		<link>http://blog.l-lacker.com/security-android-what-other-information-are-you-leaking/</link>
		<comments>http://blog.l-lacker.com/security-android-what-other-information-are-you-leaking/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 17:19:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Root]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[infosec]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=293</guid>
		<description><![CDATA[After reading Cory&#8217;s post about Rooted Android device + Accounts.db = passwords stored in clear text, it got me thinking.  What else could I find. There are multiple databases in the Android OS, ranging from chat history to password storage.  Lets see what they  give up. Here is what I used for the research. 1. <a href='http://blog.l-lacker.com/security-android-what-other-information-are-you-leaking/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.l-lacker.com/wp-content/uploads/2010/09/snap20100923_104157.png"><img class="alignleft size-medium wp-image-301" title="snap20100923_104157" src="http://blog.l-lacker.com/wp-content/uploads/2010/09/snap20100923_104157-180x300.png" alt="" width="180" height="300" /></a>After reading <a href="http://forum.androidcentral.com/hacking/35470-aware-clear-text-passwords-database-files.html" target="_blank">Cory&#8217;s post </a>about Rooted Android device + Accounts.db = passwords stored in clear text, it got me thinking.  What else could I find. There are multiple databases in the Android OS, ranging from chat history to password storage.  Lets see what they  give up.</p>
<p><span id="more-293"></span></p>
<p>Here is what I used for the research.</p>
<p>1. Samsung Galaxy S (Vibrant) on the T-mobile network. This device has been &#8220;rooted&#8221;, using the method documented <a href="http://forum.xda-developers.com/showpost.php?p=7150299&amp;postcount=1" target="_blank">here</a> on XDA.</p>
<p>2. A copy of <a href="http://www.appbrain.com/app/com.speedsoftware.rootexplorer" target="_blank">Root Explorer</a>. This allows you to browse the entire Android File system from your device.  Requires root, but also gives you access to everything a traditional &#8220;root&#8221; account would. It also has a handy little SQLite DB viewer.</p>
<p>3. A copy of <a href="http://www.appbrain.com/app/com.bw.picme.local" target="_blank">ShootMe</a>. Screen shot app.</p>
<p>Both apps above are dependent on step one being complete. A few other notes, I have two additional updates, non stock rom apps  on this device.</p>
<p>1. <a href="http://forum.xda-developers.com/showpost.php?p=7663822&amp;postcount=38" target="_blank">Altered startup/shutdown animations. </a></p>
<p>2. The <a href="http://forum.xda-developers.com/showthread.php?t=760243" target="_blank">tether app</a>, from the international Galaxy S (9000).</p>
<p>Both apps require root, and are not standard APK&#8217;s.  Therefore they must be flashed using clockwork or the bootloader.</p>
<p>I also used the <a href="http://developer.android.com/sdk/index.html" target="_blank">Android SDK</a> and <a href="http://code.google.com/p/androidscreencast/" target="_blank">screencast </a>to do some of the searching from the comforts of my laptop. [Update]. I switched to VNC for remote admin of this device.</p>
<h2>Part 1</h2>
<h2>Android Filesystem and the /data folder</h2>
<p>I didn&#8217;t set out to create a multipart post, but the deeper down the rabbit hole I went, it became apparent that there was a lot of ground to cover.  In Part 1, I am going to lay out the filesystem and the files that live in the largest directory. The /data dir.</p>
<p>Here is what the Android filesystem directory structure looks like. I am using <a href="http://busybox.net" target="_blank">busybox</a> via the Android <a href="http://www.appbrain.com/app/jackpal.androidterm" target="_blank">Terminal emulator app</a>.</p>
<blockquote><p># ls -al<br />
drwxr-xr-x   21 0        0                0 Sep 23 06:57 .<br />
drwxr-xr-x   21 0        0                0 Sep 23 06:57 ..<br />
drwxr-xr-x    2 0        0                0 Jun 22 11:03 .info<br />
drwxrwx&#8212;    1 1000     2001             0 Sep 23 06:58 cache<br />
dr-x&#8212;&#8212;    2 0        0                0 Sep 23 06:57 config<br />
drwxrwx&#8211;x    1 1000     1000             0 Sep 23 06:57 data<br />
drwxrwx&#8211;x    1 1000     1000             0 Sep 23 06:57 data_tmo<br />
drwxrwx&#8211;x    1 1000     1000             0 Sep 23 06:57 dbdata<br />
-rwxr-xr-x    1 0        0              117 Jun 22 10:44 default.prop<br />
drwxr-xr-x   10 0        0            13540 Sep 23 06:57 dev<br />
drwxrwx&#8211;x    1 1001     1001             0 Sep 23 06:57 efs<br />
lrwxrwxrwx    1 0        0               10 Jun 22 11:03 etc -&gt; system/etc<br />
-rwxr-xr-x    1 0        0             2237 Jun 22 10:44 fota.rc<br />
lrwxrwxrwx    1 0        0                9 Jun 22 11:03 init -&gt; sbin/init<br />
-rwxr-xr-x    1 0        0            24482 Jun 22 10:58 init.rc<br />
-rwxr-xr-x    1 0        0              444 Jun 22 10:44 init.smdkc110.rc<br />
-rwxr-xr-x    1 0        0              335 Jun 22 10:44 <a href="http://init.smdkc110.sh/" target="_blank">init.smdkc110.sh</a><br />
drwxr-xr-x    3 0        0                0 Jun 22 11:03 lib<br />
-rwxr-xr-x    1 0        0              727 Jun 22 10:44 lpm.rc<br />
drwxr-xr-x    3 0        0                0 Jun 22 11:03 mnt<br />
dr-xr-xr-x  112 0        0                0 Jan  1  1970 proc<br />
-rwxr-xr-x    1 0        0             1143 Jun 22 10:44 recovery.rc<br />
drwxr-xr-x    3 0        0                0 Jun 22 11:03 res<br />
drwxr-xr-x    3 0        0                0 Jun 22 11:03 sbin<br />
drwxrwxr-x   55 1000     1015         32768 Sep 23 07:00 sdcard<br />
drwxrwxrwt    2 0        0               40 Sep 23 15:32 sqlite_stmt_journals<br />
drwxr-xr-x   12 0        0                0 Jan  1  1970 sys<br />
drwxr-xr-x    1 0        0                0 Sep 23 06:57 system<br />
-rwxr-xr-x    1 0        0              154 Jun 22 10:44 system.prop<br />
drwxr-xr-x    3 0        0                0 Jun 22 11:03 tmp<br />
drwxrwx&#8211;x    2 1000     1000             0 Sep 23 06:57 userdata</p></blockquote>
<p>A quick search for databases on the root gave me more hits than I could parse through.   I decided to search in each directory for a more simplified view.</p>
<p>There were still so many just in the data directory, that I have removed entries like the XKCD, Onion and similar apps.  Cached .db&#8217;s are also not included.  I wanted to keep this to what seemed &#8220;juicy&#8221;.  Maybe in another post, I can review those to see what applications are giving up.</p>
<blockquote><p>$ export PATH=/data/local/bin:$PATH<br />
$su<br />
# find /data -name *.db<br />
/data/data/com.android.providers.userdictionary/databases/user_dict.db<br />
/data/data/com.google.android.talk/databases/suggestions.db<br />
/data/data/com.google.android.providers.settings/databases/googlesettings.db<br />
/data/data/com.layar/databases/layar.db<br />
/data/data/com.android.providers.security/databases/policies.db<br />
/data/data/com.android.providers.telephony/nwk_info.db<br />
/data/data/com.android.providers.telephony/optable.db<br />
/data/data/com.google.android.providers.subscribedfeeds/databases/subscribedfeeds.db<br />
/data/data/com.sec.android.providers.downloads/databases/sisodownloads.db<br />
/data/data/com.google.android.youtube/databases/history.db<br />
/data/data/com.android.email/databases/EmailProvider.db<br />
/data/data/com.android.email/databases/EmailProviderBody.db<br />
/data/data/com.android.email/databases/webview.db<br />
/data/data/com.android.htmlviewer/databases/webview.db<br />
/data/data/com.android.globalsearch/databases/shortcuts-log.db<br />
/data/data/com.android.providers.drm/databases/drm.db<br />
/data/data/com.google.android.voicesearch/databases/webview.db<br />
/data/data/com.android.bluetooth/databases/btopp.db<br />
/data/data/com.sec.android.app.callsetting/databases/rejectmessage.db<br />
/data/data/com.sec.android.app.callsetting/databases/autoreject.db<br />
/data/data/com.twitter.android/databases/twitter.db<br />
/data/data/com.facebook.katana/databases/fb.db<br />
/data/data/com.google.android.apps.googlevoice/databases/model.db<br />
/data/data/com.google.android.apps.googlevoice/databases/shadowmappings.db<br />
/data/data/com.google.android.apps.googlevoice/databases/server_settings.db<br />
/data/data/com.dropbox.android/databases/db.db<br />
/data/data/com.tweetdeck.app/databases/webview.db<br />
/data/data/org.connectbot/databases/webview.db<br />
/data/data/com.ebay.mobile/databases/webview.db<br />
/data/system/accounts.db</p></blockquote>
<p>Awesome.  Time to head over to Root explorer and see what the data says.   I will post all finding in the google docs spreadsheet embedded below.</p>
<p><iframe width='600' height='300' frameborder='0' src='https://spreadsheets.google.com/pub?key=0At49vkemSxQedHBuRWhudEpOYmVRUVNPeUtrYzJWbVE&#038;hl=en&#038;output=html&#038;widget=true'></iframe></p>
<p>In part 2, I hope to cover the remaining databases and what lies within.  Hopefully we wont find anything worse that we already have.</p>
<p>The guys over at  <a href="http://viaforensics.com/services/android-forensics/" target="_blank">viaForensics </a> have a pretty nice application to talk to some of the databases.  However, it is no longer available to the public.  I am going to *attempt* to leverage  <a href="http://appinventor.googlelabs.com/about/" target="_blank">Googles App Inventor </a> to automate much of this process, or maybe spit out an .apk to see what can be extracted from both rooted and non rooted devices.  </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/security-android-what-other-information-are-you-leaking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security &#124; Cyber-RAID + Security B-sides IN KC!!!!</title>
		<link>http://blog.l-lacker.com/security-cyber-raid-security-b-sides-in-kc/</link>
		<comments>http://blog.l-lacker.com/security-cyber-raid-security-b-sides-in-kc/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 22:54:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[bsides]]></category>
		<category><![CDATA[ctf]]></category>
		<category><![CDATA[cyberraid]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[infosec]]></category>
		<category><![CDATA[redandblueteam]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=281</guid>
		<description><![CDATA[September is less than 30 days away and already shaping up to be one of the most exciting months from an InfoSec perspective that I&#8217;ve have signed up to participate in.  This industry (artform) has been nothing short of amazing to be involved with.  Sitting in a cube and reading about most of these things, vs going out and getting <a href='http://blog.l-lacker.com/security-cyber-raid-security-b-sides-in-kc/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.l-lacker.com/wp-content/uploads/2010/08/omg-it-spins.jpg"><img class="alignleft size-medium wp-image-284" title="omg-it-spins" src="http://blog.l-lacker.com/wp-content/uploads/2010/08/omg-it-spins-300x225.jpg" alt="" width="180" height="135" /></a>September is less than 30 days away and already shaping up to be one of the most exciting months from an InfoSec perspective that I&#8217;ve have signed up to participate in.  This industry (artform) has been nothing short of amazing to be involved with.  Sitting in a cube and reading about most of these things, vs going out and getting involved should be a huge learning opportunity.   If you are within driving distance of Kansas City and are remotely interesting in information security , consider coming to these events!</p>
<p><span id="more-281"></span></p>
<p>First up from:</p>
<p><span style="font-weight: normal;">Thursday, September 16, 2010 at 10:00 AM<br />
- to -<br />
Friday, September 17, 2010 at 4:00 PM (CT)</span></p>
<p><span style="font-weight: normal;">Is the first anual <a href="http://cyber-raid.com/" target="_blank">Cyber-RAID</a> event.</span></p>
<p>What is Cyber-RAID you ask?</p>
<blockquote><p>The Kansas City InfraGard program is hosting a two day cyber event which  pits systems and security professionals from the community against each  other in a live cyber attack on a replicated commercial network.  This  event will specifically focus on managing and protecting this existing  “commercial” network infrastructure from a live cyber attack. Since the  exercise network is hosted on a private managed network that is not on  the Internet, production data and systems are not at risk.</p></blockquote>
<p>Register here: <a href="http://cyberraid.eventbrite.com/?ref=ecount" target="_blank">http://cyberraid.eventbrite.com/?ref=ecount</a><br />
Note: We need RED Team members!!!</p>
<p>Next up we have <a href="http://www.securitybsides.org/BSidesKC" target="_blank"> SecuityBsidesKC</a> which begins at 10:00am on Friday September 17th and runs through until 5:00pm that night.  I&#8217;ve never been at a BSides event, or a Security Con for that matter, but I think it would be safe to assume it will run past 5pm.</p>
<p><a href="http://www.securitybsides.org/BSidesKCTalks" target="_blank">Look at the current lineup</a> for speakers, this is shaping up to be a pretty amazing/can&#8217;t miss line up.</p>
<p>Call for presenters is still open, so please submit any talks.  There will be barcamp style talk acceptance after the scheduled speakers.</p>
<p>Again, I can&#8217;t wait for september to get here so I can sponge knowledge off of people like <a href="http://twitter.com/ax0n" target="_blank">@ax0n</a>, <a href="http://twitter.com/hevnsnt" target="_blank">@hevnsnt</a>, <a href="http://twitter.com/surbo" target="_blank">@surbo</a>, <a href="http://twitter.com/jur1st">@jur1st</a> and <a href="http://twitter.com/davehull">@davehull</a>, and im sure there are more that I simply don&#8217;t know what their twitter accounts are <img src='http://blog.l-lacker.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/security-cyber-raid-security-b-sides-in-kc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security &#124; Neighbor Hacking (not wireless)</title>
		<link>http://blog.l-lacker.com/security-neighbor-hacking-not-wireless/</link>
		<comments>http://blog.l-lacker.com/security-neighbor-hacking-not-wireless/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 14:44:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[SE]]></category>
		<category><![CDATA[social engineering]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=219</guid>
		<description><![CDATA[We live in a regular neighborhood in Anytown, USA and that neighborhood had many wonderful things that make it a wonderful place to live.  This includes very neighborly neighbors that are just trying to help. This morning I awake to find an envelope taped to my front door. It was blank, and I briefly peek <a href='http://blog.l-lacker.com/security-neighbor-hacking-not-wireless/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.l-lacker.com/wp-content/uploads/2010/04/872neighborhood.jpg"><img class="alignleft size-medium wp-image-220" title="Anytown USA" src="http://blog.l-lacker.com/wp-content/uploads/2010/04/872neighborhood-300x199.jpg" alt="" width="300" height="199" /></a> We live in a regular neighborhood in Anytown, USA and that neighborhood had many wonderful things that make it a wonderful place to live.  This includes very neighborly neighbors that are just trying to help.</p>
<p><span id="more-219"></span>This morning I awake to find an envelope taped to my front door. It was blank, and I briefly peek around and see that the rest of the neighborhood has the same thing waiting.</p>
<p>I go ahead and open it, expecting to find a local resident selling mowing, painting or any other service but find something slightly different. Close, but different. In part below:</p>
<blockquote><p>&#8220;Neighbors:</p>
<p>Since we don&#8217;t have a homeowners association everyone has done their own thing in regards to trash removal. I thought it would be nice to have one garbage truck come through each week instead of three so I contacted [REDACTED] who I was inquiring about a special.  I have attached their letter&#8230;.</p>
<p>&#8230; If everyone thinks this is a good idea we can all have matching barrels put out at one time per week&#8230;</p>
<p>&#8230;Again, we dont have an association, but we can all act together if we choose. Their number is on the attached paper if you would like to use them.&#8221;</p></blockquote>
<p>Ok, so whats the problem you ask? Well nothing really, I think it was a nice gesture, and think he was just trying to help his fellow neighbor.</p>
<h2>HERE is the problem.</h2>
<p>On the &#8220;Attached paper&#8221; was a browser printout of an email that was sent to his gmail account.  He made an effort to hide his gmail address and thats about it.  The nice little feature gmail provides to show the last account activity was in plain view.  The IP address was in tact.</p>
<p>Being the curious minded person I am, I couldn&#8217;t help myself and put in the IP into my browser. Bingo. &#8220;Welcome to Windows Small Business Server 2003&#8243;</p>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2010/04/sbs03.png"><img class="alignleft size-medium wp-image-222" title="sbs03" src="http://blog.l-lacker.com/wp-content/uploads/2010/04/sbs03-300x225.png" alt="" width="300" height="225" /></a>I&#8217;d better close it right away&#8230; nah, Of COURSE I clicked on &#8220;Remote Web Workplace&#8221; and of COURSE I got:</p>
<h2><span style="color: #ff0000;"> &#8220;</span><strong><span style="color: #ff0000;">The site&#8217;s security certificate is not trusted!&#8221;</span></strong></h2>
<p><span style="color: #ff0000;"><span style="color: #888888;">and of COURSE I was in a VM and so on and so for and moved forward. I was presented with a company name, and a logon prompt.  So a quick tally of what we have so far.</span></span></p>
<p>I have his full name, IP address of a machine I know he used, probably was logged into the SBS web desktop. I have his address (duh), place of employment and the phone number and address of his work place.  Oh well.</p>
<h2>What I DON&#8217;T have</h2>
<p>I dont have HIS email address, remember he redacted it.  I NEED that email address now, so when I call him I can send him an email as well.</p>
<p>This was an easy one, the &#8220;Attached paper&#8221; had the persons name, phone number and email that he contacted about a special. I had all the info I needed to just socially engineer my neighbors email address out of them.  I called the number and received the front desk.  I was informed the person I needed was out, but she could help me. She could take my name and number and get back to me. Stop.  That wasn&#8217;t really going to work for this little experiment.  I simply gave her some more details, like the my neighbors name and guess what. She has access to the mailbox that contained the email address.  After helping her troubleshoot a bit, she gave it to me without hesitation, and I even asked her to spell it again and asked if I couldn&#8217;t reach him by email If I could call her back because she has been &#8220;so helpful and really got me out of a pickle&#8221;. Another win for me . FAIL for them. They mindlessly handed out information about another customer.</p>
<p>Additionally, all of his gmail labels were in view on the print out. Pretty organized too, I know his church, hobbies and the fact he uses his gmail for work, Well, I&#8217;m assuming thats what the &#8220;Work&#8221; label meant. Wow. This is awesome.</p>
<h2>What was the point of even bothering with this?</h2>
<p>To help educate my neighbor that something seemingly harmless could have been bad.</p>
<p>I have contacted him, but haven&#8217;t heard back.  I will update this post as soon as I do.  Remember, own your information folks.</p>
<p><em>Update:  I spoke to my neighbor and he was very thankful that I wasn&#8217;t malicious. I think he understood why it was a bad idea, and mentioned &#8220;you got all of this from a note on your door about trash&#8230;different world we live in&#8221; <img src='http://blog.l-lacker.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Protecting people, one neighbor at a time. </em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/security-neighbor-hacking-not-wireless/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security &#124; InfoSec: A n00b’s perspective.</title>
		<link>http://blog.l-lacker.com/security-infosec-a-n00bs-perspective/</link>
		<comments>http://blog.l-lacker.com/security-infosec-a-n00bs-perspective/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 04:57:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[noob]]></category>
		<category><![CDATA[Opinion]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=201</guid>
		<description><![CDATA[Beginning Less than a year ago, I decided it was time to stop being defined by the job I was doing, I noticed I was on the path of complacency and wanted to belong to an area I have always been an outsider looking in on. Information Security.  I am no stranger to technology, and have <a href='http://blog.l-lacker.com/security-infosec-a-n00bs-perspective/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.l-lacker.com/wp-content/uploads/2010/01/noob.png"><img class="alignleft size-medium wp-image-204" title="noob" src="http://blog.l-lacker.com/wp-content/uploads/2010/01/noob-234x300.png" alt="" width="164" height="210" /></a></p>
<h2>Beginning Less than a year ago,</h2>
<p>I decided it was time to stop being defined by the job I was doing, I noticed I was on the path of complacency and wanted to belong to an area I have always been an outsider looking in on. Information Security.  I am no stranger to technology, and have had a strong passion for anything related to it for as long as I can remember. I just lacked focus&#8230;</p>
<p><span id="more-201"></span></p>
<h2><span style="font-weight: normal;">Jump</span></h2>
<p>When I finally made the decision shift focus to InfoSec it was scary to say the least.  The more I learn, the less I know. Not only that, but I realized this was a close community with a solid history and more talented people that I could ever imagine.  I felt like it was my first day in prison (disclaimer: I&#8217;ve never been to prison) and I felt like I needed to make a name for myself.  Each passing day I was trying to draw comparisons between an existing community with years and years of experience to what I was doing.   I hope I caught that mistake in time, that could have been bad.</p>
<h2><span style="font-weight: normal;">Slow Down</span></h2>
<p>Frickin&#8217; Newb, Its only been 8 months&#8230;ish.  In that time, I obtained a  C|EH, completed <a href="http://www.offensive-security.com/penetration-testing-backtrack-online-training.php" target="_blank">Offensive Security PWB 101 training</a> (No OSCP, on attempt 2) [Update: I passed the OSCP exam in May of 2010], visited my <a href="http://blog.cowtowncomputercongress.org/" target="_blank">local </a><a href="http://blog.cowtowncomputercongress.org/" target="_blank">hackerspace</a> a handful of times (<a href="http://nodatafound.wordpress.com/2009/09/08/have-you-been-to-your-local-hackerspace/" target="_blank"> I recommend doing the same</a>) . I joined <a href="http://infragard.org/" target="_blank">Infragard</a>, <a href="https://www.issa.org/" target="_blank">ISSA</a> and <a href="http://www.owasp.org/index.php/Main_Page" target="_blank">OWASP</a>.  No, I&#8217;m not trying to be a braggart, and no, I don&#8217;t think this is the path to 1337ness. It served me two purposes really.  First it was an attempt to learn and surround myself with people that built the very community I am trying to get into.  Secondly, It was a good way to test the waters.</p>
<h2><span style="font-weight: normal;">Welcome to the Thunderdome</span></h2>
<p><span style="font-weight: normal;">Have you guys seen what you have built? The security community is amazing.  I wont get into a naming of names, but the<a href="http://www.security-twits.com/" target="_blank"> </a><a href="http://www.security-twits.com/" target="_blank">twitter users</a> alone are not only impressive but if you follow the right people you could socially engineer yourself into an InfoSec job just by regurgitating tweets.  Podcasts? Yeah, <a href="http://getmon.com/" target="_blank">you got em</a>.  Need Videos?  <a href="http://securitytube.net" target="_blank">There</a> <a href="http://hackermedia.org/" target="_blank">are</a> <a href="http://www.irongeek.com/i.php?page=security/hackingillustrated" target="_blank">too</a> <a href="http://theacademypro.com" target="_blank">many</a><a href="http://www.offensive-security.com/backtrack-tutorials.php" target="_blank"> security</a> <a href="http://www.google.com/search?rlz=1C1GGLS_enUS351US351&amp;sourceid=chrome&amp;ie=UTF-8&amp;q=%23secvidofday" target="_blank">video</a> <a href="http://youtube.com" target="_blank">sites</a> to count. Cons. <a href="http://www.google.com/calendar/embed?src=pe2ikdbe6b841od6e26ato0asc%40group.calendar.google.com" target="_blank">Nuff said.</a> I am going to make an effort to hit as many of <a href="http://www.google.com/calendar/embed?src=pe2ikdbe6b841od6e26ato0asc@group.calendar.google.com&amp;gsessionid=JuvaJnf9Bt9W34XscDgnog" target="_blank">these cons</a> as possible this year.  Finally,  <a href="http://www.security-twits.com/" target="_blank">Blogs? 0_O</a></span></p>
<h2><span style="font-weight: normal;">Going Forward</span></h2>
<p>I always hear, &#8220;give back to the infosec community&#8221;, and that is something I plan on doing.  I don&#8217;t have much to offer at this point. Writing isn&#8217;t my strong suit (&lt;&lt;<a href="http://l-lacker.com/Captain_Obvious.jpg" target="_blank">Captain Obvious</a>) and podcasts<em> from a noobs perspective (hmm catchy) </em> would be a waste of everyone&#8217;s time.  I decided the best thing I can do, for myself and the community is to STFU and learn.  The last thing &#8220;we&#8221; (ducks) need is a wreckless wannabe. I have no idea where I fit in, and its better that way.   I have a long way to go, but the journey so far has been worth the jump.  I only wished I made it 10 years ago.</p>
<p><a href="http://twitter.com/corykennedy" target="_blank">twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/security-infosec-a-n00bs-perspective/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Education &#124; Security Awareness</title>
		<link>http://blog.l-lacker.com/talk-security-awareness/</link>
		<comments>http://blog.l-lacker.com/talk-security-awareness/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 18:07:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Root]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=177</guid>
		<description><![CDATA[Recently I decided to give a talk to my office titled &#8220;Security Awareness&#8221;.  I wrote it maybe 3 months ago, in a &#8216;stream of conscious&#8217; style.  After review, I realized it may not only need fact checking, but  input from the community. I have yet to deliver it and need some help. @mattjay (Web: http://mattjaysecurity.com)Took <a href='http://blog.l-lacker.com/talk-security-awareness/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-178" href="http://blog.l-lacker.com/talk-security-awareness/hacker3/"><img class="size-thumbnail wp-image-178 alignleft" title="hacker3" src="http://blog.l-lacker.com/wp-content/uploads/2009/11/hacker3-150x150.jpg" alt="hacker3" width="150" height="150" /></a>Recently I decided to give a talk to my office titled &#8220;Security Awareness&#8221;.  I wrote it maybe 3 months ago, in a &#8216;stream of conscious&#8217; style.  After review, I realized it may not only need fact checking, but  input from the community. I have yet to deliver it and need some help.</p>
<p><span id="more-177"></span><a href="http://twitter.com/mattjay">@mattjay</a> (Web: <a href="http://mattjaysecurity.com" target="_blank">http://mattjaysecurity.com</a>)Took a peek when it was in it&#8217;s earliest form and gave me some great pointers.  I suppose what I am looking for is feedback, or criticism to make the talk better.</p>
<p>The audience will be non &#8220;power&#8221; users.  I pictured giving this talk in a nursing home to try to make the content as &#8220;friendly&#8221; as possible.</p>
<p>What types of things do you want users to know? I feel that education is the best medicine for information security, and by working with them and making it accessible will at least (hopefully) get them to stop and consider any actions that may have become habit.</p>
<p><a href="https://docs.google.com/present/edit?id=0Ad49vkemSxQeZGRyOTlyNW1fNDBnY2ZwZnBkbg&amp;hl=en" target="_blank">This link </a>is to the shared version of the talk, EVERYONE can edit and make changes.  My hope is, the &#8220;open&#8221; format will lead to some great feed back.  Unless someone deletes the whole thing, then I&#8217;ll get the hint.</p>
<p><em><strong>Update: With a lot of amazing feedback from <a href="http://twitter.com/fsamurai" target="_blank">@fsamurai</a> (web: <a href="http://www.freelancesamurai.com" target="_blank">http://www.freelancesamurai.com</a>)  I have updated the talk  <a href="https://docs.google.com/present/edit?id=0Ad49vkemSxQeZGRyOTlyNW1fNDJmNHJqY2Rkdg&amp;hl=en" target="_blank">Here is the latest version (2.0). </a> Also feel free to make changes or edits.</strong></em></p>
<p>Feel free to use this talk, or modify it for your own purposes.  Getting the info out is what is important.</p>
<p>Thanks Everyone.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/talk-security-awareness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security &#124; FB F.U.D</title>
		<link>http://blog.l-lacker.com/fb-f-u-d/</link>
		<comments>http://blog.l-lacker.com/fb-f-u-d/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 19:30:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[FB]]></category>
		<category><![CDATA[FUD]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=125</guid>
		<description><![CDATA[Howdy FaceBook, I&#8217;m back. I recently re-established my Facebook page to reconnect with friends and stay in contact with family.  I didn&#8217;t have the account open for 2 weeks when I constantly saw posts about &#8220;Hackers will break into your account&#8221; or &#8221; A hacker named Christopher Rosenqueist ate my Monitor&#8221;, and other nonsensical items <a href='http://blog.l-lacker.com/fb-f-u-d/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<h2><a rel="attachment wp-att-126" href="http://blog.l-lacker.com/fb-f-u-d/fud/"><img class="size-thumbnail wp-image-126 alignleft" title="fud" src="http://blog.l-lacker.com/wp-content/uploads/2009/10/fud-150x150.jpg" alt="fud" width="150" height="150" /></a>Howdy FaceBook, I&#8217;m back.</h2>
<p>I recently re-established my Facebook page to reconnect with friends and stay in contact with family.  I didn&#8217;t have the account open for 2 weeks when I constantly saw posts about &#8220;Hackers will break into your account&#8221; or &#8221; A hacker named Christopher Rosenqueist ate my Monitor&#8221;, and other nonsensical items that seemed to be scaring people into commenting or sharing it.</p>
<p><span id="more-125"></span>I quickly posted <a href="http://socialmediasecurity.com/wp-content/uploads/2009/07/Facebook_Privacy_and_Security_Guide.pdf " target="_blank">SocialMediaSecurity</a>&#8216;s &#8220;Facebook Privacy and Security Guide&#8221; to attempt to help my some of my non technical friends and family.  I also tried to stop the spread by commenting with factual information.</p>
<p>These &#8220;Hackerz stole my life&#8221; posts seem to be a version of  <a href="http://en.wikipedia.org/wiki/Fear,_uncertainty_and_doubt" target="_blank">Fear Uncertainty and Doubt.</a> (FUD).  By posting or sharing unverified &#8220;hacker&#8221; claims, FUD is being caused and propagates itself through the system.   Scaring people into spreading false information.  Crying Wolf, that&#8217;s what these posts are.   Stop and think, do you even care or notice when a car alarm goes off? Nope. Why? Its screaming for help. &#8220;I&#8217;m being broken into!!!!&#8221;  Enough false alarms and no one listens.</p>
<p><em>Update: &#8220;crying wolf&#8221; may be a bad analogy.  I understand most people are posting with sincere intentions and trying to help others. </em></p>
<h2>Why are you boring me with this?</h2>
<p>I wont any further, instead I will offer some of my tips to make your Facebook experience free from &#8220;<a href="http://www.dan-dare.org/FreeFun/Images/CartoonsMoviesTV/MonstersIncPoster.jpg" target="_blank">Hackers</a>&#8221;</p>
<p>1. Follow <a href="http://socialmediasecurity.com/wp-content/uploads/2009/07/Facebook_Privacy_and_Security_Guide.pdf " target="_blank">this guide.</a></p>
<p>2. Take ownership of the information, don&#8217;t just spread it.  If you see something that seems scary, use google, or ask your friendly Security professional/ IT Guy.  Learning how to spot these will allow you to help yourself and others.</p>
<p>3.  Take ownership of your account.  Follow good password guidelines.  AND DO NOT REUSE PASSWORDS, if your FB password is the same as your banking password, and your etrade account, and your email account, and&#8230;  then guess what? If a criminal gets one, you gave him keys to the castle.  Have &#8220;fifty Million&#8221; passwords, and can&#8217;t manage them? So does everyone else, stop fighting it and  let a <a href="http://keepass.info/" target="_blank">password management program</a> do it for you.</p>
<p>I tried to keep this short and to the point.  If you have any questions or need help with any of the programs listed. Please contact me.</p>
<p><em>Update 2.  <a href="http://www.fbi.gov/cyberinvest/escams.htm" target="_blank">Here</a> is the FBI&#8217;s take on this.</em></p>
<p align="center"><span style="font-family: Arial,Helvetica,sans-serif;"><strong>TECHNIQUES USED BY FRAUDSTERS ON SOCIAL NETWORKING SITES</strong></span></p>
<p align="left">Fraudsters continue to hijack accounts on social networking sites and spread malicious software by using various techniques. One technique involves the use of spam to promote phishing sites, claiming there has been a violation of the terms of agreement or some other type of issue which needs to be resolved. Other spam entices users to download an application or view a video. Some spam appears to be sent from users&#8217; &#8220;friends&#8221;, giving the perception of being legitimate. Once the user responds to the phishing site, downloads the application, or clicks on the video link, their computer, telephone or other digital device becomes infected.</p>
<p align="left">Another technique used by fraudsters involves applications advertised on social networking sites, which appear legitimate; however, some of these applications install malicious code or rogue anti-virus software. Other malicious software gives the fraudsters access to your profile and personal information. These programs will automatically send messages to your &#8220;friends&#8221; list, instructing them to download the new application too.</p>
<p align="left">Infected users are often unknowingly spreading additional malware by having infected websites posted on their webpage without their knowledge. Friends are then more apt to click on these sites since they appear to be endorsed by their contacts.</p>
<p align="left"><strong>Tips on  avoiding these tactics:</strong></p>
<div>
<ul>
<li>Adjust website privacy settings. Some networking sites have provided useful options to assist in adjusting these settings to help protect your identity.</li>
<li>Be selective of your friends. Once selected, your &#8220;friends&#8221; can access any information marked as &#8220;viewable by all friends.&#8221;</li>
<li>You can select those who have &#8220;limited&#8221; access to your profile. This is for those whom you do not wish to give full friend status to or with whom you feel uncomfortable sharing personal information.</li>
<li>Disable options and then open them one by one such as texting and photo sharing capabilities. Users should consider how they want to use the social networking site. If it is only to keep in touch with people then perhaps it would be better to turn off the extra options which will not be used.</li>
<li>Be       careful what you click on. Just because someone posts a link or video to       their &#8220;wall&#8221; does not mean it is safe.</li>
</ul>
</div>
<p align="left">Those interested in becoming a user of a social networking site and/or current users are recommended to familiarize themselves with the site&#8217;s policies and procedures before encountering such a problem.</p>
<p align="left">Each social networking site may have different procedures on how to handle a hijacked or infected account; therefore, you may want to reference their help or <acronym>FAQ</acronym> page for instructions.<br />
Individuals who experienced such  incidents are encouraged to file a complaint at <a href="http://www.ic3.gov/">www.IC3.gov</a> reporting the incident.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/fb-f-u-d/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Security &#124; LaFonera Hacking</title>
		<link>http://blog.l-lacker.com/project-lafonera-hacking/</link>
		<comments>http://blog.l-lacker.com/project-lafonera-hacking/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 15:15:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[Lafonera]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://ldashlacker.wordpress.com/?p=53</guid>
		<description><![CDATA[ax0n over at h-i-r.net inspired me to attempt and successfully build this project . His 3 part series (part 1, part 2, part 3) is Awesome (capital A), and he certainly deserves the all the credit for doing the heavy lifting and providing an excellent write up. I used it as my template throughout the <a href='http://blog.l-lacker.com/project-lafonera-hacking/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/ax0n" target="_blank"><img title="images" src="http://nodatafound.files.wordpress.com/2009/09/images.jpg" alt="images" width="89" height="94" />ax0n</a> over at <a href="http://www.h-i-r.net/" target="_blank">h-i-r.net</a> inspired me to attempt and successfully build <a href="http://www.h-i-r.net/search/label/evilwifi" target="_blank">this project </a>.  His 3 part series (<a href="http://www.h-i-r.net/2009/07/evil-wifi-part-1-jasagerfonera-setup.html" target="_blank">part 1</a>, <a href="http://www.h-i-r.net/2009/07/evil-wifi-part-2-metasploit-framework.html">part 2</a>, <a href="http://www.h-i-r.net/2009/07/evil-wifi-part-3-hamster-ferret.html" target="_blank">part 3</a>) is Awesome (capital A), and he certainly deserves the all the credit for doing the heavy lifting and providing an excellent write up. I used it as my template throughout the entire process.</p>
<p><span id="more-53"></span></p>
<p>This document will reference his article A.LOT. I suggest you stop reading this (for now), and head directly to his article to familiarize yourself with it.</p>
<p>I am simply going to focus on OSX (Snow Leopard &#8211; 10.6). I wanted this to be available on my MacBook at the drop of a hat.</p>
<p>&#8220;So, uh…other than that, what’s the point of this &#8216;article&#8217; ?&#8221; . Hmmm&#8230; great question. I better get started before you leave.</p>
<p><em>Note: I&#8217;m assuming you have met all of the hardware requirements in the h-i-r.net article.</em></p>
<p><em><img title="More..." src="http://nodatafound.wordpress.com/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /><br />
</em></p>
<h2><span style="font-family:Courier New;">Step 1: Flashing the Fon</span></h2>
<p>Enable redboot! I used <a href="http://fonerahacks.com/index.php/Tutorials-and-Guides/How-to-Enable-Redboot.html" target="_blank">this guide.</a> The problem however, is that once I had established the ssh connection to the Fon, I was unable to wget the files. Additionally, I was unable to ping anything external. I&#8217;m sure I was doing something wrong, and there is a simple fix (comment if there is). So what should I do now? I mean, stuck at the second step in the instructions? Fail. To correct the issue, Grab the files referenced in the instructions from <a href="http://fonera.info/camicia/openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma" target="_blank">here</a> and <a href="http://fonera.info/camicia/out.hex" target="_blank">here</a> and while your at it <a href="http://www.digininja.org/files/jasager_firmware_1.0.tar.bz2" target="_blank">grab this</a> (you&#8217;ll need all of these files), launch a <a href="http://ww2.unime.it/flr/tftpserver/" target="_blank">tftp server</a>, unpack the files and place them in the tftp server directory. Then start server. (be sure to make note of the IP address ). I placed the files in a root dir called &#8220;tftp&#8221; this makes it a little easier when typing the path.</p>
<p align="center"><img title="TFTP" src="http://nodatafound.files.wordpress.com/2009/09/screen-shot-2009-09-02-at-1-17-21-pm.png" alt="TFTP" width="655" height="505" /></p>
<h2><span style="font-family:Courier New;">Enabling Redboot</span></h2>
<p>Now that we have the files living in the tftp server dir, Launch a terminal, connect to the Fon via ssh and issue the following commands using the following syntax to grab the files (<em>wget http://[ip.add.re.ss]/[dir]/[filename])</em>:</p>
<pre><strong><span style="font-size:small;">root@OpenWrt:~# cd /tmp
root@OpenWrt:~# wget http://201.37.100.106/tftp/openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma <em>
</em>root@OpenWrt:~# mtd -e vmlinux.bin.l7 write openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma vmlinux.bin.l7
root@OpenWrt:~# reboot</span></strong></pre>
<p>After the Fon comes back online, ssh back in and follow the remaining steps in the instructions to enable redboot.</p>
<pre><strong><span style="font-size:small;">root@OpenWrt:~# cd /tmp
root@OpenWrt:~# wget http://201.37.100.106/tftp/out.hex
root@OpenWrt:~# mtd -e "RedBoot config" write out.hex "RedBoot config"
root@OpenWrt:~# reboot</span></strong></pre>
<p>Once you get to the section<a href="http://www.fonerahacks.com/index.php/Tutorials-and-Guides/How-to-Access-Redboot.html" target="_blank"> &#8220;now your ready to flash&#8221;</a>, you can stop.  Those instructions follow a path we aren&#8217;t going to.</p>
<h2><span style="font-family:Courier New;">Installing the Jasager Firmware</span></h2>
<p>Head over to digininja’s site and follow the instructions here <a href="http://www.digininja.org/jasager/installation.php" target="_blank">&#8220;for firmware users&#8221;</a>. I skipped the redboot.pl installation, as we already have redboot enabled and working.  <a href="http://www.digininja.org/files/jasager_firmware_1.0.tar.bz2" target="_blank">Download jasegar</a>, unpack it and place it in your tftp dir. (if you didn&#8217;t do it earlier) The ONLY tricky part during the flash process is to be SURE you copy and paste the commands or triple check your typing. I mistakenly forgot to load vmlinux.bin.17.  It didn&#8217;t brick the Fon, but I was scared to reboot it.</p>
<pre><span style="background-color:#C0C0C0;">
</span><strong><span style="font-size:small;">RedBoot&gt;</span></strong><span style="font-size:small;"><code><strong> <span style="color:#ff0000;background-color:#000000;">fis init</span></strong></code>
<code><strong>About to initialize [format] FLASH image system - continue (y/n)? <span style="color:#ff0000;background-color:#000000;">y</span></strong></code>
<code><strong>*** Initialize FLASH Image System</strong></code>
<code><strong>... Erase from 0xa87e0000-0xa87f0000: .</strong></code>
<code><strong>... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .</strong></code>
<strong>RedBoot&gt;</strong><code><strong> <span style="color:#ff0000;background-color:#000000;">load -r -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma</span></strong></code>
<code><strong>Using default protocol (TFTP)</strong></code>
<code><strong>Raw file loaded 0x80040400-0x801003ff, assumed entry at 0x80040400</strong></code>
<strong>RedBoot&gt;</strong><code><strong> <span style="color:#ff0000;background-color:#000000;">fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7</span></strong></code>
<code><strong> </strong></code>
<code><strong>&lt; Wait for a while &gt; note: This took about 2 minutes</strong></code>
<code><strong> </strong></code>
<code><strong>... Erase from 0xa8030000-0xa80f0000: ............</strong></code>
<code><strong>... Program from 0x80040400-0x80100400 at 0xa8030000: ............</strong></code>
<code><strong>... Erase from 0xa87e0000-0xa87f0000: .</strong></code>
<code><strong>... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .</strong></code>
<strong>RedBoot&gt;</strong><code><strong> <span style="color:#ff0000;background-color:#000000;">load -r -b %{FREEMEMLO} openwrt-atheros-root.squashfs</span></strong></code>
<code><strong>Using default protocol (TFTP)</strong></code>
<code><strong>Raw file loaded 0x80040400-0x801e03ff, assumed entry at 0x80040400</strong></code>
<strong>RedBoot&gt;</strong><code><strong> <span style="color:#ff0000;background-color:#000000;">fis create -l 0x6F0000 rootfs</span></strong></code>
<code><strong> </strong></code>
<code><strong>&lt; Wait for a long while &gt; note: This took almost 15 minutes. Don’t panic. It’s working.</strong></code>
<code><strong> </strong></code>
<code><strong>... Erase from 0xa80f0000-0xa87e0000: ...........</strong></code>
<code><strong>... Program from 0x80040400-0x801e0400 at 0xa80f0000: ..........................</strong></code>
<code><strong>... Erase from 0xa87e0000-0xa87f0000: .</strong></code>
<code><strong>... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .</strong></code>
<code><strong> </strong></code>
<strong>RedBoot&gt;</strong><code><strong> <span style="color:#ff0000;background-color:#000000;">fconfig</span></strong></code>
<code><strong>Run script at boot: true</strong></code>
<code><strong>Boot script: </strong></code>
<code><strong>Enter script, terminate with empty line</strong></code>
<code><strong>&gt;&gt; <span style="color:#ff0000;background-color:#000000;">fis load -l vmlinux.bin.l7</span></strong></code>
<code><strong>&gt;&gt; <span style="color:#ff0000;background-color:#000000;">exec</span></strong></code>
<code><strong>&gt;&gt; </strong></code>
<code><strong>Boot script timeout (1000ms resolution): 2 (My default was 10)</strong></code>
<code><strong>Use BOOTP for network configuration: false</strong></code>
<code><strong>Gateway IP address: </strong></code>
<code><strong>Local IP address: 192.168.1.1</strong></code>
<code><strong>Local IP address mask: 255.255.255.0</strong></code>
<code><strong>Default server IP address: 192.168.1.254</strong></code>
<code><strong>Console baud rate: 9600</strong></code>
<code><strong>GDB connection port: 9000</strong></code>
<code><strong>Force console for special debug messages: false</strong></code>
<code><strong>Network debug at boot time: false</strong></code>
<code><strong>Update RedBoot non-volatile configuration - continue (y/n)? <span style="color:#ff0000;background-color:#000000;">y</span></strong></code>
<code><strong>... Erase from 0xa87e0000-0xa87f0000: .</strong></code>
<code><strong>... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .</strong></code>
<strong>RedBoot&gt;</strong><code><strong> <span style="color:#ff0000;background-color:#000000;">reset</span></strong></code>
<code><strong> </strong></code>
<code><strong>^]</strong></code>
<code><strong>telnet&gt; Connection closed.</strong></code>
<strong>root@desktop ~ #</strong></span><code><strong><span style="font-size:small;"> </span></strong></code></pre>
<h2><span style="font-family:Courier New;">Sweet!</span></h2>
<p><span style="font-size:small;"> </span></p>
<p><span style="font-size:small;">The hard part is over. So what happens if you make a mistake in fconfig like<br />
me? Type fconfig -n it will list all of the nicknames of the fields you can<br />
change. The shell doesn&#8217;t know what delete is, and<a href="http://ecos.sourceware.org/docs-latest/redboot/redboot-editing-commands.html"> there are all sorts of redboot keyboard-fu</a> you can use to control input. I found it easier to type at the reboot&gt; fconfig field_name [input]. So for<br />
example, if you accidentally entered 192.168.1.11 for the IP address. You could fix just that line by typing: </span><span style="font-family:Courier New;font-size:x-small;">fconfig boot_my_ip 192.168.1.1 </span></p>
<p><span style="font-size:small;"> </span></p>
<p><span style="font-size:small;">Let the Fon reboot, make sure you can ping 192.168.1.1 after all the lights<br />
look good, then open your browser and hit</span><span style="font-size:small;"> </span><span style="font-size:small;"> <a href="http://192.168.1.1:1471" target="_blank">http://192.168.1.1:1471</a> .</span></p>
<p><span style="font-size:small;"> The jasager interface *should* open. If it does not after a few minutes&#8230; try the following. </span></p>
<ol><span style="font-size:small;"></p>
<li>Make sure you are loading and executing vmlinux.bin.17 in fconfig</li>
<li>Reboot the Fon</li>
<li>Double and triple check fconfig.</li>
<p></span></ol>
<p><span style="font-size:small;">If all else fails, repeat the process. I ended up flashing almost 10 times<br />
due for various reasons, ranging from mistakes I made in the network config, to<br />
the Fon not playing nice with DHCP. If you need to reflash, redboot is only<br />
available for a few seconds while the fon device is booting. I hope your<a href="http://www.youtube.com/watch?v=1weOKbOTv3A"><br />
SMB, 3-1 infinite guy</a> timing is still there. Here is what I had to do to hit<br />
the timing properly. </span></p>
<ol><span style="font-size:small;"></p>
<li>Remove power from Fon</li>
<li>Launch a terminal and start pinging 192.168.1.254</li>
<li>Launch another terminal and PREP a telnet session to 192.168.1.254 9000</li>
<li>The first reply you receive from ping, press enter on your telnet session</li>
<li>If it fails. Repeat process until you get it.</li>
<p></span></ol>
<p><span style="font-size:small;">Now, head back to<br />
<a href="http://www.h-i-r.net/2009/07/evil-wifi-part-1-jasagerfonera-setup.html"><br />
part 1</a> of the h-i-r instructions and follow along starting with “tinker<br />
time” </span></p>
<h2><span style="font-family:Courier New;">Step 2: Install the pWn<br />
</span></h2>
<p><span style="font-size:small;"> </span></p>
<p>This is the easy part.  Below are simply notes regarding the process.</p>
<h2><span style="font-family:Courier New;">Metasploit and Karma</span></h2>
<p><span style="font-family:Courier New;font-size:medium;"> </span></p>
<p><span style="font-family:Courier New;font-size:medium;"> </span></p>
<p>This is the part where I point you back to <a href="http://www.h-i-r.net/2009/07/evil-wifi-part-2-metasploit-framework.html" target="_blank">h-i-r.net&#8217;s part 2</a> for the complete setup of this step.  I was able to <a href="http://metasploit.com/framework/download/?id=framework-3.2.tar.gz">drop in the framework</a> to my tools directory with no additional steps required. However, you may want to update ruby if you desire.  Then Download <a href="http://metasploit.com/users/hdm/tools/karma.rc" target="_blank">karma.rc</a>, put it in the root directory with the framework and we are in the home stretch to put this all together.</p>
<p>Head to <a href="http://www.h-i-r.net/2009/07/evil-wifi-part-2-metasploit-framework.html">part 2</a> of the h-i-r instructions. Follow from “Time to tweak stuff”.  You will need to edit karma.rc before you run it.</p>
<p><span style="font-family:Courier New;font-size:medium;"> </span></p>
<h2><span style="font-family:Courier New;">Hamster and Ferret</span></h2>
<p>Last files we need to grab are<a href="http://hamster.erratasec.com/downloads/hamster-macosx-2.0.1.zip"> hamster</a> and <a href="http://hamster.erratasec.com/downloads/hamster-macosx-2.0.1.zip">ferret</a>.</p>
<p>I was having some trouble getting hamster and ferret to compile, even after installing <a href="http://developer.apple.com/tools/xcode/" target="_blank">xcode</a>.  Luckily, <a href="http://hamster.erratasec.com/downloads/hamster-macosx-2.0.1.zip" target="_blank">the binaries are compiled for us already </a>. Download them and place them in a directory you will remember.</p>
<p>You will need to set your browsers proxy to 127.0.0.1:1234 to view the Hamster interface. Be sure you add an exception for your NIC&#8217;s ip address, so you can monitor Jasager as well.</p>
<p><img title="Screen shot 2009-09-02 at 4.19.25 PM" src="http://nodatafound.files.wordpress.com/2009/09/screen-shot-2009-09-02-at-4-19-25-pm.png" alt="Screen shot 2009-09-02 at 4.19.25 PM" width="445" height="536" /></p>
<p>You can now head back to <a href="http://www.h-i-r.net/search/label/evilwifi" target="_blank">ax0n&#8217;s work</a> and button up the rest of the project.</p>
<h2><span style="font-family:Courier New;">Starting the entire process</span></h2>
<p>Here are the steps I use when booting this rig.</p>
<ol>
<li>Power on the Fon and connect it to your PC      with an Ethernet cable.</li>
<li>Make sure Jasager is online and Karma is      active.   I opted to control its state, instead of automatically      starting it.</li>
<li>Open a terminal and Launch Metasploit and      Karma with&gt;      sudo ~./msfconsole -r karma.rc</li>
<li>Open another terminal and launch hamster      with&gt; sudo      ~./hamster</li>
<li>Enable your proxy.  Or use <a href="https://addons.mozilla.org/en-US/firefox/addon/1557" target="_blank">quickproxy</a> for firefox to quickly enable.</li>
<li>Open the Jasager (<a href="http://192.168.1.1:1471" target="_blank">192.168.1.1:1471</a>) and      hamster (<a href="http://127.0.0.1:1234">127.0.0.1:1234</a>) interfaces</li>
<li>Gratz ur      l33+</li>
</ol>
<h2><span style="font-family:Courier New;">Conclusion</span></h2>
<p><span style="font-size:small;"> </span></p>
<p><span style="font-size:small;">While this guide wasn&#8217;t meant to be as comprehensive as the article it was based on. I hope you will find a quick reference for installing this on your Mac Box.</span></p>
<p><span style="font-size:small;"> All the files referenced, I have zipped up and stashed them <a href="http://www.box.net/shared/t1efgv7rkg">here.</a> Comment with questions or <a href="http://www.twitter.com/corykennedy">hit me up via twitter </a></span></p>
<p><span style="font-size:small;"> </span></p>
<pre><strong>
<code> </code></strong>

<strong>
</strong><code> </code></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/project-lafonera-hacking/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

