|
The object when
choosing a password is to make it as difficult as possible for a
cracker to make educated guesses about what you've chosen. This
leaves him no alternative but a brute-force search, trying every
possible combination of letters, numbers, and punctuation. A search
of this sort, even conducted on a machine that could try one million
passwords per second (most machines can try less than one hundred
per second), would require, on the average, over one hundred years
to complete. With this as our goal, a set of guidelines for password
selection can be constructed:
- Don't
use your login name in any form (as-is, reversed, capitalized,
doubled, etc.).
- Don't
use your first or last name in any form.
- Don't
use your spouse's or child's name.
- Don't
use other information easily obtained about you. This includes
license plate numbers, telephone numbers, social security numbers,
the brand of your automobile, the name of the street you live
on, etc.
- Don't
use a password of all digits, or all the same letter. This significantly
decreases the search time for a cracker.
- Don't
use a word contained in (English or foreign language) dictionaries,
spelling lists, or other lists of words.
- Don't
use a password shorter than six characters.
- Do use
a password with mixed-case alphabetics.
- Do use
a password with nonalphabetic characters, e.g., digits or punctuation.
- Do use
a password that is easy to remember, so you don't have to write
it down.
- Do use
a password that you can type quickly, without having to look at
the keyboard. This makes it harder for someone to steal your password
by watching over your shoulder.
Although this
list may seem to restrict passwords to an extreme, there are several
methods for choosing secure, easy-to-remember passwords that obey
the above rules. Some of these include the following:
- Choose
a line or two from a song or poem, and use the first letter of
each word. For example, "In Xanadu did Kubla Kahn a stately pleasure
dome decree" becomes "IXdKKaspdd".
- Alternate
between one consonant and one or two vowels, up to eight characters.
This provides nonsense words that are usually pronounceable, and
thus easily remembered. Examples include "routboo," "quadpop,"
and so on.
- Choose
two short words and concatenate them together with a punctuation
character between them. For example: "dog;rain," "book+mug,""kid?goat."
The importance
of obeying these password selection rules cannot be overemphasized.
The Internet worm, as part of its strategy for breaking into new machines,
attempted to crack user passwords. First, the worm tried simple choices
such as the login name, user's first and last names, and so on. Next,
the worm tried each word present in an internal dictionary of 432
words (presumably Morris considered these words to be "good" words
to try). If all else failed, the worm tried going through the system
dictionary, /usr/dict/words , trying each word. The password selection
rules above successfully guard against all three of these strategies.
Taken from
"Improving The Security Of Your Unix System" by David A. Curry.
Last
modified: 2004-09-03 09:36:03-07
|