View Full Version : Great password

RUNYYFan

03-11-2014, 07:59 PM

During a recent company audit, it was found an employee was using the following password:

MickeyMinniePlutoHueyLouieDeweyDonaldGoofySacramen to

When asked for the reason for such a long password, she rolled her eyes and said, "Hello! It asked for at least eight characters and include one capital."

- - -

<groan>

Although the IT VP in me has to comment that 52 alpha characters set up like that is quite strong.

icehog3

03-11-2014, 08:03 PM

:r

big_jaygee

03-11-2014, 08:04 PM

:r :r :r

thats great :tu

pnoon

03-11-2014, 08:14 PM

During a recent company audit, it was found an employee was using the following password:

MickeyMinniePlutoHueyLouieDeweyDonaldGoofySacramen to

When asked for the reason for such a long password, she rolled her eyes and said, "Hello! It asked for at least eight characters and include one capital."

- - -

<groan>

Although the IT VP in me has to comment that 52 alpha characters set up like that is quite strong.

Not really - since it only contains 2 of the 4 categories of characters. Adding a numeral, special character or both would then make it quite strong.

:2 from another IT professional.

Chainsaw13

03-11-2014, 08:39 PM

I wonder how long a brute force crack would take?

RUNYYFan

03-11-2014, 09:00 PM

Not really - since it only contains 2 of the 4 categories of characters. Adding a numeral, special character or both would then make it quite strong.

:2 from another IT professional.

Fair enough. :) The 53 alpha characters with the upper and lower case could be cracked. I'm just thinking of a login that limits to three attempts and a mandatory reset.

I wonder how long a brute force crack would take?

It would be interesting to try it.

hotreds

03-11-2014, 09:01 PM

Yeah, put a comma between the names, and an exclamation point at the end and you have a very strong PW!

markem

03-11-2014, 09:46 PM

I wonder how long a brute force crack would take?

The equation you want is called "Anderson's Formula". Here is an example from an Illinois University exam.

4. (30pts) Given an alphabet size of 400, and an opponent capable of checking 24000 passwords a second.

a. [10 pts] What formula would you use to decide on the required size of the password, to achieve an upper bound p on the probability of a brute force attack being successful within a given time period, and a given password cracking processing rate?

Anderson’s Formula P>=TG/N

P – Probability of guessing a password

T – Time

G – No. of guesses in a time period

N – No. of possible passwords

b. [10 pts] Find out the minimum size of the password for an user, if you want probability of discovery within a year to be less than 20%

400**x = (24000*60*60*24*365)/0.2

Solving for x we get x = 4.83385

Therefore password has to be at least 5 characters long

c. [10pts] What limitations, if any, can you identify for the formula used in part a?

Anderson’s Formula is based on the assumption that passwords are uniformly distributed. In practice passwords are not randomly picked and so not uniformly distributed. Therefore an attacker may first go through most common or weak passwords and crack passwords much faster than estimated by Anderson’s formula.

------------------------------------------

Now, for our purposes, we are only using 52 characters (26 upper and 26 lower case letters) and a password length of (about) 50 characters.

So P is the probability of cracking the password.

T is the amount of time, so let's say 1 year. T=60*60*24*365 = 3.1536 * 10**7.

G is the number of guesses per second. A reasonable number is G=50000.

N is the password space size, which for us is 52**50.

So for P>=TG/N, we have:

P >= (3.1536*10**7)*50000)/(52**50)

P >= (1.5768*10**12) /(52**50)

P >= 2.0*10**(-74) is the probability of cracking this password in 1 year or less.

this means that with a 52 character alphabet and a 50 character password that the probability of cracking the password in a year or less is very close to 0.

-------------------------------------------------------

If we want to know how many days it will take to crack the password using brute force, then the formula gives:

1.0 = ((60*60*24*Y)*(50000))/(52**50)

52**50 = Y*(60*60*24*50000)

Y = (52**50) / (4.32*10**9)

Y = 1.46*10**76 days ~= 4*10**73 years

Mind you, this is a statistical average and not a hard floor. It is possible to guess the right password on the first stab, so the minimum is 1 and the average over many passwords (not one specific one) is as above. This is counter-intuitive but the password length really makes all the difference (since it used as an exponent).

PS: in practice, most systems that allow the use of a very long (64-128 character) password really only use a maximum of 8 characters internally for historical reasons. If this is the case, well, then the password will be broken quite fast.

PPS: I'm on Benadryl, so your math may vary and, in fact, be more accurate.

PPPS: As a modern Intel 6 core processor will be able to guess several more orders of magnitude per second and even more if the code is properly threaded, it would be interesting to see how many guesses per second one would need to crack that password on average. This is left as an exercise for the student.

and finally

PPPPS: a network of computers can bring this down even more since breaking up the password space is pretty simple to do, so you could ask how many Intel 6 core computers will it take. Quite possibly not as many as you may think.

from a former computer science instructor whose information security program was a top 25 in the nation as ranked by several TLA (three letter acronym) US government agencies.

big_jaygee

03-11-2014, 10:17 PM

WOW impressive to say the least

SvilleKid

03-11-2014, 11:36 PM

Now my head hurts!!

AdamJoshua

03-11-2014, 11:43 PM

