Securing Domain Controllers

Domain Controllers Security Issues

When it comes to Windows Server 2003 Active Directory networks, one of the most important server roles which can be configured is probably the domain controllers role.

Domain controllers perform a number of important functions and control activities within a domain, including the following:

From the above mentioned functions of domain controllers, you can see that the domain controllers’ server role is an integral server role in all Windows based networks. When configuring domain controllers, you can configure a domain controller to perform only one main function, or you can configure the domain controller to perform a number of functions. The larger the network, the more specialized the configuration of the domain controller tends to become. The domain controllers within your Windows Active Directory environment should be well protected by means of special security configurations. Any unauthorized individuals that are able to access a domain controller would be able to severely compromise security on your network.

A few threats to domain controllers are listed here:

The importance of domain controllers basically forces you to implement security measures and policies that minimize the threats to domain controllers.
One of the obvious security strategies that should be implemented is to implement physical security for your domain controllers. Your domain controllers should always be physically secured in a secure location such as a data center. Physical access to the domain controllers’ location should be limited to a few authorized individuals only.
You should also limit access from network connections to domain controllers. You should only configure services and applications that are needed by the domain controller server role. All services and applications that are unnecessary should be disabled or deleted.

Basic Security Measures for Securing Domain Controllers

The recommended basic security measures which you can implement to secure domain controllers are listed here:

How to create a system key

  1. Click Start, Run, and enter syskey. Click OK.
  2. Select Encryption Enabled.
  3. Click Update.
  4. Select the appropriate option.
  5. Click OK.

Securing Domain Controllers with Firewalls

You can use firewalls to protect domain controllers. Packet filtering features can be used to block traffic destined to and from a domain controller. You can also limit the number of ports that are opened between a domain controller and a computer. Only those ports which are needed for communication should be opened between a domain controller and computer.

The ports used by Active Directory for specific Active Directory communication are listed here:

Domain Controller-Specific Predefined Security Templates

When a server is first promoted to the domain controller role, a security template called the DC security.inf template is applied to the domain controller. A security template can be defined as a collection of security configuration settings or parameters that can be applied to a domain controller, member server or a workstation. The settings within a security template are used to control the security configuration of a computer through both local policies and group policies.

The DC security.inf security template defines default system services settings, default security settings, and file system and Registry settings for a domain controller. The DC security template is created when a server is first promoted to the domain controller role, and basically forms the baseline security for the domain controller.

The other predefined security templates which you can specify for a domain controller are:

Backing Up and Restoring Domain Controllers

A domain controller contains system state data that includes Active Directory and the SYSVOL directory. System state data consists of the Registry, system boot files, COM+ Class Registration database, Certificate Services database, and files under Windows File Protection. Backing up system state data backs up all system state data associated with the local computer. A domain controller can also contain applications or files that are specific to that particular domain controller. All these components have to be included when you back up the domain controller.

When you restore system state data and Active Directory to a domain controller, you have to decide on the method of restore to perform. System state data can be restored on the domain controller through either of the following methods:

How to back up a domain controller

  1. Log on to the domain.
  2. Click Start, All Programs, Accessories, System Tools, and then click Backup.
  3. When the Welcome To The Backup Or Restore Wizard page opens, click Next.
  4. In the Backup Or Restore page, choose the Backup Files And Settings option. Click Next.
  5. When the What To Back Up page opens, choose the Let Me Choose What To Back Up option. Click Next.
  6. In the Items To Back Up page, select System State. Click Next.
  7. When the Backup Type, Destination, And Name page opens, select the appropriate option in the Select The Backup Type box.
  8. Choose the location for the backup in the Choose A Place To Save Your Backup box.
  9. Enter a name for the backup job in the Type A Name For This Backup box. Click Next.
  10. Click the Advanced button on the Completing The Backup Or Restore Wizard page.
  11. When the Type Of Backup page opens, choose the Normal option for the backup type, and then click Next.
  12. In the How To Back Up page, it is recommended to select the Verify Data After Backup option.
  13. If hardware compression is supported, and you are using a tape mechanism, click the Use Hardware Compression, If Available option. Click Next.
  14. When the Backup Options page opens, choose Replace The Existing Backups, and choose Allow Only The Owner And The Administrator Access To The Backup Data And To Any Backups Appended To This Medium. Click Next.
  15. Select the Now option in the When To Back Up page. Click Next.
  16. Click Finish.
  17. Click the Report button on the Backup Progress page to view a report on the backup job just completed.

