<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Security Viewpoints &#187; Infrastructure</title>
	<atom:link href="http://advosys.ca/viewpoints/category/infrastructure/feed/" rel="self" type="application/rss+xml" />
	<link>http://advosys.ca/viewpoints</link>
	<description>Security, operating systems and the IT industry</description>
	<lastBuildDate>Wed, 30 Jun 2010 14:18:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DNS security talk</title>
		<link>http://advosys.ca/viewpoints/2010/03/dns-security-talk/</link>
		<comments>http://advosys.ca/viewpoints/2010/03/dns-security-talk/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 11:41:48 +0000</pubDate>
		<dc:creator>D Webber</dc:creator>
				<category><![CDATA[Best practices]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[dns security]]></category>

		<guid isPermaLink="false">http://advosys.ca/viewpoints/?p=807</guid>
		<description><![CDATA[I spoke on DNS security at the March 16 meeting of the Ottawa Area Security Klatch (OASK). 
This was updated version of my famous &#8220;Seven Deadliest Sins&#8221; talk, intended for a technical audience.
The slides with speakers notes are here: 

DNS Security: The Seven Deadliest Sins


OASK is a new security group in Ottawa. It&#8217;s supposed to [...]]]></description>
			<content:encoded><![CDATA[<p>I spoke on DNS security at the March 16 meeting of the <a href="http://www.oask.ca/">Ottawa Area Security Klatch</a> (OASK). </p>
<p>This was updated version of my famous &#8220;Seven Deadliest Sins&#8221; talk, intended for a technical audience.</p>
<p>The slides with speakers notes are here: </p>
<ul>
<li><a href="http://advosys.ca/presentations/dns-deadliest-sins.pdf">DNS Security: The Seven Deadliest Sins</a>
</li>
</ul>
<p>OASK is a new security group in Ottawa. It&#8217;s supposed to be technical, informal and free. If you&#8217;re in town, check out the <a href="http://www.oask.ca/">OASK web site</a> for meeting dates and location.</p>
Copyright &copy; 2010 <a href="http://advosys.ca/">Advosys Consulting Inc.</a>

<p><em>Related posts:</em><ul><li><a href='http://advosys.ca/viewpoints/2009/06/dns-security-seven-deadliest-sins/' rel='bookmark' title='Permanent Link: DNS security: The seven deadliest sins'>DNS security: The seven deadliest sins</a></li>
<li><a href='http://advosys.ca/viewpoints/2007/08/unencrypted-site-security-confirmed/' rel='bookmark' title='Permanent Link: (Unencrypted) site security confirmed!'>(Unencrypted) site security confirmed!</a></li>
<li><a href='http://advosys.ca/viewpoints/2009/06/dns-root-zone-getting-dnssec/' rel='bookmark' title='Permanent Link: DNS root zone getting DNSSEC'>DNS root zone getting DNSSEC</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://advosys.ca/viewpoints/2010/03/dns-security-talk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS root zone getting DNSSEC</title>
		<link>http://advosys.ca/viewpoints/2009/06/dns-root-zone-getting-dnssec/</link>
		<comments>http://advosys.ca/viewpoints/2009/06/dns-root-zone-getting-dnssec/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 20:24:31 +0000</pubDate>
		<dc:creator>D Webber</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[DNS]]></category>

		<guid isPermaLink="false">http://advosys.ca/viewpoints/?p=455</guid>
		<description><![CDATA[The root zone for the Internet Domain Name System will finally implement DNSSEC. This follows the commitment last year from the folks running the .org top-level domain to implement DNSSEC for all .org domains.
This is an important move to mitigate the worst vulnerabilities in DNS. As I presented recently, design flaws in the DNS protocol [...]]]></description>
			<content:encoded><![CDATA[<p>The root zone for the Internet Domain Name System will <a title="CANN to Work with United States Government and VeriSign on Interim Solution to Core Internet Security Issue" href="http://www.icann.org/en/announcements/announcement-2-03jun09-en.htm">finally implement DNSSEC</a>. This follows the commitment last year from the folks running the .org top-level domain to <a title=".ORG First Open Top-Level Domain to be Signed with DNSSEC" href="http://www.circleid.com/posts/20090602_org_first_open_top_level_domain_dnssec/">implement DNSSEC for all .org domains</a>.</p>
<p>This is an important move to mitigate the worst vulnerabilities in DNS. As I <a title="DNS security: The seven deadliest sins" href="http://advosys.ca/viewpoints/2009/06/dns-security-seven-deadliest-sins/">presented recently</a>, design flaws in the DNS protocol make it impossible to prevent attackers from spoofing DNS records, among other vulnerabilities.</p>
<p>DNSSEC signs responses from DNS servers, making it possible to detect fake records. However, DNSSEC is only trustworthy if the tree is signed from the root on down. ICANN has a summary of the issues here: <a title="DNSSEC â€“ What Is It and Why Is It Important?" href="http://www.icann.org/en/announcements/dnssec-qaa-09oct08-en.htm">DNSSEC â€“ What Is It and Why Is It Important?</a></p>
<p>Signing of the root zone has been delayed by political issues&#8230; what organization would be trusted with owning the root key, whether it would be distrusted by other nations or abused because of the U.S. origins and other issues.</p>
<p>Ironically, due to the complexities of all the crypto code needed to support this we&#8217;ll probably see <em>more</em> vulnerabilities in DNS server software&#8230; at least in the short term. As the history of OpenSSL and other crypto libraries demonstrates, implementing crypto code is difficult to get right. Slapping crypto onto existing software initially makes it more exploitable, not less.</p>
Copyright &copy; 2010 <a href="http://advosys.ca/">Advosys Consulting Inc.</a>

<p><em>Related posts:</em><ul><li><a href='http://advosys.ca/viewpoints/2007/07/dns-cache-poisoning-made-easy/' rel='bookmark' title='Permanent Link: DNS cache poisoning made easy'>DNS cache poisoning made easy</a></li>
<li><a href='http://advosys.ca/viewpoints/2009/04/securing-dns-with-validating-resolver/' rel='bookmark' title='Permanent Link: Securing DNS with a validating resolver'>Securing DNS with a validating resolver</a></li>
<li><a href='http://advosys.ca/viewpoints/2007/07/fast-flux-botnets/' rel='bookmark' title='Permanent Link: Fast flux botnets'>Fast flux botnets</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://advosys.ca/viewpoints/2009/06/dns-root-zone-getting-dnssec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS security: The seven deadliest sins</title>
		<link>http://advosys.ca/viewpoints/2009/06/dns-security-seven-deadliest-sins/</link>
		<comments>http://advosys.ca/viewpoints/2009/06/dns-security-seven-deadliest-sins/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 13:05:02 +0000</pubDate>
		<dc:creator>D Webber</dc:creator>
				<category><![CDATA[Best practices]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[DNS]]></category>

		<guid isPermaLink="false">http://advosys.ca/viewpoints/?p=442</guid>
		<description><![CDATA[Soon it will be the one year anniversary of the release of Dan Kaminsky&#8217;s fun little DNS security flaw.
In honor (?) of that that, I gave a quick presentation last week to the Ottawa CitySec group on Domain Name System security. Since the Kaminsky issue has been pretty well covered, I focused on all the [...]]]></description>
			<content:encoded><![CDATA[<p>Soon it will be the one year anniversary of the release of <a href="http://www.doxpara.com/">Dan Kaminsky&#8217;s</a> fun little DNS security flaw.</p>
<p>In honor (?) of that that, I gave a quick presentation last week to the Ottawa CitySec group on Domain Name System security. Since the Kaminsky issue has been pretty well covered, I focused on all the <em>other</em> DNS security issues that are often overlooked.</p>
<p>I only had 30 minutes to present, so this is a cut-down version intended for a technical audience who already understand what DNS is and how it works.</p>
<p>The slide deck (with notes) is now online:</p>
<ul>
<li><a title="DNS Security: the seven deadliest sins" href="http://advosys.ca/presentations/dns-deadliest-sins.pdf">DNS Security: The seven deadliest sins</a> (PDF)</li>
</ul>
Copyright &copy; 2010 <a href="http://advosys.ca/">Advosys Consulting Inc.</a>

<p><em>Related posts:</em><ul><li><a href='http://advosys.ca/viewpoints/2010/03/dns-security-talk/' rel='bookmark' title='Permanent Link: DNS security talk'>DNS security talk</a></li>
<li><a href='http://advosys.ca/viewpoints/2007/08/unencrypted-site-security-confirmed/' rel='bookmark' title='Permanent Link: (Unencrypted) site security confirmed!'>(Unencrypted) site security confirmed!</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://advosys.ca/viewpoints/2009/06/dns-security-seven-deadliest-sins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The coming IPv6 security disaster</title>
		<link>http://advosys.ca/viewpoints/2009/05/the-coming-ipv6-security-disaster/</link>
		<comments>http://advosys.ca/viewpoints/2009/05/the-coming-ipv6-security-disaster/#comments</comments>
		<pubDate>Thu, 07 May 2009 19:18:05 +0000</pubDate>
		<dc:creator>D Webber</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[internet security]]></category>
		<category><![CDATA[ipv6]]></category>

		<guid isPermaLink="false">http://advosys.ca/viewpoints/?p=393</guid>
		<description><![CDATA[Last week ARIN (the group who hands out IP addresses for the U.S., Canada and most Carribean nations) sent a letter [pdf] to organizations stating that IPv4 IP addresses will be depleted in two years. ARIN is encouraging everyone to prepare their infrastructure for it now.
Will IPv6 adoption be a disaster for information security? Of [...]]]></description>
			<content:encoded><![CDATA[<p>Last week ARIN (the group who hands out IP addresses for the U.S., Canada and most Carribean nations) sent <a href="https://www.arin.net/knowledge/about_resources/ceo_letter.pdf">a letter</a> [pdf] to organizations stating that IPv4 IP addresses will be depleted in two years. ARIN is encouraging everyone to prepare their infrastructure for it now.</p>
<p>Will IPv6 adoption be a disaster for information security? Of course it will: <em>every</em> new thing is a disaster: email, instant messaging, wireless, VOIP, mobile devices, social networks, e-commerce, cloud computing&#8230; and of course the granddaddy and still reigning champions of security disasters: web browsers and web applications.</p>
<p>We&#8217;ve all heard the &#8220;IPv4 is running out&#8221; admonition for a decade, but now it may finally be true. Still, most still see <a title="Network World: No business case for IPv6, survey finds" href="http://www.networkworld.com/news/2009/032009-ipv6-business-case.html">no business need for IPv6</a>. Adoption will probably languish until it&#8217;s no longer feasible to acquire IPv4 netblocks, then IPv6 will be rushed into place without proper design, testing or understanding of the issues.</p>
<p>But IPv6 is not just another protocol or type of application. Nor is it just IPv4 with more numbers. Consider the following:<span id="more-393"></span></p>
<ul>
<li>Mandatory IPSEC (with all the associated crypto code)</li>
<li>Mandatory multicast</li>
<li>Mandatory QoS</li>
<li>Automatic configuration of interfaces (DHCP replacement)</li>
<li>All devices Internet addressable (no more NAT)</li>
<li>Massive (up to 4GB) packet sizes</li>
<li>Many new rules for routing, private addresses, DNS, packet analysis, fragmentation, and so on.</li>
</ul>
<p>Lots of complex new code at the driver, network and application layers must be written to implement all the above. Like all new code, it will be buggy as hell for many years. But slowly the implementation flaws will get patched.</p>
<p>However, the above also means a fair-sized learning curve for developers, network architects, operation staff and security folk. If organizations just treat IPv6 like it&#8217;s IPv4 with more addresses, it&#8217;s going to be a mess for quite a while.</p>
<p>People, policy, standardds and procedures are not so easy to patch. <a title="IPv6 Security Overview" href="http://tools.ietf.org/html/rfc4942">RFC 4942</a> and a few other guides exist to help people get up to speed, but a lot of unlearning will need to be done. Cherished concepts like firewalls, NAT and IDS must be re-thought (heh&#8230; the <a title="Jericho Forum" href="http://www.opengroup.org/jericho/">Jericho folks</a> finally get some traction <img src='http://advosys.ca/viewpoints/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
<p>Will large-scale rollout of IPv6 be a reiteration of the last 15 years? Are we about to see this century&#8217;s version of open ports, ping of death, source routing, IP spoofing, tunneling, cache poisoning, buffer overflows and denial of service attacks?</p>
<p>We defenders have a lot of learning and research to do: learn the new packet structure, fuzz every vendor&#8217;s IPv6 stack, test firewalls and IDS, add IPv6 capabilities to existing assessment tools and write many new ones.</p>
<p>(Speaking of firewalls: there are a <a title="OSVDB search: IPv6" href="http://osvdb.org/search?request=ipv6">disturbing number of products</a> that handle IPv4 packets fine but either let IPv6 packets though, <a title="Old IPv4 flaws resurface with IPv6" href="http://arstechnica.com/hardware/news/2007/05/old-ipv4-flaws-resurface-with-ipv6.ars">permit source routing </a>or just overflow badly when they see a bad packet.)</p>
<p>The assessment tools are not there yet. For example, Nmap has had basic support for IPv6 for years, but only for simple connect() scans. Support in Nessus is similarly limited, and Nessus replacement <a title="OpenVAS" href="http://www.openvas.org/">OpenVAS</a> can&#8217;t do IPv6 at all.</p>
<p>But evaluating the security of IPv6 implementations doesn&#8217;t just require an IPv6-enabled version of existing tools. The differences and new features in IPv6 mean we&#8217;ll see many new types of vulnerabilities, and need new tools to detect them.</p>
<p>As usual, expect the attackers to lead the way. Then expect the current cycle to continue: implementation errors will be ignored and disputed by the vendors then grudgingly patched, networks will be restructured, and ugly hacks will be invented to work around fundamental vulnerabilities in the protocol specifications themselves.</p>
<p>It&#8217;s going to be a great time to be in networking and security. I just hope it won&#8217;t take another 15 years to get back to where we are now.</p>
Copyright &copy; 2010 <a href="http://advosys.ca/">Advosys Consulting Inc.</a>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://advosys.ca/viewpoints/2009/05/the-coming-ipv6-security-disaster/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Securing DNS with a validating resolver</title>
		<link>http://advosys.ca/viewpoints/2009/04/securing-dns-with-validating-resolver/</link>
		<comments>http://advosys.ca/viewpoints/2009/04/securing-dns-with-validating-resolver/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 18:00:11 +0000</pubDate>
		<dc:creator>D Webber</dc:creator>
				<category><![CDATA[Best practices]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[system hardening]]></category>

		<guid isPermaLink="false">http://advosys.ca/viewpoints/?p=304</guid>
		<description><![CDATA[Few ISPs and web hosting providers pay attention to their DNS servers. Most use the same servers both to serve the domains they host and to perform name resolution (translating DNS names to IP addresses and vice versa). Many also allow recursive queries from anyone on the Internet, making DNS spoofing much easier.
We&#8217;ve had DNS [...]]]></description>
			<content:encoded><![CDATA[<p>Few ISPs and web hosting providers pay attention to their DNS servers. Most use the same servers both to serve the domains they host and to perform name resolution (translating DNS names to IP addresses and vice versa). Many also allow recursive queries from anyone on the Internet, making DNS spoofing much easier.</p>
<p>We&#8217;ve had DNS security checks as part of our vulnerability assessments for years, and I&#8217;ve yet to encounter a provider&#8217;s DNS that is properly protected against attack. DNS tends to be yet another <a title="Security Blind spots" href="http://advosys.ca/viewpoints/category/security-blind-spots/">security blind spot</a>, though it did get attention for a while when Dan Kaminsky&#8217;s  <a title="Multiple DNS implementations vulnerable to cache poisoning" href="http://www.us-cert.gov/cas/techalerts/TA08-190B.html">cache poisoning exploit</a> exploit made headlines last summer.</p>
<p>On the client side you can bypass your ISPs DNS with <a title="OpenDNS" href="http://www.opendns.com/">OpenDNS</a>. It&#8217;s well maintained and offers a few other benefits like phishing filters.</p>
<p>However, OpenDNS is not meant for servers. For web servers or entire intranets, install a local resolver to go directly to the authoritative servers for each domain.</p>
<p>Using <a title="ISC BIND DNS name server" href="https://www.isc.org/products/BIND/">BIND</a> is the default choice for this&#8230; it comes with all versions of Linux, but it&#8217;s memory intensive and has a history of security issues. Another popular choice is <a title="dnscache" href="http://cr.yp.to/djbdns/dnscache.html">DNSCache</a>, but it&#8217;s unmaintained and has some annoying dependencies and requirements.</p>
<p>A better choice is <a title="Unbound validating, caching DNS resolver" href="http://www.unbound.net/">Unbound</a>, a newer DNS caching resolver specifically designed for performance and security.</p>
<p><span id="more-304"></span></p>
<p>Unbound is developed by a NLNet, a Netherlands applied research group and supported by big names Verisign and Nominet. Its purpose is to be validating, recursive, and caching DNS resolver with good support for DNSSEC.</p>
<p>To be clear: Unbound <em>is not</em> for providing authoritative DNS. If you need to host DNS records so Internet users can can find your web sites and mail servers use BIND or other authoritative DNS configured to act only as an authoritative server.</p>
<p>Several DNS forgery protections are built in such as filtering private IP addresses from external DNS replies.</p>
<p>Want to block access to certain sites or services? Unbound also has handy features administrative features likeÂ  redirecting specific DNS queries to your own IP addresses&#8230; whether an entire domain or just specific records.</p>
<p>All this in a package that can be compiled easily on nearly any Linux or Unix, uses as much or as little memory as you tell it to, and has an easy configuration syntax. In short, Unbound rocks.</p>
<h3>Compiling from source</h3>
<p>Packaged versions of Unbound are in the Ubuntu Linux Universe repository starting with Hardy. Redhat doesn&#8217;t offer it yet. Regardless, new releases with many improvements come often and it&#8217;s easy to compile, so you&#8217;re better off building it yourself:</p>
<p>Download <a title="Unbound downloads" href="http://www.unbound.net/download.html">the latest source</a>, extract the tarball then do the usual &#8220;./configure; make&#8221;. It depends on the <a title="libevent" href="http://www.monkey.org/~provos/libevent/">libevent </a>library, but the source includes an alternative if that is not installed.</p>
<p>Do &#8220;make install&#8221; to copy the libraries, executables and man pages to the right places (/usr/local/). A well-commented config file is installed in /usr/local/etc/unbound that has sensible defaults, but you should read through it. The daemon also runs chrooted from that directory.</p>
<h3>Installing</h3>
<p>Add a user and group to the OS named &#8220;unbound&#8221; and lock it from interactive access with &#8220;passwd -l&#8221;.</p>
<p>Download the latest root DNS hints file from ftp://FTP.INTERNIC.NET/domain/named.cache and place it in /usr/local/etc/unbound. Make sure user &#8220;unbound&#8221; has read permissions on the named.cache file. Edit the unbound.conf file to change the setting &#8220;root-hints&#8221; to point to /usr/local/etc/unbound/named.cache.</p>
<p>To test the installation, start the daemon from the command line by typing &#8220;unbound&#8221;. If it works, you will see a process named &#8220;unbound&#8221; running. If not, errors are written to syslog: check /var/log/daemon.log, /var/log/messages or whereever your system&#8217;s syslog writes daemon messages.</p>
<p>Once running, try a few lookups using dig, e.g.:</p>
<pre style="text-align: center;">dig @127.0.0.1 www.advosys.ca</pre>
<p>Configure the server to use Unbound for DNS lookups by editing file /etc/resolv.conf to add the following to the top:</p>
<pre style="text-align: center;">nameserver 127.0.0.1</pre>
<p>Now the part everyone hates: writing the startup script. For Unbound to start automatically when the server boots, a suitable script must be placed in /etc/init.d (for most Unix and Linux systems) then symlinked to appropriately named files in the /etc/rc.x directories.</p>
<p>To save you some work, we&#8217;ve written the following simple startup scripts for Unbound:</p>
<ul>
<li><a href="http://advosys.ca/examples/unbound-redhat.sh">Redhat / CentOS 5.x</a></li>
<li><a href="http://advosys.ca/examples/unbound-ubuntu.sh">Ubuntu / Debian</a></li>
</ul>
<p>Place the appropriate script in directory /etc/init.d, rename it to &#8220;unbound&#8221; then use the install method appropriate to your version of Linux:</p>
<p><strong>Redhat / CentOS: </strong></p>
<pre style="padding-left: 30px;">chkconfig --add unbound
chkconfig unbound on</pre>
<p><strong>Ubuntu / Debian: </strong></p>
<pre style="padding-left: 30px;">update-rc.d unbound defaults</pre>
<p>There are several options in the unbound.conf configuration file worth customizing, e.g. to disable IPv6 if you&#8217;re not using that, add sanity checks to weed out spoofed DNS replies, etc.Â  However, Unbound works well right out of the box in most situations.</p>
<p>With a good caching resolver like Unbound, your servers can directly query authoritative DNS servers, bypassing your provider&#8217;s probably polluted DNS. At the cost of slightly more network traffic and more memory usage, you can be reasonably confident that DNS answers legitimate and not pointing to malicious IP addresses.</p>
Copyright &copy; 2010 <a href="http://advosys.ca/">Advosys Consulting Inc.</a>

<p><em>Related posts:</em><ul><li><a href='http://advosys.ca/viewpoints/2006/08/secure-dns-template/' rel='bookmark' title='Permanent Link: Hardening DNS with the Cymru Secure BIND template'>Hardening DNS with the Cymru Secure BIND template</a></li>
<li><a href='http://advosys.ca/viewpoints/2007/07/dns-cache-poisoning-made-easy/' rel='bookmark' title='Permanent Link: DNS cache poisoning made easy'>DNS cache poisoning made easy</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://advosys.ca/viewpoints/2009/04/securing-dns-with-validating-resolver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS cache poisoning made easy</title>
		<link>http://advosys.ca/viewpoints/2007/07/dns-cache-poisoning-made-easy/</link>
		<comments>http://advosys.ca/viewpoints/2007/07/dns-cache-poisoning-made-easy/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 02:19:43 +0000</pubDate>
		<dc:creator>D Webber</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[named]]></category>
		<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://advosys.ca/viewpoints/2007/07/dns-cache-poisoning-made-easy/</guid>
		<description><![CDATA[
       Filling a DNS server&#8217;s cache with fake records just got a whole lot easier. Two flaws in the BIND domain name server (DNS) software were announced today  that make the normally hit-or-miss practice of stuffing name servers full of false info into a sure thing.


   [...]]]></description>
			<content:encoded><![CDATA[<p>
       Filling a DNS server&#8217;s cache with fake records just got a whole lot easier. Two flaws in the BIND domain name server (DNS) software were <a href="http://www.isc.org/index.pl?/sw/bind/bind-security.php" title="BIND Vulnerabilities">announced today</a>  that make the normally hit-or-miss practice of stuffing name servers full of false info into a sure thing.
</p>
<p>
       &#8220;This is a powerful attack, as it retracts the security of BIND 9 to almost where it was over a decade ago,&#8221; says the &#8220;<a href="http://www.trusteer.com/docs/bind9dns_s.html" title="DNS forgery pharming using BIND 9 cache poisoning">executive summary</a> &#8221; from the group who published the flaw. All versions of BIND 9.x are affected, which is what the majority of DNS servers on the Internet are running.
</p>
<p>
       The worst flaw gives attackers a &#8220;1 in 8 chance of guessing the next query id for 50% of the query ids&#8221; coming from a DNS server, which are excellent odds. The attacker only has to get a victim&#8217;s DNS server to query a domain hosted on server he controls (e.g. by sending email to the victim&#8217;s SMTP server, causing it&#8217;s spam filters to do a lookup on the attacker&#8217;s domain). Then it&#8217;s just a matter of predicting the next query ID to send spoofed answers to the victim DNS and suddenly update.microsoft.com starts resolving to an IP in Siberia.
</p>
<p>
       New versions of point releases in the BIND 9.x series are available that fix the flaws. You need BIND 9.2.8-P1, BIND 9.3.4-P1, BIND 9.4.1-P1 or BIND 9.5.0a6.
</p>
<p>
 A decade ago when I  first started working in Internet security I would&#8217;ve been very excited by this kind of flaw: an easy exploit that affects pretty much the entire Internet&#8230; the phishers and other criminals are going do lots of damage with this. However now I&#8217;ve seen too many major organizations (especially government) who still haven&#8217;t taken even <a href="http://advosys.ca/viewpoints/2006/08/secure-dns-template/" title="Hardening DNS with the Cymru Secure BIND template">basic steps to secure their name servers</a> : they&#8217;re still running ancient versions of BIND, allowing recursive queries from outside, no split DNS, and so on. This predicable query ID issue is nasty, but in reality it&#8217;s so far down the list of issues for most organization&#8217;s DNS infrastructure that it&#8217;s hard to get too excited about it.</p>
Copyright &copy; 2010 <a href="http://advosys.ca/">Advosys Consulting Inc.</a>

<p><em>Related posts:</em><ul><li><a href='http://advosys.ca/viewpoints/2006/08/secure-dns-template/' rel='bookmark' title='Permanent Link: Hardening DNS with the Cymru Secure BIND template'>Hardening DNS with the Cymru Secure BIND template</a></li>
<li><a href='http://advosys.ca/viewpoints/2009/06/dns-root-zone-getting-dnssec/' rel='bookmark' title='Permanent Link: DNS root zone getting DNSSEC'>DNS root zone getting DNSSEC</a></li>
<li><a href='http://advosys.ca/viewpoints/2009/04/securing-dns-with-validating-resolver/' rel='bookmark' title='Permanent Link: Securing DNS with a validating resolver'>Securing DNS with a validating resolver</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://advosys.ca/viewpoints/2007/07/dns-cache-poisoning-made-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
