/dev/null /var/Unix /var/Linux /var/Mac / /dev/rant

Passwords are in our everyday lives. We use them to log into our PC’s, to do our banking and a lot online sites require you to have username a password in order to order something or write a comment etc.

At work when you log into our machine you are required to give a password. And then they even want you to change it every so often! So you have to remember all these passwords on almost a daily basis. Great, as if that wasn’t difficult enough, the Administrators at work want to ?increase? security by making password criterias, meaning that the password has to match a certain pattern and complexity (e.g.: has to have at least one upper case character, numbers and letters and special characters like ! # etc.). So now you have to remember quite a few passwords AND even quite complex ones.Wow, quite a strain on your mind isn’t it? Well yes it is so people tend to write the passwords down somewhere, be it on the ?traditional cliché? Sticky Note, or in a notebook or in a file called passwords on your PC or home directory at work. Great.

Now here is the caveat: Anyone (and I mean ANYONE) with medium IT or social engineering skills can either guess those passwords or obtain them in one way or another. The worst case is if someone obtains the password list of your company (or Windows SAM file) and runs John the Ripper or any other password cracking utility against it. Simple passwords are guessed in almost no time and to illustrate I did a benchmark on cracking passwords later on in this post.

First however let me introduce you to the concept of ?what you know?. This is part of the multi-factor authentication which is based on these concepts:

  1. something you know
  2. something you have
  3. something you are

Something you are is biometrics, like fingerprints and retina scans, Something you have is for example a SecureID password token which generates a one time password , however this can also be an access card or Smartcard. Something you know is a password, PIN code or anything that you know and have to give. A lot of time for remote access the 2-factor principle is used, mostly factor 1 and 2, something you know and something you have. This works for example with the SecureID token, it requires you to give a PIN and then uses that PIN with a generated number (which changes every XX seconds) in order to generate a one time passcode. Cool eh? The good about this approach is, its VERY secure, the problem with this is that every time you want to access something you have to generate the passcode which is good until you leave your SecureID at home or loose it.

Now the question remains, how to make secure yet easy to remember passwords? Well a simple approach is to ?think outside the box?. Why are people so fixiated on ?passwords?? Passphrases are much simpler to use and MUCH more secure. To show what I mean by this I made a simple benchmark, as I mentioned above.

I created 3 users (test1, test2, test3) on my linux system (shorty). Each one has a version of the word ?password? as its password. I then ran john the ripper against the 3 users and waited to see how long it would take to crack each one.

Here is a graph that that, in my opinion speaks volumes already even before I keep going:

Password cracking

Yes you saw right, test3’s password (pass word) took 1800seconds (30 minutes) and it still was not done cracking. test1’s password (password) took 0.3seconds to crack and test2’s password (password2) took 3.18 seconds.
Now here is the point I am trying to make: what prevents you from using even SIMPLE phrases as a pass?phrase? ? Say your wife is Mary, and your passphrase is ?i love mary?. That would be quite a challenge for brute-force password crackers since you can also write ?I love Mary? etc. And the likelyhood of cracking this is pretty low yes it is very easy to remember (if you love Mary that is :))

Of course given enough time anything can be cracked however you will definately NOT be on the top of the ?charts? when someone does a password audit at your work or a password file gets leaked on the internet from a webservice that you use.

No Tags

Popularity: 6% [?]

Pages: 1 2