||This article includes a list of references, related reading or external links, but its sources remain unclear because it lacks inline citations. (April 2013)|
A rogue DHCP server is a DHCP server on a network which is not under the administrative control of the network staff. It is a network device such as a modem or a router connected to the network by a user who may be either unaware of the consequences of their actions or may be knowingly using it for network attacks such as man in the middle. Some kind of computer viruses or malicious software have been found to set up a rogue DHCP, especially for those classified in the "Rootkit" category.
As clients connect to the network, both the rogue and legal DHCP server will offer them IP addresses as well as default gateway, DNS servers, WINS servers, among others. If the information provided by the rogue DHCP differs from the real one, clients accepting IP addresses from it may experience network access problems, including speed issues as well as inability to reach other hosts because of incorrect IP network or gateway. In addition, if a rogue DHCP is set to provide as default gateway an IP address of a machine controlled by a misbehaving user, he can sniff all the traffic sent by the clients to other networks, violating network security policies as well as user privacy (see man in the middle). VMware or virtual machine software can also act as a rogue DHCP server inadvertently when being run on a client machine joined to a network. The VMware will act as a rogue DHCP server handing out random IP addresses to the clients around it on the network. The end result can be that large portions of the network are then cutoff from both the Internet and the rest of the domain without any access at all.
Rogue DHCP servers can be stopped by means of intrusion detection systems with appropriate signatures, as well as by some multilayer switches, which can be configured to drop the packets.
Rogue DHCP servers can be detected using the software:
- Microsoft Network Monitor 3.4 (Windows XP, Vista, 7, Server 2003, Server 2008)
- dhcp_probe (UNIX)
- SoftPerfect Network Scanner (Win32 Freeware, supports Windows 2000, XP, 2003, Vista, 2008, Seven)
- dhcploc.exe (Win32) in Windows Support Tools (Windows XP, Server 2003)
- DHCP Sentry (Win32) – DHCP Sentry tool
- Rogue detect (Perl)
- Open DHCP Locate (UNIX, Win32, C)
Manual examination perusing Scapy package in Python:
- Scapy (Python)