highservicesverified ✓rollback-safe
Disable DHCP server
service-disable-dhcpd · RHEL ≥ 8, UBUNTU ≥ 22 · 2 impls
Description
The DHCP server provides IP address configuration to network clients. Unless the system is a designated DHCP server, this service should be disabled.
Rationale
Running an unnecessary DHCP server could interfere with network operations or be exploited to provide malicious configuration to clients.
Check → Remediate
Checkservice_state
- name:
- dhcpd
- active:
- false
- enabled:
- false
Remediateservice_masked
- name:
- dhcpd
Framework references
CIS
rhel8 2.1.4rhel9 2.1.3rhel10 2.1.4ubuntu22 2.1.3ubuntu24 2.1.3
NIST 800-53
CM-7
Live verification
rhel10:checkrhel8:checkrhel9:checkubuntu22:checkubuntu24:check
#service#networking#attack-surface