Recommended: Click Here to Update All of Your PCs Outdated Drivers

Planning and Implementing an Authentication Solution

An Overview on Authentication

Authentication is the process of identifying authorized valid users from unauthorized users. It is therefore the initial step in defining and implementing a network security strategy because it deals with restricting access to the network. A solid authentication solution prevents unauthorized users such as hackers, and Trojan horses from accessing network resources. Implementing the ideal authentication strategy for your network could be tricky because while too much authentication would keep unauthorized network access under control, it could also prevent authorized network users from legitimately accessing network resources.

Authentication also opens the door to other security strategies and implementations such as authorization and auditing. Authentication is typically performed by the user attempting to access the system, providing a user name and password. A user is authenticated once the authentication strategy implemented within your organization verifies that the user is indeed who he/she claims to be, based on the user name and password combination provided. At this point, the system does not know whether the user is authorized to access the network resource(s) he/she is attempting to access. Authorization is the process that verifies whether a user is permitted to access network resources by checking the ACL of a resource, and by differentiating between standard users, groups, administrators, and guests. From this short discussion, you can see how important the security concepts of authentication and authorization are, and how authentication makes it possible for authorization to be implemented and operational in your network. Auditing on the other hand, deals with monitoring and tracking those actions which were performed on a network resource(s). Auditing is also referred to as Accounting.

It is evident that a strong security strategy has to focus on authentication, authorization and accounting/auditing. The location of the users that need to access the network, and the client and server operating system (OS) employed within your environment greatly influences which authentication solution you need to implement. Users can be connected through a simple dial-up connection, or through a high-speed network connection.

Implementing a strong authentication solution would most certainly require the combined usage of protocols, mechanisms and strategies. All of these facets should inter-operate to ensure that a user attempting to access the system is in fact the user that he/she is portraying to be.

The following protocols and mechanisms can be used to perform authentication:

Password authentication is on the whole the more general authentication method implemented. Password authentication is the process whereby a user provides a user name and password to the computer and the computer checks that the credentials provided by the user matches with those credentials stored in the system for the particular user name. When a match occurs, the user is permitted to access the system. One of the factors that affect the success of password authentication is the manner in which the password of the user is transmitted over the network. Authenticating passwords should not be transmitted in a clear text format over the network. Kerberos and NT LAN Manager (NTLM), the later authentication methods, do not transmit the true user password over the network connection. While you can control whether or not passwords are transmitted in clear text format over the network, you have far less control over whether or not users are actually using strong passwords, and whether or not they are revealing their user credentials to other parties. Strategies such as implementing password policies can assist in ensuring that users do indeed use robust intricate passwords.

A few methods of securing user accounts are listed below:

Windows Server 2003 includes support for the Single Sign-on authentication feature. Single Sign-on authentication enables domain users to authenticate only once with any computer within a domain. Because users basically only need to be authenticated once, Administrator does not need to manage multiple user accounts over domains and severs. For Single Sign-on authentication to work, the following has to occur:

Understanding how Password Polices affects Authentication

Microsoft defines a strategy called an extensive defense model for implementing a security solution. An extensive defense model is the implementation of numerous security mechanisms and practices; so that when one security mechanism is compromised, other security mechanisms are already set up to assist in blocking any further unauthorized access attempts.

A few main elements in the extensive defense model are summarized below:

Passwords are probably the component that presents the most vulnerability in an authentication implementation. Passwords that are weak can easily be identified, even when password encryption is used. Password encryption is the process whereby the password of the user is encrypted. What this means is that the password is not transmitted over the network in clear text. When users actually use strong complicated passwords, an unauthorized individual attempting to access the system should not easily be able to interpret or decipher the password. Regularly having users change their passwords also ensures that even when a strong password is deciphered by an unauthorized user, the password would probably be invalid.

What is a weak password? A weak password is a password that contains one of, or a segment of the following information:

What is a strong password? A strong password typically contains none of the above mentioned segments of information. Strong passwords have the following characteristics:

Implementing Password Polices

You can implement a strong password policy by using the following security policy settings located in the Password Policy node in Account Policies:

Account lockout policies should be implemented if your environment is particularly vulnerable to threats arising from passwords which are being guessed. Implementing an account lockout policy basically ensures that the account of a user is locked after an individual has unsuccessfully tried for several times to provide the correct password. The important factor to remember when defining an account lockout policy is that you should implement a policy that permits some degree of user error, but that also prevents unauthorized usage of your user accounts.

The following password and account lockout settings are located in the Account Lockout Policy area in Account Policies:

How to implement a domain password policy

  1. Open the Active Directory Users and Computers console under the Administrative Tools Menu.
  2. In the console tree, locate and right-click the domain for which you want to implement a password policy, and then select Properties from the shortcut menu.
  3. When the Properties dialog box for the domain opens, select the Group Policy tab. From this tab, you can create a new password policy for the domain, or you can change the default domain policy. To create a new policy, click New; or alternatively click Edit to change the default policy.
  4. Click Edit to change the default policy.
  5. Click Computer Configuration, expand Windows Settings, Security Settings, Account Policies, and then expand Password Policy.
  6. Right-click the password policy that you want to implement and then select Properties from the shortcut menu. You can configure the following password policies from here:
    • Enforce password history, Maximum password age, Minimum password age, Minimum password length, Password must meet complexity requirements, Store passwords using reversible encryption.

