<?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>Cupfighter.net &#187; Network</title>
	<atom:link href="http://www.cupfighter.net/index.php/category/security/network/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cupfighter.net</link>
	<description>A blog by Schuberg Philis colleagues</description>
	<lastBuildDate>Thu, 09 Feb 2012 14:27:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>FIRST2011: Listening to the network: Leveraging Network Flow Telemetry for Security Applications</title>
		<link>http://www.cupfighter.net/index.php/2011/06/first2011-listening-to-the-network/</link>
		<comments>http://www.cupfighter.net/index.php/2011/06/first2011-listening-to-the-network/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 13:20:11 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[First2011]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Arbor Networks]]></category>
		<category><![CDATA[Darren Anstee]]></category>
		<category><![CDATA[Flows]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1341</guid>
		<description><![CDATA[By Darren Anstee of Arbor Networks Why is it a good idea to us flow information? You don’t need to invest in new equipment to get flow information It can be used to detect malware infected hosts, DDoS, zero-day exploits, attack and abuse Network flows information is generated regardless if there was symmetric or a-symmetic [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1340" class="wp-caption alignright" style="width: 394px"><a href="http://www.flickr.com/photos/79968372@N00/34208251/"><img class="size-full wp-image-1340 " title="Phone Bill a CC NC ND image from Nikita Kashner's Flickr stream" src="http://www.cupfighter.net/wp-content/uploads/2011/06/Phone-Bill.jpg" alt="Phone Bill a CC NC ND image from Nikita Kashner's Flickr stream" width="384" height="218" /></a><p class="wp-caption-text">Phone Bill a CC NC ND image from Nikita Kashner&#39;s Flickr stream</p></div>
<p>By Darren Anstee of Arbor Networks</p>
<p>Why is it a good idea to us flow information?</p>
<ul>
<li>You don’t need to invest in new equipment to get flow information</li>
<li>It can be used to detect malware infected hosts, DDoS, zero-day exploits, attack and abuse</li>
<li>Network flows information is generated regardless if there was symmetric or a-symmetic routing</li>
</ul>
<p>Network flow information is like a phone bill, you cannot tell what has been said, but you can use it to prove who talked to who.</p>
<p>So what does a flow record contain?</p>
<ul>
<li>Source IP address</li>
<li>Destination IP address</li>
<li>Source port</li>
<li>Destination port</li>
<li>Input IfIndex</li>
<li>Protocol</li>
<li>Type of Service</li>
<li>packet count</li>
<li>Byte count</li>
<li>First packet time</li>
<li>Last packet time</li>
<li>Output ifIndex</li>
<li>Etc…</li>
</ul>
<p><span id="more-1341"></span></p>
<p>Flow information allows you to monitor large geographically dispersed networks.</p>
<p>So how can flow information be used for security purposes?</p>
<p>Flow information helps you understand how you network normally behaves. Unusual behavior might indicate DDoS attacks of malware infections.</p>
<p>One could look at the flow information manually, but it does make more sense to install a collection and analysis system. These systems often give the benefit of providing historical data that can help us understand current data and allow us to use this information for forensic purposes.</p>
<p>There are a lot of open source and commercial flow collection and analysis systems available.</p>
<p>Next Darren showed demonstrations of how flow information can be used.</p>
<p>First example is how to detect malware infected hosts in an enterprise environment.</p>
<p>How? One of two ways:</p>
<ul>
<li>Looking for abnormal behavior</li>
<li>Looking for known bad behavior, e.g. communication to known Command can Control servers</li>
</ul>
<p>So what is typical unusual behavior?</p>
<ul>
<li>Unusual outbound SMTP</li>
<li>Off-net DNS queries</li>
<li>Scan detection</li>
<li>Unusual outbound behavior</li>
<li>etc.</li>
</ul>
<p>Finding more then one anomalies increases the likelihood of these systems being infected.</p>
<p>One of the bonuses of flow information is that routers and switches still generate flow information even if firewalls drop the traffic.</p>
<p>Darren showed us how tools like nfdump can be used to detect systems with various abnormal behavior such as connecting to external mail servers or DNS servers too much or generating classic DDoS attacks.</p>
<p>Naturally you can also use flow information to detect DDoS attacks.</p>
<p>How do tools, like those Arbor makes, detect DDoS attacks?</p>
<ul>
<li>Baseline detection and baseline deviation</li>
<li>Misuse flow detection (SYN-flood, UDP-flood)</li>
<li>Detect bursts in the network</li>
<li>Use thresholds</li>
</ul>
<p>Why would you use flow information over firewall logs? Routers and switches are much more omnipresent and switches and routers do generate flows even if the firewall drops the traffic.</p>
<p>The slides for this talk with links to whitepapers and open source tools can be downloaded from the <a href="http://www.first.org" target="_blank">first.org</a> website.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/06/first2011-listening-to-the-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESXi: issues with NFS datastore. Where do I put my tcpdump?</title>
		<link>http://www.cupfighter.net/index.php/2011/02/esxi-issues-with-nfs-datastore-where-do-i-put-my-tcpdump/</link>
		<comments>http://www.cupfighter.net/index.php/2011/02/esxi-issues-with-nfs-datastore-where-do-i-put-my-tcpdump/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 16:41:50 +0000</pubDate>
		<dc:creator>Enrico Romani</dc:creator>
				<category><![CDATA[ESXi]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[vSphere 4]]></category>
		<category><![CDATA[tcpdump]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1232</guid>
		<description><![CDATA[ESXi over NFS works just great! But what if you have an issue with NFS and you need a network dump?  In ESXi tipically you don&#8217;t have a local datastore where you can write files from the network dump and your datastore over NFS is not availabe! Before running into the Data Centre and stick a USB disk [...]]]></description>
			<content:encoded><![CDATA[<p>ESXi over NFS works just great!</p>
<p>But what if you have an issue with NFS and you need a network dump? </p>
<p>In ESXi tipically you don&#8217;t have a local datastore where you can write files from the network dump and your datastore over NFS is not availabe!</p>
<p>Before running into the Data Centre and stick a USB disk or even better a SCSI disk you might want to try this. <img src='http://www.cupfighter.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>One trick I used that worked out pretty well for me, with a little help of my a linux machine, is to send the <a title="ESXi tcpdump" href="http://www.cupfighter.net/?p=1217" target="_blank">tcpdump</a> output to a FIFO and from a remote host (might be a VM in a different ESXi host) over SSH <code>cat</code> the FIFO to a local file.</p>
<p><strong>How To:</strong><br />
On the ESXi host logon via SSH as root and create a named pipe:</p>
<p><code>root@yourESXihost# mkfifo /tmp/pipe.dmp</code></p>
<p>and from a remote linux machine launch the following:</p>
<p><code>you@yourlinuxhost &gt; ssh root@youresxihost "cat /tmp/pipe.dmp" &gt; capture-for-wireshark.cap</code></p>
<p>Now from a new ssh session to ESXi as root lauch</p>
<p><code>root@yourESXihost# tcpdump-uw -n -s 1524 -i vmk# -w /tmp/pipe.dmp</code></p>
<p>OR even better from the remote machine:</p>
<p><code>you@yourlinuxhost &gt; ssh root@youresxihost "tcpdump-uw -n -s 1524 -i vmk# -w /tmp/pipe.dmp" </code><br />
(replace the # with the proper vmk port number)</p>
<p>Reproduce your issue and when you finished just hit  &#8220;Cotrol+C&#8221; to stop the network dump and the cat.<br />
Now you can open your file directly in <a href="http://www.wireshark.org/" target="_blank">wireshark</a> (that&#8217;s what I use at least!)</p>
<p>This little trick of course can be used to troubleshoot network problems in a VM as well, dumping the traffic from a VMK# nic for the entire dvPortGroup. You just need to make sure that the the VM&#8217;s vNIC and the vmk# nic are connected to the same dvPortGroup and you must remember to allow promiscuous mode (not allowed by default)</p>
<p><img class="alignnone size-full wp-image-1233" title="PromiscousMode" src="http://www.cupfighter.net/wp-content/uploads/2011/02/PromiscousMode.png" alt="" width="631" height="131" /></p>
<p>Good Luck!</p>
<p><em><strong>Please note:</strong> your network can be very chatty so the file can grow very fast and/or your ESXi host might not like the tcpdump so use it at your own risk and only if you really know what you are doing!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/02/esxi-issues-with-nfs-datastore-where-do-i-put-my-tcpdump/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SigINT10: P2P Communism vs. The Client Server State</title>
		<link>http://www.cupfighter.net/index.php/2010/05/sigint10-communism-vs-capatalis/</link>
		<comments>http://www.cupfighter.net/index.php/2010/05/sigint10-communism-vs-capatalis/#comments</comments>
		<pubDate>Sun, 23 May 2010 19:26:59 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SigInt10]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1050</guid>
		<description><![CDATA[By Dmytri Kleiner&#8217;s (Slides) Dmytri’s talk compares peer to peer and client server with communism and captalism. It is important that these terms refer to their original meanings: Communism is a theoretical society with no classes and no state. Capitalism refers to a society in which the owners of Capital are able to abstain from [...]]]></description>
			<content:encoded><![CDATA[<p>By <a title="Dmytri Kleiner's blog" href="http://dmytri.info/">Dmytri Kleiner&#8217;s</a> (<a title="Dmytri's Slides" href="http://docs.telekommunisten.org/sigint">Slides</a>)<img class="alignright" title="Dmytri Kleiner's Avatar" src="http://26.media.tumblr.com/avatar_57717bfef5fd_96.png" alt="Dmytri Kleiner's Avatar" width="96" height="96" /></p>
<p>Dmytri’s talk compares peer to peer and client server with communism and captalism. It is important that these terms refer to their original meanings:</p>
<ul>
<li>Communism is a theoretical society with no classes and no state.</li>
<li>Capitalism refers to a society in which the owners of Capital are able to abstain from direct-production by appropriating the products of workers who employ their property in production.</li>
</ul>
<p>Mesh networks can be compared to communism:</p>
<ul>
<li>Participants can interact directly</li>
<li>No Toll Gate, No Prices</li>
</ul>
<p><span id="more-1050"></span>Star networks can be compared to capitalism:</p>
<ul>
<li>The Capitalist is the Operator</li>
<li>Roles and credentials create classes</li>
<li>Mediation is needed to charge a price</li>
</ul>
<p>Historically the internet itself was created by universities and could be more compared to communism. The big online services (CompuServe, AOL, etc) have a capitalistic background.</p>
<p>The enclosure of the internet shows a number of phases:</p>
<p>Enclosure 1.0: Capitalism bought all ISP, so ISP’s are now run by big corporations.</p>
<p>Enclosure 2.0: The return of Client-Server</p>
<p>The start topology is is being re-imposed on the Internet:</p>
<ul>
<li>Usenet being replaced by Webforums</li>
<li>Email being replaced by Social Medea</li>
<li>IRC being replaced by Twitter, etc</li>
</ul>
<p>In fact P2P is being criminalized: there is not positive media coverage for it.</p>
<p>Capitalist will Not Fund P2P</p>
<div>
<ul>
<li>Capitalism requires enclosure, with privileged access to scarce resources, it can capture profit.</li>
<li>Capitalism requires Mediation, enforcing prices requires control of circulation.</li>
<li>Capitalism requiries a Star Topology.</li>
<li>Capitalism requires enclosure, with privileged access to scarce resources, it can capture profit.</li>
</ul>
</div>
<div id="venture-communism">
<p>Venture Communism</p>
<ul>
<li>If we can not find alternatives to Capitalist financing, it is not only the Internet as we know that we will lose, but also the chance to remake society in it’s image.</li>
<li>In order to create a society where we produce and share as equals, we need Venture Communism</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2010/05/sigint10-communism-vs-capatalis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Confidence 2009.02 – Router Exploitation – Felix “FX” Lindner</title>
		<link>http://www.cupfighter.net/index.php/2009/11/confidence0902-router-exploitation/</link>
		<comments>http://www.cupfighter.net/index.php/2009/11/confidence0902-router-exploitation/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 13:55:12 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Confidence 2009.02]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[confidence0902]]></category>
		<category><![CDATA[Felix Lindner]]></category>
		<category><![CDATA[FX]]></category>
		<category><![CDATA[IOS]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=791</guid>
		<description><![CDATA[Unlike the last time I was actually on time for Felix’ talk. Due to last nights activity I was surprised that he was on time himself. Again his slides included the Blackhat-O-Meter. The first part of his presentation explained why routers are interesting targets (they are in the core), but also why routers are not [...]]]></description>
			<content:encoded><![CDATA[<p>Unlike the <a title="Felix' Blackhat Presentation" href="http://www.cupfighter.net/index.php/2009/07/blackhat-talk-router-exploitation-by-felix-fx-lindner/">last time</a> I was actually on time for Felix’ talk. Due to last nights activity I was surprised that he was on time himself. Again his slides included the Blackhat-O-Meter.</p>
<p>The first part of his presentation explained why routers are interesting targets (they are in the core), but also why routers are not actually exploited that much. One of the reasons is that the attack surface of router is quite small because routers don’t expose that much services to a truly remote attacker and are rarely used as clients.</p>
<p>The exception to the rule is “cisco-sa-20070124-crafted-ip-option” which is a remotely exploitable bug that causes a stack overflow on the router. Since “nobody ever updates router software” this vulnerability is still very much alive.</p>
<p>But routers need to support more and more, like IPv6, VoIP, XML configuration interface, luckily most services off.</p>
<p>Writing exploits for Cisco IOS is hard because it is not a real OS, but a single ELF binary. It is not based on a real OS we know hoe to exploit. Its only option to recover from a critical fault is a full reboot.</p>
<p>Another thing that makes exploitation hard is the memory layout. It is different from each single IOS version that it out there, and there are quite a few, currently there are over 270,000 different IOS images known by Cisco and you cannot get the version number remotely.</p>
<p><span id="more-791"></span>Best bet for getting a reliable return address for router exploitation is Rommon, the routers bios which loads the IOS and then remains in memory. It is at a fix address and there are big pools of the same versions present on the internet.</p>
<p>Unlike his talk at BlackHat Felix actually showed how the crafted ip option exploit can be used to get working reliable exploit. But since IOS is not an OS you need to get away with it without killing the router. If the stack is not completely overwritten, the return registers remain in tack and thus can be used to reliably return. His method has one drawback, in order for it to work, you need to know the version, but it is not remotely identifiable.</p>
<p>As an alternative there are code similarities in IOS images, but this still has problems.</p>
<p>Felix also made progress on shell code, he showed code that would cause the password evaluation function to always return true.</p>
<p>How do you protect your router?<br />
•    Have faith.<br />
•    Don’t allow people to talk to your router<br />
•    Protect your routing protocols<br />
•    Don’t run services on routers<br />
•    Treat your service cards as the linux machines they are</p>
<p>Running Rancid helps, modification of the data structures show up here.</p>
<p>Turn crash dumping on, this will make sure you keep evidence of any attacks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2009/11/confidence0902-router-exploitation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

