<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: More annoying DNS queries</title>
	<atom:link href="http://www.stupendous.net/archives/2009/01/22/more-annoying-dns-queries/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stupendous.net/archives/2009/01/22/more-annoying-dns-queries/</link>
	<description>ramblings of a caffeinated discombobulated mind</description>
	<lastBuildDate>Mon, 08 Mar 2010 01:14:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Patrik Rak</title>
		<link>http://www.stupendous.net/archives/2009/01/22/more-annoying-dns-queries/comment-page-1/#comment-9471</link>
		<dc:creator>Patrik Rak</dc:creator>
		<pubDate>Fri, 23 Jan 2009 15:11:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.stupendous.net/?p=271#comment-9471</guid>
		<description>&lt;p&gt;Here is my rule to stop the ./NS/IN queries:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;iptables -A INPUT -j DROP -p udp --dport domain -m u32 --u32 \
&quot;0&gt;&gt;22&amp;0x3C@12&gt;&gt;16=1&amp;&amp;0&gt;&gt;22&amp;0x3C@20&gt;&gt;24=0&amp;&amp;0&gt;&gt;22&amp;0x3C@21=0x00020001&quot;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Specifically, it tests that the packet contains one query, the query is for empty name, NS type and IN class.&lt;/p&gt;

&lt;p&gt;Hope it helps.&lt;/p&gt;

&lt;p&gt;Patrik&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Here is my rule to stop the ./NS/IN queries:</p>
<p><div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">iptables -A INPUT -j DROP -p udp --dport domain -m u32 --u32 \<br />
&quot;0&gt;&gt;22&amp;0x3C@12&gt;&gt;16=1&amp;&amp;0&gt;&gt;22&amp;0x3C@20&gt;&gt;24=0&amp;&amp;0&gt;&gt;22&amp;0x3C@21=0x00020001&quot;</div></div>
</p>
<p>Specifically, it tests that the packet contains one query, the query is for empty name, NS type and IN class.</p>
<p>Hope it helps.</p>
<p>Patrik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chrome</title>
		<link>http://www.stupendous.net/archives/2009/01/22/more-annoying-dns-queries/comment-page-1/#comment-9470</link>
		<dc:creator>chrome</dc:creator>
		<pubDate>Fri, 23 Jan 2009 08:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.stupendous.net/?p=271#comment-9470</guid>
		<description>&lt;p&gt;yep, we know Adam. Thanks. Configuring the DNS to reject recursive queries isn&#039;t the problem here, rather it is the fact that we are still replying to your spoofed addresses at all.&lt;/p&gt;

&lt;p&gt;It&#039;s my opinion that bind needs an option for dropping recursive queries completely.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>yep, we know Adam. Thanks. Configuring the DNS to reject recursive queries isn&#8217;t the problem here, rather it is the fact that we are still replying to your spoofed addresses at all.</p>
<p>It&#8217;s my opinion that bind needs an option for dropping recursive queries completely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Jacob Muller</title>
		<link>http://www.stupendous.net/archives/2009/01/22/more-annoying-dns-queries/comment-page-1/#comment-9469</link>
		<dc:creator>Adam Jacob Muller</dc:creator>
		<pubDate>Thu, 22 Jan 2009 18:05:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.stupendous.net/?p=271#comment-9469</guid>
		<description>&lt;p&gt;Hi,
I work at ISPrime in the network abuse / security department, unfortunately we are not actually sending these queries to you (if we were, we would be able to fix things very easily).
CYMRU provides an excellent well-commented bind template which can help you with reconfiguring your dns servers to mitigate this: http://www.cymru.com/Documents/secure-bind-template.html
If you have any other questions i&#039;m personally reachable at adam@isprime.com, and our abuse department is 24/7 at abuse@isprime.com.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I work at ISPrime in the network abuse / security department, unfortunately we are not actually sending these queries to you (if we were, we would be able to fix things very easily).<br />
CYMRU provides an excellent well-commented bind template which can help you with reconfiguring your dns servers to mitigate this: <a href="http://www.cymru.com/Documents/secure-bind-template.html" rel="nofollow">http://www.cymru.com/Documents/secure-bind-template.html</a><br />
If you have any other questions i&#8217;m personally reachable at <a href="mailto:adam@isprime.com">adam@isprime.com</a>, and our abuse department is 24/7 at <a href="mailto:abuse@isprime.com">abuse@isprime.com</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.stupendous.net/archives/2009/01/22/more-annoying-dns-queries/comment-page-1/#comment-9468</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Thu, 22 Jan 2009 15:29:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.stupendous.net/?p=271#comment-9468</guid>
		<description>&lt;p&gt;Their response:&lt;/p&gt;

&lt;p&gt;Begin forwarded message:&lt;/p&gt;

&lt;p&gt;From: ISPrime Support &lt;a href=&quot;mailto:&#x73;&#x75;&#x70;&#x70;&#x6f;r&#x74;&#64;&#105;&#x73;&#112;r&#105;&#x6d;&#101;&#x2e;c&#x6f;&#x6d;&quot; rel=&quot;nofollow&quot;&gt;&#x73;&#x75;&#x70;&#x70;&#x6f;r&#x74;&#64;&#105;&#x73;&#112;r&#105;&#x6d;&#101;&#x2e;c&#x6f;&#x6d;&lt;/a&gt;
Date: January 22, 2009 9:06:34 AM CST
To: tim@timsnet.com
Cc: support@isprime.com
Subject: Re: ISPrime being blackholed by DNS server due to DDOS from ISPRIME:&lt;/p&gt;

