<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: NAT Pinning and ABE</title>
	<link>http://hackademix.net/2010/01/08/nat-pinning-and-abe/</link>
	<description>Giorgio Maone's answers to the Web, the Universe, and Everything</description>
	<pubDate>Wed, 16 May 2012 22:06:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>By: Giorgio</title>
		<link>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19894</link>
		<dc:creator>Giorgio</dc:creator>
		<pubDate>Sun, 24 Jan 2010 13:58:21 +0000</pubDate>
		<guid>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19894</guid>
		<description>@&lt;a href="http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19868" rel="nofollow"&gt;Sorrow&lt;/a&gt;:
Both are invalid endpoints, so they're both OK as long as the OS immediately rejectS them for connection building, improving responsiveness.</description>
		<content:encoded><![CDATA[<p>@<a href="http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19868" rel="nofollow">Sorrow</a>:<br />
Both are invalid endpoints, so they&#8217;re both OK as long as the OS immediately rejectS them for connection building, improving responsiveness.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sorrow</title>
		<link>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19868</link>
		<dc:creator>Sorrow</dc:creator>
		<pubDate>Sat, 23 Jan 2010 21:45:44 +0000</pubDate>
		<guid>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19868</guid>
		<description>I have a question again, Giorgio, even though it may have been asked already.

What's the benefits of employing 255.255.255.0 as your redirect address/local domain within your hosts file, instead of using 0.0.0.0?

Wouldn't those two addresses offer the same benefits overall? Or will using the subnet mask 255.255.255.0 do something else I'm not aware of?

Just curious what you have to say about it.

P.S. I referenced your knowledge on the Wikipedia article for Hosts file.</description>
		<content:encoded><![CDATA[<p>I have a question again, Giorgio, even though it may have been asked already.</p>
<p>What&#8217;s the benefits of employing 255.255.255.0 as your redirect address/local domain within your hosts file, instead of using 0.0.0.0?</p>
<p>Wouldn&#8217;t those two addresses offer the same benefits overall? Or will using the subnet mask 255.255.255.0 do something else I&#8217;m not aware of?</p>
<p>Just curious what you have to say about it.</p>
<p>P.S. I referenced your knowledge on the Wikipedia article for Hosts file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giorgio</title>
		<link>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19376</link>
		<dc:creator>Giorgio</dc:creator>
		<pubDate>Thu, 14 Jan 2010 22:26:58 +0000</pubDate>
		<guid>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19376</guid>
		<description>@&lt;a href="http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19365" rel="nofollow"&gt;Christophe&lt;/a&gt;:
Technically yes, but
&lt;ol&gt;
&lt;li&gt;Blocking common alternate HTTP ports such as 8080, 8081, 8090, 8443, 9080 and so on it's undesirable.&lt;/li&gt;
&lt;li&gt;As far as we currently know, we just need to block IRC, SIP and FTP. My regular expression blocks more just to be safe, but tries not to exceed in strictness.&lt;/li&gt;
&lt;/ol&gt;</description>
		<content:encoded><![CDATA[<p>@<a href="http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19365" rel="nofollow">Christophe</a>:<br />
Technically yes, but</p>
<ol>
<li>Blocking common alternate HTTP ports such as 8080, 8081, 8090, 8443, 9080 and so on it&#8217;s undesirable.</li>
<li>As far as we currently know, we just need to block IRC, SIP and <a href="http://FTP." rel="nofollow">FTP.</a> My regular expression blocks more just to be safe, but tries not to exceed in strictness.</li>
</ol>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christophe</title>
		<link>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19365</link>
		<dc:creator>Christophe</dc:creator>
		<pubDate>Thu, 14 Jan 2010 16:09:51 +0000</pubDate>
		<guid>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19365</guid>
		<description>Shouldn't the regular expression be

^https?://[^/]+:([1-35-79]&#124;8(?!0)&#124;8(?=0\d)&#124;4(?!43)&#124;4(?=\d{3}))

in order to prevent connections to ports different from 80 and 443? The expression used in the post still allows port 45, 81, 9, etc.

Warning: I assume no one will start the port number with 0, seems rather unlikely a link using that will be up to something good.</description>
		<content:encoded><![CDATA[<p>Shouldn&#8217;t the regular expression be</p>
<p>^https?://[^/]+:([1-35-79]|8(?!0)|8(?=0\d)|4(?!43)|4(?=\d{3}))</p>
<p>in order to prevent connections to ports different from 80 and 443? The expression used in the post still allows port 45, 81, 9, etc.</p>
<p>Warning: I assume no one will start the port number with 0, seems rather unlikely a link using that will be up to something good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Week 1 in Review – 2010 &#124; Infosec Events</title>
		<link>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19242</link>
		<dc:creator>Week 1 in Review – 2010 &#124; Infosec Events</dc:creator>
		<pubDate>Tue, 12 Jan 2010 10:10:39 +0000</pubDate>
		<guid>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19242</guid>
		<description>[...] NAT Pinning and ABE – hackademix.net Some feedback on NAT pinning and prevention of attacks using this. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] NAT Pinning and ABE – hackademix.net Some feedback on NAT pinning and prevention of attacks using this. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giorgio</title>
		<link>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19003</link>
		<dc:creator>Giorgio</dc:creator>
		<pubDate>Fri, 08 Jan 2010 20:18:17 +0000</pubDate>
		<guid>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-19003</guid>
		<description>@&lt;a href="http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-18999" rel="nofollow"&gt;ac&lt;/a&gt;:
&lt;blockquote&gt;Another thing: I’m curious if this can be used to open a port to another system on network than the one that’s used to send the command eg by guessing the internal IP?&lt;/blockquote&gt;
Apparently yes. And before the two bugs you named were fixed, you didn't even need to guess the IP...</description>
		<content:encoded><![CDATA[<p>@<a href="http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-18999" rel="nofollow">ac</a>:</p>
<blockquote><p>Another thing: I’m curious if this can be used to open a port to another system on network than the one that’s used to send the command eg by guessing the internal IP?</p></blockquote>
<p>Apparently yes. And before the two bugs you named were fixed, you didn&#8217;t even need to guess the IP&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ac</title>
		<link>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-18999</link>
		<dc:creator>ac</dc:creator>
		<pubDate>Fri, 08 Jan 2010 18:32:21 +0000</pubDate>
		<guid>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-18999</guid>
		<description>@#3 Giorgio 
Many thanks for clearing up my misconception!
I suppose the only patch (besides using NoScipt of course) is to disable ip_conntrack_ftp.o and ip_conntrack_irc.o on 2.4.* or nf_nat_ftp.ko and nf_nat_irc.ko on 2.6.*
Will have to look how much functionality this breaks.

Another thing: I'm curious if this can be used to open a port to another system on network than the one that's used to send the command eg by guessing the internal IP?</description>
		<content:encoded><![CDATA[<p>@#3 Giorgio<br />
Many thanks for clearing up my misconception!<br />
I suppose the only patch (besides using NoScipt of course) is to disable ip_conntrack_ftp.o and ip_conntrack_irc.o on 2.4.* or nf_nat_ftp.ko and nf_nat_irc.ko on 2.6.*<br />
Will have to look how much functionality this breaks.</p>
<p>Another thing: I&#8217;m curious if this can be used to open a port to another system on network than the one that&#8217;s used to send the command eg by guessing the internal IP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HNicolai</title>
		<link>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-18991</link>
		<dc:creator>HNicolai</dc:creator>
		<pubDate>Fri, 08 Jan 2010 14:39:09 +0000</pubDate>
		<guid>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-18991</guid>
		<description>I tried the vulnerable yesterday, and it seems like ABE blocked it successfully. When I clicked on the link, then ABE came with a &#34;Warning&#34; and my router hasn't forwarded any ports :)

But i'm still writting &#34;Site ^https?://[^/]+:[0-35-7] (newline) Deny&#34; in my USER.abe file</description>
		<content:encoded><![CDATA[<p>I tried the vulnerable yesterday, and it seems like ABE blocked it successfully. When I clicked on the link, then ABE came with a &quot;Warning&quot; and my router hasn&#8217;t forwarded any ports :)</p>
<p>But i&#8217;m still writting &quot;Site ^https?://[^/]+:[0-35-7] (newline) Deny&quot; in my USER.abe file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AnonCoward</title>
		<link>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-18989</link>
		<dc:creator>AnonCoward</dc:creator>
		<pubDate>Fri, 08 Jan 2010 14:19:13 +0000</pubDate>
		<guid>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-18989</guid>
		<description>Wow!
Brisk work.
So now most of all, thoughty, Samy *and* Giorgio are my heroes.</description>
		<content:encoded><![CDATA[<p>Wow!<br />
Brisk work.<br />
So now most of all, thoughty, Samy *and* Giorgio are my heroes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giorgio</title>
		<link>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-18988</link>
		<dc:creator>Giorgio</dc:creator>
		<pubDate>Fri, 08 Jan 2010 13:57:57 +0000</pubDate>
		<guid>http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-18988</guid>
		<description>@&lt;a href="http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-18963" rel="nofollow"&gt;ac&lt;/a&gt;:
No, this one has never been fixed because it's not a bug.
This issue is related to the fixed bug you found (it affects the same functionality), but in this case the functionality is working as expected, allowing the remote IP to connect with the originating IP at the requested port.
So Linux-based routers are still affected, and they are unlikely to be patched any time soon against a non-bug...</description>
		<content:encoded><![CDATA[<p>@<a href="http://hackademix.net/2010/01/08/nat-pinning-and-abe/#comment-18963" rel="nofollow">ac</a>:<br />
No, this one has never been fixed because it&#8217;s not a bug.<br />
This issue is related to the fixed bug you found (it affects the same functionality), but in this case the functionality is working as expected, allowing the remote IP to connect with the originating IP at the requested port.<br />
So Linux-based routers are still affected, and they are unlikely to be patched any time soon against a non-bug&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

