pen-test
[Top] [All Lists]

RE: testing dns servers

To: "'Zhihao'" <zhihao@root.sg>, <pen-test@securityfocus.com>
Subject: RE: testing dns servers
From: "Paul Melson" <pmelson@gmail.com>
Date: Mon, 16 Apr 2007 10:16:07 -0400
Delivered-to: sp-com-lists@consult.net
Delivered-to: pentest-list2@consult.net
Delivered-to: mailing list pen-test@securityfocus.com
Delivered-to: moderator for pen-test@securityfocus.com
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:references:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:in-reply-to:x-mimeole:thread-index; b=clvslQNEkLok1A4/WUh3LcWgtrsOYNyu0eN5Y0VYVQuzpgEeutoklLY/HW0KgPtvkahOIseb+IMzD5h8F363F2DfTAAosEmXs8W8TSFZQX3t3uZxO1RMAAuhyJzOi/6vMoWqChTQpk4sIB3Hdshg+UG/YVFry3OCWDyFH8ThQPA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:references:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:in-reply-to:x-mimeole:thread-index; b=TzBwcZXJnavnJPy/4QF8gEtDZufCzzdf9arhm0IEXKCCL+d6lShjvnPLTmO9Ei0odbLP4yA0pgplUjEwc7v3sGt5qC7Qb1EmevRw6EWirYK3PMV7iqXc9ys0hbQwR8JYcATfZ/CNgeweIDE4pfOoxfQSNzquLw2FdPAXPwBCSbc=
In-reply-to: <000301c77f2a$3eafc890$bc0f59b0$@sg>
List-help: <mailto:pen-test-help@securityfocus.com>
List-id: <pen-test.list-id.securityfocus.com>
List-post: <mailto:pen-test@securityfocus.com>
List-subscribe: <mailto:pen-test-subscribe@securityfocus.com>
List-unsubscribe: <mailto:pen-test-unsubscribe@securityfocus.com>
Mailing-list: contact pen-test-help@securityfocus.com; run by ezmlm
References: <000301c77f2a$3eafc890$bc0f59b0$@sg>
Resent-date: Mon, 16 Apr 2007 17:40:52 -0600 (MDT)
Resent-from: pen-test-return-1078483977@securityfocus.com
Resent-message-id: <20070416234052.4F16114B453@outgoing2.securityfocus.com>
Resent-sender: listbounce@securityfocus.com
Sender: listbounce@securityfocus.com
Thread-index: Acd/KjjtDGrU8rH7Qf+pDprksgk2twBBkfGQ
> How would you guys test a dns server for holes?
>
> Here are some that i thought of..
>
> 1. Make sure it does not allow recursive queries.
> 2. Make sure it does not allow zone transfers from unauthorized hosts.
> 3. Make sure it is not vulnerable to dns cache poisoning.

These are more configuration issues than they are vulnerabilities.  If what
you're looking for is configuration best-practices then you're definitely on
the right track.  I would add to your existing list to test whether DNS
cache snooping[1] is possible.  You may also want to try DNSMap[2] to see if
you can find any subdomains that may reveal additional details about the
network you are looking at.

If you're looking for actual vulnerabilities in the DNS server itself, then
you may want to check out JBroFuzz[3] in addition to whatever vuln
scanner(s) you already use.

PaulM

1. http://www.sysvalue.com/papers/DNS-Cache-Snooping/
2. http://packetstormsecurity.org/filedesc/dnsmap-latest.tar.html
3. http://sourceforge.net/projects/jbrofuzz



------------------------------------------------------------------------
This List Sponsored by: Cenzic

Are you using SPI, Watchfire or WhiteHat?
Consider getting clear vision with Cenzic
See HOW Now with our 20/20 program!

http://www.cenzic.com/c/2020
------------------------------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>