Re: DHCP man in the middle attack

From: Kurt Seifried (bt@seifried.org)
Date: 09/23/02


From: "Kurt Seifried" <bt@seifried.org>
To: <root@networkpenetration.com>, <vuln-dev@securityfocus.com>
Date: Sun, 22 Sep 2002 19:06:09 -0600

Nice summary of well known problems, but:

> Recommendations
> ---------------
> Deploy switches (not hubs) and ensure that mac spoofing is not allowed on
them.

This helps how? Oh wait, it doesn't really. Unless you MAC lock ports to
hosts, which is an administrative nightmare. Even if you do that an attacker
can still spoof replies/etc/etc. Remember, you have to allow from 0.0.0.0
and whatnot.

> Use the DHCP protocol monitor (snort IDS plug-in) to identify possible
rogue servers.

You would need one on every single physical subnet which hosts DHCP clients,
servers or relays (essentially your entire network). You would then need to
make sure MAC address/IP spoofing doesn't take place, this is not only an
administrative headache but would require one snort "installation" per
subnet (could be one box with multiple interfaces, but still, on a largeish
LAN this would be many many systems). Even then this is a very reactive
solution, and does nothing to protect hosts (other then alerting you to a
problem, with spoofing/etc/etc you still have a lot of work).

DHCP is inherently insecure. About the only ways to "secure it" consist of
VPN/Firewall Auth/CLient firewall configuration/etc.

Kurt Seifried, kurt@seifried.org
A15B BEE5 B391 B9AD B0EF
AEB0 AD63 0B4E AD56 E574
http://seifried.org/security/



Relevant Pages

  • Re: Tracing computers via AOL?
    ... > of the laptop, ... the CPU serial number enabled in their BIOS? ... The MAC probably cannot be seen past the user's intranet so it probably ... but that's only for hosts on my intranet. ...
    (alt.computer.security)
  • Re: Any reasons to filter ARP packets?
    ... this means other hosts do have ... a way to get to know the MAC address of my network device, ... I've been observing further how these settings influence operation and ...
    (comp.os.linux.security)
  • Re: Huge Arp Cache - Neighbour Table Overflow on IPCOP
    ... An ARP cache that huge is ludicrous. ... to "translate" MAC addresses to IPs at the 'link' level. ... (Requirements for Internet Hosts - Communication Layers) ... the presence of "remote internet-hosts" in the ARP cache might be ...
    (comp.security.firewalls)
  • Re: strange routing problem
    ... invisible to either the router or the Mac. ... 1122 Requirements for Internet Hosts - Communication Layers. ... Section 2.3.2 requires unused ARP entries to time out, ... The Mac has 10.0.0.200 manually set. ...
    (comp.os.linux.networking)
  • Re: Accessing NFS from OS X. Was: NFS how to
    ... >>with Unix underneath these days NFS should work better on Mac OS X ... While to a user Mac OS X appears to be Unix, to an Administrator, there are ... # nidump hosts> hosts.txt ...
    (comp.os.vms)