How to implement an account lockout policy

  1. Open the Active Directory Users and Computers console under the Administrative Tools Menu.
  2. In the console tree, locate and right-click the domain that you want to work with, and then select Properties from the shortcut menu.
  3. Select Default Domain Policy, and then click Edit.
  4. Click Computer Configuration, expand Windows Settings, Security Settings, Account Policies, and then expand Account Lockout Policy.
  5. Right-click the account lockout policy that you want to implement and then select Properties from the shortcut menu. You can configure the following password policies from here:
    • Account lockout duration, Account lockout threshold, Reset account lockout counter after.

How to reset a local user account

  1. Access the workstation using a Domain Admins account, or the local Administrator account.
  2. Click Start, All Programs, Administrative Tools and then click Computer Management.
  3. This action opens the Computer Management console.
  4. In the left console tree, click Computer Management, click System Tools, click Local Users and Groups, and then click Users.
  5. Right-click the user account that you want to reset the password of, and select Set Password from the shortcut menu.
  6. When a message dialog appears, warning that the user could possibly lose data as a result of the password reset process, click the Proceed button.
  7. Set the new password for the user.
  8. Click OK.
  9. The system next informs you that the password of the local user account was successfully reset. Click OK.
  10. In the Computer Management console, right-click the user account that you just reset the password for, and then select Properties from the shortcut menu.
  11. Enable the User Must Change Password at Next Logon option
  12. Click OK.

How to create a password reset disk

When a user forgot his/her password, an Administrator had to manually reset the password of the particular user, in previous versions of Windows such as Windows 2000. With the introduction of Windows XP, and Windows Server 2003, the feature exists whereby a user can create a password reset disk for his/her local user account. Creating password reset disks prevents users from losing any encrypted files or Internet passwords that were saved on his/her local computer. This sort of data loss typically occurs when passwords are manually reset by administrators.

The following sequence of events occurs when a password reset disk is created:

  1. The system creates a public key and private key pair.
  2. The public key encrypts the password of the local account of the user.
  3. The private key is stored within the password reset disk.
  4. The private key is accessed when a user forgets his/her password. This key decrypts the existing password of the user.
  5. The user has to immediately change any local user account password which was obtained from a password reset disk.

Use the steps below to create a password reset disk,

  1. Hold down the Ctrl+Alt+Del key combination, and click the Change Password option.
  2. Enter the logon information for the account that you want to create a password reset disk for in the User Name box.
  3. Local Computer Name should be set in the Log On box.
  4. Click the Backup button.
  5. This action launches the Forgotten Password wizard.
  6. On the initial Welcome screen of the Forgotten Password wizard, click Next.
  7. When prompted, insert a blank diskette into the A:\ drive.
  8. Click Next to create the actual password reset disk.

How to create a system key

The System Key utility feature encrypts password information stored in the SAM database. To create a system key, use the steps summarized below.

  1. After accessing a Windows Server 2003 server desktop, click Start, Run, enter syskey in the Run dialog box, and then click OK.
  2. Click the Encryption Enabled option, and click the Update button.
  3. Select one of the following options:
    • Password Startup option: Although this option encrypts password information on the local computer, you have to specify a password that protects the actual system key. You have to then provide this particular password when you reboot the computer.
    • System Generated Password option: After selecting this option, you have to select one of the following options:
      • Store Startup Key on Floppy Disk: This option stores the system key on a diskette. This diskette has to be inserted when the system starts up.
      • Store Startup Key Locally: This option stores the key used for encrypting password information on the local computer. Store Startup Key Locally is the option that offers the least security.
  4. Click OK.

Windows Server 2003 Authentication Protocols

Windows Server 2003 supports the following authentication protocols:

The following types of challenge- response authentication methods are supported in Windows Server 2003:

Authentication Methods for Earlier Operating Systems (OSs)

Because authentication protocols typically progress as time passes, the authentication methods used in earlier OSs are in fact less secure than those used in later OSs. To provide backward compatibility with the earlier operating systems, Windows Server 2003 can support quite a few authentication protocols. This includes support for authentication protocols such as Kerberos, LM, and NTLMv2. It is strongly recommended to use the more secure authentication protocols such as NTLMv2 and Kerberos if you do not need to cater for compatibility with any earlier operating systems. The Network Security LAN Manager Authentication Level policy determines and stipulates which authentication protocols a computer can transmit, and receive or accept. The Network Security LAN Manager Authentication Level policy is located under Local Policies in the Security Options security policy node. As you increase the security of this particular policy, the less the compatibility which exists between your system and those earlier OSs.

The LM Authentication Levels that can be selected are listed below, and are ordered from the least secure option to the most secure option.

Anonymous authentication is an authentication method that actually allows a user and network client to be authenticated with the user/client furnishing no user credentials. However, if you are running Windows Server 2003, the user will not be authorized to access network resources. With the earlier Windows operating systems, this was not the case. Anonymous authentication is typically used to supply backward compatibility with systems earlier to Windows 2000, for the following scenarios.

