Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

Re: [Full-disclosure] Microsoft DNS resolver: deliberately sabotagedho

Subject: Re: [Full-disclosure] Microsoft DNS resolver: deliberately sabotagedhosts-file lookup
Date: Wed, 19 Apr 2006 18:43:38 -0500
Actually, according to microsoft, the dns client in XP was *intended* to
check to see if a dns lookup had failed earlier before going to the
hosts file.

We did ping the internal domain controller, added the bogus FQDN, and
tried again.  None of that worked, because prior to the VPN working, and
lookup of the domain controller had failed, and been cached.  So,
because the failiure was checked before the hosts file, once the VPN was
up, the dns lookups didn't work.

Oh yes, the XP install was factory Dell.

--- Begin Message ---
Subject: Re: [Full-disclosure] Microsoft DNS resolver: deliberately sabotagedhosts-file lookup
Date: Wed, 19 Apr 2006 15:22:32 -0700
Then you've hosed your XP install.  XP does not resolve cached addresses
before the hosts file.

Ping your 1918 domain controller.  Add a bogus entry for the FQDN of the
same machine.  Ping it again.  Hosts file overrides. I'm not sure what you
mean by "DNS failiures" though.  Please post something we can all use to
test your rotten but unsurprising behavior.

Oh, and before getting very frustrated, even in your hosed install, just try
a "IPCONFIG /flushdns" next time.


t


On 4/17/06 5:33 AM, "john@johnsdomain.org" <john@johnsdomain.org> spoketh to
all:

The XP DNS client has other problems as well.  It caches DNS failiures
(arguably out of spec with the RFC, BTW), screwing up VPNs if you're VPNed
into an internet network that has local domains which need to resolve to
RFC1918 addresses.  The cached failed lookups get prefered to forced entries
in the hosts file, if that is tried as a way of forcing the dns lookups to
work.  Very frustrating.  So, this isn't much of a surprise.  Rotten, yes,
surprising, no.





--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>