<?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</title>
	<atom:link href="http://blog.l-lacker.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.l-lacker.com</link>
	<description></description>
	<lastBuildDate>Mon, 26 Mar 2012 04:14:35 +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; Install Google Play apps on Kindle Fire without root</title>
		<link>http://blog.l-lacker.com/android-install-play-apps-on-kindle-fire-without-root/</link>
		<comments>http://blog.l-lacker.com/android-install-play-apps-on-kindle-fire-without-root/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 04:00:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Root]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[kindle fire]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=550</guid>
		<description><![CDATA[Recently I came into possession of a Kindle Fire, and quickly learned that it was &#8220;locked&#8221; to the Amazon Market.  I was going to root it, install CM9 and be on my way.  Then I wondered if there was a quicker (more trustworthy) way to just sideload the apps I &#8220;need&#8221;.  Of course there is&#8230; &#160; Dependancies <a href='http://blog.l-lacker.com/android-install-play-apps-on-kindle-fire-without-root/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><img class="wp-image-551 alignleft" title="amazon-kindle-fire-tablet" src="http://blog.l-lacker.com/wp-content/uploads/2012/03/amazon-kindle-fire-tablet-209x300.jpg" alt="" width="80" height="115" />Recently I came into possession of a Kindle Fire, and quickly learned that it was &#8220;locked&#8221; to the Amazon Market.  I was going to root it, install CM9 and be on my way.  Then I wondered if there was a quicker (more trustworthy) way to just sideload the apps I &#8220;need&#8221;.  Of course there is&#8230;</p>
<p>&nbsp;</p>
<p><span id="more-550"></span></p>
<h4>Dependancies</h4>
<ul>
<li>Android Device running with an active Google Play install (to allow for application installs)</li>
<li>A computer with the Android SDK running</li>
<li>A Kindle Fire</li>
<li>Beer*</li>
</ul>
<h3>Android Phone/Device Steps</h3>
<ol>
<li>Install the application you want to ALSO install on your Kindle Fire onto your Android phone or device.</li>
<li>Post Install, connect your phone/device to your computer</li>
<li>Use adb to pull the .apk file from your device onto your computer for install onto the kindle. Watch the video for steps on how to perform this</li>
</ol>
<p><iframe src="http://www.youtube.com/embed/Fk0zf13yMQQ?hl=en&amp;fs=1" frameborder="0" width="625" height="349"></iframe></p>
<p>&nbsp;</p>
<h3>Kindle Installation Steps</h3>
<ol>
<li>Connect your Kindle Fire to your computer and make sure the SD Card mounts</li>
<li>Enable unknown sources:</li>
<ol>
<li>Tap the &#8220;gear&#8221; by the wifi and battery icons,  tap settings, Device.</li>
<li>Slide on &#8220;Allow Installation of Applications (from unknown sources)&#8221;</li>
</ol>
<li>Copy the newly obtained .apk from the root of your Android SDK directory (/Android/tools/ in my case)</li>
<li>Paste the .apk on your Kindle Fire&#8217;storage (Documents or Downloads for example)</li>
<li>Use a file explorer/manager installed from the Amazon app store to navigate to the directory you placed the .apk</li>
<li>Tap the .apk after it has been copied and install like normal (be sure you check permissions <img src='http://blog.l-lacker.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</li>
</ol>
<h3>Thats it!</h3>
<p>Enjoy playing Draw Something without rooting your device!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/android-install-play-apps-on-kindle-fire-without-root/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security &#124; n900 powered Jasager</title>
		<link>http://blog.l-lacker.com/security-n900-powered-jasager/</link>
		<comments>http://blog.l-lacker.com/security-n900-powered-jasager/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 07:29:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Root]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=523</guid>
		<description><![CDATA[Recently I have been using my Jasager rig more and more that I built a few years back.  As I use it, I began to wonder&#8230; &#8220;I wonder if I could pair this with my n900 for ultimate pwnage&#8230;&#8221;  We all know what happens when hackers wonder&#8230; it happens. &#160; &#160; TL;DR: Supplies list: 1. Motorola <a href='http://blog.l-lacker.com/security-n900-powered-jasager/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.l-lacker.com/wp-content/uploads/2012/02/IMG_3806a.jpg"><img class=" wp-image-524 alignleft" title="IMG_3806a" src="http://blog.l-lacker.com/wp-content/uploads/2012/02/IMG_3806a-300x199.jpg" alt="" width="210" height="139" /></a></p>
<p>Recently I have been using my Jasager rig more and more that I <a href="http://blog.l-lacker.com/project-lafonera-hacking/#more-53" target="_blank">built a few years back</a>.  As I use it, I began to wonder&#8230; &#8220;I wonder if I could pair this with my n900 for ultimate pwnage&#8230;&#8221;  We all know what happens when hackers wonder&#8230; it happens.</p>
<p><span id="more-523"></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h1></h1>
<h1>TL;DR:</h1>
<h3><strong>Supplies list:</strong></h3>
<p>1. <a href="http://www.amazon.com/Motorola-Connection-MOTOROLA-Packaging-89454N/dp/B004UAG6WC" target="_blank">Motorola Camera Connection Kit for MOTOROLA XOOM, Xyboard 10.2, Xyboard 8.2 (Motorola Retail Packaging) 89454N</a> or something similar. I already had this cable laying around.</p>
<p>2. <a href="http://www.amazon.com/D-Link-DUB-E100-Fast-Ethernet-Adapter/dp/B00006B7D8/ref=sr_1_1?s=electronics&amp;ie=UTF8&amp;qid=1329974155&amp;sr=1-1" target="_blank">D-Link DUB-E100 USB 2.0 Fast Ethernet Adapter</a> Additionally you can try any of <a href="http://wiki.maemo.org/USB_to_ethernet_networking" target="_blank">these</a>, but I was able to use the E100 without issue.</p>
<p>3. A FON running <a href="http://www.digininja.org/jasager/" target="_blank">Jasager</a> (<a href="http://blog.l-lacker.com/project-lafonera-hacking/#more-53" target="_blank">here</a> is my write up on making it work)</p>
<p>4. <a href="http://www.ebay.com/sch/i.html?_nkw=nokia+n900" target="_blank">Nokia n900</a> running the <a href="http://pwnieexpress.com/communityeula.html" target="_blank">pwnie express</a> image.  This is NOT a requirement, but all tools (Like metasploit) are confirmed working already.</p>
<h3>Steps to getting the USB ethernet adapter working on the n900.</h3>
<p>1. Plug your USB Host cable into the D-link DUB-e100, then patch it to the Fon.</p>
<p>2. Plug the mini USB end of the USB Host cable into your n900.</p>
<p>3. On the n900 open up <a href="http://wiki.maemo.org/N900_Hardware_USB_Host" target="_blank">h-e-n</a> and select the following options.</p>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2012/02/Screenshot-20120223-095918.png"><img class="alignnone size-full wp-image-540" title="Screenshot-20120223-095918" src="http://blog.l-lacker.com/wp-content/uploads/2012/02/Screenshot-20120223-095918.png" alt="" width="800" height="480" /></a></p>
<ul>
<li>High Speed hostmode</li>
<li>VBUS boost on</li>
<li>Enumerate (as soon as you press this, you should have juice to your D-link)</li>
<li>DO NOT CHOOSE MOUNT</li>
</ul>
<div>4. Back out (do not close) the Host Mode Enabler (h-e-n)</div>
<div></div>
<div>5. Launch a Terminal (you can use the Root shell icon in the pwnie image) and gain root.</div>
<div></div>
<div>6. type: <span style="text-decoration: underline;">dmesg | grep usb </span> to ensure your n900 can now see your usb adapter. If you scroll up in the terminal you will notice it has been assigned &#8216;eth0&#8242;</div>
<div><a href="http://blog.l-lacker.com/wp-content/uploads/2012/02/Screenshot-20120222-233908.png"><img class="alignnone size-full wp-image-542" title="Screenshot-20120222-233908" src="http://blog.l-lacker.com/wp-content/uploads/2012/02/Screenshot-20120222-233908.png" alt="" width="800" height="480" /></a></div>
<div>7. Assign the newly created adapter the ip address 192.168.1.1 and netmask of 255.255.255.0. By issuing the command: <em><span style="text-decoration: underline;">ifconfig eth0 192.168.1.254 netmask 255.255.255.0</span></em> &lt;press enter&gt;. The address above is a requirement if you followed my instructions on how to setup your FON. If you were connecting to a device that was handing out ip addresses you would use the command <em><span style="text-decoration: underline;">udhcpc </span> </em>to get an IP address.</div>
<div><a href="http://blog.l-lacker.com/wp-content/uploads/2012/02/Screenshot-20120222-234514.png"><img class="alignnone size-full wp-image-543" title="Screenshot-20120222-234514" src="http://blog.l-lacker.com/wp-content/uploads/2012/02/Screenshot-20120222-234514.png" alt="" width="800" height="480" /></a></div>
<div></div>
<div>8. Ping the FON for a quick connectivity check.</div>
<div>=================================================================</div>
<h3>Getting the Jasager  to work</h3>
<div>1. Grab <a href="http://digitaloffense.net/tools/karma.rc" target="_blank">Karma.rc</a>, <a href="http://erratasec.blogspot.com/2009/03/hamster-20-and-ferret-20.html" target="_blank">Hamster and Ferret</a>  untar and move to your n900.</div>
<div>
<ul>
<li>karma.rc should ideally live in the same directory that as your base msf install.</li>
<li>hamster and ferret do not have any directory dependancies, so place them where you will remember.</li>
</ul>
<div>2. Launch msfconsole and initiate karma.</div>
<div>This turned out to be the tricky part, mainly because I was unable to initiate ./msfconsole from a terminal. Here are the steps I did to create a new shortcut that would allow for us to call up karma.</div>
<div>All desktop shortcuts are created in the following directory: <em>/usr/share/applications/hildon</em></div>
<div><em></em><br />
List all the files within that directory, and looks like msfconsole.desktop shortcut is pointing to a msf_console.sh file. Checking out msf_console.sh, we see can see whats going on here.</div>
<div><a href="http://blog.l-lacker.com/wp-content/uploads/2012/02/Screenshot-20120223-003119.png"><img class="alignnone size-full wp-image-544" title="Screenshot-20120223-003119" src="http://blog.l-lacker.com/wp-content/uploads/2012/02/Screenshot-20120223-003119.png" alt="" width="800" height="480" /></a></div>
<div></div>
<div>To correct the issue, I just made a new msf_console.sh file and called it &#8220;msf_consolek.sh</div>
<div><a href="http://blog.l-lacker.com/wp-content/uploads/2012/02/Screenshot-20120223-003219.png"><img class="alignnone size-full wp-image-546" title="Screenshot-20120223-003219" src="http://blog.l-lacker.com/wp-content/uploads/2012/02/Screenshot-20120223-003219.png" alt="" width="800" height="480" /></a></div>
<div></div>
<div></div>
<div>Add in the changes and head over to <em>/usr/share/applications/hildon </em>and create a new desktop shortcut for launching metasploit with karma.<br />
<a href="http://blog.l-lacker.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-23-at-12.52.07-AM1.png"><img class="alignnone size-full wp-image-532" title="Screen Shot 2012-02-23 at 12.52.07 AM" src="http://blog.l-lacker.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-23-at-12.52.07-AM1.png" alt="" width="793" height="480" /></a></div>
<div>
<div>3. Open another root shell and initiate hamster (ferret tags along)</div>
<div>
<ul>
<li>[path]./hamster</li>
</ul>
<div>To access the jasegar web interface from your n900, just point your browser to http://<strong>192.168.1.1:1471</strong></div>
</div>
<div></div>
<div>To view hamster&#8217;sweb interface, just point your proxied browser  to http://<strong>127.0.0.1:1234</strong></div>
<div>
<p>Gratz ur l33+ (again)</p>
</div>
</div>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/security-n900-powered-jasager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security &#124; Malware Analysis &#124; What to do when JavaScript is obsfucated.</title>
		<link>http://blog.l-lacker.com/security-malware-analysis-de-obfucated-javascript/</link>
		<comments>http://blog.l-lacker.com/security-malware-analysis-de-obfucated-javascript/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 05:25:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[malware]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[hacker]]></category>
		<category><![CDATA[infosec]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=511</guid>
		<description><![CDATA[The embedded video is a result of working with a colleague of  mine to de-obfuscate some javascript found in a live sample that essentially started as a piece of spam.  His write-up is phenomenal regarding the subject, and I will simply embed the video I recorded out of context.   To put it in context be sure to check <a href='http://blog.l-lacker.com/security-malware-analysis-de-obfucated-javascript/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.l-lacker.com/wp-content/uploads/2012/02/71efe31080e5825e0d63cda6a06ecef4.png"><img class="alignnone size-thumbnail wp-image-514" title="1337" src="http://blog.l-lacker.com/wp-content/uploads/2012/02/71efe31080e5825e0d63cda6a06ecef4-150x150.png" alt="" width="150" height="150" /></a>The embedded video is a result of working with a <a href="https://twitter.com/#!/ax0n" target="_blank">colleague of  mine </a>to de-obfuscate some javascript found in a live sample that essentially started as a piece of spam.  His <a href="http://www.h-i-r.net/2011/12/intro-to-javascript-malware-analysis.html">write-up</a> is phenomenal regarding the subject, and I will simply embed the video I recorded out of context.   To put it in context be sure to check out the article here: <a href="http://www.h-i-r.net/2011/12/intro-to-javascript-malware-analysis.html" target="_blank">http://www.h-i-r.net/2011/12/intro-to-javascript-malware-analysis.html</a></p>
<p>Edit: Looks like Infosecisland also picked this up, be sure to check it out here: <a href="http://www.infosecisland.com/videos-view/19101-Malware-Analysis-How-to-Decode-JavaScript-Obfuscation.html" target="_blank">http://www.infosecisland.com/videos-view/19101-Malware-Analysis-How-to-Decode-JavaScript-Obfuscation.html</a></p>
<p>&nbsp;</p>
<p><iframe src="http://www.youtube.com/embed/HPnEF3TVlu8" frameborder="0" width="620" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/security-malware-analysis-de-obfucated-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security &#124; #OpBookworm</title>
		<link>http://blog.l-lacker.com/security-opbookworm/</link>
		<comments>http://blog.l-lacker.com/security-opbookworm/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 22:32:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=508</guid>
		<description><![CDATA[ I have  a lot of books to read this year.  The problem is, they have become more of a collection than a source of knowledge, therefore  instead of just collecting and referencing them (or just googling only to find a reference to the book) as needed.  I decided to work through them. Page by page.  In my <a href='http://blog.l-lacker.com/security-opbookworm/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.l-lacker.com/wp-content/uploads/2012/02/bookworm_2.jpg"><img class="alignnone  wp-image-509" title="bookworm_2" src="http://blog.l-lacker.com/wp-content/uploads/2012/02/bookworm_2-300x300.jpg" alt="" width="147" height="147" /></a> I have  a lot of books to read this year.  The problem is, they have become more of a collection than a source of knowledge, therefore  instead of just collecting and referencing them (or just googling only to find a reference to the book) as needed.  I decided to work through them. Page by page.  In my estimation, the best method to do this is to use <a href="https://www.evernote.com/" target="_blank">Evernote</a> for note taking.  But why horde notes?  I&#8217;ll share the notes, and hopefully someone finds them useful.</p>
<p><span id="more-508"></span></p>
<p>Here are the books I am working through at the moment and their corresponding Evernote page:</p>
<ul>
<li><a href="https://www.evernote.com/pub/corykennedy/metasploitthepenetrationtestersguide" target="_blank">Metasploit: The Penetration Tester&#8217;s Guide</a></li>
<li><a href="https://www.evernote.com/pub/corykennedy/malwareanalystscookbookanddvdtoolsandtechniquesforfightingmaliciouscode" target="_blank">Malware Analyst&#8217;s Cookbook and DVD: Tools and Techniques for Fighting Malicious Code</a></li>
<li><a href="https://www.evernote.com/pub/corykennedy/thewebapplicationhackershandbookfindingandexploitingsecurityflaws2ndedition" target="_blank">The Web Application Hacker&#8217;s Handbook: Finding and Exploiting Security Flaws (2nd Edition)</a></li>
<li><a href="https://www.evernote.com/pub/corykennedy/grayhatpythonpythonprogrammingforhackersandreverseengineers" target="_blank">Gray Hat Python: Python Programming for Hackers and Reverse Engineers</a></li>
<li><a href="https://www.evernote.com/pub/corykennedy/socialengineeringtheartofhumanhacking" target="_blank">Social Engineering: The Art of Human Hacking</a></li>
</ul>
<p>The above list is the current short term goal, and I will add books as I work through them on this entry.</p>
<p><a href="https://twitter.com/#!/corykennedy" target="_blank">Contact/Follow me on Twitter</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/security-opbookworm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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; Heeeere Phishy Phishy Phishy</title>
		<link>http://blog.l-lacker.com/security-heeeere-phishy-phishy-phishy/</link>
		<comments>http://blog.l-lacker.com/security-heeeere-phishy-phishy-phishy/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 04:41:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Root]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[hackback]]></category>
		<category><![CDATA[phish]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.l-lacker.com/?p=392</guid>
		<description><![CDATA[Earlier this week I received this terrible excuse for an email asking me to update my credit card information for my NetFlix account.   I typically always try to click through the email to see how far I can get and gather as much information as I can.   However most of the time the <a href='http://blog.l-lacker.com/security-heeeere-phishy-phishy-phishy/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/blobfish.jpg"><img class="size-thumbnail wp-image-395 alignleft" title="blobfish" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/blobfish-150x150.jpg" alt="" width="150" height="150" /></a>Earlier this week I received this terrible excuse for an email asking me to update my credit card information for my NetFlix account.   I typically always try to click through the email to see how far I can get and gather as much information as I can.   However most of the time the sites are offline when I get to them.</p>
<p>This particular phishing email was different, as the site was still alive&#8230;</p>
<p><span id="more-392"></span></p>
<p><strong>The email </strong>was fairly obvious that it was a hoax.  It contained all the ingredients for a classic bad phish; incorrectly addressing me, poor grammar (similar to most of my posts I suppose.) and asking me to update my credit card information.</p>
<p><a href="http://blog.l-lacker.com/wp-content/uploads/2011/04/esm52b.png"><img class="alignnone size-full wp-image-393" title="NetFlixPhish" src="http://blog.l-lacker.com/wp-content/uploads/2011/04/esm52b.png" alt="" width="610" height="468" /></a></p>
<h2>What do?</h2>
<p>I click the link &#8220;Your Account&#8221;, fully expecting to be greeted with a 404.  However,  I was presented with a Netflix logon page.</p>
<p>The URL reports that I am not at netflix but rather: <a>http://badguy-netflix-thisisnottheactualsite.co.cc/log/index.php</a>. &#8211; Strike 1</p>
<p>It behaves exactly like Netflix, I can log on (with arbitrary data) and it takes me right to the credit card update page which was a full page of form fields one right after another. &#8211; Strike 2</p>
<p>Upon validating that the site was working, I called Netflix and spoke to a supervisor.  His response to me saying &#8220;The site is active and collecting data.&#8221; was, &#8220;Just delete the email, you&#8217;ll be fine.&#8221;  I was half expecting this. &#8211; Strike 3</p>
<p>As I am gearing up to look into this a little further, I decide to simply drop the /log/index.php and see where it takes me. The result of that simple change revealed it was a clone of another domain that was hosted here in the US.</p>
<p>I hop on the cloned sites twin, and sure enough&#8230; adding /log/index.php to that domain (which will remain nameless for their privacy) took me directly to the fake NetFlix page.</p>
<p>I call the contact number on the page, ask to speak to the IT department and am told they only have a single computer and only one person knows how to use it.   I spoke with &#8216;the one&#8217; and provide details regarding my findings. At this point they are growing nervous as to what exactly this means for them.  My suggestion is to contact their hosting provider  (and any security they have)and show them whats going on.</p>
<p>I leave my contact information and that was that.</p>
<h2>So what happened?</h2>
<p>I checked in on the site about an hour later and it was dead&#8230; both the clone and the legitimate sites directory were no longer hosting the malicious site.   WIN!</p>
<p>I get a call back about an hour later to inform me that the hosting company had taken removal steps and was now doing triage basically to figure out what happened.   They then followed up the next day to ask me if I could check to make sure it was no longer a problem.  After confirming I could no longer see anything (on the surface) that was malicious,  I was invited to come to their offices the next time I am in town. WINNING!</p>
<p>I&#8217;d like to point out that no tools what so ever were used to scan the site and no info gathering was done at all really.  A quick check is sometimes all you need to set the wheels in motion to solve bigger problems.</p>
<p>If you&#8217;re curious, the title of this post is from <a href="https://www.youtube.com/watch?v=pFTjeaDlxDI&amp;feature=player_detailpage#t=36s" target="_blank">this</a> which just popped in my head from my childhood when trying to come up with a title.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><!--more--></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.l-lacker.com/security-heeeere-phishy-phishy-phishy/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>
	</channel>
</rss>

