<?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; foursquare</title>
	<atom:link href="http://atenlabs.com/blog/tag/foursquare/feed/" rel="self" type="application/rss+xml" />
	<link>http://atenlabs.com/blog</link>
	<description>San Diego&#039;s Premier IT Security Consultancy</description>
	<lastBuildDate>Wed, 29 Feb 2012 19:14:43 +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>Paranoia, anybody: redux, part II, reloaded, the sequel, extended, directors cut.</title>
		<link>http://atenlabs.com/blog/paranoia-anybody-redux-part-ii-reloaded-the-sequel-extended-directors-cut/</link>
		<comments>http://atenlabs.com/blog/paranoia-anybody-redux-part-ii-reloaded-the-sequel-extended-directors-cut/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 03:51:22 +0000</pubDate>
		<dc:creator>Dan Tentler</dc:creator>
				<category><![CDATA[insight]]></category>
		<category><![CDATA[speculation]]></category>
		<category><![CDATA[as]]></category>
		<category><![CDATA[before]]></category>
		<category><![CDATA[calm]]></category>
		<category><![CDATA[down]]></category>
		<category><![CDATA[evil]]></category>
		<category><![CDATA[foursquare]]></category>
		<category><![CDATA[isn't]]></category>
		<category><![CDATA[relax]]></category>
		<category><![CDATA[some]]></category>
		<category><![CDATA[speak]]></category>
		<category><![CDATA[think]]></category>
		<category><![CDATA[would]]></category>
		<category><![CDATA[you]]></category>

		<guid isPermaLink="false">http://atenlabs.com/blog/?p=102</guid>
		<description><![CDATA[It&#8217;s been roughly 24 hours since I posted  about paranoia and foursquare. I was correct in my foresight expecting people to respond somewhat forcibly, or strongly &#8211; but I got my responses from ENTIRELY the wrong crowd I was trying to speak to: my infosec friends. I wanted to acknowledge valid points that were brought [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been roughly 24 hours since I posted  about paranoia and foursquare. I was correct in my foresight expecting people to respond somewhat forcibly, or strongly &#8211; but I got my responses from ENTIRELY the wrong crowd I was trying to speak to: my infosec friends.</p>
<p>I wanted to acknowledge valid points that were brought up in conversations carried on after the fact and transmogrify the undertone from my last post into an overtone in this one. My suspicion is that my previous snarkiness may have obfuscated the clarity of the point I was trying to make.</p>
<ul>
<li>Yes, absolutely, I agree that over-sharing your location creates a vulnerability and allows an attacker to build an attack profile (excessive meaning say, more than 3-5 checkins daily). As one friend put it &#8220;updating foursquare 24/7&#8243; = bad. Foursquare is not &#8220;HELPING&#8221; the problem &#8211; yes they are &#8220;CONTRIBUTING&#8221; to it, but they are not &#8220;THE&#8221; problem.</li>
</ul>
<ul>
<li>This is not a &#8220;new&#8221; attack vector. Foursquare is not the first application to allow one to publish ones whereabouts (if you REALLY wanna crap your pants, have a look at lattitude. If you think foursquare is bad your head will fall off)</li>
</ul>
<ul>
<li>No, in this context, knowing if you&#8217;re in a building or in a certain room to a building is irrelevant. The point here is you&#8217;re &#8220;leaving your home vulnerable&#8221;. Personal security is a different subject entirely, and I prefer to stay on topic. The site that was mentioned was &#8220;Please rob me&#8221;, inferring &#8220;come to my home and rob it while I&#8217;m not there&#8221;. If people would like to have a healthy discussion about personal security, I&#8217;d be happy to be a part of it &#8211; however this is not it. This discussion is about the home.</li>
</ul>
<ul>
<li>It is less likely that an ACTUAL home-invader will use foursquare over any other social/web2.0 site. Standard usage dictates one has to click an accept button to allow someone to view their checkins (unless they&#8217;re published to facebook/twitter, then it&#8217;s moot anyway). I&#8217;ve had friends that have had their homes burglarized and in every case the attacker was not what any of us would consider an &#8220;advanced enough&#8221; computer user to utilize foursquare as a prelude to a burglary. It was always something like &#8220;we saw them packing up to leave on a ski trip&#8221; -visual, in person. If an attacker is enlightened enough to employ the use of attacks like CSRF and social engineering methodology they&#8217;re going to go after what you have in the bank, in investments, carbon credits (a new one!) and other things that are far more valuable than your television.</li>
</ul>
<ul>
<li>In this context its foursquare that&#8217;s being thrown under the bus. Their &#8216;fault&#8217; in this case was to take an already popular idea (dodgeball) and make it more popular. It&#8217;s the &#8220;in&#8221; thing to do rightnow &#8211; overshare. Some people do it, other people don&#8217;t &#8211; people manage their own risk. Telling twitter you&#8217;re going to the bar, versus checking in on foursquare AT the bar, versus gowalla, or a facebook update &#8211; its all the same thing: You&#8217;re telling the internet you&#8217;re not home. The problem is the behavior, not the &#8220;tool used&#8221;.</li>
</ul>
<p>The last line of the last post I wrote is more or less the overall point I&#8217;m trying to make. Somehow, or for some reason the masses have decided to have an epiphany where they throw their hands in the air and declare foursquare unsafe.</p>
<p>Agreed, they have a valid point. I won&#8217;t argue that, but its synonymous with walking into the burn ward at a hospital, walking past rows and rows of disfigured and suffering individuals, stopping at one random person then exclaiming to the world how THIS PARTICULAR PERSON is suffering and needs medical attention and oh-woe-is-me-what-a-world.</p>
<p>Generally speaking, the same people who have &#8216;come to this realization now&#8217; are guilty of using many other applications that &#8220;tell people they are not home&#8221;.</p>
<p>My point, reconstituted without snark is: You&#8217;ve been doing it for years, and you JUST NOW realized it? THATS the problem. Not foursquare. The very same author of the blogpost I linked to is guilty of frequently publishing their location using a variety of applications. At best I can only speculate, but my speculation is that it was done for the readership and stir the pot &#8211; not to actually provide any real warning.</p>
]]></content:encoded>
			<wfw:commentRss>http://atenlabs.com/blog/paranoia-anybody-redux-part-ii-reloaded-the-sequel-extended-directors-cut/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Paranoia, anybody?</title>
		<link>http://atenlabs.com/blog/paranoia-anybody/</link>
		<comments>http://atenlabs.com/blog/paranoia-anybody/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 02:37:08 +0000</pubDate>
		<dc:creator>Dan Tentler</dc:creator>
				<category><![CDATA[rants]]></category>
		<category><![CDATA[4square]]></category>
		<category><![CDATA[absurdity]]></category>
		<category><![CDATA[facepalm]]></category>
		<category><![CDATA[foursquare]]></category>
		<category><![CDATA[getting]]></category>
		<category><![CDATA[knee jerk]]></category>
		<category><![CDATA[paranoia]]></category>
		<category><![CDATA[rob]]></category>
		<category><![CDATA[robbed]]></category>
		<category><![CDATA[someone]]></category>
		<category><![CDATA[using]]></category>

		<guid isPermaLink="false">http://atenlabs.com/blog/?p=99</guid>
		<description><![CDATA[So in a previous post, I discussed &#8220;Convergence Theory&#8220;, which is the concept that argues people will &#8220;go with the crowd&#8221;. There&#8217;s a new fad in town, and it&#8217;s all about ditching foursquare because you think you&#8217;re going to get robbed. In this case, frankly, I&#8217;m appalled. This is absurdity at its best. Lets all [...]]]></description>
			<content:encoded><![CDATA[<p>So in a previous post, I discussed &#8220;<a href="http://en.wikipedia.org/wiki/Crowd_psychology#Convergence_theory">Convergence Theory</a>&#8220;, which is the concept that argues people will &#8220;go with the crowd&#8221;. There&#8217;s a new fad in town, and it&#8217;s all about ditching foursquare because you think you&#8217;re going to get robbed.</p>
<p>In this case, frankly, I&#8217;m appalled. This is absurdity at its best. Lets all get on the paranoia choo-choo with <a href="http://mashable.com/2010/02/17/pleaserobme/">Jennifer Van Grove</a> and the silly website she&#8217;s blogging about, cancel our foursquare accounts, and go hide at home in fear. Sorry to call you out like this Jen, but this is purely knee-jerk baseless paranoia. If someone sees me IN THE PARKING LOT AT THE GROCERY STORE, then they also know I&#8217;m not home. This isn&#8217;t anything new.</p>
<p>The common complaint I have with blogposts and arguments like this is that people never think two steps ahead. Nobody ever considers engaging their foresight muscle and actually thinking this sort of thing through to conclusion.</p>
<p>I&#8217;m a security-minded person. That means I have to very often think like an attacker. I have to plan out &#8220;missions&#8221;, I have to completely exhaust all nefarious ideas and plotting in an effort to fortify the clients that hire me to make them more secure. This exercise allows me to put on an attackers hat and logistically consider courses of action in an effort to understand things like the frame of mind and context of an attacker.</p>
<p>In the last few weeks I&#8217;ve seen a lot of folks all of the sudden &#8220;realize&#8221; that when checking into foursquare this tells the internet that &#8220;you&#8217;re not at home&#8221;. Disappointingly enough the first thing that short-sighted people think is &#8220;OH GOD THIS MEANS EVERYONE KNOWS I&#8217;M NOT HOME. I&#8217;M GOING TO GET ROBBED!&#8221;. I cannot articulate using text exactly the style in which I face-palmed. To bring some clarity to those who have chosen to forego foresight, I&#8217;ve made this handy flow-chart. Have a look:</p>
<p><a href="http://atenlabs.com/blog/wp-content/uploads/2010/02/paranoid-foursquare.jpg"><img class="aligncenter size-medium wp-image-100" title="paranoid-foursquare" src="http://atenlabs.com/blog/wp-content/uploads/2010/02/paranoid-foursquare-241x300.jpg" alt="" width="241" height="300" /></a></p>
<p>Simply put: If you&#8217;re going to rob someone, you have to put a little thought into it. You may be shot. You may be caught on camera. You may have to deal with nosy neighbors. Do you even know who this person is or where they live? Think about it for more than 30 seconds. If you&#8217;re still convinced that foursquare will get you robbed, print this chart out, and put it over your display using a stapler.</p>
<p>Stop being paranoid. Stop following the crowd. Wake up.</p>
]]></content:encoded>
			<wfw:commentRss>http://atenlabs.com/blog/paranoia-anybody/feed/</wfw:commentRss>
		<slash:comments>9</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>

