<?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>Aten Labs &#187; android</title>
	<atom:link href="http://atenlabs.com/blog/tag/android/feed/" rel="self" type="application/rss+xml" />
	<link>http://atenlabs.com/blog</link>
	<description>San Diego&#039;s Premier IT Security Consultancy</description>
	<lastBuildDate>Tue, 07 Feb 2012 19:48:38 +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>(almost) 90 days with the Motorola Xoom</title>
		<link>http://atenlabs.com/blog/almost-90-days-with-the-motorola-xoom/</link>
		<comments>http://atenlabs.com/blog/almost-90-days-with-the-motorola-xoom/#comments</comments>
		<pubDate>Tue, 17 May 2011 05:27:34 +0000</pubDate>
		<dc:creator>Dan Tentler</dc:creator>
				<category><![CDATA[insight]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[3.1]]></category>
		<category><![CDATA[analysis]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[dan]]></category>
		<category><![CDATA[honeycomb]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[infosec]]></category>
		<category><![CDATA[motorola]]></category>
		<category><![CDATA[oped]]></category>
		<category><![CDATA[overview]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[talbet]]></category>
		<category><![CDATA[tentler]]></category>
		<category><![CDATA[xoom]]></category>

		<guid isPermaLink="false">http://atenlabs.com/blog/?p=197</guid>
		<description><![CDATA[Just about three months ago I wrote a quick post about having the Motorola Xoom for approximately 12 hours. First I&#8217;d like to address some of the points I made in my last post: I can now control my AR.Parrot drone with my Xoom (ad-hoc wifi access points work now, with a small tweak) though [...]]]></description>
			<content:encoded><![CDATA[<p>Just about three months ago I wrote a quick post about having the Motorola Xoom for approximately 12 hours.</p>
<p><strong>First I&#8217;d like to address some of the points I made in my last post:</strong></p>
<ul>
<li><a href="https://market.android.com/search?q=ar+drone&amp;so=1&amp;c=apps" target="_blank">I can now control my AR.Parrot drone with my Xoom</a> (<a href="http://forum.xda-developers.com/showthread.php?t=1078447" target="_blank">ad-hoc wifi access points work now</a>, with a small tweak) though now I think that my drone has some physical damage to it, it doesn&#8217;t take off correctly. Must fix.</li>
<li>I&#8217;m able to get interesting widgets and buttons using <a href="https://market.android.com/details?id=de.devmil.minimaltext&amp;feature=search_result" target="_blank">minimalistic text</a> and <a href="https://market.android.com/details?id=com.jim2&amp;feature=search_result" target="_blank">widgetsoid</a></li>
<li>the <a href="https://market.android.com/details?id=ws.plattner.cifsmanager&amp;feature=search_result" target="_blank">cifs client</a> works like a champ, and I can stream everything I&#8217;d like, though the best player i&#8217;ve found (<a href="https://market.android.com/details?id=com.redirectin.rockplayer.android.unified.lite&amp;feature=search_result" target="_blank">rockplayer</a>) doesnt support mkv or certain types of divx.</li>
<li>There are ad-block apps, but I cant tell if they&#8217;re working or not.</li>
<li>Skype lags, still no video. Them being bought by MS is also likely not going to help things.</li>
</ul>
<p><strong>Now the TODO list:</strong></p>
<ul>
<li>I have both ubuntu and <a href="http://www.backtrack-linux.org/forums/backtrack-5-how-tos/40376-%5Bhow-%5D-backtrack-5-motorola-xoom-gnome-ui-via-tightvncserver.html" target="_blank">backtrack5 running on this thing</a> in chroots. While I now have access to tools like nmap, skipfish and other command line tools, some of the interesting ones (ettercap, aircrack) do not yet function due to lack of the proper kernel modules. I&#8217;ve contributed to the Tiamat kernel thread on the XDA forums asking if adding that kind of functionality was feasible.</li>
</ul>
<p>&nbsp;</p>
<p><strong>Verdict:</strong></p>
<p>Everywhere I go, I get asked &#8220;is that the new ipad?&#8221; and I answer &#8220;no, its better&#8221;. People look confused. I used to get into debates about it, but now I just dont care. I&#8217;ve accepted the fact that the vast majority of people prefer a snappy UI and pretty pictures over functionality and an open attitude. I&#8217;ve recently figured out how to get my eye-fi to work with the thing, and I&#8217;ve been out a few times while taking pictures and having them zip from my leica directly over the xoom (this is a REALLY cool party trick &#8211; I intend on utilizing this somehow combined with a projector at this years ninjapenguin party.).</p>
<p>This platform does everything I need that doesn&#8217;t require massive horsepower including simple security tasks &#8211; like portscanning and browsing open fileshares, nmapping, and running metasploit. I can watch movies on it, get directions (chrome to phone is awesome on this thing), watch full-screened high-res episodes of southpark from southparkstudios.com and other flash sites (since it supports flash) browse full HTML5 and flash websites, and even set it up like a mini entertainment set &#8211; with the jawbone jambox speakers setup as bluetooth speakers.</p>
<p>It&#8217;s overclocked from 1ghz to 1.6 ghz with little to no impact on the battery. The modified kernel allows me to have external SD storage enabled and PTP and USB OTG modes so that I can plug in external devices and storage (though I have not yet tried a mouse or keyboard, usb sticks and my leica d-lux 4 work like a champ &#8211; for some reason the d3s isn&#8217;t properly recognized, so <a href="http://www.google.com/support/forum/p/Google+Mobile/thread?fid=04c45ddea708fcdb0004a358ce65dead&amp;hl=en" target="_blank">I&#8217;ve opened a ticket with google</a>). I hope to use it in a photography sense as well (in Vegas this year, if I&#8217;m lucky) with the square reader and <a href="https://market.android.com/details?id=com.squareup&amp;feature=search_result" target="_blank">squareup app</a> &#8211; which lets me accept credit cards as an individual. I can torrent from the thing, as well as use it as a backup phone by way of a skype-in number and a bluetooth headset. The list just goes on and on!</p>
<p>I&#8217;ve been tapped to use it as a support tool &#8211; once at drinkup a friend had a need to use a variety of basic linux tools such as traceroute, ping and telnet &#8211; I was able to hand him my xoom in an ubuntu chroot and tell him &#8216;go to town&#8217;. I can use it to remote control any of my computers as well, even remotely &#8216;hamachi style&#8217; using a tool called neorouter.</p>
<p>I intend for this to be my &#8220;computer&#8221; while I&#8217;m at Defcon/Blackhat this year. I can easily offload all my photos to it, and it does everything I need while I&#8217;m on the go. Someday I hope to actually give a talk from this thing, completely without a laptop.</p>
<p><strong>tl;dr: If you just want a toy, buy an ipad. If you want a tool? Buy the xoom.</strong></p>
<p>&nbsp;</p>
<p><strong>Wishlist: </strong></p>
<ul>
<li>I still want a site survey tool. Especially <a href="http://forum.xda-developers.com/showthread.php?t=978013" target="_blank">overclocked past %50</a>. this thing screams.</li>
<li>Having the jambox speakers helps when I want other people to hear stuff, otherwise I want a case that has little &#8216;ears&#8217; to funnel the speakers forward.</li>
<li>Having backtrack5 on this thing is badass, but some of the more impressive stuff is unavailable &#8211; I cant send arp traffic and I cant put the wifi interface into monitor mode or inject traffic. I&#8217;ve asked about it on the <a href="http://forum.xda-developers.com/showpost.php?p=13866253&amp;postcount=2030" target="_blank">xda thread</a>.</li>
<li>I really wish someone would port VLC over to android. This hardware has so much still untapped potential &#8211; I want to be able to watch a 720p mkv. Standard dvd rips work fine, highres stuff chokes &#8211; because the players don&#8217;t leverage the GPU</li>
<li>I want to find out why the hell it doesn&#8217;t work with my Nikon D3s. It sees the camera, but never sees any photos. <a href="http://www.google.com/support/forum/p/Google+Mobile/thread?fid=04c45ddea708fcdb0004a358ce65dead&amp;hl=en" target="_blank">wtf?</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://atenlabs.com/blog/almost-90-days-with-the-motorola-xoom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>foursquare sending passwords in the clear</title>
		<link>http://atenlabs.com/blog/foursquare-sending-passwords-in-the-clear/</link>
		<comments>http://atenlabs.com/blog/foursquare-sending-passwords-in-the-clear/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 19:38:22 +0000</pubDate>
		<dc:creator>Dan Tentler</dc:creator>
				<category><![CDATA[insight]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[4sq]]></category>
		<category><![CDATA[4square]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[auth]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[foursquare]]></category>
		<category><![CDATA[g1]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[packet]]></category>
		<category><![CDATA[sniffing]]></category>
		<category><![CDATA[zipline]]></category>

		<guid isPermaLink="false">http://atenlabs.com/blog/?p=87</guid>
		<description><![CDATA[In this case, I&#8217;ll be arguing: The easier it gets to write code(scripting, really), the sloppier it gets and the more insecure it gets. We can see this because of the prevalence of sql injection, cross site scripting and error handling in the ever expanding catalog of new sites appearing on the internet. I cite [...]]]></description>
			<content:encoded><![CDATA[<p>In this case, I&#8217;ll be arguing:</p>
<blockquote><p><em>The easier it gets to write code(scripting, really), the sloppier it gets and the more insecure it gets.</em></p></blockquote>
<p>We can see this because of the prevalence of sql injection, cross site scripting and error handling in the ever expanding catalog of new sites appearing on the internet.</p>
<p>I cite this from personal experience. As of late people seem to care more and more for &#8216;how pretty it is&#8217; and less about what actually happens behind the scenes.  I&#8217;m reminded of the 90s when video games were stuck in 256 color 320&#215;240, with bleeps and bloops for sound &#8211; if you didn&#8217;t have a good story people wouldn&#8217;t buy your game. Now <a href="http://escapistmagazine.com/videos/view/zero-punctuation" target="_blank">things are different.</a> All people seem to care about are the graphics, and the story, music, and gameplay is all phoned-in.</p>
<p>These days I see new tools and applications online that in most cases make me shudder. A friend of mine, <a href="http://twitter.com/quine" target="_blank">@quine</a> noticed something &#8211; the android foursquare application communicates unencrypted, using apache&#8217;s &#8216;basic&#8217; authentication.</p>
<p><span id="more-87"></span>For those of you who aren&#8217;t sure what that means, here&#8217;s the breakdown:</p>
<p>The most basic form of authentication apache uses is called &#8216;basic auth&#8217;. All it does is take your credentials and encode them using base64 &#8211; the same encoding used for email attachments. Encoding is not encryption. You can decode this in seconds. There are even apps that will do it for you if they see a base64 encoded string.</p>
<p>@quine asked me to do a packetsniff on my phone, so I plugged my G1 into my notebook, fired up adb and got a shell on my phone. Tcpdump -s 65535 -A -l -nnnvvv  showed me this</p>
<blockquote>
<div id="_mcePaste">11:18:35.553924 IP (tos 0&#215;0, ttl 64, id 54010, offset 0, flags [DF], proto TCP (6), length 286) 25.97.11.256.39819 &gt; 174.129.33.12.80: P, cksum 0xc5e2 (correct), 1:247(246) ack 1 win 2920</div>
<div id="_mcePaste">E&#8230;??@.@.r..a.?.!&#8230;.PDH?.????P..h??..GET /v1/user?mayor=0&amp;badges=0&amp;geolat=31.123456&amp;geolong=-110.123456&amp;geohacc=5000.0 HTTP/1.1</div>
<div id="_mcePaste">User-Agent: com.joelapenna.foursquared 2010011401</div>
<div id="_mcePaste">Host: api.foursquare.com</div>
<div id="_mcePaste">Connection: Keep-Alive</div>
<div id="_mcePaste">Authorization: Basic T2hUaGlua1lvdXJlOkNsZXZlckRvbnRjaGEK</div>
</blockquote>
<p>UHHH.. that &#8216;Authorization: Basic&#8217; line there are my credentials. Right along there with my GPS coordinates! They&#8217;re sent with nearly every request. In the clear! Wow &#8211; I&#8217;m never using my phone on unencrypted wifi again.</p>
<p>To decode base64 one must merely copy/paste the encoded string into any one of a handful of different decoders. We used this command line on osx:</p>
<blockquote><p>echo &#8216;&lt;base64 string&gt;&#8217; | openssl enc -base64 -d</p></blockquote>
<p>There are applications that exist now, like dsniff, which will deobfuscate the credentials when they&#8217;re seen on the lan or over the air. This is pretty bad. There&#8217;s no other way to put it. Thanks to <a href="http://twitter.com/jennyjenjen" target="_blank">@jennyjenjen</a> for meeting up with me to test it on the iphone, which uses the same API, and is just as vulnerable.</p>
<p><strong>My suggestion: </strong>If you&#8217;re going to use foursquare on your mobile device, make sure you&#8217;re not using open coffeeshop wifi spots, and you&#8217;re using your carriers 3g/cdma/gsm/etc internet connection. This will protect you from the potential of people sniffing credentials on your lan. Or, have a look at <a href="http://atenlabs.com/zipline">zipline</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://atenlabs.com/blog/foursquare-sending-passwords-in-the-clear/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

