<?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>Security Musings &#187; general</title>
	<atom:link href="http://securitymusings.com/article/category/general/feed" rel="self" type="application/rss+xml" />
	<link>http://securitymusings.com</link>
	<description>Rants and raves from information security professionals</description>
	<lastBuildDate>Wed, 01 Feb 2012 21:41:34 +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>Smart Phone Security Pointers</title>
		<link>http://securitymusings.com/article/3134/smart-phone-security-pointers</link>
		<comments>http://securitymusings.com/article/3134/smart-phone-security-pointers#comments</comments>
		<pubDate>Sat, 17 Dec 2011 02:35:50 +0000</pubDate>
		<dc:creator>Nick Staples</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[data protection]]></category>
		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=3134</guid>
		<description><![CDATA[Around this time of year, many people receive new devices and gadgets as gifts, and some of those gadgets turn out to be smart phones. But smart phone security is very tricky to pin down, as there are multiple vendors and platforms to take into consideration, not to mention the speed at which smart phone [...]]]></description>
			<content:encoded><![CDATA[<p>Around this time of year, many people receive new devices and gadgets as gifts, and some of those gadgets turn out to be smart phones. But smart phone security is very tricky to pin down, as there are multiple vendors and platforms to take into consideration, not to mention the speed at which smart phone technology is evolving. So when I came across this <a href="http://www.mcafee.com/us/resources/white-papers/foundstone/wp-top-10-iphone-security-tips.pdf">Top 10 iPhone Security Tips</a> whitepaper (pdf), I knew that it was probably a good thing that it attempts to target a specific platform. However, after reading through it, I think that many of the things McAfee points out can also apply to a Droid or BlackBerry. And so, by stripping away the platform-specific details, we arrive at a pretty decent list of things a new smart phone owner can do to achieve some basic smartphone security:</p>
<ul>
<li>Enable passcode/lock</li>
<p>Mobile phones have had passcode capabilities for a long time. Make sure you&#8217;re using it, since a passcode lock is often the first line of defense.</p>
<li>Erase all data before a return, repair, or resale</li>
<p>If you will no longer be the owner in possession of the device, it&#8217;s best to erase everything you can first. Everything. If you can do a factory reset, do so, because your phone constantly records information and there is always some data that isn&#8217;t easily found, let alone purged.</p>
<li>Regularly update firmware</li>
<p>I&#8217;m guilty of not doing this&#8211; sometimes the update notification will sit around for a week before I finally give it permission to run. But this is one of the easier things to do, since it&#8217;s mostly automatic.</p>
<li>Don&#8217;t run shady apps</li>
<p>Just like with a personal computer, if you run unknown or untrusted applications, you substantially increase your chances of getting <strong>got</strong>.  So if you don&#8217;t want to get got, be prudent about what apps you run on your device.</p>
<li>Take advantage of the web browser&#8217;s security</li>
<p>For smartphones with native web browser apps, be sure to use the security features to clear caches and stored passwords when it&#8217;s necessary. Just because a web browser is on a mobile device doesn&#8217;t mean it&#8217;s a security lightweight. Check out the &#8220;settings&#8221; or &#8220;options&#8221; to see just how much your mobile phone web browser can do to help you out.</p>
<li>If you&#8217;re not using it, disable it</li>
<p>I&#8217;m also guilty of leaving stuff running unnecessarily. Be careful about leaving debug mode enabled, Bluetooth and wifi on, etc.  Generally speaking, the more doors you leave unlocked, the lighter you sleep at night. Turning off unused services when they aren&#8217;t needed is a good habit to form, even outside the realm of security.</p>
<li>Secure that email</li>
<p>In addition to providing native web browser apps, many smartphones also come bundled with a native email app. Check the settings for these apps to take advantage of any security features they&#8217;re offering (such as SSL/TLS).</p>
<li>Use a phone tracker</li>
<p>The GPS can be bad for privacy if you are reckless with it. However, it can also be a powerful tool to help you recover a lost/stolen device. I believe the iPhone 4 has a built in device-finding service (complete with a remote wipe). But even if you have a different smartphone, there is almost certainly an app that provides some remote tracking for lost devices (i.e. <em>Where&#8217;s My Droid</em> app for Android).</ul>
<p>This certainly isn&#8217;t a comprehensive list, but it should be enough to get both new and old smartphone users thinking about general mobile device security in a healthy way.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Smart+Phone+Security+Pointers+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D3134" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/3134/smart-phone-security-pointers&amp;t=Smart+Phone+Security+Pointers" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/3134/smart-phone-security-pointers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Poor Promotional Practices</title>
		<link>http://securitymusings.com/article/3129/poor-promotional-practices</link>
		<comments>http://securitymusings.com/article/3129/poor-promotional-practices#comments</comments>
		<pubDate>Fri, 16 Dec 2011 19:11:14 +0000</pubDate>
		<dc:creator>Tim Donaworth</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=3129</guid>
		<description><![CDATA[Sometimes emails aren't always what they seem. Sometimes they promise great things. Sometimes they follow through with these, but most times they do not. Read on for an example of what not to do in promotional emails and learn how you can further protect yourself from email fraud. ]]></description>
			<content:encoded><![CDATA[<p>I’m not too ashamed of myself to whore out a few select email addresses for personal gain, or even promote a certain company by liking or retweeting something if it will benefit me more than the actions required, but I always keep a hesitant nature towards most of these promotions. I mean who doesn’t like free money?</p>
<p>I received an email the other day supposedly sponsored by a reputable programmer-related site. What it entailed was signing up for a big vendor’s developer program. If I did so, they would send me a $15 gift certificate to one of the major online retailers. I’m trying to keep all parties in this matter anonymous simply because I do not want to promote anything involved in this so-called promotion, and the actual parties involved are irrelevant. The email went something like this:</p>
<blockquote><p>&nbsp;</p>
<p>Happy Holidays Developers!</p>
<p>Get a $15 [online retailer] Gift Certificate by joining the [vendor] Developer Program (no charge!)</p>
<p>Thanks to your [programmer site] participation, here’s all you have to do!</p>
<p>1.	Visit The [hyperlink to vendor site] and register at no cost!</p>
<p>2.	[vendor] will send you a validation email: confirm your registration following the URL provided in the email which will prompt you to choose a password</p>
<p>3.	Once you have chosen a password, [vendor] will then send you a password reset email: forward the password reset email and the sign up email address used to [promotional site email]</p>
<p>4.	Once verified on our end, a gift certificate will be sent to you promptly after the program ends!</p>
<p>Hurry! This is limited to the first 600 respondents, one per person.</p>
<p>For full terms and conditions please visit [marketing link to promotional site]</p></blockquote>
<p>Step 3 is the one that caught my eye here. You want me to forward you an email sent to me that allows me to reset my password? By doing this I would essentially be sending the promoter an email that contained a link with an embedded token allowing them to authenticate as myself and then change my password, essentially gaining access to my account at this vendor site. Mind you, this isn&#8217;t exactly a critical account. But still these are very poor security practices.</p>
<p>So, what&#8217;s to be learned from this? Pay attention to what&#8217;s being asked of you. If it seems slightly out of the ordinary, it probably is. Inboxes are being filled with more and more spam these days, some make it through, and some even seem legitimate. It&#8217;s up to the users to educate themselves on how to detect and avoid these types of situations. In closing, I&#8217;ll leave you with a list of things you can do to help protect yourself.</p>
<ul>
<li>If it seems too good to be true, it probably is. So use common sense people!</li>
<li>Do not click on links in emails &#8211; period! Just because it says it&#8217;s a link to SiteA doesn&#8217;t mean it&#8217;s actually going there.</li>
<li>Enable spam controls on your email client &#8211; if you&#8217;re using Outlook, Thunderbird, or even Gmail&#8217;s web interface &#8211; they are all pretty good at detecting what may or may not be spam.</li>
<li>Use multiple emails or use gmail&#8217;s &#8216;+&#8217; email features or mailnull to help sort out those mailing list emails and let you know which emails are being distributed to others.</li>
<li>Do not load images by default or at all.</li>
<li>Do not enable scripting at all!</li>
</ul>
<p>These are just the tip of the iceberg, but you get the idea. Help protect yourself and you&#8217;ll be helping to protect all of us.</p>
<p>&nbsp;</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Poor+Promotional+Practices+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D3129" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/3129/poor-promotional-practices&amp;t=Poor+Promotional+Practices" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/3129/poor-promotional-practices/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a Mac with VMWare vSphere (ESXi) 5</title>
		<link>http://securitymusings.com/article/3110/using-a-mac-with-vmware-vsphere-esxi-5</link>
		<comments>http://securitymusings.com/article/3110/using-a-mac-with-vmware-vsphere-esxi-5#comments</comments>
		<pubDate>Tue, 29 Nov 2011 21:07:14 +0000</pubDate>
		<dc:creator>Peter Hesse</dc:creator>
				<category><![CDATA[article]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Tutorial Tuesday]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vmware macintosh client]]></category>
		<category><![CDATA[vsphere]]></category>
		<category><![CDATA[vsphere macintosh client]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=3110</guid>
		<description><![CDATA[One of the biggest complaints I’ve had with VMWare vSphere and VMWare ESX/ESXi over the last few years is that managing my virtual machines from my Mac computer was a hassle. The VMWare management utilities are all Windows-only, and even the few web-based tools either do not work or are extremely limited from a Mac. While [...]]]></description>
			<content:encoded><![CDATA[<p>One of the biggest complaints I’ve had with VMWare vSphere and VMWare ESX/ESXi over the last few years is that managing my virtual machines from my Mac computer was a hassle. The VMWare management utilities are all Windows-only, and even the few web-based tools either do not work or are extremely limited from a Mac. While it isn’t perfect yet, VMWare vSphere 5 has made it so you can actually do just about anything you need to using a Macintosh computer; you just need to go through a few hurdles.</p>
<p>To enable the administration of your various virtual machines, storage, clusters, datacenters, and the like, you can now use the vSphere 5 Web Client. Before it can be used, it must be authorized; the best instructions I found for this are <a href="http://www.virtualizationadmin.com/articles-tutorials/vmware-esx-and-vsphere-articles/general/getting-starting-vsphere-5-web-client.html">here</a>. Follow the steps in the “<span style="color: #000080;">Authorizing the vSphere Web Client (Server)</span>” section. This is a one-time configuration necessary to enable the vSphere Web Client.</p>
<p>Once authenticated, you will see something that looks very similar to the Windows-based vSphere Client running in your browser.</p>
<p><a href="http://securitymusings.com/wp-content/uploads/2011/11/Screen-shot-2011-11-29-at-3.11.24-PM.png"><img class="aligncenter size-medium wp-image-3111" title="vSphere Web Client" src="http://securitymusings.com/wp-content/uploads/2011/11/Screen-shot-2011-11-29-at-3.11.24-PM-300x168.png" alt="vSphere Web Client" width="300" height="168" /></a></p>
<p>This will satisfy most of your management needs, but it leaves out an all-important capability; the ability to remotely view the console of the systems. There&#8217;s a Console button, but it won&#8217;t work on a Mac. Once you’ve installed a machine, you can typically enable some sort of remote desktop capability in the operating system, but what do you do before then? If you’re running Windows, you use the vSphere client and open a console, but on a Mac, you’re out of luck. Right? Wrong.</p>
<p>There is an under-documented feature of vSphere that allows the capability of opening up VNC connections from the host directly to the console of the virtual machine. To perform this, we first have to enable incoming connections to your vSphere server, as vSphere 5 has an integrated firewall. This is the one step you will actually need to use the Windows vSphere Client; everything else can be done using the Web Client. This step needs to be executed once for each vSphere or ESXi host running virtual machines you want to access using VNC.</p>
<p><span style="text-decoration: underline;">In the Windows vSphere client</span>, choose the host you wish to enable VNC connections on. Choose the <strong>Configuration</strong> tab and on the left choose <strong>Security Profile</strong>. On the right, next to <strong>Firewall</strong> click <strong>Properties…</strong> As VMWare does not include VNC as a protocol, it is not listed as an available option. However the ports allowed by the <strong>gdbserver</strong> protocol will suit our purposes. Check the box next to <strong>gdbserver</strong>. (<em>It is also wise to highlight the <strong>gdbserver</strong> line and click the <strong>Firewall…</strong> button and lock down where you will allow these VNC connections to take place from; in ours I restricted this to our intranet.</em>) Click <strong>OK</strong> and you’ve now enabled the incoming ports to be used for VNC.</p>
<p>Finally, enabling VNC access to the console machines is a matter of setting advanced configuration parameters on each virtual machine, which can only be done when the virtual machine is off. To open up the advanced configuration:</p>
<ul>
<li><span style="text-decoration: underline;">In the Windows vSphere client</span>, choose the machine, click <strong>Edit Settings…</strong>, click the <strong>Options</strong> tab, choose <strong>Advanced-&gt;General</strong> on the left, and click <strong>Configuration Parameters…</strong> on the right.</li>
<li><span style="text-decoration: underline;">In the Web client</span>, choose the machine, click Edit Settings… under the <strong>VM Hardware</strong> section, click <strong>VM Options</strong>, click <strong>Advanced</strong>, and click <strong>Edit Configuration…</strong>.</li>
</ul>
<p>In both cases, you now want to add three rows by clicking the <strong>Add Row</strong> button.</p>
<table style="background-color: #ffffcc; border: 1px solid black;">
<tr>
<td style="padding: 10px; border: 1px solid black;"><strong>Name</strong></td>
<td style="padding: 10px; border: 1px solid black;"><strong>Value</strong></td>
</tr>
<tr>
<td style="font-family: monospace; padding: 10px; border: 1px solid black;">RemoteDisplay.vnc.enabled</td>
<td style="font-family: monospace; padding: 10px; border: 1px solid black;">true</td>
</tr>
<tr>
<td style="font-family: monospace; padding: 10px; border: 1px solid black;">RemoteDisplay.vnc.port</td>
<td style="padding: 10px; border: 1px solid black;"><em>5900-5999 are the “standard” ports, choose one different from other VMs on the host.</em></td>
</tr>
<tr>
<td style="font-family: monospace; padding: 10px; border: 1px solid black;">RemoteDisplay.vnc.password</td>
<td style="padding: 10px; border: 1px solid black;"><em>the VNC password used to access the VNC session; only the first 8 characters are encrypted using the VNC protocol, and weakly at that. Don&#8217;t rely on this for security.</em></td>
</tr>
</table>
<p>Once you’ve added these rows and click OK, you can now use a VNC client to connect to the console of the machine. Power up the machine, and then using Finder on the Mac, choose Go-&gt;Connect to Server (or hit Command-K), and type the following:</p>
<p><strong>vnc://</strong><span style="color: #0000ff;"><em>&lt;ip or name of esxi host&gt;</em></span><strong>:</strong><span style="color: #800080;"><em>&lt;port chosen in configuration settings&gt;</em></span><strong>/</strong></p>
<p>and click <strong>Connect</strong>. You will be prompted for your password, and depending on your client/version of OSX you may receive a warning about how keystroke encryption is not enabled. Accept the warning, and you will see the console of the virtual machine! (And note, since Macs don’t already use the three-finger salute, you can safely just press Ctrl-Alt-Del in that VNC-window to log into Windows systems!)</p>
<p>Once you’ve installed the operating system of choice, and enabled that OS’ remote desktop capability, you may want to disable this VNC access. Just shut down the VM, go back into the advanced options and change the <span style="font-family: monospace;">RemoteDisplay.vnc.enabled</span> setting to <span style="font-family: monospace;">false</span>.</p>
<p>Hopefully at some point soon, VMWare will enable a true web-based console application (which doesn’t require host-specific plugins to be installed) to go with their nice new web client. Until then, this is a reasonable workaround for accessing virtual machines using a Mac.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Using+a+Mac+with+VMWare+vSphere+%28ESXi%29+5+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D3110" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/3110/using-a-mac-with-vmware-vsphere-esxi-5&amp;t=Using+a+Mac+with+VMWare+vSphere+%28ESXi%29+5" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/3110/using-a-mac-with-vmware-vsphere-esxi-5/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>&#8220;I think they already know about the mountains, sir.&#8221;</title>
		<link>http://securitymusings.com/article/3087/i-think-they-already-know-about-the-mountains-sir</link>
		<comments>http://securitymusings.com/article/3087/i-think-they-already-know-about-the-mountains-sir#comments</comments>
		<pubDate>Mon, 31 Oct 2011 21:13:50 +0000</pubDate>
		<dc:creator>Benjamin Hartley</dc:creator>
				<category><![CDATA[data protection]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[risk management]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=3087</guid>
		<description><![CDATA[A few years ago, a friend of mine served in Afghanistan. It was, as he described it, a long and mostly dull duty. When not busy with soldierly duties, he wrote on his blog and took pictures, often of the rather picturesque – to those who didn’t have to traverse it – scenery. At one [...]]]></description>
			<content:encoded><![CDATA[<p>A few years ago, a friend of mine served in Afghanistan. It was, as he described it, a long and mostly dull duty. When not busy with soldierly duties, he wrote on his blog and took pictures, often of the rather picturesque – to those who didn’t have to traverse it – scenery. At one point, however, he was informed that these landscape pictures were, in fact, an operational security violation. Not the ones taken in-camp, but the gorgeous panoramas of Afghani mountains and valleys. The theory was that, using those pictures, insurgents could find their position. My friend’s response was succinct: “I think they already know about the mountains, sir.”</p>
<p>In a previous job, I was charged with creating the security documentation for a particular government system, including the disaster recovery plan. That plan necessarily had to include the power requirements for the system. However, with a certain amount of digging, I discovered that by the standards to which I would be held, the simple fact that the servers used either 110V or 220V power was considered “secure unclassified information” and my report would require rather cumbersome treatment. Mind, what put it over the top was not that the servers required 110V, or that the servers required 220V, but simply that the servers might require one or the other. Or, in other words, that the servers required electricity <em>in the same fashion as every other standard server</em>. The bleedingly, patently, absurdly obvious. But that fact was somehow important for security.</p>
<p>There is a certain tendency, with respect to security, to classify, render confidential, or otherwise obscure every piece of information. I cannot count how many times I have heard “we can’t tell you what kind of encryption we use &#8211; that would make it insecure!” or some other variant. Indeed, there is a certain value to hiding some seemingly obvious pieces of information – the number of servers, the ports being used, the location of a datacenter in a building. These are not without purpose. There is no sense in making an intruder’s job any easier, and great value in making it as trudgingly difficult and annoying for them as possible.</p>
<p>But this must be tempered with a modicum of sense. In risk assessment terms, this means examining a piece of information and determining what level of risk it exposes. There is no sense in restricting the fact that servers run off of electricity; an intruder knows that – it’s not something that takes much knowledge to figure out. There’s no sense in hiding the fact that a base which is in contact with the local population can see the mountains – the insurgents know that. These are obvious things.</p>
<p>And there’s an important psychological component there. By trying to secure patently obvious things, security by obscurity (already a bad idea) becomes security of absurdity. The very concept of security becomes eroded. Yes, it’s easier to treat all information as secure, but the end users won’t view it that way. What they’ll see – correctly – is a security posture which has gone amok and which is not connected to the reality of their work. And they’ll start ignoring it because it’s ridiculous. And then they’ll be ignoring actually sensible security; they’ve lost confidence in the directives and the purpose behind them. And then you have a problem.</p>
<p>The point is to maintain a real connection with the people who have to implement security directives. As I’ve <a href="http://securitymusings.com/article/2487/compromises-and-security">said before</a>, their job is not to keep your infrastructure secure – their job is, well, their job. To keep people following secure processes, they have to be invested. They have to be able to understand <em>why</em> they’re doing these things. You have to acknowledge that they know the mountains are there, and work within that reality.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=%E2%80%9CI+think+they+already+know+about+the+mountains%2C+sir.%E2%80%9D+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D3087" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/3087/i-think-they-already-know-about-the-mountains-sir&amp;t=%E2%80%9CI+think+they+already+know+about+the+mountains%2C+sir.%E2%80%9D" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/3087/i-think-they-already-know-about-the-mountains-sir/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Digital Underground</title>
		<link>http://securitymusings.com/article/3052/the-digital-underground</link>
		<comments>http://securitymusings.com/article/3052/the-digital-underground#comments</comments>
		<pubDate>Sat, 08 Oct 2011 02:56:38 +0000</pubDate>
		<dc:creator>Nick Staples</dc:creator>
				<category><![CDATA[data protection]]></category>
		<category><![CDATA[data theft]]></category>
		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=3052</guid>
		<description><![CDATA[A lot of what we security professionals do includes protecting information from being compromised (especially personal information). The shift towards more profit-driven computer crime has happened swiftly over the last decade, so it should come as no surprise that there is a booming underground market centered almost entirely around compromised financial and personal data. And, [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of what we security professionals do includes protecting information from being compromised (especially personal information). The shift towards more profit-driven computer crime has happened swiftly over the last decade, so it should come as no surprise that there is a booming underground market centered almost entirely around compromised financial and personal data. And, on the other end of the spectrum, we have laws and regulations to help minimize the leakage of this data in the first place. Plenty of research and documentation exists for the many ways we try to protect information, but there isn&#8217;t much (public) info on the underground market populated by the attackers and their associates who trade in illegally-gotten information. So, how do someone&#8217;s bank account credentials grease the wheels of this unique ecosystem?</p>
<p>The Underground Economy: Priceless (<a href="http://www.usenix.org/publications/login/2006-12/openpdfs/cymru.pdf">pdf</a>) touches on the subject in a great amount of detail, even explaining the importance of reputation and the lengths people take to avoid prosecution.</p>
<p>Essentially, public and private servers host communities of individuals who offer their services for a fee. Maybe one person will help someone else cash out an entire bank account (for a 50% cut). And maybe another person will deliver ill-purchased goods to a safe location (for a 30% stake). In the mix are also those who initially did the work (or wrote the code) to capture the information, as well as people who specialize in forging IDs, curious researchers, law enforcement&#8230; the list goes on. Compromised financial data seems to lead to a very deep chain of events that attracts many people with varying skillsets, most of whom are simply offering to perform the same hustle(s) over and over. It is a system where both information and skills are bartered/exchanged and high risk is accepted for high returns on investment.</p>
<p>But not all participants are highly skilled&#8211; there should be some low-hanging fruit in there too, right? Surely, there are people who aren&#8217;t as cautious or who miscalculate their risk of exposure, yet we still have trouble keeping up with even a fraction of the online fraud. While I&#8217;m glad we are focusing efforts on preventing information from being compromised in the first place, I feel like there is a growing opportunity to focus a lot more research on thwarting these high-risk behaviors directly. Sometimes you have to treat both the symptom and the cause.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=The+Digital+Underground+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D3052" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/3052/the-digital-underground&amp;t=The+Digital+Underground" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/3052/the-digital-underground/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crockford&#8217;s History of JavaScript</title>
		<link>http://securitymusings.com/article/2880/crockfords-history-of-javascript</link>
		<comments>http://securitymusings.com/article/2880/crockfords-history-of-javascript#comments</comments>
		<pubDate>Tue, 28 Jun 2011 18:56:54 +0000</pubDate>
		<dc:creator>Joey Tyson</dc:creator>
				<category><![CDATA[cool]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Tutorial Tuesday]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2880</guid>
		<description><![CDATA[Ever wonder about how we came to have the technologies and programming languages used today? Yahoo&#8217;s senior JavaScript architect Douglas Crockford gave a presentation in early 2010 that traces the developments which brought us the beloved and hated language that powers client-side web behaviors. The video is nearly two hours and only the first in [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wonder about how we came to have the technologies and programming languages used today? Yahoo&#8217;s senior JavaScript architect Douglas Crockford gave a presentation in early 2010 that traces the developments which brought us the beloved and hated language that powers client-side web behaviors. The video is nearly two hours and only the first in a series on JavaScript, but Crockford relates many interesting stories about the history of computing and notes patterns in how technology tends to develop. Check it out if you want to learn more about the background of that quirky yet powerful bit of tech we call JavaScript:</p>
<p><a href="http://developer.yahoo.com/yui/theater/video.php?v=crockonjs-1">Crockford on JavaScript: The Early Years</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Crockford%E2%80%99s+History+of+JavaScript+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D2880" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/2880/crockfords-history-of-javascript&amp;t=Crockford%E2%80%99s+History+of+JavaScript" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2880/crockfords-history-of-javascript/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Security is More Than Cryptography</title>
		<link>http://securitymusings.com/article/2788/security-is-more-than-cryptography</link>
		<comments>http://securitymusings.com/article/2788/security-is-more-than-cryptography#comments</comments>
		<pubDate>Fri, 20 May 2011 18:43:09 +0000</pubDate>
		<dc:creator>Joey Tyson</dc:creator>
				<category><![CDATA[data protection]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2788</guid>
		<description><![CDATA[A vulnerability demonstration this week involving a technology that&#8217;s generating buzz reminded me of an important concept: Security is as much about implementation as the underlying technologies you use. You can put together several &#8220;secure&#8221; components and still build an insecure system. The example that reminded me of this relates to Bitcoin, a somewhat controversial [...]]]></description>
			<content:encoded><![CDATA[<p>A vulnerability demonstration this week involving a technology that&#8217;s generating buzz reminded me of an important concept: Security is as much about implementation as the underlying technologies you use. You can put together several &#8220;secure&#8221; components and still build an insecure system.</p>
<p>The example that reminded me of this relates to Bitcoin, a somewhat controversial form of digital currency that&#8217;s recently been discussed by several high-profile media outlets. I&#8217;m not going to talk about any specific merits or problems associated with Bitcoin, but note that it relies on mathematically solid encryption schemes to allow transactions while preventing theft.</p>
<p>However, regardless of how strong your encryption, an insecure application using that encryption can introduce easily exploitable vulnerabilities. And Adam Baldwin of <a href="http://evilpacket.net">evilpacket</a> has shown how this can happen with Bitcoin by creating a <a href="http://evilpacket.net/2011/may/17/stealing-bitcoins/">video demo of XSS/CSRF problems</a> in a Bitcoin exchange site. These application-level issues could enable an attacker to steal Bitcoins without cracking the basic cryptography employed.</p>
<p>Using proven security technologies is important, but it&#8217;s only one part of securing your organization. I still remember my surprise when I first discovered that an &#8220;unbreakable&#8221; cipher did exist: the <a href="http://www.cryptosmith.com/archives/80">one-time pad</a>. But using one-time pads is often impractical, and they are still susceptible to compromise from human factors. Building secure business operations requires understanding the risks at each level of a system and having a defense-in-depth response.</p>
<p>At Gemini, we can help you assess those risks, architect strategies to handle them, then apply those solutions in your organization to produce measurable security improvements. Don&#8217;t simply trust in &#8220;encryption&#8221; or WAFs to protect your data &#8211; let us help you understand the big picture of your company&#8217;s security <a href="http://geminisecurity.com/company/contact">today</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Security+is+More+Than+Cryptography+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D2788" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/2788/security-is-more-than-cryptography&amp;t=Security+is+More+Than+Cryptography" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2788/security-is-more-than-cryptography/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>OpenVPN on Android</title>
		<link>http://securitymusings.com/article/2766/openvpn-on-android</link>
		<comments>http://securitymusings.com/article/2766/openvpn-on-android#comments</comments>
		<pubDate>Thu, 12 May 2011 18:39:43 +0000</pubDate>
		<dc:creator>Tim Donaworth</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Technology & Tool Thursday]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2766</guid>
		<description><![CDATA[OpenVPN isn’t anything new. But today I finally overcame a hurdle I had with trying to connect to our company VPN via my Android device. The OpenVPN for android project isn’t anything new; it’s actually been in the works since late 2009 if you follow it all the way back through a couple forks. The [...]]]></description>
			<content:encoded><![CDATA[<p>OpenVPN isn’t anything <a href="http://securitymusings.com/article/1942/openvpn-and-two-factor-authentication">new</a>. But today I finally overcame a hurdle I had with trying to connect to our company VPN via my Android device. The <a href="http://code.google.com/p/android-openvpn-installer/">OpenVPN for android</a> project isn’t anything new; it’s actually been in the works since late 2009 if you follow it all the way back through a couple forks.</p>
<p>The main issue that was holding me up wasn’t anything to do with Android-OpenVPN port itself. It was simply to do with the Android device I was using (thanks Samsung for crapping on us with the Galaxy S devices). A recent ROM update finally put the final pieces I needed into motion for being able to utilize OpenVPN. The main holdback was the lack of tun in the kernel of my Android build.</p>
<p><strong><span id="more-2766"></span></strong>Anyways, if you’ve been needing VPN access, or specifically need the OpenVPN variant they give it a shot. Outlined below is what you’ll need:</p>
<ul>
<li>A rooted Android device – You may also need an upgraded rom. The project is built using cynogen 6. If your device supports this ROM or one of its variants I highly recommend it. But if you’re like me and on a Samsung device or other unsupported device, look for upgrades at <a href="http://xda-developers.com">XDA-Developers</a>.</li>
<li>An OpenVPN configuration file. You’ll most likely have this along with your desktop client. (client.ovpn)</li>
<li>Android-openvpn-installer – Available <a href="http://code.google.com/p/android-openvpn-installer/downloads/detail?name=OpenVPN-Installer-0.2.3.apk&amp;can=2&amp;q=">here </a>or from the <a href="https://market.android.com/details?id=de.schaeuffelhut.android.openvpn.installer&amp;feature=search_result">Android Market</a>– this is mostly used to install the OpenVPN binaries onto your device.</li>
<li>Android-openvpn-settings – This (and this) is what you’ll actually use in Android to start/stop/configure the VPN.</li>
<li>A way to transfer files to your device’s SD card or internal storage (for those of you without expandable storage).</li>
</ul>
<p>&nbsp;</p>
<ol>
<li>Begin by rooting your device if it’s not done already. Look towards XDA-Developers if you need help with this.</li>
<li>Install the OpenVPN-Installer either from the <a href="http://code.google.com/p/android-openvpn-installer/downloads/detail?name=OpenVPN-Installer-0.2.3.apk&amp;can=2&amp;q=">Google Code page</a>, or directly from the <a href="https://market.android.com/details?id=de.schaeuffelhut.android.openvpn.installer&amp;feature=search_result">Android Market</a>.
<ol>
<li>Run the installer and remember which path you choose to install OpenVPN into. I chose the &#8220;<strong>/system/bin</strong>&#8221; directory. You’ll need to enter this directory into OpenVPN-Settings later.</li>
<li>If it installs correctly, it will show a green plus button and continue on.</li>
</ol>
</li>
<li>You’ll now need to transfer your OpenVPN configuration file to your device’s external storage. Create a folder on the root of the storage called &#8220;<strong>openvpn</strong>&#8221; and place your configuration file here.</li>
<li>Install OpenVPN-Settings either from the <a href="http://code.google.com/p/android-openvpn-settings/downloads/detail?name=OpenVPN-Settings-0.4.7.apk&amp;can=2&amp;q=">Google Code page</a>, or directly from the<a href="https://market.android.com/details?id=de.schaeuffelhut.android.openvpn&amp;feature=search_result"> Android Market</a>.
<ol>
<li>Once installed, you’ll need to configure it. <strong>Menu</strong> (button)<strong> -&gt; Advanced</strong></li>
<li>Now you’ll want to configure the two paths: “<strong>Path to configurations</strong>” and &#8220;<strong>Path to openvpn binary</strong>&#8220;</li>
<li>Select them one at a time and enter the required paths. For me, the configurations path ended up being &#8220;<strong>/sdcard/openvpn</strong>&#8221; and the binary path was &#8220;<strong>/system/bin/openvpn</strong>&#8220;.</li>
</ol>
</li>
<li>Now return to OpenVPN settings by using your back button and you should see a connection listed with the same name as your configuration file.</li>
<li>Enable the VPN by pressing the OpenVPN checkbox, once it’s enabled, press the checkbox for the connection you want to connect to.</li>
<li>You’ll need to enter your username and password, but the notification will most likely be in the top bar, so pull it down, click the notification, and enter your credentials. (You’ll have to do this every time you connect, no saving here).</li>
<li>Enjoy OpenVPN goodness!</li>
</ol>
<p>They’ve made the process of using it pretty straight forward, especially for what it used to be. Feel free to check out the Google Code sites if you would like to contribute or have any issues.</p>
<p>One big caveat on all of this as Uncle Ben once said – &#8220;with great power comes great responsibility&#8221; so be sure to continue using safe (read secure) computing practices, as once you’re on the VPN, your device is now connected to your company&#8217;s VPN. In most cases, this is useful for communicating with exchange servers or shared file access. But be sure to disconnect when you’re done using it and ensure you keep a device password.</p>
<p>Links:</p>
<p>OpenVPN-Installer &#8211; <a href="http://code.google.com/p/android-openvpn-installer/downloads/detail?name=OpenVPN-Installer-0.2.3.apk&amp;can=2&amp;q=">Code </a>| <a href="https://market.android.com/details?id=de.schaeuffelhut.android.openvpn.installer&amp;feature=search_result">Market</a></p>
<div class="wp-caption alignnone" style="width: 160px"><a rel="attachment wp-att-2772" href="http://securitymusings.com/article/2766/openvpn-on-android/openvpn-installer"><img class="alignleft size-full wp-image-2772" title="openvpn-installer" src="http://securitymusings.com/wp-content/uploads/2011/05/openvpn-installer.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">android openvpn-installer</p></div>
<p>OpenVPN-Settings &#8211; <a href="http://code.google.com/p/android-openvpn-settings/downloads/detail?name=OpenVPN-Settings-0.4.7.apk&amp;can=2&amp;q=">Code </a>| <a href="https://market.android.com/details?id=de.schaeuffelhut.android.openvpn&amp;feature=search_result">Market </a></p>
<div class="wp-caption alignnone" style="width: 160px"><a rel="attachment wp-att-2774" href="http://securitymusings.com/article/2766/openvpn-on-android/openvpn-settings-2"><img class="alignleft size-full wp-image-2774" title="openvpn-settings" src="http://securitymusings.com/wp-content/uploads/2011/05/openvpn-settings1.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">android openvpn-settings</p></div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=OpenVPN+on+Android+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D2766" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/2766/openvpn-on-android&amp;t=OpenVPN+on+Android" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2766/openvpn-on-android/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Improving Platform Fragmentation</title>
		<link>http://securitymusings.com/article/2668/2668</link>
		<comments>http://securitymusings.com/article/2668/2668#comments</comments>
		<pubDate>Fri, 01 Apr 2011 18:26:35 +0000</pubDate>
		<dc:creator>Tim Donaworth</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2668</guid>
		<description><![CDATA[A little bird was heard saying that Google is finally taking a stance to try and reduce the amount of fragmentation its platform has suffered. We had a couple people at CTIA last week &#8212; people whose words carry weight &#8212; tell us off the record that the next major version of Android would take [...]]]></description>
			<content:encoded><![CDATA[<p>A little bird was heard saying that Google is finally taking a stance to try and reduce the amount of fragmentation its platform has suffered.</p>
<blockquote><p>We had a couple people at CTIA last week &#8212; people whose words carry weight &#8212; tell us off the record that the next major version of Android would take big strides toward stopping the ugly trend toward severe fragmentation that has plagued the platform for much of this and last year. You know, the kind of fragmentation that has already left users running not one, not two, not three, but four distinct versions of the little green guy (1.5, 1.6, 2.0, and 2.1) depending on a seemingly arbitrary formula of hardware, carrier, region, software customization, and manufacturers&#8217; ability to push updates in a timely fashion. Put simply, Google&#8217;s been iterating the core far faster than most of its partners have been able to keep up. &#8211; <a href="http://www.engadget.com/2010/03/29/exclusive-android-froyo-to-take-a-serious-shot-at-stemming-plat/">Engadget</a></p></blockquote>
<p>Why should this matter? Well for one, having your user base spread out across multiple different versions of your OS or application can make patching updates a very serious issue. Using Google’s Android as the main example here – if you have a vulnerability found in, say, version 1.6 of your product, and you patch it in version 2.0 (Don’t ask. I don’t know where v1.7-v1.9 are either.), then having users update would be a natural progression, right? Well what if those users can’t upgrade due to one reason or another (carrier limitations). Well then you have the problem Android has been facing since launch.</p>
<p>Even the latest forms of Android vulnerabilities are only currently fully patched if you have v2.2 or better. So where does that leave all the people with v1.5-v2.1. Well they’re forced to find some other means of upgrading if their device or carrier won’t allow them to update. But let’s face it, not everyone has the means to root their device, dig through the numerous posts on <a href="http://xda-developers.com">xda-developers</a>, and find a working rom of an updated version of Android. This entire process also shoots itself in the foot for most people in the corporate world where rooting your phone automatically takes it out of compliance with most security policies. Keeping your OS, Software, or Services patched and updated is one of the most effective ways to fight against vulnerabilities (those that are out of your control that is).</p>
<p>The fact that Google has, if anything, at least hinted at the fact that they’re going to take measures to help improve the process and outline of how the platform will be distributed and updated at least shows that they’ve recognized the problem, and might even go back and try and fix those in need now. But at least something can be done for future platforms to ensure everyone stays up-to-date (read: secure).</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Android+Improving+Platform+Fragmentation+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D2668" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/2668/2668&amp;t=Android+Improving+Platform+Fragmentation" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2668/2668/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google&#8217;s Two-Factor Authentication &#8211; Revisited</title>
		<link>http://securitymusings.com/article/2532/googles-two-factor-authentication-revisited</link>
		<comments>http://securitymusings.com/article/2532/googles-two-factor-authentication-revisited#comments</comments>
		<pubDate>Fri, 25 Feb 2011 20:15:14 +0000</pubDate>
		<dc:creator>Tim Donaworth</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Technology & Tool Thursday]]></category>
		<category><![CDATA[Tutorial Tuesday]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2532</guid>
		<description><![CDATA[A couple of weeks ago, we brought to your attention the newly released two-factor authentication that Google rolled out for all of its web-based products (Gmail, Google Docs, Google Calendar, etc). So now that it’s been out for a few weeks, and it’s finally had a chance to make its rounds to everyone’s accounts, let’s take a step back and see how it actually works.]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago, we brought to your attention the newly released <a href="http://www.google.com/support/accounts/bin/static.py?page=guide.cs&amp;guide=1056283&amp;topic=1056284">two-factor authentication</a> that Google rolled out for all of its web-based products (Gmail, Google Docs, Google Calendar, etc.). So now that it’s been out for a few weeks, and it’s finally had a chance to make its rounds to everyone’s accounts, let’s take a step back and see <a href="http://www.google.com/support/accounts/bin/static.py?page=guide.cs&amp;guide=1056283&amp;topic=1056284">how it actually works</a>.</p>
<p>We’ve talked about the <a href="http://securitymusings.com/article/182/wish-it-was-two-factor">importance</a> of two-factor authentication in the past, and even a few other <a href="http://securitymusings.com/article/341/world-of-warcraft-offers-one-time-passwords">areas</a> where it’s <a href="http://securitymusings.com/article/1942/openvpn-and-two-factor-authentication">implemented</a>.</p>
<p>Google did an excellent job at throwing together some tutorials on how to set-up everything and ensure your experience is pleasant. I would go into a detailed tutorial on all of this myself, but really I doubt I could do a better job than they did. But for those who just wanted a quick refresher, here goes. You can also read a fairly straight-forward take on everything directly from Google themselves and learn how it works.</p>
<ol>
<li><a href="http://www.google.com/support/accounts/bin/static.py?page=guide.cs&amp;guide=1056283&amp;topic=1056285">Setup</a></li>
<li><a href="http://www.google.com/support/accounts/bin/static.py?page=guide.cs&amp;guide=1056283&amp;topic=1102160">Signing in with verification codes</a></li>
<li><a href="http://www.google.com/support/accounts/bin/static.py?page=guide.cs&amp;guide=1056283&amp;topic=1102160"></a><a href="http://www.google.com/support/accounts/bin/static.py?page=guide.cs&amp;guide=1056283&amp;topic=1056286">Signing in using application-specific passwords</a></li>
</ol>
<p><strong><span id="more-2532"></span></strong><br />
<h2>Setup</h2>
<p>Go to your <a href="https://www.google.com/accounts/SmsAuthConfig" target="_blank">Accounts settings page</a> and look for the <strong>Using 2-step verification</strong> link. If you have the link, click it and start the setup process.</p>
<p>If you do not see the link and you are a Google Apps user, you might have to access the 2-step verification setup through a <a href="http://www.google.com/support/a/bin/answer.py?hl=en&amp;answer=175197#setup" target="_blank">special URL</a>. It is also possible that your domain administrator has not yet set it up for your organization. Check with your domain administrator to find out.</p>
<p>Once you have it enabled you’ll want to choose your primary form of contact in order to determine your verification code. If you have a &#8220;smart device&#8221; you can download an app for it which will provide an RSA key generator and generate random verification codes directly on your device.</p>
<p>Depending on what flavor of OS you have on your device, you’ll need to grab it from a different location.</p>
<ul>
<li><strong>Android</strong> – Search for Google Authenticator from the Marketplace, or install it <a href="https://market.android.com/details?id=com.google.android.apps.authenticator">remotely</a></li>
<li><strong>iThings (iPhone, iPod Touch, iPad)</strong> – Search for Google Authenticator in the App Store.</li>
<li><strong>BlackBerry</strong> &#8211; Browse to <a href="http://m.google.com/authenticator">http://m.google.com/authenticator</a> from your device to download and install.</li>
<li><strong>WinMo / Win Phone 7</strong> – Sorry, Google simply doesn’t love you yet, but you can still have the codes sent to you via SMS or listen to a voice message. This can be found on the <a href="http://www.google.com/support/accounts/bin/static.py?page=guide.cs&amp;guide=1056283&amp;topic=1056285">Setup Page</a>.</li>
</ul>
<h2>Signing in with verification codes</h2>
<p>Once you have the Google Authenticator setup (or enabled SMS / voice messaging, again sorry WinMo guys, I feel your pain), you’re ready to roll with two-factor authentication. Once the set-up is complete, you’ll be logged out automatically. Go to login again, and suddenly you’re not required to enter a verification code. Welcome to the second factor!</p>
<p>These codes are generated every 30 seconds by the Google Authenticator using one-time passcodes, which are generated using open standards developed by the <a href="http://www.openauthentication.org/">Initiative for Open Authentication (OATH)</a> (which is unrelated to<span> <a href="http://oauth.net/">OAuth</a>). These implementations support the HMAC-Based One-time Password (HOTP) algorithm specified in <a href="http://tools.ietf.org/html/rfc4226">RFC 4226</a> and the Time-based One-time Password (TOTP) algorithm currently in <a href="http://www.ietf.org/id/draft-mraihi-totp-timebased-06.txt">draft</a>.</span></p>
<p>The applications support:</p>
<ul>
<li style="color: black; line-height: normal;">Multiple accounts</li>
<li style="color: black; line-height: normal;">Support for 30-second TOTP codes</li>
<li style="color: black; line-height: normal;">Support for counter-based HOTP codes</li>
<li style="color: black; line-height: normal;">Manual key entry of <a href="http://tools.ietf.org/html/rfc3548">RFC 3548</a> base32 key strings</li>
</ul>
<h2>Signing in using application-specific passwords</h2>
<p>Great, now you’ve added a 2<sup>nd</sup> factor to your authentication (something you <strong>HAVE</strong>). But what about all the other areas where you interact with your Google Account? Perhaps you use GTalk, or access your email via a POP/IMAP. Well, Google has thought of that as well, and I personally like the way they implemented this.</p>
<p>Google has implemented a per-application password generation process that links a randomly generated password to your Google account. So what you do is generate a password, add a label associating what application or service you’ll be using it for (so that you can track it later), and then you plug that password into the application or service where you normally would have used your standard Google account password. The key here is utilizing your password management of the app or tool where you’re using this. You’d mostly want to enable the &#8220;remember my password&#8221; on these tools, as most of you probably already do. The reason I think this is a little safer is that you can now remotely wipe those passwords.</p>
<p>You have the ability to revoke passwords from your account settings page on Google. So let’s say you access your Gmail from your laptop through Thunderbird. Your laptop is now lost or stolen. Along with other measures you should have already taken to protect your data, you can now simply revoke the password you’ve assigned to Thunderbird, and it has now just lost access to your email.</p>
<p>You do need to be careful, though, as I found out already; when you generate the passwords for your apps, you only have one shot of viewing the password. Once you click the &#8220;hide&#8221; button, it’s gone forever, or at least out of sight forever. It’s a password generator, not manager. So now I actually have two different passwords for my Thunderbird access; one for incoming mail, and one for outgoing mail (SMTP). As a bonus, it provides a little extra security as well.</p>
<p>The random passwords that are generated consist of 16 characters and utilize lowercase letters and numbers, so they’re complex enough to resist most brute force attacks.</p>
<h2>Conclusion</h2>
<p>So there you have it. If you’re a business utilizing Google Apps, or an entrepreneur using Google as your email and document repository, I’d seriously consider enabling the two-factor authentication that Google has rolled out.</p>
<p>But WHY should you enable this, you might ask? Well, consider the scenario where you’ve used strong passwords, you’ve ensured that you haven’t reused the same password, and you’ve done everything to protect yourself. You’re still limited to a single point of failure. No matter how paranoid secure you are, the PASSWORD is still your weakest link. Key loggers, network sniffers, or just someone eaves-dropping is all it takes. If that one item is out in the open, then you’re doomed. But, add now a 2<sup>nd</sup> form of authentication, via something you have, along with something you know. You know your password, and now you also have something&#8211;whether that be a digital certificate in the form of secure tokens, or in this scenario a randomly-generated code that is only available on your device (and for a limited time, at that). So, not only would someone need to know your password, they’d need to have access to your phone (which I hope you’re also protecting with a password, swipe-pattern, or pin).</p>
<p>And let’s not forget the added bonus that Google is offering with individual application password generation, and the ability to remotely revoke those passwords. It’s like getting your cake and being able to eat it too!</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Google%E2%80%99s+Two-Factor+Authentication+%E2%80%93+Revisited+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D2532" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/2532/googles-two-factor-authentication-revisited&amp;t=Google%E2%80%99s+Two-Factor+Authentication+%E2%80%93+Revisited" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2532/googles-two-factor-authentication-revisited/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