To enable anonymous authentication, activate one of the following security policy settings:

A better method of enabling anonymous access is to include the Anonymous Logon security principal in the access control list (ACL) that needs access.

How to configure domain controllers to only accept only NTLM authentication and to refuse LM authentication

  1. After accessing the domain controller, click Start, Administrative Tools, and then click Domain Controller Security Policy.
  2. Open Local Policies, and then click Security Options.
  3. Double-click Network Security: LAN Manager Authentication Level
  4. This opens the Network Security: LAN Manager Authentication Level Properties dialog box.
  5. Enable the Define This Policy Setting checkbox.
  6. Choose the Send NTLMv2 Response Only\Refuse LM option from the list of available options.
  7. Click OK
  8. You can force the policy to be immediately implemented for the domain controller by clicking Start, clicking Run, entering gpupdate.exe in the Run dialog box, and the clicking OK.

What is Multifactor Authentication?

A key authentication feature of Windows Server 2003 is its support for multifactor authentication. Multifactor authentication increases authentication security because smart cards are supported, as well a number of other authentication mechanisms using non-Microsoft hardware or software. Because of the costs element associated with implementing smart cards, they are typically only used for specific user accounts such as administrator accounts. Before implementing or requiring smart cards for authentication, ensure first that your existing applications are able to operate together with smart cards. Applications that have the Certified for Windows Server 2003 marking have been tested for meeting the security standards for Windows Server 2003.

Applications that have the Certified for Windows Server 2003 marking have the following characteristics:

The Authentication Methods used with Active Directory Trusts in Windows Server 2003

Trust is the terminology used to describe a relationship between domains or forests in Active Directory that allows users in one domain to be authenticated by a different or remote domain. This makes it possible for users, computers, or groups from one domain to be authenticated by domain controllers located in different domains. Configuring trust relationships between domains or forests does not however enable users to access resources in domains other than the domain in which they are located. Configuring domain and forest trust relationships is however a key component for the process of permitting users to access resources in other domains.

The different types of trusts that can be configured if you are running Windows Server 2003 Active Directory are listed below. The authentication protocols used with each trust type are noted alongside each trust type.

The actual operating system used for a domain or forest determines the authentication protocol which you can use. For instance, the earlier OSs could only use the LM authentication protocol. Because of this, the OS used actually dictates which of type of trust you can configure between domains and forests.

Kerberos authentication can only be used between Windows Server 2003 forests. Because Windows 2000 forests cannot locate the Kerberos Key Distribution Centers (KDCs) in different domains, Kerberos trust cannot be formed between Windows Server 2003 and Windows 2000 forests. You would need to configure external trust relationships between Windows Server 2003 and Windows 2000 forests. The same type of configuration is necessary to create a trust relationship between a Windows Server 2003 forest and a Windows NT 4.0 forest. With Windows Server 2003 Active Directory, you can create trusts between Windows Server 2003 domains, and domains using UNIX or some other OS which includes support for MIT-compliant Kerberos.

The Active Directory Domains And Trusts console is the Active Directory management tool which you need to use to configure trusts between domains within the same forest, or to configure trusts between forests. DNS name resolution should be operational between any two forests for which you are planning to configure a trust relationship. The functional level of each forest in the trust relationship should be raised to the Windows Server 2003 forest functional level before you can create the actual trust relationship.

Implementing an Authentication Strategy for Web Users

The LM, NTLM and Kerberos authentication protocols cannot be used by a Web browser to authenticate users to a Web server. This is because Web servers use the Hypertext Transfer Protocol (HTTP) to communicate. What this means is that for a user to be authenticated to a Web server, the Web browser has to actually use an authentication protocol located in HTTP.

The following authentication methods can be implemented so that a Web browser can authenticate users to a Web server:

The majority of public Web sites on the Internet permit anonymous access for a segment of the Web site. What this means is that a user does not need to provide user credentials to access certain information on the Web site. Internet Information Services (IIS) accesses the network resources on behalf of anonymous users, and uses a particular user account to access these resources. The IUSR_computername user name account is the default account used by IIS for this purpose. This account is automatically created when IIS is installed. You can however specify that IIS should use a different user account.

To specify a user account that IIS should use to access network resources on behalf of anonymous users, use the steps listed below:

  1. Using administrative rights, log on to the computer.
  2. Click Start, Administrative Tools, and then click Internet Information Services Manager.
  3. Open the computer node, expand Web Sites, right-click the node that contains the Web site which you want to work with, and then click Properties from the shortcut menu.
  4. Select the Directory Security tab.
  5. Click Edit in the Authentication And Access Control portion of the tab.
  6. When the Authentication Methods dialog box opens, enter the name of the user account in the User Name box, and then enter the password for the account in the Password box.
  7. Click OK.

You can remove anonymous access by deselecting the Enable Anonymous Access checkbox on the Authentication Methods dialog box.



Top 5 Free Networking Tools

Bookmark Planning and Implementing an Authentication Solution

Latest Blog Posts


Copyright 2008 Tech-FAQ. All rights reserved.