Reference Material | Configure custom and online dictionaries

You can use a password dictionary, a file containing words that are likely to be used as memorable passwords, to prevent users from creating passwords that are susceptible to dictionary attacks. Specops Password Policy also supports hash dictionaries, which test the hash of new passwords against those from major leaks, to prevent the use of vulnerable passwords.

The custom dictionaries provide you with the option to create your own dictionary, import a dictionary downloaded from the internet, or use the online dictionaries published by Specops.

Use custom dictionaries

Using a custom dictionary allows you to add, configure, and remove password dictionaries and password hash dictionaries. The password dictionary is checked each time there is a password change in Active Directory. A new password will be rejected if it is found in the dictionary. The password hash dictionary contains hashed passwords that can be used to test against the hash of a new password. For example, testing against leaked LinkedIn password hashes.

If you have imported a Password File you can configure various settings such as partial word matching, and reversed words. If you have imported a Password Hash File you will need to specify the hash function for the dictionary words.

The words in the dictionary file must be separated by line breaks.

  1. In the Group Policy Management Editor expand User Configuration, Policies, Windows Settings node, and select Specops Password Policy. Click Create New Password Policy or Configure Password Policy.
  2. Select the Password Rules
  3. Enable the Use custom dictionaries checkbox, and click Manage…
  4. You will have the option to import a Password File, Password Hash File, or create a New Dictionary from the editor.
    1. If Import Password File is selected, browse to the password file you want to use.
    2. If Import Password Hash File is selected, browse the hash file you want to use.
    3. If New Dictionary is selected, you will be able create your own dictionary by adding words to the dictionary editor. Type the words you want to add in the text box.
  5. If Password File, or New Dictionary was selected, you can configure additional settings. On the desired dictionary, click Configure Selected, and expand Options for the following settings:
    1. Part of the new password: If enabled, attempting to change to a password containing a word in the dictionary will be rejected. For example, if the password dictionary contains “Specops”, enabling this option will reject a password change to “specops”, “SPECOPS”, “Specops”, “Specops1”, “1Specops”. A password change to “Specop1” or “cops” will not be rejected by this setting.
    2. Character substitution (leet speak): If enabled, character substitutions will be converted to the original character when validating password. For example, if the word “Password” is in the dictionary, enabling this option will reject a password change to “p@ssword”, or “p4ssw0rd”.Note: The following character substitutions are used for the conversion:@ = a
      4 = a
      8 = b
      3 = e
      € = e
      9 = g
      6 = g
      1 = i
      | = l
      ! = i
      0 = o
      5 = s
      $ = s
      § = s
      7 = t
      2 = z
    3. Reverse of the new password: If the password dictionary contains “abc123”, enabling this option will also reject the reverse of the word, i.e. “321cba”.Note: Enabling “Part of the new password” or “Reverse of the new password” when using large dictionaries does not necessarily increase security and can make it difficult for end users to create passwords, as good passwords may be rejected. An exception can be made for “Part of the new password” when using smaller dictionaries containing company/product specific words.
    4. Ignore dictionary words shorter than x characters: By default, words equal to, or shorter than, 3 characters in length will be ignored.
  6. If Import Password Hash File is selected, specify the hash function for the dictionary words. This value must match the hash that was used when hashing the passwords in the dictionary to import. If the value does not match, the dictionary check will fail.

For more information about password dictionaries, and best practice recommendations for the aforementioned settings, click here.

Use online dictionaries

Using an online dictionary allows you to add, configure, and remove password dictionaries and password hash dictionaries published by Specops. Browse for a password dictionary and password hash dictionary to import. The dictionary is checked each time there is a password change in Active Directory. A new password will be rejected if it is found in the dictionary.

In the Group Policy Management Editor expand User Configuration, Policies, Windows Settings node, and select Specops Password Policy. Click Create New Password Policy or Configure Password Policy.

  1. Select the Password Rules
  2. Enable the Use Online Dictionaries checkbox, and click Manage…
  3. Click Add dictionary.
  4. Select a list from the Online Dictionaries, and click Next.
  5. Click Close.

For more information about password dictionaries, and best practice recommendations for the aforementioned settings, click here.