<?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>Cupfighter.net &#187; Passwords</title>
	<atom:link href="http://www.cupfighter.net/index.php/tag/passwords/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cupfighter.net</link>
	<description>A blog by Schuberg Philis colleagues</description>
	<lastBuildDate>Thu, 09 Feb 2012 14:27:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Does XKCD or Jason Kendall get &#8220;it&#8221;?</title>
		<link>http://www.cupfighter.net/index.php/2011/08/xkcd-or-coolacid/</link>
		<comments>http://www.cupfighter.net/index.php/2011/08/xkcd-or-coolacid/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 18:26:39 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Jason Kendall]]></category>
		<category><![CDATA[Passwords]]></category>
		<category><![CDATA[Reply]]></category>
		<category><![CDATA[XKCD]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1347</guid>
		<description><![CDATA[This post is a reply to this blog post by Jason Kendall. It all started with this cartoon: This cartoon basically started a hype about how XKCD was getting “it”. Jason posted a blog post stating that he did not agree with XKCD since: While four words in theory have 44 bits of entropy (244), [...]]]></description>
			<content:encoded><![CDATA[<p>This post is a reply to <a title="Response to XKCD - Passwords" href="http://www.coolacid.net/20110810239/Latest/response-to-xkcd-passwords" target="_blank">this blog post </a> by <a title="@coolacid on Twitter" href="http://www.twitter.com/coolacid" target="_blank">Jason Kendall</a>.</p>
<p>It all started with this cartoon:</p>
<p><a title="XKCD Password Strenght" href="http://xkcd.com/936/" target="_blank"><img src="http://imgs.xkcd.com/comics/password_strength.png" alt="" width="516" height="419" /></a></p>
<p>This cartoon basically started a hype about how XKCD was getting “it”. Jason posted a blog post stating that he did not agree with XKCD since:</p>
<ul>
<li>While four words in theory have 44 bits of entropy (2<sup>44</sup>), it is actually 250,000 to the power of 4 (250,000<sup>4</sup>) since English only has 4about 250,000 words</li>
<li>Most people actually would use three words, giving 15,625,000,000,000,000 combinations</li>
<li>Most people know even less then 250,000 words</li>
</ul>
<p>So what is my take on this? The key to “it” is at the bottom of the cartoon:</p>
<p>“Through 20 years of effort, we’ve successfully trained everyone to use passwords that are hard for humans to remember, but easy for computers to guess”</p>
<p>This is really the “it” XKCD does get.</p>
<p>So why do we use password policies in the first place? What problem are we trying to tackle?</p>
<p>First of all we are trying to tackle the problem that users are very bad a picking good password without guidance. <a title="one of my coworkers legitimatly tried explaiing to me that &quot;password&quot; was a good pswd because no one would expect someone to be that dumb." href="http://twitter.com/#!/melvin2001/status/72648791949443073" target="_blank">This tweet</a> illustrates that:<span id="more-1347"></span></p>
<p><a href="http://www.cupfighter.net/wp-content/uploads/2011/08/PasswordGoodPassword.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="one of my coworkers legitimatly tried explaiing to me that &quot;password&quot; was a good pswd because no one would expect someone to be that dumb." src="http://www.cupfighter.net/wp-content/uploads/2011/08/PasswordGoodPassword_thumb.jpg" border="0" alt="one of my coworkers legitimatly tried explaiing to me that &quot;password&quot; was a good pswd because no one would expect someone to be that dumb." width="471" height="235" /></a></p>
<p>If you don’t give users guidance they will often pick from a set of <a title="Just google it..." href="http://www.google.com/search?q=very+well+know+passwords" target="_blank">very well known passwords</a>. But more recent research shows that since the average person has over 50 passwords, some with and some without password policy on it, most people need a coping strategy to deal with this.</p>
<p>In my talk “The Road to Hell is paved with best practices” I give this example of likely passwords for a certain password policy:</p>
<ul>
<li>7 characters: welcome</li>
<li>7 characters + 1 capital: Welcome</li>
<li>7 characters + 1 capital + 1 numeral: W3lc0m3</li>
<li>7 characters + 1 capital + 1 numeral + 1 special: W3lc0m3!</li>
<li>10 characters + 1 capital + 1 numeral + 1 special: W3lc0m3!!!</li>
<li>10 characters + 1 capital + 1 numeral + 1 special, 30 days max, cannot reuse last 12: Welcome01!, Welcome02!, Welcome03!, etc</li>
</ul>
<p>As security people we need to understand that each security measure will alter peoples behaviour and sometimes not for the good.</p>
<p>Studies have shown that even if password policies are used, <a title="Research paper by Matt Weir" href="http://tinyurl.com/RTHpasswd" target="_blank">probabilistic techniques can be used to aid in password cracking attacks</a>, that <a title="S. Alexander, Jr. In defense of password expiration. Post to LOPSA blog, April 2006. http://lopsa.org/node/295 as of March 28, 2010." href="http://lopsa.org/node/295" target="_blank">password expiry is only of limited use</a>, that <a title="The Security of Modern Password Expiration: An Algorithmic Framework en Empirical Analysis. Y Zhang, F. Monrose and M. K. Reiter, University of North Carolina at Chapel Hill" href="http://tinyurl.com/RTHpasswd2" target="_blank">password expiry policies do not meet their goal</a>.</p>
<p>Experiments with an <a title="Ophcrack_office by Objectif Securite" href="http://www.objectif-securite.ch/en/products.php?drgn=1" target="_blank">online windows password cracker</a> showed that “hard” passwords do not take longer to crack that “easy” passwords when rainbow tables are used:</p>
<ul>
<li>Empty password – 2 seconds</li>
<li>72@Fee4S@mura! – 5 seconds</li>
<li>(689!!!&lt;&gt;”QTHp – 8 seconds</li>
<li>*mZ?9%^jS743:! – 5 seconds</li>
<li>T&amp;p/E$v-O6,1@} – 11 seconds</li>
</ul>
<p>So what is my opinion?</p>
<p>Security policies have driven people to the top of their ability to remember passwords and as users have got increasing amounts of passwords the behavior it induced did not improve matters. We need to tune some of these measures down and replace them with education.</p>
<p>Passwords should be:</p>
<ul>
<li>Relatively long</li>
<li>Not guessable (correcthorsebatterystaple is not o.k. anymore thanks to XKCD)</li>
<li>Your system should block guessing attempts or really slow them down</li>
</ul>
<p>If hackers have you password hashes you are toast…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/08/xkcd-or-coolacid/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>DefCon &#8211; Crack me if you can&#8230; &#8211; or how to prove password policies are harmfull</title>
		<link>http://www.cupfighter.net/index.php/2010/08/defcon-crack-me-if-you-can/</link>
		<comments>http://www.cupfighter.net/index.php/2010/08/defcon-crack-me-if-you-can/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 10:52:13 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Defcon]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[DefCon18]]></category>
		<category><![CDATA[KoreLogic]]></category>
		<category><![CDATA[Passwords]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1141</guid>
		<description><![CDATA[One of the DefCon contests that most sparked my imagination was the &#8220;Crack me if you can&#8221; password cracking contest, organized by KoreLogic. The goal of the contest is to crack as many of the password hashes provided as possible. The rules of the contest allow the use of off-site and on-site computer equipment of [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 235px"><a href="http://www.flickr.com/photos/8395041@N02/2505803867/"><img class=" " title="Passwords are like Pants..." src="http://farm4.static.flickr.com/3159/2505803867_913846f3ed.jpg" alt="Passwords are like Pants... " width="225" height="300" /></a><p class="wp-caption-text">Passwords are like Pants... a Creative Commons Attribution, Noncommercial, No Derivative Works image from Richard Parmiter&#39;s Flickr fotostream</p></div>
<p>One of the DefCon contests that most sparked my imagination was the &#8220;Crack me if you can&#8221; password cracking contest, organized by KoreLogic. The goal of the contest is to crack as many of the password hashes provided as possible. The rules of the contest allow the use of off-site and on-site computer equipment of any kind, but in order to be eligible for any prize money at least one team member had to be physically present at the DefCon conference.</p>
<p>The competition is interesting in more than one way. First of all the contest is educational in setup. Even though the amount of computer power a team can come up with is important in getting to good results, it is not the determining factor in winning or losing the contest. Key to winning or doing well in the contest was understanding human behavior. KoreLogic generated a set of passwords they feel is representative of what they actually encounter in the field. Most corporate environments rely on a common set of rules that are used to enforce user to pick &#8220;strong&#8221; passwords and force them to change them regularly. While the goal of the rules is actually commendable, KoreLogic&#8217;s experience learns them that the human behavior triggered by these rules cause passwords to be very predictable. &#8220;If you force employees to change their passwords four times a year, they will select something that naturally changes four times in most cities (except Las Vegas)&#8221;, typical passwords we find are things like Winter2010. Once you understand this pattern, you can actually reliably predict what this password will in say 9 months or a year. Teams that actually saw this pattern and used it to make smarter password guesses did better in the competition.<br />
<span id="more-1141"></span><br />
The key to making hard to guess passwords is to break with this predicable behavior. If people have to put a special character in their passwords they usually put them in the beginning or at the end of their password, e.g. Summer1969! We had a number of passwords that actually had a password in the middle of it and these passwords where significantly harder to crack.</p>
<p>There is a significant difference between the success rates of cracking certain password hashes. E.g. windows password hashes have proven at be extremely easy to crack. All the teams together cracked 94% of all the windows password hashes provided to them. These contain some LM hashes, but mostly NTLM and NTLM2 hashes. A stupid 20 character long Windows administrator password (2345678901234567890) was guessed by all teams, even though there are no rainbow tables available for passwords of this length . Operating systems like FreeBSD do much better, less than ten of these hashes where cracked and BCrypt hashes achieved an even better success rate, only a few hashes where cracked. Absolute winner where the Oracle password hashes, none of these where cracked.</p>
<p>While this was a serious competition and the first prize of $600 was won by team HashCat, the competition was mostly educational in its setup. Only teams that published their methods for cracking are eligible to win and all results and methods used will be published online later this week (@@@@). The contestants used an interesting array of computer equipment. Graphics Cards based systems, clustered Amazon EC2 instances and a university super computer cluster with 1TB of memory where all used as well as plain simple desktop computers.<br />
Hopefully this competition will not only learn us how to better crack passwords, but also how to pick better passwords and thus make us all a little bit more secure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2010/08/defcon-crack-me-if-you-can/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Defcon talk: Cracking 400,000 Passwords or How to Explain to Your Roommate why the Power Bill is a Little High by Matt Weir</title>
		<link>http://www.cupfighter.net/index.php/2009/08/defcon-cracking-400000-passwords/</link>
		<comments>http://www.cupfighter.net/index.php/2009/08/defcon-cracking-400000-passwords/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 07:24:22 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Defcon]]></category>
		<category><![CDATA[Passwords]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=440</guid>
		<description><![CDATA[Matt Weir presented his research project which was aimed at finding better ways to crack passwords by making better password guesses. Update: Matt&#8217;s blog, Slide deck, Sebastien Raveau&#8217;s word list (1, 2) There are basically two types of password cracking, Online by trying usernames and passwords directly in the login screen. This only gives you [...]]]></description>
			<content:encoded><![CDATA[<p>Matt Weir presented his research project which was aimed at finding better ways to crack passwords by making better password guesses.</p>
<p>Update: <a title="Matt's blog" href="http://reusablesec.blogspot.com/2009/07/defcon-17.html" target="_blank">Matt&#8217;s blog</a>, <a title="Slide deck in PDF" href="http://sites.google.com/site/reusablesec/Home/presentations-and-papers/Defcon09v2.pdf?attredirects=0" target="_blank">Slide deck</a>, Sebastien Raveau&#8217;s word list (<a title="Wiki word list" href="http://blog.sebastien.raveau.name/2009/03/cracking-passwords-with-wikipedia.html" target="_blank">1</a>, <a title="Mirror of the wiki word list" href="http://www.hack3r.com/wordlists/wikipedia-wordlist-sraveau-20090325.txt.bz2" target="_blank">2</a>)</p>
<p>There are basically two types of password cracking, Online by trying usernames and passwords directly in the login screen. This only gives you a few tries since the system and its countermeasures is still opertional.<br />
Offline, by trying to match passwords against password hashes, mostly for forensic reasons.<br />
<span id="more-440"></span><br />
Basic cracking process:<br />
1.    Generate a lot of password guesses<br />
2.    Generate hashes for these passwords<br />
3.    Compare the hashes against the target hashes<br />
4.    If you don’t have enough, redo from 1</p>
<p>Matt at first did most of his research work from home, not going into the lab, but after his first power bill arrived which was increased by 75% he used a 3 year old Dell in his lab.</p>
<p>If you want to investigate how human generate passwords, you have to have a list of user generated passwords, but where can you get them? (Un)fortunately hackers helped us out and there is such a list available.<br />
The hacker who compromised Phpbb.com website published a list of 259k unsalted md5’s and 83k salted hashes. Because of time limitations, Matt only attacked the unsalted MD5 hashes. The hacker himself submitted 117k hashes to an online password cracker. 24% of the passwords were cracked (28,635).</p>
<p>He used an online cracker called hashkiller.com. They do a good job and track how efficient they are and how efficient other crackers are. There is also md5-utils which is a site that submits hashes to other sites as well. However if you are going to use such a system and think that the owners are not going to keep a copy of the found passwords you are too naïve to work in security.</p>
<p>There are also crackers you run on your own machine. The best one is John the ripper. It is free and open source. It is actively maintained and has an active community. If you can think of a problem that might occur, it is usually already covered in John the Ripper. As an added bonus John the Ripper take its password guesses from standard input.</p>
<p>Usign John the Ripper Matt was able to get the following results:<br />
4 hours &#8211; 38% cracked.<br />
1 week  &#8211; 62% cracked.<br />
1 month and 1 week &#8211; 89% cracked.<br />
Currently &#8211; 95% cracked.</p>
<p>Some quick password statistics:<br />
Average length of a password: 7.2 characters long<br />
Only 6% of the passwords contained an upper case character.<br />
Only 1% of the passwords contained a special character.<br />
51% of the passwords consist only of lower case letters.</p>
<p>So where are you going to take your passwords from? There are good word files out there. Large word lists are good if the system does not enforce any password policy.</p>
<p>Sabastien Raveau has created an excellent word list by getting all words from all Wikipedia and related projects articles. But you can also used John the Rippers generator which is based on linguistic probability.</p>
<p>If a system enforces password policies, you are better of with smaller more specific word lists preferably one which is based on previously cracked hashes. Unfortunately Matt cannot share his results due to privacy implications.</p>
<p>There are ways to speed up the brute force process, by using Probabilistic Cracking<br />
Certain Words more often used, e.g. password, monkey and football are very common. Also certain mangling principles are more popular then others: appending 123, 007or  $$$, capitalizing the first character, replacing the o by 0, etc.</p>
<p>Matt program takes words and mangling rules and assigns a weight to them. Then it starts with the most likely combinations.</p>
<p>Matt then shows a demonstration which clearly shows that weak passwords get cracked first.</p>
<p>Matt strongly believes that forcing frequent password changes does more harm then good. Humans are clearly not good at generating truly random passwords and if you let them do it often you only decrease anthropy.</p>
<p>Matt also indicated that salting passwords (adding a random string to the password before hasing) greatly increases the amount of effort required to brute force password hashes. It means that every hash has to be tried with every salt. But, salting only works if multiple passwords are decoded, it does not make a single hash more secure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2009/08/defcon-cracking-400000-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outdated security habbits die hard</title>
		<link>http://www.cupfighter.net/index.php/2009/06/outdated-security-habbits-die-hard/</link>
		<comments>http://www.cupfighter.net/index.php/2009/06/outdated-security-habbits-die-hard/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 07:00:28 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Bad]]></category>
		<category><![CDATA[Disclaimer]]></category>
		<category><![CDATA[Legal]]></category>
		<category><![CDATA[Outdated]]></category>
		<category><![CDATA[Passwords]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=164</guid>
		<description><![CDATA[A few days ago I had a meeting with some fellow security officers and an interesting topic came up: &#8220;What is the value of putting up disclaimers when logging into systems&#8221; I think we have all seen them, the annoying pop-up messages or scrolling text before you log onto a system telling you that it [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago I had a meeting with some fellow security officers and an interesting topic came up: &#8220;What is the value of putting up disclaimers when logging into systems&#8221;</p>
<p>I think we have all seen them, the annoying pop-up messages or scrolling text before you log onto a system telling you that it is an offence to log on unless you are authorized, etc, etc. If you do not know what I am talking about, <a title="KB101063" href="http://support.microsoft.com/kb/101063/en-us" target="_blank">here</a> is the MS knowledge base article on how to set it up on a windows box.</p>
<p>The debate was around the question if such disclaimers actually add any security to the system. In order to answer that question we need to understand the origin of the disclaimer a little better. Apparently there has been a a court case in which an hacker who was changed with breaking into a computer system by guessing the administrator password successfully defend himself by stating that when he first opened the system he was asked to &#8220;Please enter your username and password&#8221;. When he entered his username and password he got a message stating &#8220;invalid username or password, please try again&#8221;. So he was not trying to break into the system, but just doing what he was requested.</p>
<p>This little story makes me wonder, would this excuse for hacking still fly today. As I am not a lawyer (or have any intentions of becoming one) I am in not a position to give an authoritive answer, but I am going to make a guess based on what I do know about Dutch law. In order for someone to be found guilty of trespassing (either IRL or on a computer) you must prove that the person entered an &#8220;area&#8221; that he was not allowed to enter and that he knew was restricted. In other words if you just happen to wonder into an restricted area, but you were unable to know that you should not go there it is not trespassing. However if you did jump a fence in the progress, you would be hard put to state that you were not aware. In the case of a computer it would be my opinion that having to enter a username and password should be sufficient reason for you to know that the system is restricted.</p>
<p>In my opinion this measure is one of those measures that we take out of sheer inertia, or to keep up with the Joneses, just like changing your password every month or putting a disclaimer on the bottom of an email.</p>
<p>Like the disclaimer, the monthly password change has a historical origin. Rumor has it that the “industry standard” monthly password change is derived from a calculation of how long it would take to perform brute force password attack on an old mainframe. Based on the outcome of this calculation (two months) changing  your password every month very effectively reduces the risk of your password being cracked. However, the basic assumptions on which this habit is based have changed dramatically. For example due to <a title="Wikipeadia article" href="http://en.wikipedia.org/wiki/Moore%27s_law" target="_blank">Moore&#8217;s law</a> and <a title="Wikipeadia article" href="http://en.wikipedia.org/wiki/Rainbow_table" target="_blank">Rainbow tables</a>.</p>
<p>Does sticking to these out-dated practices hurt? On the one hand these measures are cheap to implement. It only takes some changes to the registry, group policy or a text file. On the other hand they can be counterproductive. The disclaimer can cause annoyance when you have to click it away multiple times a day and will certainly not be read every time it is displayed.</p>
<p>The once a month password change is worse, because it encourages bad password practices like writing passwords down or using numbered increments. (Password03, Password04, etc)</p>
<p>Better alternatives like awareness trainings and dual factor authentication are available.</p>
<p>I would like to hear your thoughts on the matter fbreedijk (at) schubergphilis (dot) com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2009/06/outdated-security-habbits-die-hard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

