Subscribe to Windows IT Pro
August 19, 2002 12:00 AM

Password Defense

Using password security policies to strengthen security
Windows IT Pro
InstantDoc ID #25962
Rating: (5)

Using Strong Passwords
Enabling the Passwords must meet complexity requirements (aka strong passwords) policy means that the OS helps you maintain security by enforcing rules when users create passwords. When you enable strong passwords, passwords become more difficult to guess and "dictionary attacks," in which software randomly tries passwords in order to break in, are less likely to succeed.

Strong passwords use a device called a notification package, which uses a .dll file that contains password rules. You can't configure the rules that are in Win2K's default notification package, passfilt.dll. However, you can write your own notification package if you want a different set of rules. You'll find the source code for passfilt.dll in the Microsoft article "HOWTO: Password Change Filtering & Notification in Windows NT" (http://support.microsoft.com/default.aspx?scid=kb;en-us;q151082), and you can use it as a model for writing your own .dll file. The .dll source code is the same for Win2K and NT. Passfilt.dll contains the following rules, which apply as users create passwords.

  1. Passwords must contain at least six characters, and the character string must contain at least three of these four character types: uppercase letters, lowercase letters, numerals, and nonalphanumeric characters (e.g., *, %, &, !).
  2. Passwords can't contain the user's logon name.
  3. Passwords can't contain any portion of the user's full name. If users create passwords that don't pass the rules, the OS issues an error message and won't accept the password.

If you enable strong passwords, you need to consider the settings for password uniqueness. Users might have difficulty inventing strong passwords, and some administrators let a user repeat a password after one or two changed passwords. The rationale for this policy is that because the passwords are difficult to crack, security doesn't suffer when users can reuse an old password after only a short amount of time.

Complicated passwords also increase the chances of typing errors when users enter the password during logon. A more common problem is users forgetting characters in their passwords. Users solve this problem in several ways that compromise security, such as by writing their passwords on notes that they affix to their monitors or by leaving themselves notes in unlocked desk drawers.

Administrators who enable the strong password feature do so because they want to apply the maximum password security features available. Forbidding repeated passwords until a large number of intervening passwords are used certainly tightens security. My advice is to implement the strongest security measures at first. If you run into problems because users can't come up with a series of strong passwords, you can lower the specified number of passwords.

Win2K enforces strong password rules only when a user creates a password over the network (i.e., when the user is working on a computer connected to other computers). The strong password rule isn't active when an administrator writes a user password directly to the SAM, so you can open Active Directory Users and Computers and enter a user password that doesn't qualify as a strong password (let's call it a "weak password"). This action lets you enforce strong password rules on a user-by-user basis. If security is of sufficient concern to warrant implementing strong passwords, use this bypass sparingly. Apply it only to users who have secure workstations or low access rights.

If you enter a weak password for a user in AD, the user must use the strong password rules when he or she creates a new password after the specified time for password changes has elapsed. By selecting Password never expires in the user's Properties dialog box, you can let the user continue to use an administrator-assigned weak password. If you have a reason to give the user a new password, create the password yourself in AD to avoid the filters that the rules contain.

Passwords on the Front Line
Password security is a front-line defense in enterprise security. When you use policies that strengthen password security, be sure to notify users about the new password environment and provide easy-to-follow instructions for creating and changing passwords.

Additionally, intruders sometimes use software that helps them crack passwords. If you can obtain a copy of one of these programs, test your passwords by running the software on various computers within your enterprise. If the software cracks any password within 1 minute, ask the user to create a new, more complicated password.

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Apr 20, 2005

    All the password settings (length, validity duration etc.) are greyed out on my PC so I cannot change them, even when logged on locally as admin. Where is the flag to enable these settings? Any hint would be appreciated.
    Felix

  • Anonymous User
    7 years ago
    Mar 14, 2005

    The existing passwords will not be affected. If they change their password it will have to pass the requirements after the password expiration time has passed or if you set the "user must change password at next logon" flag on their account.

  • lasuiza
    8 years ago
    Sep 17, 2004

    If I want to make a change the password policy on the domain (to implement "strong passwords") will users whose current password doesn't apply to the new password policy be asked to change their password the next time they login the system or will the have to change it, the next time their password expires? I haven't found a clear answer to this yet and would be greatful for some feedback. The article is very usefil though.
    Thanks

  • thekreator
    8 years ago
    Jul 21, 2004

    Great article. Here are some tips to help implementation go smooth(er): If you've not had policies in place previously, remember to also follow the last section of this article where it says: "When you use policies that strengthen password security, be sure to notify users about the new password environment and provide easy-to-follow instructions for creating and changing passwords." Without appropriate instructions, the users can become very disoriented and this can be a hardship on the busy support staff. :) Also, be wary about how this may affect Mac users that may also access your Windows network for file sharing and/or email.

  • MILTON
    8 years ago
    Jul 20, 2004

    Told me exactly what I needed to know. I looked for these instructions on Microsoft's web site to no avail.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.