How to restore system state data on a domain controller (nonauthoritative restore)

  1. Restart the local computer.
  2. During startup, press F8 to access the Windows Advanced Options.
  3. Proceed to select Directory Services Restore Mode. Press Enter
  4. Choose the operating system that should be started at the Please Select The Operating System To Start prompt. Press Enter.
  5. Log on to the domain using an account with Administrator privileges.
  6. Click OK when a message appears stating that Windows is running in safe mode.
  7. Click Start, All Programs, Accessories, System Tools, and then click Backup.
  8. When the Welcome To The Backup Or Restore Wizard page opens, click Next.
  9. In the Backup Or Restore page, choose the Restore Files And Settings option. Click Next.
  10. On the What To Restore page, choose the data that should be restored. Click Next.
  11. Verify that the media that contains the backup file is in place.
  12. Click Finish to start the nonauthoritative restore.
  13. Click OK when a message appears stating that the restore will overwrite existing system state data.
  14. When the restore process completes, restart the computer.

Because of the type of information stored on domain controllers, you should audit all backup and restore events which are performed on your domain controllers. It is recommended that you enable the Local Policies | Security Options | Audit: Audit the use of Backup and Restore privilege option so that you can detect when backups are being performed dishonestly.

Digitally Encrypting and Signing Authentication Traffic

Computer accounts are used to manage and authenticate computers within a domain. Computer accounts are stored in Active Directory, and can be managed using the Active Directory Users And Computers management tool. A computer has to belong to a domain in order for you to log on to it using a domain user account. Computer accounts are automatically created for computers running Windows NT, Windows 2000, Windows XP Professional or Windows Server 2003 when joining a domain. Computer accounts contain a name, password, and security identifier (SID). Computer properties are included in the computer object in Active Directory. Active Directory automatically creates a computer object in the Computers OU when a computer joins a domain, and no computer account exists for the computer.

For a computer to access and communicate with a domain controller within the domain, the computer has to be authenticated.

There are three GPO settings that determine whether authentication traffic is signed and encrypted:

Configuring Audit Policies and Event Log Policies for Domain Controllers

When Active Directory is installed on a computer and a new Active Directory domain is created, the computer object of the domain controller is stored in the Domain Controllers organizational unit (OU). A Group Policy Object (GPO) that is linked to the Domain Controllers OU is also created.

The Domain Controllers OU contains the following audit policies which you can customize:

You might also need to modify the policy settings of the Event Log to suit your auditing strategy.

Limiting User Rights

The Domain Controllers OU GPO by default grants the Allow Log On Locally user right to these groups:

For the Print Operators and Account Operators built-in groups, it is recommended that you remove the Allow Log On Locally user rights.

It is also recommended that you limit which individuals are allowed to shut down domain controllers. The Domain Controllers OU GPO by default grants the right to shut down domain controllers to these built-in groups:

For the Print Operators and Backup Operators built-in groups, it is recommended that you remove the right to shut down domain controllers.

Limiting Anonymous Access

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 prior 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 specific access control list (ACL) that needs access.

With Windows Server 2003, the Anonymous account is restricted by default. If you need to enable it for systems that require Anonymous access, use these recommendations to enable the Anonymous account so that you do not reduce security unnecessary:



Top 5 Free Networking Tools

Bookmark Securing Domain Controllers

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.