Securing DHCP Servers

DHCP Server Role Security Issues

The DHCP server role is responsible for dynamically assigning IP addresses to DHCP clients, and for assigning additional TCP/IP configuration information to DHCP clients as well. This includes subnet mask information, default gateway IP addresses, Domain Name System (DNS) server IP addresses, and Windows Internet Naming Service (WINS) server IP addresses.

A DHCP must have at least one scope which consists of the IP addresses which the DHCP server can allocate or assign to DHCP clients. Scope information for DHCP servers is DHCP server specific. The DHCP scope includes important information, such as the specified range of IP addresses which can be leased to DHCP clients, the subnet mask, the DHCP scope options (DNS IP addresses, WINS IP addresses), the lease duration, and any reservations. Reservations include elements such as a client always receiving the same IP addresses and TCP/IP configuration information when it starts.

The common threats to DHCP servers are listed here:

As you can see, clients can obtain IP addresses and DNS and WINS server information from the DNS server. To ensure that only authorized individuals or users connect to the DHCP server and obtain a DHCP lease, you should consider limiting physical access and wireless access to the network.

You should also consider configuring only the precise number of IP addresses required for each DHCP scope to make it less simple for hackers to intercept IP addresses. You can use the reservations feature to do this.

The DHCP server can be a single point of failure in networking environments that only have one DHCP server. You can increase the availability of DHCP servers and protect your DNS servers from DoS attacks by deploying two DHCP servers, and then using the 80/20 Rule if you have two DHCP servers located on different subnets.
The 80/20 Rule is applied as follows:

If the DHCP server that is allocated with 80 percent of the IP addresses has a failure or is attacked, the other DHCP server would be able to assign DHCP clients with IP addresses.

With Windows Server2003, the following built-in local groups have rights to manage DHCP servers:

You should limit membership to the above mentioned groups which include rights to change DHCP server settings. You should as far as possible restrict membership to the Enterprise Admins group.

If you are running a Windows Server 2003 DHCP server, consider implementing the following measures to further enhance security for DHCP servers:

Basic Security Measures for DHCP Servers

Basic security measures for securing the DHCP server role are listed here:

Backing up and Restoring the DHCP Database

By backing up a DHCP server’s DHCP database, you will be in a position to recover a lost or corrupted DHCP database. The full content of the DHCP database on a DHCP server is backed up if you back up the database. This includes DHCP leases, DHCP reservations, and all DHCP scope information and DHCP options.

You can manually back up the DHCP database by using the DHCP management console or you can schedule an automatic back up DHCP database.

To manually back up the DHCP database,

  1. Click Start, Administrative Tools, and then click DHCP to open the DHCP management console.
  2. Right-click the DHCP server that hosts the DHCP database that you want to back up, and select Backup from the shortcut menu.
  3. When the Browse For Folder dialog box opens, select the folder to which the DHCP database should be backed up.
  4. Click OK.

To restore a DHCP database,

  1. Click Start, Administrative Tools, and then click DHCP to open the DHCP management console.
  2. Right-click the DHCP server for which you want to restore the DHCP database, and select Restore from the shortcut menu.
  3. When the Browse For Folder dialog box opens, select the folder that contains the back up of the DHCP database that you want to restore.
  4. Click OK.
  5. Click Yes when prompted to verify that the DHCP database must be restored immediately, and that the DHCP service can be stopped and restarted.



Bookmark Securing DHCP Servers

Latest Blog Posts


Copyright 2008 Tech-FAQ. All rights reserved.