<?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>Something better to do &#187; OpenID</title>
	<atom:link href="http://blog.kamens.us/tag/openid/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kamens.us</link>
	<description>Musings of an indignant mind</description>
	<lastBuildDate>Mon, 06 Feb 2012 22:35:18 +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>Why I just spent three days changing my passwords on over 300 Web sites</title>
		<link>http://blog.kamens.us/2009/09/29/why-i-just-spent-three-days-changing-my-passwords-on-over-300-web-sites/</link>
		<comments>http://blog.kamens.us/2009/09/29/why-i-just-spent-three-days-changing-my-passwords-on-over-300-web-sites/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 06:18:22 +0000</pubDate>
		<dc:creator>jik</dc:creator>
				<category><![CDATA[Computer Security]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[EasyPG]]></category>
		<category><![CDATA[GPG]]></category>
		<category><![CDATA[OpenID]]></category>
		<category><![CDATA[password managers]]></category>
		<category><![CDATA[password reuse]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[picking passwords]]></category>

		<guid isPermaLink="false">http://blog.kamens.brookline.ma.us/~jik/wordpress/?p=876</guid>
		<description><![CDATA[&#8220;Hi, my name is jik, and I&#8217;m a password reuser.&#8221; &#8220;Hi, jik!&#8221; If there isn&#8217;t a &#8220;Password Reusers Anonymous&#8221;, there probably should be. By &#8220;password reuse,&#8221; I mean using the same password over and over on multiple Web sites.  It&#8217;s a really bad idea, and I should know that better than most, since I&#8217;ve worked [...]]]></description>
			<content:encoded><![CDATA[<p><em>&#8220;Hi, my name is jik, and I&#8217;m a password reuser.&#8221;</em></p>
<p><em>&#8220;Hi, jik!&#8221;</em></p>
<p>If there isn&#8217;t a &#8220;Password Reusers Anonymous&#8221;, there probably should be.</p>
<p>By &#8220;password reuse,&#8221; I mean using the same password over and over on multiple Web sites.  It&#8217;s a really bad idea, and I should know that better than most, since I&#8217;ve worked on and off in the field of computer security for over two decades.</p>
<div>It&#8217;s a bad idea because lots of Web sites don&#8217;t protect passwords like they&#8217;re supposed to.  A properly designed Web site doesn&#8217;t store your actual password; only a cryptographic hash of the password is kept.  However, there are all too many Web sites which <em>do</em> keep your actual password, and so if you use the same password on multiple sites, you make yourself vulnerable in several ways:</div>
<div>
<ol>
<li>Operators of a bad Web site could use users&#8217; passwords to log on to other sites where the users have accounts.  If you think this would never happen, take a look at how many credit-card skimming operations are perpetrated by store owners, waiters, etc. (including <a href="http://www.universalhub.com/node/11645" target="_blank">this one</a>, which I personally got snared in through the use of my corporate AmEx card).</li>
<li>An operator of the site could sell its database of email addresses and passwords to hackers, who could then use them to make large-scale attempts to break into accounts on other sites.</li>
<li>Even without the cooperation of the Web site&#8217;s operators, a hacker could break into the site, steal the account database, and use it as described above.</li>
<li>Many of these Web sites will email your password to your email account if you tell the site that you&#8217;ve forgotten it.  If someone breaks into your email account, they can look at old messages to see what sites you have accounts at, tell one of those sites to email your password, and then use that password to log into the <em>other</em> sites you&#8217;ve used.</li>
<li>If you are the kind of person who has to worry about keeping things private from family members, the problem above is even worse, since they can look in your browser history, not just old messages in your mailbox, to find out what sites you&#8217;ve visited and may have accounts at.</li>
</ol>
</div>
<p>But the biggest problem by far, which dwarfs all the problems listed above, is: <strong>If your password is somehow compromised, then you need to change it on every Web site on which you&#8217;ve used it.</strong></p>
<p>If using the same password on multiple Web sites is such a bad idea, then why do so many people do it?  Simply put, because it&#8217;s easier to remember one password than it is to create and remember hundreds of them.  And if you can&#8217;t remember them, then you need to write them all down on a list somewhere, and find a way to both keep the list secure and make it accessible whenever and wherever you need it.  There are some available tools to make this easier, but the best ones cost money, and not many people are savvy enough to go looking for tools to handle this sort of thing.</p>
<p>I fell into the password reuse trap years ago, when data breach incidents were few and far between and tools for managing passwords didn&#8217;t exist.  Old habits die hard, and I never broke this one.  And so, since last week, when the password I&#8217;ve been using as my standard third-party Web site password for well over a decade was compromised (I will post later about <em>how</em> it was compromised), I&#8217;ve had to spend every available moment changing my password on over 300 Web sites.  Believe me, it took a while.</p>
<p><span id="more-876"></span>In the process, I learned some very scary things about the state of password security on the Web.  Sites that store passwords in plain-text, email them to you upon demand, limit passwords to insecure lengths or severely restrict what characters can appear in them, don&#8217;t support changing passwords at all, claim to support it but it doesn&#8217;t actually work&#8230; I saw it all, and I must say I was surprised.  I&#8217;ll be shaming the guilty in a separate blog posting, but in the meantime, I want to offer the following advice to others:</p>
<ol>
<li>If you&#8217;re using the same password on multiple Web sites, then <strong>stop it right now.</strong> Really.</li>
<li>One option to consider for limiting the number of passwords you need to remember is <a href="http://openid.net/" target="_blank">OpenID</a>.  However, it isn&#8217;t supported everywhere, so you&#8217;ll probably have to use a different approach in addition to this one.  Therefore, it might not be worth bothering with it.</li>
<li>Another option is to use a tool such as <a href="http://www.sxipper.com/" target="_blank">Sxipper</a> or <a href="http://www.mitto.com/" target="_blank">Mitto</a> to manage your passwords.  I&#8217;m not endorsing those two particular tools; they&#8217;re just two that I know about; you can find many more by Googling for &#8220;password manager.&#8221;  I write a bit more about password managers <a href="#password-managers">below</a>.</li>
<li>The solution I ended up settling on was to classify the sites I use into three tiers &#8212; trusted, untrusted secure, and untrusted &#8212; assign a different type of password to sites in each tier (more on this <a href="#picking-passwords">below</a>), and keep track of all the passwords in a file on my hard disk encrypted with <a href="http://www.gnupg.org/" target="_blank">GPG</a>.  This turned out to be somewhat easier than expected because the newest version of GNU Emacs (the text editor I use) <a href="http://www.emacswiki.org/emacs/EasyPG" target="_blank">knows how to handle &#8220;.gpg&#8221; files automatically</a>, so it automatically prompts me for my GPG passphrase and decrypts the password file each time I load it into Emacs, and encrypts it automatically when I make changes and save it.  I also use Sxipper with Firefox at home (but not at work) to reduce the frequency with which I have to consult my encrypted password file.</li>
</ol>
<h2><a name="password-managers">More on password managers</a></h2>
<p>Password managers come in three varieties:</p>
<ul>
<li><strong>Local &#8211;</strong> stores your data locally on a single computer and makes it accessible there only (sometimes for just one type of browser, sometimes for different types)</li>
<li><strong>Local with export</strong> &#8212; stores your data locally but allows it to be exported and copied to other computers and sometimes to other types of devices, e.g., SmartPhones.  Might also allow the data to be stored on a thumb drive so that you can take your passwords with you simply by unplugging the thumb drive and plugging it into a different computer.</li>
<li><strong>Online</strong> &#8212; stores your data on a central server and makes it available to multiple computers, perhaps multiple types of browser, and perhaps different devices such as SmartPhones as well.</li>
<li><strong>Algorithmic</strong> &#8212; generates random passwords on the fly passed on a single &#8220;master password&#8221; and the URL of the Web site.  See, for example, http://passwordmaker.org/.</li>
</ul>
<p>The biggest advantage of a local password manager is that you aren&#8217;t trusting your data to someone else.  Whether you are willing to trust a third-party on the Internet with all of your account usernames and passwords is something you will need to decide after carefully examining the provider&#8217;s security and privacy policies and documentation and then deciding whether you actually believe them.  Anybody can claim that their servers are secure and their data is encrypted, but what if they&#8217;re lying?</p>
<p>The biggest advantage of an online password manager is that they (supposedly) back up the data for you, you don&#8217;t have to worry about losing it if you lose your computer, and it is extremely easy to use it from multiple computers and perhaps even different kinds of devices.</p>
<p>The biggest advantage of an algorithmic password manager is that there&#8217;s no list of passwords to store or copy between computers.  The biggest disadvantage is that it will have trouble at sites with stupid restrictions on passwords, such as the many Web sites I list in my <a href="/pwshame">Password Security Hall of Shame</a>.  In my opinion, algorithmic password generators are a clever idea, but one that falls just a little short of good enough in the real world for people who use lots of Web sites. (Thanks to Robert Munro for bringing up this type of password manager.)</p>
<p>If you want to try a password manager, then first decide which type you&#8217;re comfortable using, then decide what features you want (Which browsers does it need to work with?  Does it need to support your SmartPhone?  Do you want thumb drive support?  Do you want the data to be encrypted automatically?  Do you want it to require you to enter a master password every time it authenticates you anywhere?  Do you need it to let you export your data and import it elsewhere?  Etc.), then Google for &#8220;password managers&#8221; and look for one that has the features you want.  You may also wish to search for &#8220;password manager comparisons&#8221; and take a look at some of the results.</p>
<p>If you do use a password manager, then you need to either (a) keep track of your passwords outside of the password manager as well, e.g., in an encrypted file, and just use the password manager as a convenience tool so you don&#8217;t have to constantly look up passwords in the file, or (b) make sure that the data in the password manager is backed up regularly, <em>and</em> that the password manager will let you export all of your passwords in plain-text should you need to do so (e.g., when you decide to stop using the password manager), so you won&#8217;t get locked out of all of your sites.</p>
<h2><a name="picking-passwords">More on picking passwords</a></h2>
<p>As mentioned above, I divide the Web sites I use into three tiers, and I use a different method for choosing the password to assign to sites in each tier.</p>
<p>A <strong>trusted</strong> site is one which I use very often, which I believe stores passwords correctly (i.e., as cryptographic hashes), and which otherwise seems to have a clue about security.  I decided to us the same password for all of these sites, but at the same time, I keep the number of such sites to a minimum to reduce my exposure and the number of passwords I&#8217;ll need to change if the password is compromised.  Thus far, I&#8217;ve put only three sites out of more than 300 in this tier, and I maintain two of them <img src='http://blog.kamens.us/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
<p>An <strong>untrusted secure</strong> site is one that I believe stores passwords correctly, but I&#8217;m not absolutely certain and it isn&#8217;t worth the effort of finding out.  For these sites, I use an <em>algorithmic password</em>, i.e., I start with the same template password and then modify it based on the domain name of the site.  For example, a simple algorithm (no, it&#8217;s <em>not</em> the one I use!) might be to take the first and last letters of the domain name and wrap them around the template, such that the template password &#8220;fRoOdLe5&#8243; and the Web site &#8220;www.microsoft.com&#8221; would yield the password &#8220;mfRoOdLe5t&#8221;.  Algorithmic passwords make it unnecessary to remember different passwords for every site, and they increase security to some extent, because a hacker using a stolen password list to attempt large-scale break-ins on other sites probably isn&#8217;t going to take the time to look at all the passwords and try to figure out people&#8217;s algorithms.  However, it doesn&#8217;t protect you very well from targeted attacks, so if you&#8217;ve got a roommate you don&#8217;t trust, I wouldn&#8217;t advise it.</p>
<p>An <strong>untrusted</strong> site is just what it sounds like.  In some cases, I know for a fact that the site stores passwords in plain-text, and in others, I suspect as much or haven&#8217;t bothered to find out because I use the site so infrequently that it just doesn&#8217;t matter.  For each of these sites, I use a program to generate a different ten-character random password consisting of eight letters plus two numbers.  I had to make the password shorter than that at some sites which stupidly limit passwords to fewer than ten characters (ugh!).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kamens.us/2009/09/29/why-i-just-spent-three-days-changing-my-passwords-on-over-300-web-sites/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

