2.2.5 Ensure DHCP Server is not enabled

Information

The Dynamic Host Configuration Protocol (DHCP) is a service that allows machines to be
dynamically assigned IP addresses.

Rationale:

Unless a system is specifically set up to act as a DHCP server, it is recommended that this
service be deleted to reduce the potential attack surface.

Solution

Run one of the following commands to disable dhcpd:

# chkconfig dhcpd off

# systemctl disable dhcpd

# update-rc.d dhcpd disable

See Also

https://workbench.cisecurity.org/files/2420