15/02/2007 - Special Reports

Why my password's better than Y0ur P@$$word

Padlock - unlocked by key When it comes to workplace IT systems or shopping online we're often told to make sure we 'choose a secure password'. But what exactly does that mean? Randy Abrams, director at security software firm ESET, gives us his thoughts...

IN THE PAST, advice about passwords has often been pedantically correct, yet useless. Let’s face it, you are not likely to use a password like "!r4%^s2A", and if you do, you have still failed to create a good one, unless you are on a system with an 8 character limit for the password.

The key to a good password lies in its length (size really matters), and not using a single word in the dictionary, even if it is really long.

"Conventional wisdom" dictates using passwords - that you cannot remember; should not write down; and probably will not use. Seems like a dilemma. But, good passwords are actually easy.

The problem with a password like "!r4%^s2A" is that it is too short. A password like "I really hate passwords" is actually much better. To understand why, let’s take a look at how passwords are guessed or "brute force" cracked.

The easiest approach to guessing a password is to find out information about someone and go from there. Spouses name? Pet names, Birthdays? Talk to people and you will find out how truly easy it is to get this information from someone.

People who use these passwords are easy pickings. Passwords that are short and pertain to ones personal or even business life are commonly used and easily guessed. Attacks on such passwords are accomplished with simple 'social engineering' or with stolen data.

Trivial task

Dictionary attacks try a variety of words found in the dictionary. If you choose the password "January" it will be guessed in a couple of seconds or less by a computer programme. You can use real words, but just not one. The art is in combinations, but more on that later.

No matter what you choose for a password it can be cracked eventually with brute force. Brute force simply means trying every possible combination of characters that can be in a password. This is where size really matters. If the password is long enough, a brute force attack will take months or even years.

If you only use lowercase letters and have a 7 letter password there are roughly 8 billion combinations for a brute force cracking program to try. This may sound like a lot, but it can be cracked extremely quickly with a computer.

If you use uppercase letters, lower case letters, numbers, punctuation, and special characters, like ¥ or © you are now up to almost 70 trillion combinations. This is still a trivial task for a computer to solve. Now take a look at a password such as "isthisgood". A 10 character password with only lower case letters has about 141 trillion possibilities. So your 10 character lower case password is better than any 7 character password. It is still good to use more than just lower case letters though.

A password such as "8 Resolutions this year!" is 24 characters long, easy to remember, uses 4 different character sets (upper case, lower case, numbers, and punctuation) and is a very hard password to crack with brute force.

Password day

One of my favourite techniques uses math equations. Can you remember that 49+51=100? This is too short, but what about “Forty9 and 51=One hundred ". That's 27 characters!

The spaces are legal characters, and if you remember a space at the end you could write the password on a piece of paper as “Forty9 and 51=One hundred”. Just make a mental note that there's a space at the end of the password that is not seen on the paper reminder! Add 2 to 8 spaces at the end and it is killer.

How about “Was I was born in 1960?” Easy for me to remember (I was), but hard for a computer to crack.

Long passwords mean that it takes a very long time to crack a password, but it can be done. It is important to periodically change your password. Mark Burnett, the author of 'Perfect Passwords', recommends that once or twice a year businesses and individuals alike have a "password day". Change all of your passwords across your company. If you only change some passwords then an attacker has a lot of time to work on the others. It can only take one known password for a skilled hacker to gain access to the entire network.

Giving credit where it is due, much of this information has come from a variety of sources including Perfect Passwords by Mark Burnet, articles by Jesper Johansson formerly of Microsoft and from numerous discussions with security professionals.

Important note: Please do not use any of the password examples published as they are now public... and to my boss... sorry about guessing your password! Sigh...There goes my bonus.