<?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>mcBachmann.de TechBlog &#187; dns</title>
	<atom:link href="http://blog.mcbachmann.de/tag/dns/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.mcbachmann.de</link>
	<description>Der Blog zur Website ;-)</description>
	<lastBuildDate>Wed, 11 Jan 2012 21:12:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>dnsmasq: stop dns-rebind attacks</title>
		<link>http://blog.mcbachmann.de/linux/dnsmasq-stop-dns-rebind-attacks</link>
		<comments>http://blog.mcbachmann.de/linux/dnsmasq-stop-dns-rebind-attacks#comments</comments>
		<pubDate>Thu, 22 Jul 2010 08:55:50 +0000</pubDate>
		<dc:creator>Sven Bachmann</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[attack]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dnsmasq]]></category>

		<guid isPermaLink="false">http://blog.mcbachmann.de/?p=525</guid>
		<description><![CDATA[Hi, in this years Black Hat conference, Craig Heffner will show an attack against many home routers which is based on DNS rebinding. This article shows you, how to disable it on dnsmasq. DNS rebinding is based on the following scheme (thanks to Mitternachtshacking &#8211; article in german): Webbrowser loads page with flash from server [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, in this years Black Hat conference, Craig Heffner will show an attack against many home routers which is based on DNS rebinding. This article shows you, how to disable it on dnsmasq. <span id="more-525"></span></p>
<p>DNS rebinding is based on the following scheme (thanks to <a href="http://www.mitternachtshacking.de/blog/429-24c3-dns-rebinding">Mitternachtshacking</a> &#8211; article in german):</p>
<ul>
<li>Webbrowser loads page with flash from server www.mydomain.com<br />DNS for www.mydomain.com is: 212.18.45.xx with TTL=1</li>
<li>Webbroswer loads xmlsocket-policy from server www.mydomain.com, which allows port 22<br />DNS for www.mydomain.com is: 212.18.45.xx with TTL=1</li>
<li>Flash which runs in webbrowser opens a connection to www.mydomain.com:22<br />DNS for www.mydomain.com is: 192.168.1.1 with TTL=1</li>
</ul>
<p>Everything runs under the same-origin-policy.</p>
<p>To prevent dnsmasq from accepting this, just add the following to the dnsmasq commandline:</p>
<blockquote><p><code>--stop-dns-rebind</code></p></blockquote>
<p>With Debian Lenny, you just need to add this line in the file /etc/default/dnsmasq:</p>
<blockquote><p><code>DNSMASQ_OPTS="--stop-dns-rebind"</code></p></blockquote>
<p>Bye,<br />
  Sven</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mcbachmann.de/linux/dnsmasq-stop-dns-rebind-attacks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

