<?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; Root</title>
	<atom:link href="http://blog.l-lacker.com/category/root/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>Android &#124; Must have root apps</title>
		<link>http://blog.l-lacker.com/android-must-have-root-apps/</link>
		<comments>http://blog.l-lacker.com/android-must-have-root-apps/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 22:07:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Root]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=492</guid>
		<description><![CDATA[Recently a friend rooted his Android device and asked &#8220;What should I install now?&#8221; Here is a short list (Will clean it up, provide groupings and short descriptions later) that links to a public google docs spreadsheet.  Please add your favorite applications! Click here to edit]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.l-lacker.com/wp-content/uploads/2012/02/root.gif"><img class="alignnone size-thumbnail wp-image-493" title="root" src="http://blog.l-lacker.com/wp-content/uploads/2012/02/root-150x150.gif" alt="" width="150" height="150" /></a></p>
<p>Recently a friend rooted his Android device and asked &#8220;What should I install now?&#8221;</p>
<p>Here is a short list (Will clean it up, provide groupings and short descriptions later) that links to a public google docs spreadsheet.  Please add your favorite applications!</p>
<p><span id="more-492"></span><br />
<a href="https://docs.google.com/spreadsheet/ccc?key=0At49vkemSxQedDZmVS1CMEdkMnFkbXZtRVBfTDhjNWc">Click here to edit</a></p>
<p><iframe src="https://docs.google.com/spreadsheet/pub?key=0At49vkemSxQedDZmVS1CMEdkMnFkbXZtRVBfTDhjNWc&amp;output=html" frameborder="0" width="800" height="1000"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/android-must-have-root-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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; SecurityFail.com &#8211; reminder</title>
		<link>http://blog.l-lacker.com/security-securityfail-com-reminder/</link>
		<comments>http://blog.l-lacker.com/security-securityfail-com-reminder/#comments</comments>
		<pubDate>Thu, 31 Mar 2011 12:19:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Root]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=350</guid>
		<description><![CDATA[Just a quick post to serve a couple of purposes.  First, a reminder to go to and submit content to securityfail.com.  Secondly, check out ALL the current articles there, but mainly  the post I have written about Avaya 4600 series phones and Canon iR series devices. What is SecurityFail&#8217;s purpose you ask? Since you want <a href='http://blog.l-lacker.com/security-securityfail-com-reminder/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Image Credit: securityfail.com" src="http://securityfail.com/secfail-sm.png" alt="" width="135" height="135" />Just a quick post to serve a couple of purposes.  First, a reminder to go to and submit content to <a href="http://securityfail.com/index.php/Main_Page" target="_blank">securityfail.com</a>.  Secondly, check out ALL the current articles there, but mainly  the post I have written about <a href="http://securityfail.com/index.php/4610" target="_blank">Avaya 4600 series phones </a>and <a href="http://securityfail.com/index.php/CLC5151/CLC4040/iR_C4580i/iR_C4080i" target="_blank">Canon iR series devices</a>.</p>
<p><span id="more-350"></span>What is SecurityFail&#8217;s purpose you ask? Since you want everything handed to you, here you go from the site:</p>
<blockquote><p>The purpose of this site is to document security failures in various technologies. Users are encouraged to submit stories and articles detailing how various technologies have failed you in terms of security. Using embedded systems as an example, we&#8217;d like to highlight issues such as:</p>
<p>We want vendors of embedded systems to:</p>
<ul>
<li>FORCE the user to select the password</li>
<li>Allow users to disable protocols</li>
<li>Only enable secure management protocols by default (HTTPS, SSH)</li>
</ul>
<p>We want ISPs to:</p>
<ul>
<li>Block inbound port 80 on user subnets</li>
<li>Manage customer devices properly and implement security</li>
</ul>
</blockquote>
<p>This is a great way to raise awareness and shed light on many of the problems embedded systems have.   As time permits, I have plans for a couple more articles for the site.  Keep watching!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/security-securityfail-com-reminder/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>Put your exploit playground in your pocket.</title>
		<link>http://blog.l-lacker.com/put-your-physical-lab-in-your-pocket/</link>
		<comments>http://blog.l-lacker.com/put-your-physical-lab-in-your-pocket/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 20:00:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Root]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=232</guid>
		<description><![CDATA[If you are anything like me, you have invested a lot of Social Engineering man hours, dumpster diving, and the plenty of blood, sweat and tears in building your hacking lab into something worthy of being referenced as such.  Wouldn&#8217;t it be nice to package up all that effort and take that hacking on the road <a href='http://blog.l-lacker.com/put-your-physical-lab-in-your-pocket/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.l-lacker.com/wp-content/uploads/2010/04/IMG_3078-copy1.jpg"><img class="alignleft size-medium wp-image-252" title="IMG_3078 copy" src="http://blog.l-lacker.com/wp-content/uploads/2010/04/IMG_3078-copy1-162x300.jpg" alt="" width="162" height="300" /></a>If you are anything like me, you have invested a lot of Social Engineering man hours, dumpster diving, and the plenty of blood, sweat and tears in building your hacking lab into something worthy of being referenced as such.  Wouldn&#8217;t it be nice to package up all that effort and take that hacking on the road with you?   This article is not only going to give you some ideas on what you can put in such a lab, but I will show you how to take Windows host machines with all of those VM&#8217;s living in them and put them into something portable.</p>
<p>I will try to keep this to the point and simply split it up into two sections.  Section 1 will cover what types of things you can include in such a lab. Section 2 will cover converting it all into one portable file and using that within VirtualBox.</p>
<h1><span id="more-232"></span></h1>
<h1>Section 1</h1>
<h2>Adding the h4x()r</h2>
<p>&#8220;What the hell am I going to include in my lab&#8221; was my first thought when I started putting this together.   I have created a matrix below of what my lab includes.  It is by no means an end all be all list.  I don&#8217;t want to re-invent the wheel, as <a href="http://www.irongeek.com/i.php?page=security/building-an-infosec-lab-on-the-cheap" target="_blank">Irongeek </a>for example has the *how* to build a <a href="http://www.scribd.com/doc/24700323/Hack-Lab" target="_blank">mapped out very well already</a>.</p>
<p>My next thought was &#8220;How the hell am I going to pay for all of that?&#8221;  I ponied up for a <a href="http://technet.microsoft.com/en-us/default.aspx" target="_blank">Microsoft Technet subscription</a>.  Its $349 well spent.  I decided I didn&#8217;t want to pay over 300 bones for that, and was able to use the power of Google and some SE trickery to get 2 free years.</p>
<p><span style="font-size: xx-large;"><span><strong><span style="font-size: small;"><span style="font-weight: normal;"><br />
</span></span></strong></span></span></p>
<h1>Section 2</h1>
<h2>Putting it in your pocket</h2>
<h3>What you will need</h3>
<ul>
<li>A computer running Microsoft Windows (XP &#8211; Server 2008)</li>
<li><a href="http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx" target="_blank">DSK2VHD</a></li>
</ul>
<p>Really at this point, only one assumption needs to be made.</p>
<ul>
<li>You have setup your Windows machine to &#8220;production&#8221; standards for your lab.</li>
</ul>
<p>This is a good time to patch the host to the level you want, install services, load it up with apps, activate it, install your AV and update it, etc.   You may also want to make sure you have  the virtual machine solution of your choice and the VM&#8217;s can live anywhere on that local machine.  I am using VMWare with well over 15VM&#8217;s locally.  If you have an external disk or additional storage attached locally DSK2VHD will capture them and create a VHD for each HDD it can see.  Be aware that the cap here is 127Gigs.</p>
<h2>DSK2VHD</h2>
<p>Now would be a good time to learn about this app.  In part, from the <a href="http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx" target="_blank">applications&#8217; site:</a> I suggest you read the description in it&#8217;s entirety. Its short and sweet.</p>
<blockquote><p>Disk2vhd is a utility that creates VHD (Virtual Hard Disk &#8211; Microsoft&#8217;s Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs). The difference between Disk2vhd and other physical-to-virtual tools is that you can run Disk2vhd on a system that’s online. Disk2vhd uses Windows&#8217; Volume Snapshot capability, introduced in Windows XP, to create consistent point-in-time snapshots of the volumes you want to include in a conversion. You can even have Disk2vhd create the VHDs on local volumes, even ones being converted (though performance is better when the VHD is on a disk different than ones being converted).</p>
<p>Usage: <strong>disk2vhd &lt;[drive: [drive:]&#8230;]|[*]&gt; &lt;vhdfile&gt;</strong><br />
Example: <strong>disk2vhd * c:\vhd\snapshot.vhd</strong></p></blockquote>
<p>Dont be alarmed, even though this tool creates files for use in &#8220;Microsoft Virtual PC&#8221; we aren&#8217;t going to use that.  More in section 2.</p>
<h2>Creating the snapshot</h2>
<blockquote><p>1. Download, unzip and install DSK2VHD on the host system.</p>
<p>2. Launch DSK2VHD</p>
<p>3. Select the disk(s) you want to create and set your save location.</p>
<p>4. Click create.</p>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2010/04/11.jpg"><img class="alignnone size-medium wp-image-248" title="1" src="http://blog.l-lacker.com/wp-content/uploads/2010/04/11-300x238.jpg" alt="" width="300" height="238" /></a></p></blockquote>
<p>Sit back and watch it cook. My 119 gig file took.  Once its done we have a nice neat single file containing our Window server and everything that went along with it.</p>
<h1>Now it&#8217;s time make it usable.</h1>
<h2>What you will need</h2>
<ul>
<li>A computer with &gt;/= system specs to the machine from which the .VHD was created. (Note this is not a necessity, but it will determine performance)</li>
<li>Copy of Sun&#8217;s <a href="http://www.virtualbox.org/wiki/Downloads">VirtualBox</a></li>
</ul>
<p>One of the awesome things about VirtualBox is that is supports .VHD files, and not only that, We can run it on OSX, Linux and Windows.</p>
<h2>Setup VirtualBox on the new host</h2>
<p>I am going to use OSX (10.6.3) for the example here, but the Linux and Windows versions should follow pretty closely.</p>
<p>Now would be the time to copy the .VHD file from it&#8217;s current location to where you want to use it.  We will configure VirtualBox to use that file as an existing harddrive and boot to it.</p>
<blockquote><p>1. Launch VirtualBox and select &#8220;New&#8221;<br />
<a href="http://blog.l-lacker.com/wp-content/uploads/2010/04/Screen-shot-2010-04-26-at-2.28.12-PM.png"><img class="size-medium wp-image-236 alignnone" title="Screen shot 2010-04-26 at 2.28.12 PM" src="http://blog.l-lacker.com/wp-content/uploads/2010/04/Screen-shot-2010-04-26-at-2.28.12-PM-300x299.png" alt="" width="300" height="299" /></a></p>
<p>2.  Click Next</p>
<p>3. Name it and match the OS to the OS from which the .VHD file was created.</p>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2010/04/Screen-shot-2010-04-26-at-2.31.02-PM.png"><img class="size-medium wp-image-237 alignnone" title="Screen shot 2010-04-26 at 2.31.02 PM" src="http://blog.l-lacker.com/wp-content/uploads/2010/04/Screen-shot-2010-04-26-at-2.31.02-PM-300x248.png" alt="" width="300" height="248" /></a></p></blockquote>
<blockquote><p>4.  Set the RAM and click Next</p>
<p>5.  Leave &#8220;Boot Hard Disk&#8221; checked or enabled.</p>
<p>5a. Select &#8220;Use Existing Hard Disk&#8221; and click browse. (Folder with the carrot)</p>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2010/04/Screen-shot-2010-04-26-at-2.37.24-PM.png"><img class="size-medium wp-image-238 alignnone" title="Screen shot 2010-04-26 at 2.37.24 PM" src="http://blog.l-lacker.com/wp-content/uploads/2010/04/Screen-shot-2010-04-26-at-2.37.24-PM-300x248.png" alt="" width="300" height="248" /></a></p>
<p>Now we need to add the .VHD file to the available virtual disks that VirtualBox can use.</p>
<p>6.  Click Add and navigate to where the .VHD lives.</p>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2010/04/Screen-shot-2010-04-26-at-2.43.34-PM.png"><img class="size-medium wp-image-239 alignnone" title="Screen shot 2010-04-26 at 2.43.34 PM" src="http://blog.l-lacker.com/wp-content/uploads/2010/04/Screen-shot-2010-04-26-at-2.43.34-PM-300x206.png" alt="" width="300" height="206" /></a></p>
<p>7. Click open, then select the newly added lab disk and click select.</p>
<p>8. Click next and Finish.</p>
<p>You will now see your lab available to start. Select it and power that bad boy up.</p>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2010/04/Screen-shot-2010-04-26-at-2.46.51-PM.png"><img class="size-medium wp-image-240 alignnone" title="Screen shot 2010-04-26 at 2.46.51 PM" src="http://blog.l-lacker.com/wp-content/uploads/2010/04/Screen-shot-2010-04-26-at-2.46.51-PM-300x238.png" alt="" width="300" height="238" /></a></p></blockquote>
<h2>Wrap up</h2>
<p>As you can see, it is pretty simple to take your physical Windows server with you.  Now you can hack it,  break it and do whatever you want and you could just revert it to a clean snapshot like any other VM.</p>
<p>If you decide the you want to ever use the .VHD in production, <a href="http://technet.microsoft.com/en-us/windows/dd758779.aspx" target="_blank">Windows 7 and 2008 Server support mounting AND booting to a VHD.</a> Pretty sweet.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/put-your-physical-lab-in-your-pocket/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>[mini]Project &#124; Bristlebot</title>
		<link>http://blog.l-lacker.com/miniproject-bristlebot/</link>
		<comments>http://blog.l-lacker.com/miniproject-bristlebot/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 23:35:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Make]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Root]]></category>

		<guid isPermaLink="false">http://ldashlacker.wordpress.com/?p=37</guid>
		<description><![CDATA[Click image for super Hi-Res Here is a &#8220;BristleBot&#8221; created for my Son.  This was about the easiest project of all time. Here is all you need. 1. Vibrating Toothbrush 2. Watch Battery 3. DoubleStick Tape Simply snip off the tip of the toothbrush, leaving enough space for tape.  Then dismantle the toothbush, and save <a href='http://blog.l-lacker.com/miniproject-bristlebot/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://l-lacker.com/make/Bristlebot/DSC02218.JPG" target="_blank"><a href="http://l-lacker.com/make/Bristlebot/DSC02218.JPG"><img class="alignnone size-full wp-image-78" title="BristleBot" src="http://blog.l-lacker.com/wp-content/uploads/2009/09/DSC02218s1.JPG" alt="BristleBot" width="215" height="161" /></a></a></p>
<p>Click image for super Hi-Res</p>
<p>Here is a &#8220;BristleBot&#8221; created for my Son.  This was about the easiest project of all time.</p>
<p><span id="more-37"></span></p>
<p>Here is all you need.</p>
<p>1. <a href="http://www.crestprohealth.com/crest-products/pulsar-pro-health-toothbrush.aspx" target="_blank">Vibrating Toothbrush</a><br />
2. <a href="http://www.batteries.com/_/R--200578" target="_blank">Watch Battery</a><br />
3.<a href="http://www.uline.ca/Images/product/Medium/HD_6028_M.JPG" target="_blank"> DoubleStick Tape</a></p>
<p>Simply snip off the tip of the toothbrush, leaving enough space for tape.  Then dismantle the toothbush, and save the vibrator motor. Pictured above (in front of battery).</p>
<p>Expose the ends of the wires that are attached to the motor.</p>
<p>Once you have all the parts, lay down a layer of tape to mount the motor by just attaching it to the tape.  Place the battery and attach the top wire to engage the motor.  I just used a &#8220;glue dot&#8221;, but a piece of tape or anything to keep it on will suffice.</p>
<p><object width="520" height="340"><param name="movie" value="http://www.youtube.com/v/JNkg0QWI-k0&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/JNkg0QWI-k0&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="520" height="340"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/miniproject-bristlebot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