I'm sorry but I just love this thread and the turn it took. :r

icehog3

03-11-2014, 11:50 PM

Mr. Mark, can you repeat that middle part again? :)

CigarNut

03-12-2014, 08:46 AM

How is it that you have employee passwords -- which should be one-way encrypted -- in clear text?

hotreds

03-12-2014, 08:49 AM

wrap me up half a dozen!

markem

03-12-2014, 08:50 AM

How is it that you have employee passwords -- which should be one-way encrypted -- in clear text?

You 'crack' them by encoding them (MD5 or SHA-1 these days) and comparing the resulting ciphertext with the stored one. This is the same way that the logon process verifies that you entered the correct password.

CigarNut

03-12-2014, 08:52 AM

You 'crack' them by encoding them (MD5 or SHA-1 these days) and comparing the resulting ciphertext with the stored one. This is the same way that the logon process verifies that you entered the correct password.

My guess is that he did not crack this one...

RUNYYFan

03-12-2014, 09:01 AM

I'm sorry but I just love this thread and the turn it took. :r

So true. Great job markem!

8zeros

03-12-2014, 09:01 AM

It's just a joke.

Hey Mark, that formula doesn't seem to take into account that after each guess the pool of guesses gets smaller, thereby increasing your chance of a lucky guess each time. Not that it would matter on a 52 character password.

-(P

I wonder how long a brute force crack would take?

Mark's answer is very thorough but proper names and whole words making up the password often shortens the time the algorithm requires quite a bit. As stated, the 24,000/second might be way off too. Most average PCs now have 2-4 cores and entry level servers have 2 sockets with 8-10 cores (16-20 CPUs). All of this significantly shortens the time required.

My :2

markem

03-12-2014, 09:04 AM

Okay, students, we've looked at the brute force method, not let's look at a slight improvement on that approach.

The English language has 1,025,110 words, more or less. This means that for Anderson's formula, the value of 'N' just got really small.

Anderson’s Formula P>=TG/N

P – Probability of guessing a password

T – Time

G – No. of guesses in a time period

N – No. of possible passwords

So going back to our example of the likelihood of cracking a password in less that a year, we have:

P >= (3.1536*10**7)*50000)/(52**50) // old calculation with very large denominator

P >= (3.1536*10**7)*50000)/(1025110**9) // new calculation with very small denominator

P>= 1.54*10**(-3) which is 1.54%

This looks ominous because by making a very small change to the search algorithm, the chances of cracking the password with no other information than that the password consists of English language words leaves us with a dramatic increase in the probability to break the password. If we know that the password is a list of names (people and place) then it comes down far faster. We can easily approach 100% chance of success just by learning a bit more about the person we wish to crack. One trivial modification is to only check words with the first letter capitalized, which changes (1025110**9) to ~(505022**9).

For example, here is a list of towns that I have lived in since I was 21 as a password:

ButteSaltLakeCityRedmondKentBellevueBeaverton

Heck, I could also toss in a zip code or two. However, a local sysadmin, who may have access to my resume in the HR database, would know to make these place names a priority (along with names of references, relatives, etc).

markem

03-12-2014, 09:11 AM

It's just a joke.

Hey Mark, that formula doesn't seem to take into account that after each guess the pool of guesses gets smaller, thereby increasing your chance of a lucky guess each time. Not that it would matter on a 52 character password.

-(P

The algorithm is for the average time over a random collection of passwords. As stated before, it isn't a floor since 1 is the true minimum. It is also possible that it will take substantially more than the average since, well, it's an average and for it to be an average there has to be at least one data point above the average.

The value of (50**52) is the list of all passwords within that space (technically one could argue that it is 50**53 but that's not as important in this case). This value represents the 'closure' or fully enumerated list of possible combinations within the space from 1 character up to 50 character passwords including all possible combinations. Once again, the crypto math is a little bit more than this, but this approximation is close enough for hand grenades and atom bombs.

Chainsaw13

03-12-2014, 10:28 AM

My head hurts.

jledou

03-12-2014, 10:42 AM

Wooo there a few of you fellars have let your inner nerd slip out ... you might want to put that back in before too many people see :)

Love the discussion ... now what if we involve a Cray or 2?

icehog3

03-12-2014, 01:38 PM

You had me at "algorithm".

czerbe

03-12-2014, 01:46 PM

is this a cigar forum or an episode of the Big Bang Theory? :r

is this a cigar forum or an episode of the Big Bang Theory? :r

Bazinga!

Porch Dweller

03-14-2014, 04:33 PM

is this a cigar forum or an episode of the Big Bang Theory? :r

You're in my spot.

galaga

03-15-2014, 05:08 PM

You're in my wet spot.

The IT monkeys cream over a password joke!!!

You had me at "algorithm".

:r:r so seldom do I agree with the "Gator Bait"!!!!!!!!!!!

Good luck in the Tournament Tommy, pulling for SDSU all the way!

Brlesq

03-15-2014, 05:13 PM

:r I like it!

markem

03-17-2014, 01:07 PM

One last note from me, this is a good article about passwords

http://boingboing.net/2014/02/25/choosing-a-secure-password.html

vBulletin® v3.7.4, Copyright ©2000-2018, Jelsoft Enterprises Ltd.