August 13, 2004

Arp cache issue with NMAP

Was talking with Fyodor yesterday and he brought to my attention the fact that in SP2, Microsoft also added some new anti-arp-spoofing code which, on top of the raw sockets, prevents nmap from working correctly.

This means that unless your target is in your arp cache, nmap will not find the host.

Well, that is, until I added arp support into the patch.

You can read more about it from Fyodor in the post he made today over on nmap-dev.

If you want to grab the new patch (yes thats 3 revisions in less that 24 hours), you can grab it here. If you don't want to build it yourself, Fyodor has merged my changes into nmap and you can download it here.

Posted by SilverStr at August 13, 2004 12:02 AM | TrackBack
Comments

hi dana,

nice work!

do you know where to find a more detailed documentation on what exctly microsoft changed to the arp cache....that was about time..but i am curious about the details...

thanks.
dominick

Posted by: dominick at August 13, 2004 04:49 AM

Good job dana! Of course, you know that only an evil hacker would use a tool like this on windows, so therefor, you're supporting evil and will be getting a visit from MS Department of Truth any day now.

Posted by: Arcterex at August 13, 2004 08:28 AM

dominick,

I don't have an public information available right now, but will see what I can dig up for ya.

Posted by: SilverStr at August 14, 2004 03:39 PM

That's pretty funny.

Raw sockets are still unsupported. The arp cache issue isn't "hacked" or anything.

Dana simply patched nmap to work correctly in SP2. Using this version of nmap is nothing like using the raw socket version of nmap which can hide connections and do all sorts of lovely things using raw sockets.

Good job Dana. Cool to see your name included in nmap even if I don't use it too often.

Posted by: Jeremy Brayton at August 18, 2004 12:11 PM

Thanks for your article about the SP2 patch to nmap. Nmap is like always one of the first to react on changes. Hopefully we don't have to change our app.

Posted by: Marcel of TrafficStatistic at August 20, 2004 06:57 AM

This helped immediately, thanks a LOT!

Posted by: Zaine Ridling at August 20, 2004 11:45 AM