<?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; packet</title>
	<atom:link href="http://atenlabs.com/blog/tag/packet/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>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>
		<item>
		<title>Zipline &#8211; a VPN security product.</title>
		<link>http://atenlabs.com/blog/zipline-a-vpn-security-product/</link>
		<comments>http://atenlabs.com/blog/zipline-a-vpn-security-product/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 03:40:53 +0000</pubDate>
		<dc:creator>Dan Tentler</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[aten]]></category>
		<category><![CDATA[atenlabs]]></category>
		<category><![CDATA[in]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[infosec]]></category>
		<category><![CDATA[labs]]></category>
		<category><![CDATA[man]]></category>
		<category><![CDATA[middle]]></category>
		<category><![CDATA[MITM]]></category>
		<category><![CDATA[packet]]></category>
		<category><![CDATA[prevention]]></category>
		<category><![CDATA[product]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sniff]]></category>
		<category><![CDATA[sniffing]]></category>
		<category><![CDATA[the]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://atenlabs.com/blog/zipline-a-vpn-security-product/</guid>
		<description><![CDATA[How many of those wordpress, joomla, drupal blogs, web2.0 products of various sort and other websites do you go to that are encrypted using SSL(https)? How many times a day to you enter your credentials, or use cookie based (the &#8216;remember me&#8217; checkbox type) authentication on websites a day? Do you find yourself in coffee [...]]]></description>
			<content:encoded><![CDATA[<p>How many of those wordpress, joomla, drupal blogs, web2.0 products of various sort and other websites do you go to that are encrypted using SSL(https)? How many times a day to you enter your credentials, or use cookie based (the &#8216;remember me&#8217; checkbox type) authentication on websites a day? Do you find yourself in coffee shops, or other public wifi frequently and sometimes wonder who is watching your traffic?</p>
<p>I know I do. Up until now I&#8217;ve been using SSH tunnels to get my traffic back home where I know nobody is running a packetsniffer. The trouble with SSH tunnels though is that they&#8217;re fickle, and often drop. I wanted a better solution &#8211; so I made one.</p>
<p><a href="http://www.atenlabs.com/zipline">www.atenlabs.com/zipline</a></p>
<p><span id="more-82"></span></p>
<p>Right now its pretty much just a VPN. My goals are pretty straight forward</p>
<ul>
<li>Obtain subscribers, and offer excellent service</li>
<li>Grow the product, then upgrade the hardware and bandwidth</li>
<li>Value-Adds, like in-line antivirus, antispam, malware etc &#8211; make the product <strong>SAFER</strong></li>
<li>Bolt on business-class solutions like traffic shaping, packet prioritization and SLA guarantees.</li>
</ul>
<p>My inital product pricing will be something like this:</p>
<ul>
<li>$15/mo or $150 a year for the base package (You save 2 months worth by buying a year in advance)</li>
<li>$25/mo or $250 a year for higher packet priority</li>
<li>Business class services &#8211; still working this one out.</li>
</ul>
<p>I&#8217;m totally open to collaboration. I built this for myself, and my friends &#8211; so that we could feel secure using sites, and applications that were <strong>built insecurely</strong> on <strong>public wireless networks</strong> without fear of someone capturing our credentials, or snooping in on our traffic (e.g. airpwn, ettercap, goatseAP and the others)</p>
<p>Ideas? Comments? Hatemail? Drop me a note!</p>
]]></content:encoded>
			<wfw:commentRss>http://atenlabs.com/blog/zipline-a-vpn-security-product/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

