<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Niels Provos (Entries tagged as dns)</title>
    <link>http://www.provos.org/</link>
    <description>systrace, spybye and other things.</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.3.1 - http://www.s9y.org/</generator>
    
    

<item>
    <title>DNS And Responsible Disclosure</title>
    <link>http://www.provos.org/index.php?/archives/44-DNS-And-Responsible-Disclosure.html</link>
            <category>Hacking</category>
            <category>Security</category>
    
    <comments>http://www.provos.org/index.php?/archives/44-DNS-And-Responsible-Disclosure.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=44</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=44</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    As everyone was upgrading their DNS infrastructure to be ready for August 7th, some security reseachers independently discovered the DNS flaw and disclosed it.  For those of us, who were either informed or had figured out the problem ourselves, it is surprising to find irresponsible and grossly negligent disclosure from respected members of our community.   There was a reason that Kaminsky did not disclose the flaw publicly when he found it.   The DNS infrastructure needed to be upgraded and repaired.&lt;br /&gt;
&lt;br /&gt;
Well, the time has run out.  A current study by David Dagon and myself puts the number of open recursive resolvers using static source ports at about &lt;strong&gt;78%&lt;/strong&gt;.   That is a lot of servers that need to be patched.  Two more weeks till August 7th could have helped to fix many of them.  Unfortunately, we will not find out now. 
    </content:encoded>

    <pubDate>Tue, 22 Jul 2008 09:15:00 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/44-guid.html</guid>
    <category>dns</category>
<category>security</category>

</item>
<item>
    <title>DNS Testing Image</title>
    <link>http://www.provos.org/index.php?/archives/43-DNS-Testing-Image.html</link>
            <category>Hacking</category>
            <category>Security</category>
    
    <comments>http://www.provos.org/index.php?/archives/43-DNS-Testing-Image.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=43</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=43</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    As we are all trying to patch and upgrade our resolvers and NAT devices, I created a small image tag that automatically assesses the randomess of a visitor&#039;s resolver:&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;&lt;a href=&quot;http://www.provos.org/index.php?/archives/42-DNS-and-Randomness.html&quot;&gt;&lt;img src=&quot;http://porttest.honeyd.org/-s-_dns.png&quot; border=0&gt;&lt;/a&gt;&lt;/center&gt;This is still in reference to the CERT Advisory on &lt;a href=&quot;http://www.kb.cert.org/vuls/id/800113&quot;&gt;Multiple DNS implementations vulnerable to cache poisoning&lt;/a&gt;.  You can place the image tag on your web page to test your visitors:&lt;br /&gt;
&lt;blockquote&gt;&amp;lt;center&amp;gt;&amp;lt;a href=&quot;http://www.provos.org/index.php?/archives/42-DNS-and-Randomness.html&quot;&amp;gt;&amp;lt;img src=&quot;http://porttest.honeyd.org/-s-_dns.png&quot; border=0&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/center&amp;gt; &lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
The &lt;em&gt;a href&lt;/em&gt; link can of course point to a more helpful web page and the image itself can also be changed according to need.&lt;br /&gt;
&lt;br /&gt;
If you want to show this on your pages with different images, just let me know.&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 15 Jul 2008 19:11:50 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/43-guid.html</guid>
    <category>dns</category>
<category>security</category>

</item>
<item>
    <title>DNS and Randomness</title>
    <link>http://www.provos.org/index.php?/archives/42-DNS-and-Randomness.html</link>
            <category>Hacking</category>
    
    <comments>http://www.provos.org/index.php?/archives/42-DNS-and-Randomness.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=42</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=42</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    Over the last few days, we have heard a lot about DNS cache poisoning and how we need to get our recursive resolvers to use random source ports.   We are being told that this is a flaw in the protocol, but no details are going to be available until a presentation at Blackhat in August.   DNS cache poisoning of course has been around for a long time, most notably when the 16-bit query IDs were not randomized.  Here are some good references:&lt;ul&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.lurhq.com/dnscache.pdf&quot;&gt;DNS Cache Poisoning – The Next Generation&lt;/a&gt; - Joe Stewart elaborating on observations from &lt;a href=&quot;http://www.rnp.br/cais/alertas/2002/cais-ALR-19112002a.html&quot;&gt;Vagner Sacramento&lt;/a&gt; in 2002: Bind would issue multiple request with the same query to the same IP; increasing the chance of spoofed DNS packets to guess the right query ID.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.trusteer.com/bind9dns&quot;&gt;Bind 9 DNS Cache Poisoning&lt;/a&gt; by Amit Klein in 2007 requires just 10 guesses to predict the query ID.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://lcamtuf.coredump.cx/oldtcp/tcpseq.html&quot;&gt;Strange Attractors and TCP/IP Sequence Number Analysis&lt;/a&gt; Michal Zalewski in 2001 looked at predicting the 32-bit TCP sequence number across multiple operating systems; a very similar problem to predicting 16-bit source port and 16-bit query ID.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
Oarc in the meantime has made a &lt;a href=&quot;https://www.dns-oarc.net/oarc/services/porttest&quot;&gt;port testing server &lt;/a&gt;available.   A simple invocation of dig tells you if your recursive resolver is vulnerable:&lt;br /&gt;
&lt;blockquote&gt;dig +short porttest.dns-oarc.net TXT&lt;/blockquote&gt;&lt;br /&gt;
The TXT record assesses a resolver&#039;s source port randomness as poor, fair or good.  Unfortunately, on my network, I found this record constantly cached from other resolvers, so I wrote a small Python tool that analyzes the &lt;a href=&quot;http://en.wikipedia.org/wiki/Statistical_randomness&quot;&gt;randomness&lt;/a&gt; of both your source port numbers as a well as your query IDs.   The tool can be downloaded from:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.monkey.org/~provos/dnspredict.py&quot;&gt;http://www.monkey.org/~provos/dnspredict.py&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;Its usage is pretty simple:&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.provos.org/index.php?/archives/42-DNS-and-Randomness.html#extended&quot;&gt;Continue reading &quot;DNS and Randomness&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 13 Jul 2008 17:59:11 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/42-guid.html</guid>
    <category>dns</category>
<category>security</category>

</item>

</channel>
</rss>