WARNING: This site is intended for online use only; mass-downloading of pages degrades the server and is prohibited.
If you attempt to use tools to mass-download the site, you may be blocked permanently by automated software.
If you want to read this CertiGuide offline, please use one of the links on the left to purchase a convenient PDF copy. Thank you.

Like what you see? Get it in one document for easy printing!
Click Here!
Use coupon code "certiguide" to save 20%!
(Expires 2004/12/31)

Test yourself better with 300 extra Security+ questions!
Get It Here!

Google
Web CertiGuide






Table Of Contents  CertiGuide to Security+
 9  Chapter 3:  Infrastructure Security (Domain 3.0; 20%)
      9  3.5  Security Baselines
           9  3.5.3  Application Hardening

Previous Topic/Section
3.5.3.4  FTP Servers
Previous Page
Pages in Current Topic/Section
1
2
Next Page
3.5.3.6  NNTP Servers
Next Topic/Section

3.5.3.5  DNS Servers
(Page 2 of 2)

DNS Security Issues



There are a number of historical flaws in DNS that have begun to be addressed by new protocols such as DNSSEC (DNS Secure), which provides for more authentication than the original DNS protocol, and is implemented in BIND 9.

One of these issues, present in BIND 8 and other versions, is the availability of unauthenticated zone transfers. Zone transfers are used to update secondary DNS servers with the changes made to a zone’s DNS information on the primary DNS server. Hosts involved in the zone transfers do not authenticate themselves in any way. Most DNS servers allow administrators to restrict zone transfer operations to specific hosts. The way that this should be used is that you should restrict zone transfers from your primary name server to only your secondary name servers. No other servers need to perform this action. Since too many zone transfer requests can also cause a DoS condition, it is in your best interests to not allow any other machines to perform zone transfers.

DNS Security

To improve DNS security, restrict zone transfers from your primary name server to only your secondary name servers.

Since attackers can use repeated zone transfers to cause a DoS condition on your name server, restricting the use of zone transfers this way minimizes your vulnerability to DoS attacks.


Another issue is that of spoofing, through which you can feed bogus DNS data to other servers (or, it can be fed to you!). Fortunately, the more recent versions of BIND, the DNS server commonly run by UNIX machines, are not susceptible to this. (So, if you’re running a version of BIND less than 8, upgrade now!).

If you’re running a server that does not yet incorporate anti-spoofing enhancements, you’ll have to take other measures such as placing your DNS server behind your firewall or turning off recursive DNS queries (which leads to its own problems)375.

Related to spoofing is indirect DNS cache poisoning, in which an attacker takes some action that causes your name server, to query a name server under his control, for DNS information. If the information his name server provides to your server is bogus, he has managed to get your server to load bogus information into its cache.

Since a DNS server, if attacked in these or other ways, can be used to provide false mapping data (possibly causing sensitive data to be redirected to unintended locations, like an attacker’s personal machine) or cause a denial of service to your network, it is important to safeguard it by making sure that the OS and DNS software is securely configured and that you are running with the latest updates.

To allow for continued name service in the event of the failure of one server, you should carefully consider your DNS architecture. DNS should be configured redundantly, with both primary and secondary name servers (for example, with your own organization’s DNS server as primary, and your ISP’s as secondary). That way, you have created some redundancy to minimize the effects of DNS server downtime. Similarly, a large company should have multiple internal DNS servers, on separate subnets, to avoid the single point of failure that locating all of them on the same subnet can create. On this subject, a survey conducted by Men & Mice in June, 2002, revealed that 27% of Fortune 1000 companies have all their DNS servers on the same subnet.376

Since attackers have been able to crash various name servers by overwhelming them with data in various ways, it is safest to run the name server with the minimum necessary permissions. Should a buffer overflow exploit be found in your DNS server of choice, and should an attacker get to your machine before a patch is available, you’d be better off if the user compromised is a relatively unprivileged user with limited system access rather than an administrative user.

This litany of issues is why the Internet wizards are hard at work at developing a more secure DNS protocol. Until then, we take the precautions that we can and watch for vulnerability reports and patches.

[spacer]DNS Security Testing

Curious about your DNS setup’s security? Commercial tools are available at
http://www.menandmice.com, to query your name servers and report vulnerabilities and configuration errors that might exist.



 __________________

375. Crothers, Tim, Internet Lockdown, Hungry Minds, October, 2001, http://www.nerdbooks.com/item.html?id=0764548611

376. http://www.nwfusion.com/news/2002/133721_07-01-2002.html

Previous Topic/Section
3.5.3.4  FTP Servers
Previous Page
Pages in Current Topic/Section
1
2
Next Page
3.5.3.6  NNTP Servers
Next Topic/Section

If you find CertiGuide.com useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider buying an inexpensive PDF equivalent of the CertiGuide to Security+ from StudyExam4Less.com. (Use coupon code "certiguide" by December 31, 2004 to save 20%!) Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

CertiGuide for Security+ (http://www.CertiGuide.com/secplus/) on CertiGuide.com
Version 1.0 - Version Date: November 15, 2004

Adapted with permission from a work created by Tcat Houser et al.
CertiGuide.com Version © Copyright 2004 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.