<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: The Way of Logic into Dan&#8217;s DNS Flaw</title>
	<atom:link href="http://www.gnucitizen.org/blog/the-way-of-logic-into-dans-dns-flaw/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gnucitizen.org/blog/the-way-of-logic-into-dans-dns-flaw/</link>
	<description>Information Security Think Tank</description>
	<pubDate>Sun, 23 Nov 2008 13:46:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: ducnm</title>
		<link>http://www.gnucitizen.org/blog/the-way-of-logic-into-dans-dns-flaw/#comment-123104</link>
		<dc:creator>ducnm</dc:creator>
		<pubDate>Sat, 26 Jul 2008 09:34:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/?p=897#comment-123104</guid>
		<description>On 07/25/2008, Bkis,Â has released BkavDNSCheck, new software checking for Dan Kaminsky DNS flaw. 

The advantage of this software isÂ that BkavDNSCheck could solve the limitation of Dan's Tool (http://www.doxpara.com). BkavDNSCheck is able to test exactly the specific DNS Server which we want to check, while Dan's Tool could only test the last top DNS server (not owned by the checker - DNS administrator).
Â 
Together with launching the software, Bkis has published some articles on how to apply patch against this flaw for vulnerable systems, thus keeping DNS systems away from a hazardous large-scale attack. These may help ISPs to check their DNS systems. We also provide the article of the tool toÂ local press in order to guide administrators to check and patch their systems.
Â 
Please, read the following: http://security.bkis.vn/?p=75 Â for reference.
Â 
If youÂ find it's usefull, please provide it to whom may concern
Â 
Thank you and best regards,</description>
		<content:encoded><![CDATA[<p>On 07/25/2008, Bkis,Â has released BkavDNSCheck, new software checking for Dan Kaminsky DNS flaw. </p>
<p>The advantage of this software isÂ that BkavDNSCheck could solve the limitation of Dan&#8217;s Tool (http://www.doxpara.com). BkavDNSCheck is able to test exactly the specific DNS Server which we want to check, while Dan&#8217;s Tool could only test the last top DNS server (not owned by the checker - DNS administrator).<br />
Â <br />
Together with launching the software, Bkis has published some articles on how to apply patch against this flaw for vulnerable systems, thus keeping DNS systems away from a hazardous large-scale attack. These may help ISPs to check their DNS systems. We also provide the article of the tool toÂ local press in order to guide administrators to check and patch their systems.<br />
Â <br />
Please, read the following: <a href="http://security.bkis.vn/?p=75" rel="nofollow">http://security.bkis.vn/?p=75</a> Â for reference.<br />
Â <br />
If youÂ find it&#8217;s usefull, please provide it to whom may concern<br />
Â <br />
Thank you and best regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IDE</title>
		<link>http://www.gnucitizen.org/blog/the-way-of-logic-into-dans-dns-flaw/#comment-123050</link>
		<dc:creator>IDE</dc:creator>
		<pubDate>Tue, 22 Jul 2008 11:31:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/?p=897#comment-123050</guid>
		<description>Here is the solution: http://amd.co.at/dns.htm

That is very interesting and I have studied this.</description>
		<content:encoded><![CDATA[<p>Here is the solution: <a href="http://amd.co.at/dns.htm" rel="nofollow">http://amd.co.at/dns.htm</a></p>
<p>That is very interesting and I have studied this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdp</title>
		<link>http://www.gnucitizen.org/blog/the-way-of-logic-into-dans-dns-flaw/#comment-123043</link>
		<dc:creator>pdp</dc:creator>
		<pubDate>Mon, 21 Jul 2008 10:25:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/?p=897#comment-123043</guid>
		<description>Dan says that this is a very much practical attack and brute forcing the transaction IDs is not practical at all unless you are within an environment you can control like a LAN.

yanky, I do not understand most of your points. :) sorry mate.</description>
		<content:encoded><![CDATA[<p>Dan says that this is a very much practical attack and brute forcing the transaction IDs is not practical at all unless you are within an environment you can control like a LAN.</p>
<p>yanky, I do not understand most of your points. :) sorry mate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GNUCitizen: Superb Post on DNS Flaw(s)</title>
		<link>http://www.gnucitizen.org/blog/the-way-of-logic-into-dans-dns-flaw/#comment-123040</link>
		<dc:creator>GNUCitizen: Superb Post on DNS Flaw(s)</dc:creator>
		<pubDate>Mon, 21 Jul 2008 07:03:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/?p=897#comment-123040</guid>
		<description>[...] another superb posting at GNUCitizen and a Infosecurity.US MustRead recommendation on the recent DNS vulnerability [...]</description>
		<content:encoded><![CDATA[<p>[...] another superb posting at GNUCitizen and a Infosecurity.US MustRead recommendation on the recent DNS vulnerability [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yanky</title>
		<link>http://www.gnucitizen.org/blog/the-way-of-logic-into-dans-dns-flaw/#comment-123017</link>
		<dc:creator>yanky</dc:creator>
		<pubDate>Sat, 19 Jul 2008 20:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/?p=897#comment-123017</guid>
		<description>Oops sorry, Concerning 2 that's not what I wanted to say, you're right for this point ;)</description>
		<content:encoded><![CDATA[<p>Oops sorry, Concerning 2 that&#8217;s not what I wanted to say, you&#8217;re right for this point ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yanky</title>
		<link>http://www.gnucitizen.org/blog/the-way-of-logic-into-dans-dns-flaw/#comment-123016</link>
		<dc:creator>yanky</dc:creator>
		<pubDate>Sat, 19 Jul 2008 18:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/?p=897#comment-123016</guid>
		<description>1. "There is a serious flaw in the DNS system and apparently it is a design bug".

No really, quote from the RFC: "This document recommends the use of UDP source port number randomization to extend the effective DNS transaction ID beyond the available 16 bits."

But DNS applications developers didn't respect that. That's where the vulnerability is.

2. "It has something to do with sending fake/forged responses to the attacked namerserver "

No, the attacker must know the DNS server in order to change the source address of the malicious packet. The packet is sent to the victim.

3. "The attacker must know in advance or can predict the transaction ID"

Yep, we got 2^16-1 possibilities, but in fact the transaction ID is incremented by 1 for each new request. So if we know a TID sent by the victim, this can be done easily.

4. "It is probably something that can happen but it may not work well for high profile domains such as google.com"

Why not ? The cache is deleted for each reboot on XP.

5. "The attack is remote so we can eliminate man-in-the-middle attacks."

What if I redirect a domain to my own ip address ? And for each request sent to me, I sent a request to the true domain, then I show the response to the victim. Acting like a proxy.

6. The vuln was found many years ago and published, but no one cared about it. The solution reduce the probability ... but what if I have a lot of computer.

7. Journalists said something like "OMFG they can hack us !" ... Oh excuse me, but, is there anything new here ? :)</description>
		<content:encoded><![CDATA[<p>1. &#8220;There is a serious flaw in the DNS system and apparently it is a design bug&#8221;.</p>
<p>No really, quote from the RFC: &#8220;This document recommends the use of UDP source port number randomization to extend the effective DNS transaction ID beyond the available 16 bits.&#8221;</p>
<p>But DNS applications developers didn&#8217;t respect that. That&#8217;s where the vulnerability is.</p>
<p>2. &#8220;It has something to do with sending fake/forged responses to the attacked namerserver &#8221;</p>
<p>No, the attacker must know the DNS server in order to change the source address of the malicious packet. The packet is sent to the victim.</p>
<p>3. &#8220;The attacker must know in advance or can predict the transaction ID&#8221;</p>
<p>Yep, we got 2^16-1 possibilities, but in fact the transaction ID is incremented by 1 for each new request. So if we know a TID sent by the victim, this can be done easily.</p>
<p>4. &#8220;It is probably something that can happen but it may not work well for high profile domains such as google.com&#8221;</p>
<p>Why not ? The cache is deleted for each reboot on XP.</p>
<p>5. &#8220;The attack is remote so we can eliminate man-in-the-middle attacks.&#8221;</p>
<p>What if I redirect a domain to my own ip address ? And for each request sent to me, I sent a request to the true domain, then I show the response to the victim. Acting like a proxy.</p>
<p>6. The vuln was found many years ago and published, but no one cared about it. The solution reduce the probability &#8230; but what if I have a lot of computer.</p>
<p>7. Journalists said something like &#8220;OMFG they can hack us !&#8221; &#8230; Oh excuse me, but, is there anything new here ? :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rvdh</title>
		<link>http://www.gnucitizen.org/blog/the-way-of-logic-into-dans-dns-flaw/#comment-122994</link>
		<dc:creator>rvdh</dc:creator>
		<pubDate>Thu, 17 Jul 2008 18:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/?p=897#comment-122994</guid>
		<description>How about reusing source ports, how about reusing all ports. 

But, fact is DNS is insecure by design. Doesn't mean I am interested in the actual release of details though.</description>
		<content:encoded><![CDATA[<p>How about reusing source ports, how about reusing all ports. </p>
<p>But, fact is DNS is insecure by design. Doesn&#8217;t mean I am interested in the actual release of details though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdp</title>
		<link>http://www.gnucitizen.org/blog/the-way-of-logic-into-dans-dns-flaw/#comment-122992</link>
		<dc:creator>pdp</dc:creator>
		<pubDate>Thu, 17 Jul 2008 15:57:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/?p=897#comment-122992</guid>
		<description>Hei Ross,

I was politely asked by Dan to discontinue this conversation and I respect that. I suspect that it is not because my thoughts are any closer to the real thing but mainly because he doesn't want to cause too much chaos. So we will wait until BH and will see what is going to happen.

cheers</description>
		<content:encoded><![CDATA[<p>Hei Ross,</p>
<p>I was politely asked by Dan to discontinue this conversation and I respect that. I suspect that it is not because my thoughts are any closer to the real thing but mainly because he doesn&#8217;t want to cause too much chaos. So we will wait until BH and will see what is going to happen.</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross Snider</title>
		<link>http://www.gnucitizen.org/blog/the-way-of-logic-into-dans-dns-flaw/#comment-122991</link>
		<dc:creator>Ross Snider</dc:creator>
		<pubDate>Thu, 17 Jul 2008 15:47:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/?p=897#comment-122991</guid>
		<description>I'm not sure that this is it PDP. There are 16 bits of randomness. It is true that mass spoofing for each nameserver seems like it would increase the probability of a successful cache poison, however mail.victimsite.com doesn't seem like it has enough recursion there to trivialize the DNS cache spoofing. He made a very big deal on how trivial it is to successfully poison a nameserver.

If he had the resources to mass spoof 3 nameservers X amount couldn't he mass spoof 1 nameserver 3X amount (disregarding packet loss).

It doesn't seem that advantageous. Now, I have little experience with DNS, so I may be wrong; there are not that many nameservers in each recursive chain to make the whole system fundamentally flawed. I believe Dan is leveraging this in some other way.

What do you think, PDP?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure that this is it PDP. There are 16 bits of randomness. It is true that mass spoofing for each nameserver seems like it would increase the probability of a successful cache poison, however mail.victimsite.com doesn&#8217;t seem like it has enough recursion there to trivialize the DNS cache spoofing. He made a very big deal on how trivial it is to successfully poison a nameserver.</p>
<p>If he had the resources to mass spoof 3 nameservers X amount couldn&#8217;t he mass spoof 1 nameserver 3X amount (disregarding packet loss).</p>
<p>It doesn&#8217;t seem that advantageous. Now, I have little experience with DNS, so I may be wrong; there are not that many nameservers in each recursive chain to make the whole system fundamentally flawed. I believe Dan is leveraging this in some other way.</p>
<p>What do you think, PDP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdp</title>
		<link>http://www.gnucitizen.org/blog/the-way-of-logic-into-dans-dns-flaw/#comment-122990</link>
		<dc:creator>pdp</dc:creator>
		<pubDate>Thu, 17 Jul 2008 15:02:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/?p=897#comment-122990</guid>
		<description>recursion is the fancier way of saying that the DNS server turns into a DNS client, i.e. the same thing. The DNS server makes a request to an authoritative servers, which in tern proposes a response after recursing itself.

this means that Dan spoofs responses for the first or any other DNS server of the recursive chain. I suspect that he might do something like a mass spoof for each ns server of the chain, thus increasing the chances of getting the right transaction ID.

&lt;q&gt;My take is that Dan is simply blasting all the name servers in the recursive chain until one of them has a transaction ID that matches any of his requests. I suspect, although I haven't tried, this is very much doable.&lt;/q&gt;</description>
		<content:encoded><![CDATA[<p>recursion is the fancier way of saying that the DNS server turns into a DNS client, i.e. the same thing. The DNS server makes a request to an authoritative servers, which in tern proposes a response after recursing itself.</p>
<p>this means that Dan spoofs responses for the first or any other DNS server of the recursive chain. I suspect that he might do something like a mass spoof for each ns server of the chain, thus increasing the chances of getting the right transaction ID.</p>
<p><q>My take is that Dan is simply blasting all the name servers in the recursive chain until one of them has a transaction ID that matches any of his requests. I suspect, although I haven&#8217;t tried, this is very much doable.</q></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross Snider</title>
		<link>http://www.gnucitizen.org/blog/the-way-of-logic-into-dans-dns-flaw/#comment-122989</link>
		<dc:creator>Ross Snider</dc:creator>
		<pubDate>Thu, 17 Jul 2008 14:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/?p=897#comment-122989</guid>
		<description>Keep in mind his saying, "If it recurses, it is vulnerable". The authoritative name servers are not at risk, while recursive name servers are. He has suggested a few times that you disable recursion if you do not use it.

I personally believe this is the key.</description>
		<content:encoded><![CDATA[<p>Keep in mind his saying, &#8220;If it recurses, it is vulnerable&#8221;. The authoritative name servers are not at risk, while recursive name servers are. He has suggested a few times that you disable recursion if you do not use it.</p>
<p>I personally believe this is the key.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
