<?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>danielmiessler.com &#187; Firewalls</title>
	<atom:link href="http://danielmiessler.com/categories/firewalls/feed" rel="self" type="application/rss+xml" />
	<link>http://danielmiessler.com</link>
	<description>grep understanding</description>
	<lastBuildDate>Sat, 11 Feb 2012 21:09:03 +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>Network Security: What Does A Firewall Mean To You?</title>
		<link>http://danielmiessler.com/blog/network-security-what-does-a-firewall-mean-to-you</link>
		<comments>http://danielmiessler.com/blog/network-security-what-does-a-firewall-mean-to-you#comments</comments>
		<pubDate>Mon, 05 Feb 2007 19:56:21 +0000</pubDate>
		<dc:creator>Daniel Miessler</dc:creator>
				<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Musings]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://dmiessler.com/archives/1100</guid>
		<description><![CDATA[Let me start by stating that much of what I&#8217;m about to cover was seeded by a wonderful talk I heard by Marcus Ranum back in 2003. Since then I&#8217;ve been sort of mulling everything over, and here are the basic ideas: From Marcus&#8217;s talk: Q: What does a packet filter do? A: Looks at [...]]]></description>
			<content:encoded><![CDATA[<p>Let me start by stating that much of what I&#8217;m about to cover was seeded by a wonderful talk I heard by <a href="http://www.ranum.com/">Marcus Ranum</a> back in 2003. Since then I&#8217;ve been sort of mulling everything over, and here are the basic ideas:</p>

<p>From Marcus&#8217;s talk:</p>

<ol>
    <li>Q: What does a <strong>packet filter</strong> do?
A: Looks at a few parts of packet headers and decides if it is bad. If it is, it drops it.</li>
    <li>Q: What does a <strong>stateful firewall</strong> do?
A: Looks at a more of a packet and decides if it&#8217;s bad. It uses the loose concept of &#8220;state&#8221; to help it. If it&#8217;s deemed inappropriate, it gets discarded.</li>
    <li>Q: What does an <strong>IDS</strong> do?
A: Looks at a bunch of stuff in the packet and decides if it&#8217;s bad or not based on signatures and/or some heuristics. If it&#8217;s bad, it notifies you.</li>
    <li>Q: What does an <strong>IPS</strong> do?
A: Looks at a bunch of stuff in the packet and decides if it&#8217;s bad or not based on signatures and/or some heuristics. If it&#8217;s bad, it drops the traffic and/or notifies you.</li>
</ol>

<blockquote>Marcus went on to ask: what&#8217;s the difference between these supposedly fundamentally different technologies? The answer was clear &#8212; <em>not much.</em> They&#8217;re all doing some sort of detection and then performing an action based on the result.</blockquote>

<p><small>(Here I&#8217;m going off on my own tangent so I&#8217;ll leave Marcus out of this)</small></p>

<p>So, ultimately there&#8217;s very little difference between a rudimentary packet filter from 10 years ago and a modern IPS. I see all these devices becoming one; I think a good name would be a &#8220;Security Check Point&#8221;, or a security &#8220;Gateway&#8221;.</p>

<p>The point is that in the future you won&#8217;t have to isolate these different technologies. You&#8217;ll just lay down a diagram of your environment and decide where you want filtering. Virtually every device on your network will be able to do all of these functions. All the way from the border router to the workstation.</p>

<p>This is the next evolution in the security space, I think. It&#8217;s even more advanced than NAC. Essentially, all pivot points and end hosts in the enterprise are part of the collective. The SIM/SEM functions as the brain. If there are performance issues then one type of security or another can be disabled on various pivots as needed, but in general all pivots will be able to perform all functions.</p>

<p>When an incident occurs, the system will simply isolate the problem by implementing ACLs on the nearest pivot point. If it wanted to, it could even push security information down to all other systems in the enterprise. To the security system, routers, firewalls, workstations, servers &#8212; they&#8217;re all the same. They&#8217;re just security nodes with various properties. Imagine object-oriented programming.</p>

<p>Using this model a security engineer could look at their network and simply assign logical security zones based on trust. The software would do the rest. The hardware at that point becomes transparent. It&#8217;s just carrying out the conceptual wishes of the engineer. I imagine an interface like the one in Minority Report, with a large view of the network infrastructure being displayed:</p>

<blockquote>These here are all trust level 3&#8230; (dragging and dropping with arm motions). This here is a priority filter (points at a central hub, holds, and selects from a dynamic context menu). Trust level 0 resides here (pointing at a cluster of server nodes). All surrounding filters move to sensitivity 9 and associate reporting procedures with the existing standard.</blockquote>

<p>So basically, you <em>design</em> how you want it to work, and the devices just make it happen. There&#8217;s no need for this kind of firewall or that kind of IDS &#8212; all security devices will merge into one &#8212; with each of them being able to do all filtering. The only reason they were separate was because they came into existence independently and there were performance issues. As these issues fade away there will be no reason whatsover to keep their functions separate.</p>

<p>Anyway, just a few thoughts&#8230;</p>
<div id="crp_related"><h3>Related Content</h3><ul><li><a href="http://danielmiessler.com/blog/the-via-model-of-security-filtering-technologies" rel="bookmark" class="crp_title">The VIA Model of Security Filtering Technologies</a></li><li><a href="http://danielmiessler.com/blog/security-and-obscurity-its-not-what-you-think" rel="bookmark" class="crp_title">Security And Obscurity: It&#8217;s Not What You Think</a></li><li><a href="http://danielmiessler.com/blog/is-risk-assessment-a-snake-oil-discipline" rel="bookmark" class="crp_title">Is Risk Assessment a Snake-Oil Discipline?</a></li><li><a href="http://danielmiessler.com/blog/how-to-remember-your-tcp-flags" rel="bookmark" class="crp_title">How To Remember Your TCP Flags</a></li><li><a href="http://danielmiessler.com/blog/6-steps-to-becoming-an-information-security-guru" rel="bookmark" class="crp_title">6 Steps To Becoming An Information Security Guru</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://danielmiessler.com/blog/network-security-what-does-a-firewall-mean-to-you/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How *Not* To Do Firewall Filtering</title>
		<link>http://danielmiessler.com/blog/how-not-to-do-firewall-filtering</link>
		<comments>http://danielmiessler.com/blog/how-not-to-do-firewall-filtering#comments</comments>
		<pubDate>Sat, 01 Jul 2006 02:28:30 +0000</pubDate>
		<dc:creator>Daniel Miessler</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Information Security]]></category>

		<guid isPermaLink="false">http://dmiessler.com/archives/799</guid>
		<description><![CDATA[Someone&#8217;s noticed a very interesting fact about firewall filtering that relies on session sniping, i.e. killing connections with RST packets. Namely, it&#8217;s rather trivial to bypass. For those who are into this sort of thing, the idea is very simple. China blocks people from going to certain sites by having their firewall kill browser sessions [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.schneier.com/blog/archives/2006/06/ignoring_the_gr.html">Someone&#8217;s noticed</a> a very interesting fact about firewall filtering that relies on session sniping, i.e. killing connections with RST packets. Namely, it&#8217;s rather trivial to bypass.</p>

<p>For those who are into this sort of thing, the idea is very simple. China blocks people from going to certain sites by having their firewall kill browser sessions that contain certain banned keywords.</p>

<p>This particular security technique is based on sitting in between the users and the Internet, monitoring for banned words at the firewall, and then sending &#8220;kill packets&#8221; to the client when they ask for something China doesn&#8217;t want them to see. These &#8220;kill packets&#8221; (RSTs) tell the requesting computer to drop the connection immediately, which results in the user not getting the page they were looking for. Simple enough.</p>

<p>Unfortunately for China, <em>it&#8217;s fairly trivial to drop various types of packets using a firewall on the client side.</em></p>

<p>In other words, the entire content filtering system is based on client systems receiving and responding normally to the firewall&#8217;s kill packets. If the client simply drops those packets, i.e. ignores them, then their session will continue on as if there were no filtering device in place at all.</p>

<p>And to make it even cooler, one can use TTL values to determine which RST packets are probably legitimately coming from the endpoint, and which are coming from a security device in the middle. So one could say, for example, &#8220;Drop all incoming packets with the RST flag set that have a TTL less than <em>x</em>.&#8221;</p>

<p>Of course, the firewall admin could exploit that rule by increasing the TTL on their outgoing RSTs, but then one could simply open up the rule and drop all RSTs. Cat and mouse, as usual.</p>

<p>Anyway, the idea&#8217;s quite interesting and it&#8217;ll be fun to see how it plays out.</p>
<div id="crp_related"><h3>Related Content</h3><ul><li><a href="http://danielmiessler.com/blog/awesome-new-linux-firewall-project" rel="bookmark" class="crp_title">Awesome New Linux Firewall Project</a></li><li><a href="http://danielmiessler.com/blog/the-via-model-of-security-filtering-technologies" rel="bookmark" class="crp_title">The VIA Model of Security Filtering Technologies</a></li><li><a href="http://danielmiessler.com/blog/how-to-remember-your-tcp-flags" rel="bookmark" class="crp_title">How To Remember Your TCP Flags</a></li><li><a href="http://danielmiessler.com/blog/the-power-of-linux" rel="bookmark" class="crp_title">The Power of Linux</a></li><li><a href="http://danielmiessler.com/blog/i-need-a-real-check-point-box" rel="bookmark" class="crp_title">I Need a REAL Check Point Box</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://danielmiessler.com/blog/how-not-to-do-firewall-filtering/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual Firewalls</title>
		<link>http://danielmiessler.com/blog/virtual-firewalls</link>
		<comments>http://danielmiessler.com/blog/virtual-firewalls#comments</comments>
		<pubDate>Fri, 17 Mar 2006 15:02:37 +0000</pubDate>
		<dc:creator>Daniel Miessler</dc:creator>
				<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://dmiessler.com/archives/721</guid>
		<description><![CDATA[Full firewalls all within a virtual environment &#8212; very cool stuff&#8230; http://edge.i-hacked.com/firewalls-ready-to-go-with-vmware-virtual-machines Related ContentVirtualBox: Run Compiz in a Virtual MachineVMware Server 2.0 BetaOS X: Using VMWare To Run Vista From Your Bootcamp PartitionVMware Fusion Beta 2 FeaturesWhy You Shouldn&#8217;t Play Warcraft]]></description>
			<content:encoded><![CDATA[<p>Full firewalls all within a virtual environment &#8212; very cool stuff&#8230;</p>

<p><a href="http://edge.i-hacked.com/firewalls-ready-to-go-with-vmware-virtual-machines">http://edge.i-hacked.com/firewalls-ready-to-go-with-vmware-virtual-machines</a></p>
<div id="crp_related"><h3>Related Content</h3><ul><li><a href="http://danielmiessler.com/blog/virtualbox-run-compiz-in-a-virtual-machine" rel="bookmark" class="crp_title">VirtualBox: Run Compiz in a Virtual Machine</a></li><li><a href="http://danielmiessler.com/blog/vmware-server-20-beta" rel="bookmark" class="crp_title">VMware Server 2.0 Beta</a></li><li><a href="http://danielmiessler.com/blog/os-x-using-vmware-to-run-vista-from-your-bootcamp-partition" rel="bookmark" class="crp_title">OS X: Using VMWare To Run Vista From Your Bootcamp Partition</a></li><li><a href="http://danielmiessler.com/blog/vmware-fusion-beta-2-features" rel="bookmark" class="crp_title">VMware Fusion Beta 2 Features</a></li><li><a href="http://danielmiessler.com/blog/why-you-shouldnt-play-warcraft" rel="bookmark" class="crp_title">Why You Shouldn&#8217;t Play Warcraft</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://danielmiessler.com/blog/virtual-firewalls/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Awesome New Linux Firewall Project</title>
		<link>http://danielmiessler.com/blog/awesome-new-linux-firewall-project</link>
		<comments>http://danielmiessler.com/blog/awesome-new-linux-firewall-project#comments</comments>
		<pubDate>Fri, 20 Jan 2006 05:37:07 +0000</pubDate>
		<dc:creator>Daniel Miessler</dc:creator>
				<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Information Security]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://dmiessler.com/archives/652</guid>
		<description><![CDATA[NuFW is a very interesting new Linux firewall product that does something no other Linux firewall does &#8212; it authorizes packets based on user identity. If you&#8217;re a security geek, like many of my friends are, this is very exciting. Check it out: http://www.nufw.org/  Related ContentHow *Not* To Do Firewall FilteringThe Power of LinuxUnifying the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nufw.org/index.php3?lang=en">NuFW</a> is a very interesting new Linux firewall product that does something no other Linux firewall does &#8212; <em>it authorizes packets based on user identity.</em></p>

<p>If you&#8217;re a security geek, like many of my friends are, this is very exciting. Check it out:</p>

<p><a href="http://www.nufw.org/index.php3?lang=en">http://www.nufw.org/ </a></p>
<div id="crp_related"><h3>Related Content</h3><ul><li><a href="http://danielmiessler.com/blog/how-not-to-do-firewall-filtering" rel="bookmark" class="crp_title">How *Not* To Do Firewall Filtering</a></li><li><a href="http://danielmiessler.com/blog/the-power-of-linux" rel="bookmark" class="crp_title">The Power of Linux</a></li><li><a href="http://danielmiessler.com/blog/unifying-the-linux-desktop" rel="bookmark" class="crp_title">Unifying the Linux Desktop</a></li><li><a href="http://danielmiessler.com/blog/sabayon-linux" rel="bookmark" class="crp_title">Sabayon Linux</a></li><li><a href="http://danielmiessler.com/blog/why-the-iphone-dominates-marco-org-great-since-day-one" rel="bookmark" class="crp_title">Why the iPhone Dominates :: Marco.org &#8211; Great Since Day One</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://danielmiessler.com/blog/awesome-new-linux-firewall-project/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

