Trusted DHCP Server Baseline
The IP address and MAC address of the legitimate Kea DHCP server are recorded as the trusted DHCP baseline.
Provide a reference for identifying unexpected DHCP servers.
Enterprise networks commonly use Dynamic Host Configuration Protocol (DHCP) to automatically provide IP addresses and network configuration to endpoints.
ISC Kea DHCP Server is deployed as the controlled DHCP infrastructure in an isolated Ubuntu-based enterprise network. During normal operation, endpoints receive their network configuration from the trusted Kea DHCP server.
A DHCP Spoofing / Rogue DHCP Server Attack occurs when an unauthorized DHCP server responds to client DHCP requests and provides incorrect or attacker-controlled network configuration.
A rogue DHCP server may provide unauthorized IP addresses, gateway information, DNS server addresses, or other DHCP configuration values. This can redirect client network communication or disrupt legitimate network connectivity.
In this use case, the attack is simulated inside an isolated VirtualBox laboratory using Kali Linux and dnsmasq as the controlled rogue DHCP server.
Zeek is used to analyze DHCP conversations, while tcpdump provides packet-level DHCP visibility. The legitimate Kea DHCP Server logs are also analyzed to establish the expected DHCP behavior.
The assessment determines whether unauthorized DHCP responses can be identified and whether the network can distinguish the trusted DHCP server from an unauthorized DHCP server.
After implementing the defensive controls, the DHCP Spoofing assessment is repeated to verify that unauthorized DHCP behavior is detected and legitimate DHCP services continue to operate correctly.
ISC Kea DHCP Server provides centralized DHCP services for the controlled enterprise-style network. The DHCP server assigns IP addresses and network configuration information to authorized endpoints.
DHCP clients normally broadcast requests when they require network configuration. If an unauthorized system is able to respond to these requests, the client may receive a DHCP response from a server that is not part of the trusted network infrastructure.
The security problem can occur when unauthorized DHCP servers are allowed to respond to client requests, DHCP responses are not monitored, the source of DHCP responses is not validated, multiple DHCP servers appear on the same network segment, clients accept unexpected DHCP configuration, DHCP traffic is not centrally monitored, or network administrators have no baseline for legitimate DHCP server behavior. A rogue DHCP server can potentially provide an incorrect IP address, subnet configuration, default gateway, DNS server, lease information, or other DHCP options.
The security problem is therefore:
The proposed solution introduces DHCP server identity monitoring, DHCP traffic analysis, centralized logging, network segmentation, DHCP server access restriction, DHCP response correlation, configuration validation, and unauthorized DHCP response detection.
The attacker introduces an unauthorized DHCP service into the controlled network. A legitimate endpoint sends a DHCP request while attempting to obtain network configuration, and the unauthorized DHCP server responds to the request with DHCP configuration information. During the controlled laboratory assessment, the response is analyzed to determine whether the network can identify the unexpected DHCP server.
The assessment focuses on unexpected DHCP servers, unexpected DHCP Offer messages, DHCP server IP addresses, DHCP server MAC addresses, DHCP transaction behavior, DHCP configuration differences, and multiple DHCP responses to the same client request.
DHCP security requires the network to distinguish between legitimate DHCP infrastructure and unauthorized DHCP services.
The security monitoring process establishes the trusted DHCP server as the expected source of DHCP responses. DHCP requests and responses are analyzed, the responding server is identified, and the observed server is compared against the trusted DHCP baseline. The assessment considers DHCP server identity, DHCP traffic, response source, transaction information, configuration values, and unexpected DHCP behavior.
The secure processing flow is:
The IP address and MAC address of the legitimate Kea DHCP server are recorded as the trusted DHCP baseline.
Provide a reference for identifying unexpected DHCP servers.
DHCP traffic is continuously monitored for requests and responses.
Identify unexpected DHCP activity on the network.
DHCP responses from unknown or unauthorized servers are identified.
Detect DHCP Spoofing and Rogue DHCP Server activity.
DHCP requests and corresponding DHCP responses are correlated using transaction information.
Determine which server responded to a client request.
Important DHCP configuration values are compared against the expected network configuration.
Identify suspicious or unauthorized DHCP configuration.
DHCP services and endpoint networks are logically separated according to the laboratory network design.
Reduce the ability of unauthorized systems to provide DHCP services across unrelated network segments.
Only the authorized DHCP infrastructure should provide DHCP services on the protected network.
Reduce the opportunity for unauthorized DHCP services to operate.
DHCP monitoring events and server activity are recorded for investigation.
Support investigation and identification of Rogue DHCP Server activity.
ISC Kea DHCP Server provides the legitimate DHCP service for the controlled enterprise-style network.
dnsmasq is configured only inside the isolated laboratory to simulate an unauthorized DHCP service.
Zeek is used to analyze DHCP conversations and identify DHCP server and client behavior.
tcpdump is used for low-level packet capture during the security assessment.
Linux system logging is used to collect and review DHCP-related service events.
Kali Linux provides the controlled security-testing environment.
Ubuntu Linux hosts the legitimate Kea DHCP infrastructure.
VirtualBox is used to create the isolated enterprise-style network laboratory.