<?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>CCIE Lab &#187; Uncategorized</title>
	<atom:link href="http://ccielab.ro/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://ccielab.ro</link>
	<description>Cry in the Lab, Laugh in the Datacenter</description>
	<lastBuildDate>Mon, 02 Jan 2012 00:15:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Basic packet crafting</title>
		<link>http://ccielab.ro/2010/06/basic-pachet-crafting/</link>
		<comments>http://ccielab.ro/2010/06/basic-pachet-crafting/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 19:47:40 +0000</pubDate>
		<dc:creator>Dragos Draghicescu</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[acl]]></category>
		<category><![CDATA[craft]]></category>
		<category><![CDATA[hping]]></category>

		<guid isPermaLink="false">http://ccielab.ro/?p=86</guid>
		<description><![CDATA[Ok, this will be a short one  . I just want to raise attention on how can one bypass an extended (or standard) ACL (or access-list).
So, for this example, i have one router with an IP address of 10.10.10.2, which can be accessed only by the admin, only from 20.20.20.20. That is done with [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify">Ok, this will be a short one <img src='http://ccielab.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I just want to raise attention on how can one bypass an extended (or standard) ACL (or access-list).</p>
<p style="text-align: justify">So, for this example, i have one router with an IP address of 10.10.10.2, which can be accessed only by the admin, only from 20.20.20.20. That is done with an inbound ACL, put on the egress interface of the router. Looks like this:</p>
<pre>Extended IP access list 111</pre>
<pre>20 permit ip host 20.20.20.20 host 10.10.10.2 log</pre>
<p style="text-align: justify">There is a little problem with spoofing: the return traffic has to be routed back to the attacker. But everything will work just fine if you happen to be in the same network with the admin (you can achieve bidirectional communication). In case the attack is done over the Internet, there is still the possibility of a DOS (Denial Of Service), by sending tons of packets that will be accepted. I assumed another thing: your ISP does not check for the source of the packets (DOS attacks are less frequent if that simple measure is taken).</p>
<p style="text-align: justify">For the demonstration, i chose a well-known packet crafter named HPING3. It allows one to customize a packet at different layers and it`s well documented, but for now we will only use a fraction of it`s power:</p>
<pre><em><strong>$</strong></em><em> sudo hping3 -S 10.10.10.2 -a 20.20.20.20</em></pre>
<p>The result could be:</p>
<pre style="text-align: justify"><em>*Mar 1 05:52:01.702: %SEC-6-IPACCESSLOGP:</em></pre>
<pre style="text-align: justify"><em>list 111 permitted tcp 20.20.20.20(0) -&gt; 10.10.10.2(0), 360 packets</em></pre>
<p style="text-align: justify"><em>To check the amount of pings, you can issue the command &#8220;</em><em><strong>show ip traffic | section ICMP</strong></em><em>&#8220;. You can &#8220;<strong>clear ip traffic</strong></em><em>&#8221; before that.</em></p>
<p style="text-align: justify"><em>Despite this, ACLs are still adding a serious amount of security to your network. But in front of a determined attacker, one should do more than that in order to have a healthy network. </em></p>
]]></content:encoded>
			<wfw:commentRss>http://ccielab.ro/2010/06/basic-pachet-crafting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

