<?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; information</title>
	<atom:link href="http://atenlabs.com/blog/tag/information/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, 24 Jan 2012 20:48:24 +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>How to steal Facebook Authentication cookies</title>
		<link>http://atenlabs.com/blog/how-to-steal-facebook-authentication-cookies/</link>
		<comments>http://atenlabs.com/blog/how-to-steal-facebook-authentication-cookies/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 00:09:51 +0000</pubDate>
		<dc:creator>Dan Tentler</dc:creator>
				<category><![CDATA[insight]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[dan]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hijacking]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[lennox]]></category>
		<category><![CDATA[mrb0t]]></category>
		<category><![CDATA[nick]]></category>
		<category><![CDATA[penetration]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[stealing]]></category>
		<category><![CDATA[tentler]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[viss]]></category>
		<category><![CDATA[vissago]]></category>

		<guid isPermaLink="false">http://atenlabs.com/blog/?p=136</guid>
		<description><![CDATA[How to hack a facebook account &#8211; or, basically how to hijack php sessions. Yes &#8211; this is old news &#8211; yes its a common vulnerability &#8211; but you get a better idea for what it is and how it works when things are explained in detail (with screenshots!). Before we begin, however, I want [...]]]></description>
			<content:encoded><![CDATA[<p>How to hack a facebook account &#8211; or, basically how to hijack php sessions. Yes &#8211; this is old news &#8211; yes its a common vulnerability &#8211; but you get a better idea for what it is and how it works when things are explained in detail (with screenshots!).</p>
<p>Before we begin, however, I want to re-emphasize that it is <strong>VERY EASY</strong> to protect yourself against this sort of attack. Facebook supports HTTPS, so when you browse facebook (or twitter for that matter) or if you have it bookmarked &#8211; please make sure you&#8217;re using <strong>HTTPS://</strong> rather than <strong>HTTP://</strong> in the URL at the very least, if not using a <a href="http://atenlabs.com/zipline">VPN solution</a> for further encryption. Also, if the &#8216;victim&#8217; logs out of facebook, the attackers session becomes invalid &#8211; so it&#8217;s a good practice to actually log out of facebook and log back in again rather than using the &#8216;remember me&#8217; checkbox.</p>
<p>Facebook like many sites operates using authentication cookies. Their auth cookies contain a variety of information, but for our purposes this is irrelevant. Here is a sanitized cookie for reference:</p>
<p><code>Cookie: datr=1276721606-b7f94f977295759399293c5b0767618dc02111ede159a827030fc; lsd=Xesut; lxe=greg.evans%40****************; c_user=100001230367821; lo=wl9fcGXMhPfoT4bAhKFP3Q; lxs=1; sct=1276721745; xs=a615cfe596448194d6e2a8d062a90e4e</code></p>
<p>You can see the &#8216;lxe&#8217; field is the login. We haven&#8217;t done any further research into what the various other fields mean, but using facebook without any kind of security you&#8217;re both leaking the email address used for your login and the session cookie.</p>
<p>First thing you&#8217;ll want to do is fire up your favorite packet capture application. For this example we&#8217;ve used Wireshark:</p>
<p><a href="http://atenlabs.com/blog/wp-content/uploads/2010/06/wireshark1.jpg"><img src="http://atenlabs.com/blog/wp-content/uploads/2010/06/wireshark1-300x180.jpg" alt="" title="wireshark1" width="300" height="180" class="aligncenter size-medium wp-image-151" /></a></p>
<p>Next, set the filter in the top left to &#8221; <strong>http.cookie contains &#8220;datr&#8221;</strong> &#8220;. This should show you only packets captured which contain the cookie we&#8217;re looking for. You can see that in this screenshot we&#8217;ve already captured a cookie.</p>
<p><a href="http://atenlabs.com/blog/wp-content/uploads/2010/06/wireshark2.jpg"><img src="http://atenlabs.com/blog/wp-content/uploads/2010/06/wireshark2-300x140.jpg" alt="" title="wireshark2" width="300" height="140" class="aligncenter size-medium wp-image-150" /></a></p>
<p>Once you&#8217;ve found a suitable cookie, you can copy it into the buffer by right clicking on the cookie line, and clicking Copy -> Bytes (Printable Text Only)<br />
<a href="http://atenlabs.com/blog/wp-content/uploads/2010/06/wireshark3.jpg"><img src="http://atenlabs.com/blog/wp-content/uploads/2010/06/wireshark3-300x139.jpg" alt="" title="wireshark3" width="300" height="139" class="aligncenter size-medium wp-image-149" /></a></p>
<p>Next you&#8217;ll want to open up firefox. You&#8217;ll need both <a href="https://addons.mozilla.org/en-US/firefox/addon/748/">greasemonkey</a> and the <a href="http://dustint.com/archives/12">cookieinjector script</a>.</p>
<p>Simply browse to facebook &#8211; make sure you are not logged in:</p>
<p><a href="http://atenlabs.com/blog/wp-content/uploads/2010/06/firefox.jpg"><img src="http://atenlabs.com/blog/wp-content/uploads/2010/06/firefox-300x175.jpg" alt="" title="firefox" width="300" height="175" class="aligncenter size-medium wp-image-156" /></a></p>
<p>Hit ALT-C to bring up the cookie injector dialog box:</p>
<p><a href="http://atenlabs.com/blog/wp-content/uploads/2010/06/firefox2.jpg"><img src="http://atenlabs.com/blog/wp-content/uploads/2010/06/firefox2-300x175.jpg" alt="" title="firefox2" width="300" height="175" class="aligncenter size-medium wp-image-155" /></a></p>
<p>Then paste in the cookie!</p>
<p><a href="http://atenlabs.com/blog/wp-content/uploads/2010/06/firefox3.jpg"><img src="http://atenlabs.com/blog/wp-content/uploads/2010/06/firefox3-300x175.jpg" alt="" title="firefox3" width="300" height="175" class="aligncenter size-medium wp-image-154" /></a></p>
<p>Hit refresh and &#8211; VIOLA! you&#8217;re now logged in as your victim! Now this doesn&#8217;t give you access to their credentials, this is about the equivalent to walking up to their workstation while they&#8217;re away from their desk and using facebook. </p>
<p><a href="http://atenlabs.com/blog/wp-content/uploads/2010/06/firefox4.jpg"><img src="http://atenlabs.com/blog/wp-content/uploads/2010/06/firefox4-300x175.jpg" alt="" title="firefox4" width="300" height="175" class="aligncenter size-medium wp-image-153" /></a></p>
<p>Neat huh? Pretty easy too. I smiled big when we demo&#8217;ed the attack in our lab &#8211; its old, sure, but being successful is always a good feeling!</p>
<p><em>P.S: This isnt REALLY Gregory Evans account. We setup this account because .. well.. the name was available! We thought it was in good taste as the No #1 hacker&#8217;s twitter feed got hacked the other day, <a href="http://attrition.org/errata/charlatan/gregory_evans/ligatt06/">his site is riddled with XSS exploits</a>, and his book is copypasta from a variety of certification exam prep books. Thanks to <a href="http://whoneedscrypto.ordonomicon.net/">Nick</a> and <a href="http://blog.skeptikal.org/">mckt</a> for the work and tootilage, respectively. No noobs were harmed in the making of this film.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://atenlabs.com/blog/how-to-steal-facebook-authentication-cookies/feed/</wfw:commentRss>
		<slash:comments>29</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>
		<item>
		<title>Making Security Research Relevant</title>
		<link>http://atenlabs.com/blog/making-security-research-relevant/</link>
		<comments>http://atenlabs.com/blog/making-security-research-relevant/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 01:50:07 +0000</pubDate>
		<dc:creator>Dan Tentler</dc:creator>
				<category><![CDATA[insight]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[and]]></category>
		<category><![CDATA[be safer]]></category>
		<category><![CDATA[consulting]]></category>
		<category><![CDATA[diego]]></category>
		<category><![CDATA[for]]></category>
		<category><![CDATA[hacker]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[hire]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[infosec]]></category>
		<category><![CDATA[infrastucture]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[san]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[us]]></category>

		<guid isPermaLink="false">http://atenlabs.com/blog/?p=32</guid>
		<description><![CDATA[I&#8217;m very very open and transparent about security, technology and what I do. I&#8217;ve written documentation so thorough that my clients have ended the contracts stating &#8220;we dont need you anymore &#8211; with these docs we can do the work ourselves&#8221; &#8211; in the grander scheme of things thats awesome. I love it when clients [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m very very open and transparent about security, technology and what I do. I&#8217;ve written documentation so thorough that my clients have ended the contracts stating &#8220;we dont need you anymore &#8211; with these docs we can do the work ourselves&#8221; &#8211; in the grander scheme of things thats awesome. I love it when clients learn from me and it makes me feel really good about what I do &#8211; especially if it sticks the first time &#8211; but it certainly is prohibitive towards me paying my rent.</p>
<p>I&#8217;ve been very vocal in the last year about what I do &#8211; to the point it manifests itself as talks I give during BarCamp (LA and San Diego), and Refresh San Diego which is held at Qualcomm. Here is my most recent talk</p>
<p><center><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2847947&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2847947&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object><br /><a href="http://vimeo.com/">Security 102, part 1</a> from <a href="http://vimeo.com/viss">Dan Tentler</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2879833&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2879833&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object><br /><a href="http://vimeo.com/">Security102, part 2</a> from <a href="http://vimeo.com/viss">Dan Tentler</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Video courtesy of <a href="http://twitter.com/northlight">@northlight</a></center><br />
<span id="more-32"></span><br />
Additionally, here is a talk that I&#8217;ve been doing at BarCamp San Diego that approaches security from a people perspective &#8211; meaning: If you can&#8217;t hack the systems, hack its operators. This story describes how people are willing to give away information to a<a href="http://blogs.wsj.com/biztech/2008/04/16/security-is-no-match-for-chocolate-and-good-looking-women/?mod=WSJBlog"> pretty girl who hands out chocoloate</a>. Heres my Talk:</p>
<p><center><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="437" height="370" id="viddler"><param name="movie" value="http://www.viddler.com/player/3e908112/" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent"/><embed src="http://www.viddler.com/player/3e908112/" width="437" height="370" type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" wmode="transparent" name="viddler" ></embed></object><br />
Videos couresty of <a href="http://twitter.com/northlight">@northlight</a><br />
</center></p>
<p>I&#8217;ve decided that it&#8217;s in everyone&#8217;s best interests to at least have a dialog about security. That being said I&#8217;m now offering free consultations! To my amazement I&#8217;ve even had a few people turn down FREE HOURS from me. For the first time in quite a while I was literally without words.</p>
<p>I thought it best at that point to illustrate exactly what I mean by security. </p>
<ul>
<li><a href="http://twitpic.com/14u50">This</a> is a screenshot of the last ten days of SQL injection exploits posted to <a href="http://milw0rm.com">milw0rm.com</a>. This is *ONLY* SQL injections, not any other vulnerabilities (for everyone that thinks using magic_quotes_gpc is safe, <a href="http://search.twitter.com/search?max_id=1131544205&#038;page=2&#038;q=magic_quotes_gpc">think again</a> (and <a href="http://twitter.com/Viss/statuses/1077256407">again</a> and <a href="http://twitter.com/DjYXA/statuses/1050507177">again</a>)</li>
<li><a href="http://www.securityfocus.com/vista">Securityfocus</a>, which is a major vendor for security information has its own section JUST for Microsoft Vista.</li>
<li><a href="http://twitpic.com/kjgx">ONE command</a> line will give you a command shell on a vulnerable windows machine. That leads to installing malware, stealing passwords, reading emails &#8211; the whole nine yards &#8211; just like theyre sitting AT your computer, or on your server.</li>
<li><a href="http://twitpic.com/104fo">Using WEP for wireless security is a joke</a>. If you don&#8217;t use WPA you may as well not bother encrypting. That also leads to people sniffing your information out of the air &#8211; passwords, credentials, AIM/Yahoo conversations &#8211; everything.</li>
<li>The web2.0 community is just <a href="http://twitpic.com/rqzy">making things worse</a> by being willfully ignorant</li>
</ul>
<p>The point I&#8217;m trying to get across is that security isn&#8217;t just installing a virus scanner and an adware scanner and making sure your system is free of viruses. Code is developed every day that <a href="http://www.google.com/search?num=100&#038;hl=en&#038;lr=&#038;ie=ISO-8859-1&#038;q=%22supplied+argument+is+not+a+valid+MySQL+result+resource%22">exposes crucial information to the world, which is then indexed by google</a>. Security isn&#8217;t just about viruses, its about making your private information stay private &#8211; in all cases. Error messages that leak information such as filenames, database names, database tables, usernames etc just help attackers gain further entry into systems.</p>
<p>I do more than just security work &#8211; I&#8217;m a full-fledged Systems Architect with over ten years of experience in the field. Once you build a large scale enterprise environment, it has to be secured, right?<br />
Every once in a while during conversations at meetups I tell people that I&#8217;m a Security Researcher and a Systems Architect and they end up asking me later &#8220;so what do you actually DO?&#8221;. So heres a short list:</p>
<ul>
<li>Information Tecnhnology(IT) and Information Security(InfoSec) consulting: working directly with sales, marketing and PR departments to coach bloggers, twitter users and writers on what terminology to use, what new technology is out there, what is safe, what isn&#8217;t safe, figures and reports on the latest attacks, bot nets, viruses and other threats influencing the world</li>
<li>MSSQL and MySQL database administration, design, tuning, and security</li>
<li>Designing networks: switches, routers, firewalls, intrusion detection, backups, redundancy</li>
<li>Workflow Management: Setting up HRIS systems, ticketing systems, automating things like installations, software deployments, antivirus and other workstation maintenance procedures, creating a documentation repository using mediawiki</li>
<li>Emerging Technologies: Staying abreast of all new versions of software and hardware available, defining when and what to upgrade, planning upgrades, defining when and how to scale, choosing the right hardware and software for the job, identifying when to decommission old equipment or software and how execute it</li>
<li>Security: Staying abreast of all current and anticipated versions of software frameworks, firmwares, networking and phone equipment, defining what software and appliances need to be secured and or upgraded, defining what network resources get deployed where in the clients landscape and subequently documenting everything along the way</li>
</ul>
<p>There is no environment alien to me, no operating system I do not have experience with, no development/scripting language I have no experience with and there is no limit to what can be done with the proper resources.</p>
<p>The Rates for hours at AtenLabs are fiercely competitive and in our wake we leave nothing but courage, confidence, and smiling clients.</p>
<p>If you&#8217;re even thinking about contacting us for us for a free consultation &#8211; stop thinking and contact us.</p>
<p><center><a href="mailto:dan@atenlabs.com">info@atenlabs.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://atenlabs.com/blog/making-security-research-relevant/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Log Auditing for fun and profit</title>
		<link>http://atenlabs.com/blog/log-auditing-for-fun-and-profit/</link>
		<comments>http://atenlabs.com/blog/log-auditing-for-fun-and-profit/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 01:35:08 +0000</pubDate>
		<dc:creator>Dan Tentler</dc:creator>
				<category><![CDATA[insight]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[grepping]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[reporting]]></category>
		<category><![CDATA[reports]]></category>
		<category><![CDATA[visibility]]></category>

		<guid isPermaLink="false">http://atenlabs.com/blog/?p=14</guid>
		<description><![CDATA[Again I find myself in a postion where I am in need of full time work. I was able to sustain myself as a full time freelancer for 8 months (not too shabby!), but now it seems the market is drying up and while not for a lack of effort on my part to find [...]]]></description>
			<content:encoded><![CDATA[<p>Again I find myself in a postion where I am in need of full time work. I was able to sustain myself as a full time freelancer for 8 months (not too shabby!), but now it seems the market is drying up and while not for a lack of effort on my part to find sales people or to promote myself by basically bribing people with a 10% commission I&#8217;ve not been able to get enough business to sustain myself any longer. I&#8217;ll not go into any of the nasty business of clients who decided they didn&#8217;t feel like paying me, or clients that had me draw up proposals only to vanish into the ether &#8211; because this post is about fun stuff!</p>
<p>All that being said &#8211; I like to be clever. I like to use ingenuity to do basically what everyone else does but put a fancy little twist on it. Historically when someone is looking for a job, they will hit some job search sites like monster and dice and then send their resume to people &#8211; never knowing if it gets seen with human eyes, or ever gets any attention. Who knows? Does your resume even get read? If it does, how soon? Wouldnt it be nice to see the time correlation between when you sent your resume to someone and when they actually looked at it &#8211; or even if they looked at it at all?</p>
<p><span id="more-14"></span></p>
<p>I put my resumes in a public place &#8211; not publically linked, but I send the url to people directly &#8211; that way when someone goes to look at them I have records in my apache logs. For example, one quick grep command gives me these results: (notice I&#8217;m only grepping for December 8th and 9th)</p>
<p><strong>grep resumes atenlabs.com.access.log | egrep &#8217;08\/Dec|09\/Dec&#8217; | egrep -i &#8216;pdf|doc&#8217;</strong></p>
<blockquote>
<h6>75.212.202.71 &#8211; - [08/Dec/2008:15:32:51 -0800] &#8220;GET /resumes/dan-resume-2008.pdf HTTP/1.1&#8243; 200 112865 &#8220;http://www.atenlabs.com/resumes/&#8221; &#8220;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; MS-RTC LM 8)&#8221;</h6>
<h6>75.212.202.71 &#8211; - [08/Dec/2008:15:33:42 -0800] &#8220;GET /resumes/dan-resume-2008b.pdf HTTP/1.1&#8243; 200 118460 &#8220;http://www.atenlabs.com/resumes/&#8221; &#8220;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; MS-RTC LM 8)&#8221;</h6>
<h6>75.212.202.71 &#8211; - [08/Dec/2008:15:34:23 -0800] &#8220;GET /resumes/dan-resume-2008.pdf HTTP/1.1&#8243; 304 &#8211; &#8220;http://www.atenlabs.com/resumes/&#8221; &#8220;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; MS-RTC LM 8)&#8221;</h6>
<h6>75.212.202.71 &#8211; - [08/Dec/2008:15:35:16 -0800] &#8220;GET /resumes/dan-resume-2008-msword.doc HTTP/1.1&#8243; 200 43008 &#8220;http://www.atenlabs.com/resumes/&#8221; &#8220;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; MS-RTC LM 8)&#8221;</h6>
<h6>75.212.202.71 &#8211; - [08/Dec/2008:15:35:23 -0800] &#8220;HEAD /resumes/dan-resume-2008-msword.doc HTTP/1.1&#8243; 200 &#8211; &#8220;-&#8221; &#8220;Microsoft Office Existence Discovery&#8221;</h6>
<h6>75.212.202.71 &#8211; - [08/Dec/2008:15:36:54 -0800] &#8220;GET /resumes/dan-resume-2008b.doc HTTP/1.1&#8243; 200 31232 &#8220;http://www.atenlabs.com/resumes/&#8221; &#8220;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; MS-RTC LM 8)&#8221;</h6>
<h6>75.212.202.71 &#8211; - [08/Dec/2008:15:36:58 -0800] &#8220;HEAD /resumes/dan-resume-2008b.doc HTTP/1.1&#8243; 200 &#8211; &#8220;-&#8221; &#8220;Microsoft Office Existence Discovery&#8221;</h6>
<h6>64.128.15.194 &#8211; - [08/Dec/2008:18:50:52 -0800] &#8220;GET /resumes/dan-resume-2008-msword.doc HTTP/1.1&#8243; 200 43008 &#8220;http://www.atenlabs.com/resumes/&#8221; &#8220;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13&#8243;</h6>
<h6>64.128.15.194 &#8211; - [08/Dec/2008:19:15:04 -0800] &#8220;GET /resumes/dan-resume-2008.pdf HTTP/1.1&#8243; 200 112865 &#8220;http://www.atenlabs.com/resumes/&#8221; &#8220;Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1; .NET CLR 3.0.04506.648)&#8221;</h6>
<h6>70.179.4.41 &#8211; - [08/Dec/2008:23:24:37 -0800] &#8220;GET /resumes/dan-resume-2008.pdf HTTP/1.1&#8243; 200 112865 &#8220;http://www.atenlabs.com/resumes/&#8221; &#8220;Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)&#8221;</h6>
<h6>70.179.4.41 &#8211; - [09/Dec/2008:00:15:28 -0800] &#8220;GET /resumes/dan-resume-2008.pdf HTTP/1.1&#8243; 200 112865 &#8220;http://www.atenlabs.com/resumes/&#8221; &#8220;Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)&#8221;</h6>
<h6>67.202.54.191 &#8211; - [09/Dec/2008:04:42:00 -0800] &#8220;GET /resumes/dan-resume-2008-business.pdf HTTP/1.0&#8243; 200 2330 &#8220;-&#8221; &#8220;ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)&#8221;</h6>
<h6>67.202.54.191 &#8211; - [09/Dec/2008:04:42:24 -0800] &#8220;GET /resumes/dan-resume-2008.pdf HTTP/1.0&#8243; 200 112865 &#8220;-&#8221; &#8220;ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)</h6>
</blockquote>
<p>Interesting &#8211; I can see the dates and times of when people clicked on things in the /resumes directory. I can see that my resumes are getting crawled &#8211; which may or may not be a good thing &#8211; and I can see that the same users are viewing both my business resume and my technical resume.</p>
<p>Lets take this a step further..</p>
<p><strong>grep resumes atenlabs.com.access.log | egrep &#8217;08\/Dec|09\/Dec&#8217; | cut -d&#8221; &#8221; -f1 | sort -u</strong></p>
<blockquote>
<h6>204.14.152.106<br />
64.128.15.194<br />
67.202.54.191<br />
70.179.4.41<br />
75.212.202.71<br />
97.113.157.234</h6>
</blockquote>
<p>Awesome, I can see unique IPs that viewed my resume in the last two days &#8211; but .. who are they? We can find this out too:</p>
<p><strong>for i in `grep resumes atenlabs.com.access.log | egrep &#8217;08\/Dec|09\/Dec&#8217; | cut -d&#8221; &#8221; -f1 | sort -u`; do host $i; done</strong></p>
<blockquote>
<h6>Host 106.152.14.204.in-addr.arpa. not found: 3(NXDOMAIN)<br />
194.15.128.64.in-addr.arpa domain name pointer corp1.referentia.com.<br />
191.54.202.67.in-addr.arpa domain name pointer ec2-67-202-54-191.compute-1.amazonaws.com.<br />
41.4.179.70.in-addr.arpa domain name pointer ip70-179-4-41.sd.sd.cox.net.<br />
71.202.212.75.in-addr.arpa domain name pointer 71.sub-75-212-202.myvzw.com.<br />
234.157.113.97.in-addr.arpa domain name pointer 97-113-157-234.tukw.qwest.net.</h6>
</blockquote>
<p>Even better! I can see that Referentia, a company that had a very attractive posting has viewed my resume. Good! I sent them my resume TODAY (the 9th) and they viewed it today &#8211; perhaps this is a clue that my cover page is doing its job nicely! I can also see that some &#8216;home&#8217; ip addresses have clicked on my resumes, qwest.net, which I don&#8217;t think exists in San Diego, and a myvzw address which is a verizon wireless connection (someone on a laptop, perhaps? Or tethered to a phone..). The ec2 amazon connection sort of worries me &#8211; why is an amazon ec2 instance touching my resume? Let&#8217;s find out some more info..</p>
<p><strong>grep 67.202.54.191 atenlabs.com.access.log</strong></p>
<blockquote>
<h6>67.202.54.191 &#8211; - [08/Dec/2008:04:18:24 -0800] &#8220;GET /robots.txt HTTP/1.0&#8243; 200 36 &#8220;-&#8221; &#8220;ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)&#8221;<br />
67.202.54.191 &#8211; - [08/Dec/2008:04:18:24 -0800] &#8220;GET /resumes/ HTTP/1.0&#8243; 200 1281 &#8220;-&#8221; &#8220;ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)&#8221;<br />
67.202.54.191 &#8211; - [08/Dec/2008:20:56:13 -0800] &#8220;GET /robots.txt HTTP/1.0&#8243; 200 36 &#8220;-&#8221; &#8220;ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)&#8221;<br />
67.202.54.191 &#8211; - [08/Dec/2008:20:56:14 -0800] &#8220;GET /resumes/?C=D;O=A HTTP/1.0&#8243; 200 1691 &#8220;-&#8221; &#8220;ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)&#8221;<br />
67.202.54.191 &#8211; - [08/Dec/2008:20:56:20 -0800] &#8220;GET /resumes/?C=M;O=A HTTP/1.0&#8243; 200 1691 &#8220;-&#8221; &#8220;ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)&#8221;<br />
67.202.54.191 &#8211; - [08/Dec/2008:20:56:26 -0800] &#8220;GET /resumes/?C=N;O=D HTTP/1.0&#8243; 200 1691 &#8220;-&#8221; &#8220;ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)&#8221;<br />
67.202.54.191 &#8211; - [08/Dec/2008:20:57:14 -0800] &#8220;GET /resumes/?C=S;O=A HTTP/1.0&#8243; 200 1691 &#8220;-&#8221; &#8220;ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)&#8221;<br />
67.202.54.191 &#8211; - [09/Dec/2008:04:42:00 -0800] &#8220;GET /resumes/dan-resume-2008-business.pdf HTTP/1.0&#8243; 200 2330 &#8220;-&#8221; &#8220;ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)&#8221;<br />
67.202.54.191 &#8211; - [09/Dec/2008:04:42:24 -0800] &#8220;GET /resumes/dan-resume-2008.pdf HTTP/1.0&#8243; 200 112865 &#8220;-&#8221; &#8220;ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)&#8221;</h6>
</blockquote>
<p>Well thats worrysome &#8211; I have personal information in those resumes and I don&#8217;t want them to be spidered and put into some search engine, so I&#8217;ve gone ahead and added &#8216;ia_archiver&#8217; to my robots.txt to disallow alexa from touching my resumes. This means that someone who I&#8217;ve given my link to has put it into some system. I&#8217;ll have to refine my practices more.</p>
<p>Using this methodology you can do things like create reports to see how many of the people you&#8217;ve sent your link out to have actually viewed your resume, how many people ignore it and other bits of information that you otherwise would never be able to see.</p>
<p>I plan on writing a little script that will report back how many unique ips have viewed my resume in &#8220;the last 5 minutes&#8221;, and how many total views there were total in the last five minute, then use that script to create a cacti graph &#8211; My current quandry is how to grep a log for &#8220;the last five minutes worth of hits&#8221;. Rest assured when I get my head wrapped around it, that graph will be added to <a href="http://home.thaumatocracy.com/work" target="_blank">http://home.thaumatocracy.com/work</a></p>
]]></content:encoded>
			<wfw:commentRss>http://atenlabs.com/blog/log-auditing-for-fun-and-profit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