&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;These are the result of a spoofed dns recursion attack against our servers. The actual packets in question (the ones reaching your servers) do NOT originate from our network as such there is no way for us to filter things from our end.&lt;/p&gt;

&lt;p&gt;If you are receiving queries from 76.9.31.42/76.9.16.171 neither of these machines make legitimate outbound dns requests so an inbound filter of packets to udp/53 from either of these two sources is perfect.&lt;/p&gt;

&lt;p&gt;If you are receiving queries from 66.230.128.15/66.230.160.1 these servers are authoritative nameservers. Please do not blackhole either of these IPs as they host many domains. However, these IPs do not make outbound DNS requests so filtering requests to your IPs from these ips with a destination port of 53 should block any illegitimate requests.&lt;/p&gt;

&lt;p&gt;An ACL similar to:
access-list 110 deny udp host 66.230.160.1 neq 53 any eq 53
access-list 110 deny udp host 66.230.128.15 neq 53 any eq 53
Is what you want.&lt;/p&gt;

&lt;p&gt;I would also suggest taking a look at the excellent CYMRU secure bind template (assuming you are running bind), to help you configure your nameservers so that you do not participate in this attack: http://www.cymru.com/Documents/secure-bind-template.html.&lt;/p&gt;

&lt;p&gt;Thanks for your help in mitigating this attack against us.&lt;/p&gt;

&lt;p&gt;Please let me know if I can be of further assistance.&lt;/p&gt;

&lt;p&gt;ISPrime Support
support@isprime.com
ICQ: 136633378&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Their response:</p>
<p>Begin forwarded message:</p>
<p>From: ISPrime Support <a href="mailto:&#x73;&#x75;&#x70;&#x70;&#x6f;r&#x74;&#64;&#105;&#x73;&#112;r&#105;&#x6d;&#101;&#x2e;c&#x6f;&#x6d;" rel="nofollow">&#x73;&#x75;&#x70;&#x70;&#x6f;r&#x74;&#64;&#105;&#x73;&#112;r&#105;&#x6d;&#101;&#x2e;c&#x6f;&#x6d;</a><br />
Date: January 22, 2009 9:06:34 AM CST<br />
To: <a href="mailto:tim@timsnet.com">tim@timsnet.com</a><br />
Cc: <a href="mailto:support@isprime.com">support@isprime.com</a><br />
Subject: Re: ISPrime being blackholed by DNS server due to DDOS from ISPRIME:</p>
<p>Hello,</p>
<p>These are the result of a spoofed dns recursion attack against our servers. The actual packets in question (the ones reaching your servers) do NOT originate from our network as such there is no way for us to filter things from our end.</p>
<p>If you are receiving queries from 76.9.31.42/76.9.16.171 neither of these machines make legitimate outbound dns requests so an inbound filter of packets to udp/53 from either of these two sources is perfect.</p>
<p>If you are receiving queries from 66.230.128.15/66.230.160.1 these servers are authoritative nameservers. Please do not blackhole either of these IPs as they host many domains. However, these IPs do not make outbound DNS requests so filtering requests to your IPs from these ips with a destination port of 53 should block any illegitimate requests.</p>
<p>An ACL similar to:<br />
access-list 110 deny udp host 66.230.160.1 neq 53 any eq 53<br />
access-list 110 deny udp host 66.230.128.15 neq 53 any eq 53<br />
Is what you want.</p>
<p>I would also suggest taking a look at the excellent CYMRU secure bind template (assuming you are running bind), to help you configure your nameservers so that you do not participate in this attack: <a href="http://www.cymru.com/Documents/secure-bind-template.html" rel="nofollow">http://www.cymru.com/Documents/secure-bind-template.html</a>.</p>
<p>Thanks for your help in mitigating this attack against us.</p>
<p>Please let me know if I can be of further assistance.</p>
<p>ISPrime Support<br />
<a href="mailto:support@isprime.com">support@isprime.com</a><br />
ICQ: 136633378</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chrome</title>
		<link>http://www.stupendous.net/archives/2009/01/22/more-annoying-dns-queries/comment-page-1/#comment-9467</link>
		<dc:creator>chrome</dc:creator>
		<pubDate>Thu, 22 Jan 2009 12:12:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.stupendous.net/?p=271#comment-9467</guid>
		<description>&lt;p&gt;The other solution is to add a blackhole to your Bind9 config; but this is just temporary. They&#039;ve been doing this for weeks, using different IPs as they see fit.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The other solution is to add a blackhole to your Bind9 config; but this is just temporary. They&#8217;ve been doing this for weeks, using different IPs as they see fit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.stupendous.net/archives/2009/01/22/more-annoying-dns-queries/comment-page-1/#comment-9463</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Thu, 22 Jan 2009 11:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.stupendous.net/?p=271#comment-9463</guid>
		<description>&lt;p&gt;I&#039;m affected too. Since a couple of hours my logs are flooded by this. I added two simple iptables rules to get rid of it.&lt;/p&gt;

&lt;p&gt;iptables -A INPUT -p udp --dport 53 -s 66.230.128.15 -j DROP
iptables -A INPUT -p udp --dport 53 -s 66.230.160.1 -j DROP&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m affected too. Since a couple of hours my logs are flooded by this. I added two simple iptables rules to get rid of it.</p>
<p>iptables -A INPUT -p udp &#8211;dport 53 -s 66.230.128.15 -j DROP<br />
iptables -A INPUT -p udp &#8211;dport 53 -s 66.230.160.1 -j DROP</p>
]]></content:encoded>
	</item>
</channel>
</rss>
