<?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; Networking</title>
	<atom:link href="http://www.cupfighter.net/index.php/tag/networking/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>BlackHatEU : Hacking Cisco Enterprise WLANs</title>
		<link>http://www.cupfighter.net/index.php/2010/04/blackhateu-cisco-enterprise-wlan/</link>
		<comments>http://www.cupfighter.net/index.php/2010/04/blackhateu-cisco-enterprise-wlan/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 15:38:23 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[BlackHatEU]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Barcelona]]></category>
		<category><![CDATA[Blackhat]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Conference]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=991</guid>
		<description><![CDATA[By Enno Rey &#38; Daniel Mende erey@ernw.de dmende@ernw.de When implementing Cisco Wireless network infrastructure Enno and Daniel got the impression that, security wise, these systems smell. First part of the presentation focuses on what a typical implementation looks like. There are three generations: 1.    Structured Wireless-Aware Networks (SWAN) 2.    Based on managed APs and LWAPP [...]]]></description>
			<content:encoded><![CDATA[<p>By Enno Rey &amp; Daniel Mende<a href="http://www.cupfighter.net/wp-content/uploads/2010/04/cisco.jpeg"><img class="alignright size-full wp-image-993" title="Cisco Logo" src="http://www.cupfighter.net/wp-content/uploads/2010/04/cisco.jpeg" alt="Cisco Logo" width="154" height="94" /><br />
</a>erey@ernw.de<br />
dmende@ernw.de</p>
<p>When implementing Cisco Wireless network infrastructure Enno and Daniel got the impression that, security wise, these systems smell.</p>
<p>First part of the presentation focuses on what a typical implementation looks like.</p>
<p>There are three generations:<br />
1.    Structured Wireless-Aware Networks (SWAN)<br />
2.    Based on managed APs and LWAPP (After acquiring Airport)<br />
3.    Cisco Unified Wireless Network</p>
<p>The talk focuses on generation one and three.<br />
<span id="more-991"></span><br />
The are a couple of attack paths: traffic in transit, cryptographics and against components.</p>
<p>First up is SWAN. It mainly runs on WLCCP protocol messages, this protocol is proprietary, so the patents are needed to discover the inner workings and the deviations from the patent.</p>
<p>The key management is arranged by Cisco’s proprietary key management framework called Cisco Centralized Key Management (CCKM). This framework allows the key material for clients from one access point to the other.</p>
<p>One of the properties of the protocol is the selection of the WDS Masters that controls all communication between the APs.<br />
He communication  between the APs is authenticated by means of LEAP. The security of LEAP is debatable at best. And Cisco’s fix, deriving two additional keys based on the first key is debatable too.</p>
<p>Management interfaces are the Achilles’ heel of many systems.</p>
<p>So what do you need for a practical attack against APs? If you can get to the AP’s management interface, you can identify it by identifying WLCCP speakers, sniff the intra AP traffic and crack the LEAP secret. Then you can evict the WDS master if necessary.</p>
<p>Daniel next demoed the attack. He used Loki to sniff the backbone interface to identify the WDS master. Loki can now be used to create a new WDS master but inserting a new WDS master. The master priority is configurable up to 254, but the protocol can handle a value to 255, so you can always win this election.<br />
Next Loki can be used to brute force the detected WDS password and the revealed password can be used to derive the additional security keys.</p>
<p>Even though there are some parts of the crypto space that smells, Enno and Daniel where not able to find practical exploits here.</p>
<p>Management interfaces however are another story.</p>
<p>SNMP is a good friend, especially if people forget to reset their community strings. The SNMP interface does not allow you to reset passwords of existing users, but it does allow you to create administrative users.</p>
<p>The web interface of Cisco WLAN management tooling is web based, with all the classical web based attacks like Cross Site Scripting.</p>
<p>Enno demoed a web based attack. Intercepting a request to the web based interface with burpsuite and rewriting the request he was able to trigger a buffer overflow in the wireless management appliance. This makes you wander what would happen if you run a fuzzer against it.</p>
<p>Key points to take away:<br />
•    “Enterprise WLAN solutions” might be complex beasts<br />
•    There many be not so obvious vulnerabilities<br />
•    Use common sense when deploying<br />
•    The problems outlined are not Cisco specific</p>
<p>The majority of problems are based on management interface. They should never be publicly exposed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2010/04/blackhateu-cisco-enterprise-wlan/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CA will not start&#8230; What do you mean, cannot download CRL&#8230;</title>
		<link>http://www.cupfighter.net/index.php/2010/01/ca-will-not-start-what-do-you-mean-cannot-download-crl/</link>
		<comments>http://www.cupfighter.net/index.php/2010/01/ca-will-not-start-what-do-you-mean-cannot-download-crl/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 22:50:05 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Schuberg Philis]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[0x80092013]]></category>
		<category><![CDATA[certificates]]></category>
		<category><![CDATA[CertUtil]]></category>
		<category><![CDATA[PKI]]></category>
		<category><![CDATA[PKI view]]></category>
		<category><![CDATA[revocation]]></category>
		<category><![CDATA[Windows 2000]]></category>
		<category><![CDATA[windows 2003]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=860</guid>
		<description><![CDATA[As part of my work I was installing a Microsoft PKi infrastructure with two tiers. A root CA and an issuing CA. Since the root CA is in another domain then the issuing CA, it took some fiddling and tweaking around with my CDP and AIA extensions, but that is another blogpost all together. I [...]]]></description>
			<content:encoded><![CDATA[<p>As part of my work I was installing a Microsoft PKi infrastructure with two tiers. A root CA and an issuing CA.</p>
<p>Since the root CA is in another domain then the issuing CA, it took some fiddling and tweaking around with my CDP and AIA extensions, but that is another blogpost all together.</p>
<p>I knew I was in for some fun when when the following happened:</p>
<ul>
<li>I installed my Issuing CA and generated the certificate request</li>
<li>I issued the request to my Root CA and generated the Issuing CA certificate</li>
<li>I tried to install the Issuing CA certificate and got the following error:</li>
</ul>
<div id="attachment_861" class="wp-caption alignnone" style="width: 421px"><a href="http://www.cupfighter.net/wp-content/uploads/2010/01/Revokation-function-error.JPG"><img class="size-full wp-image-861" title="The revocation function was unable to check revocation because the revocation server was offline. 0x80092013" src="http://www.cupfighter.net/wp-content/uploads/2010/01/Revokation-function-error.JPG" alt="Cannot verify certificate chain. Do you whish to ignore the error and continue? The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2168885613)" width="411" height="166" /></a><p class="wp-caption-text">Cannot verify certificate chain. Do you whish to ignore the error and continue? The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2168885613)</p></div>
<p>My first reaction was to call one of the network guest and notify him that I needed http access to the Issuing CA to the CDP location. But whil on the phone, I decided to try and to my surprise I was actually able to manually pull down the crl.</p>
<p>Intregued, I decided to check a few things:</p>
<ul>
<li>I could download the CRL from both CDP locations with Internet Exporer</li>
<li>I could open the downloaded CRLs</li>
<li>I could telnet to port 80 of the both webservers</li>
<li>I could telnet to port 80 manually issue the GET /crl/CRLname.crl HTTP/1.0 command and get data back</li>
</ul>
<p>O.K. what is going on here&#8230; Lets open PKI view, which is now included in Windows 2008 and Vista and can be downloaded for Windows 2000 and 2003.</p>
<p>It seemed that PKI view as in agreement, it too could not download the CRL from the CDP location</p>
<div id="attachment_862" class="wp-caption alignnone" style="width: 467px"><a href="http://www.cupfighter.net/wp-content/uploads/2010/01/PKI-view.JPG"><img class="size-full wp-image-862" title="PKI view shows &quot;unable to Download&quot;" src="http://www.cupfighter.net/wp-content/uploads/2010/01/PKI-view.JPG" alt="PKI view shows &quot;Unable To Download&quot; for both CDP locations" width="457" height="91" /></a><p class="wp-caption-text">PKI view shows &quot;Unable To Download&quot; for both CDP locations</p></div>
<p>This did sent me on a wild goose chase:</p>
<ul>
<li><a title="Troubleshooting Certificate Validation Errors" href="http://technet.microsoft.com/en-us/library/bb331963.aspx" target="_blank">Microsoft own documentation</a>, clearly blames it on unavailability of the CDP location, something I, by now, had triple checked four times and refused to believe</li>
<li><a title="Netowrk Builders forum post suggesting to turn off revocation checking" href="http://www.network-builders.com/certificate-services-t11895.html" target="_blank">This &#8220;Network Builders&#8221; forum</a> and <a title="Another post suggesting to turn revocation checking off" href="http://www.spywarepoint.com/windows-2003-ca-0x80092013-t40183.html" target="_blank">many</a> others, simply suggest to turn off revocation checking, but that is clearly not a worthy solution either.</li>
<li>Apparently there is also an issue with <a title="Technet forum post about double escaping" href="http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2webtechnologies/thread/83be4ffb-439e-4d3f-9377-0d23e4307d86" target="_blank">serving delta CRLs threw IIS</a> because the + sign at the end of the basename of a delta CRL file leads to so called &#8220;double escaping&#8221;. I could rule this out by looking at the IIS logs.</li>
<li>In the end <a title="Technet forum post about OSCP responders" href="http://social.technet.microsoft.com/Forums/en-US/winserversecurity/thread/d6e871e0-3687-4cb5-9591-c1459911f433" target="_blank">this technet forum post, about OCSP reponders</a> Brian Komar points out:</li>
</ul>
<blockquote><p>But, as stated, I would use certutil to get the &#8220;best&#8221; answer on how is my configuration.<br />
Certutil -verify -urlfetch &#8220;certfile.cer&#8221; will check *every* CDP and AIA URL (including OCSP) and tell you how they are all doing *at that specific instance in time&#8221; since it goes to the URLs immediately.<br />
Brian</p></blockquote>
<p>I exported the Issuing CA certificate from the certificate database of the Root CA and ran the command against is and this is what I found</p>
<blockquote><p>E:\&gt;certutil -verify -urlfetch &lt;certfile&gt;.cer<br />
Issuer:<br />
CN=Root CA<br />
Subject:<br />
CN=Issuing CA<br />
Cert Serial Number: 115d5f6400020000000b<br />
&lt;snip&gt;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;-  Certificate AIA  &#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Verified &#8220;Certificate (0)&#8221; Time: 0<br />
[0.0] http://IIS1.domain1local/crl/Root-CA.crt</p>
<p>Verified &#8220;Certificate (0)&#8221; Time: 0<br />
[1.0] http://IIS2.domain1.local/crl/Root-CA.crt</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;-  Certificate CDP  &#8212;&#8212;&#8212;&#8212;&#8212;-<br />
<strong>Wrong Issuer &#8220;Base CRL (13)&#8221;</strong> Time: 0<br />
[0.0] http://IIS1.domain1.local/crl/Root-CA.crl</p>
<p><strong>Wrong Issuer &#8220;Base CRL (13)&#8221;</strong> Time: 0<br />
[1.0] http://IIS2.domain1.local/crl/Root-CA.crl</p>
<p>&lt;snip&gt;<br />
E:\&gt;</p></blockquote>
<p>So while PKI view and the other error messages I was getting all pointed to the most common cause, it actually turned out that the CRl did get downloaded, but <a title="Technet articale about certificate revocation checking" href="http://technet.microsoft.com/en-us/library/bb457027.aspx" target="_blank">was not cryptographically relevant to what the system believes is the Root CA certificate</a>.</p>
<p><span style="text-decoration: underline;"><strong>Root cause</strong></span></p>
<p>Inspection of the CRLs generated and the Root certificates installed showed what had caused the problem. In order to test the CDP extensions I had reissued the Root CA certificate, causing the Root CA to have three active certificates. Each with a different key.</p>
<div id="attachment_866" class="wp-caption alignnone" style="width: 359px"><a href="http://www.cupfighter.net/wp-content/uploads/2010/01/Three-CA-certs.JPG"><img class="size-full wp-image-866" title="CA authority with Three CA certificates" src="http://www.cupfighter.net/wp-content/uploads/2010/01/Three-CA-certs.JPG" alt="This CA has three CA certificates" width="349" height="163" /></a><p class="wp-caption-text">This CA has three CA certificates</p></div>
<p>When validating the Issuing CA certificate, validation would end at the last certificate issued, however the CA still signs its CRLs with the key pair of the first certificate.</p>
<p>I guess for me there is nothing left but to reinstall the entire chain.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2010/01/ca-will-not-start-what-do-you-mean-cannot-download-crl/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>BUG (and work around): Persistent routing issue on Win2k8 clusters</title>
		<link>http://www.cupfighter.net/index.php/2009/10/persistent-routing-win2k8-clusters/</link>
		<comments>http://www.cupfighter.net/index.php/2009/10/persistent-routing-win2k8-clusters/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 15:10:29 +0000</pubDate>
		<dc:creator>Cupfighter</dc:creator>
				<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[Elianne]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[persisten route]]></category>
		<category><![CDATA[Routing]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=589</guid>
		<description><![CDATA[Two workaround for two issues with persistent routing on win2k8 clusters. One for a known issue and one for a new issue.]]></description>
			<content:encoded><![CDATA[<p>Another good (shoudl I say brilliant?) information from our collegue Elianne van der Kamp.</p>
<p>Yesterday we discovered an issue with Windows 2008 clusters: manually added persistent routes disappear from the active routes table, when taking offline (or failing over) a cluster group containing an ip-address-resource.</p>
<p>This issue is documented <a title="Technet Blog entry" href="https://blogs.technet.com/networking/archive/2009/05/21/active-route-gets-removed-on-windows-server-2008-offline-cluster-ip-address.aspx" target="_blank">here</a>. This same article also describes a workaround for when you have multiple gateways on multiple NIS’c.</p>
<p>By changing your route add command from e.g. &lt;route add 10.1.0.0 mask 255.255.255.0 10.1.0.1 –p&gt; to &lt;route add 10.1.0.0 mask 255.255.255.0 0.0.0.0 if 25&gt;</p>
<p>With this second command you bind the route to the interface instead of an ip-address. And since it is now bound to a local device any cluster failover will leave the route in the routing table.</p>
<p>However this will not solve the issue we discovered yesterday: We are using 2 gateways ‘behind’ the same interface. So binding the route to the interface will not help here.</p>
<p>Example interface 18: 192.168.251.36 mask 255.255.255.0 192.168.251.1, with added route 192.168.250.0 mask 255.255.255.0 192.168.251.3 –p.</p>
<p>When an ip-address will be taken offline (fails over) the Active route 192.168.250.0 255.255.255.0 192.168.251.3 will be removed.</p>
<p>Accidentally we found out that adding the interface to the route will solve this new issue (thanks our collegue Enrico). So our new route command will have to look like this:</p>
<p>&lt;Route add 192.168.250.0 mask 255.255.255.0 192.168.251.3 if 18&gt;. This will leave the route in the active routes table.</p>
<p>Why does this work? And is it reliable?</p>
<p>Since we couldn’t find any google/Microsoft hits on this particular issue, we had to do a little registry digging.</p>
<p>The standard command &lt;Route add 192.168.250.0 mask 255.255.255.0 192.168.251.3 &gt; just adds the persistent route to the registry which triggers the ‘bug’.</p>
<p>However the new command &lt;Route add 192.168.250.0 mask 255.255.255.0 192.168.251.3 if 18&gt; also makes 14 changes in the cluster part of the registry telling it that this route is bound to the adapter and to be left behind on the local server in case of a failover</p>
<p>So I think it look pretty reliable. We did lots of reboots and failovers on the cluster and the routes seem pretty persistent now..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2009/10/persistent-routing-win2k8-clusters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HAR: networking overview by the NOC team</title>
		<link>http://www.cupfighter.net/index.php/2009/08/har-networking-overview-by-the-noc-team/</link>
		<comments>http://www.cupfighter.net/index.php/2009/08/har-networking-overview-by-the-noc-team/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 13:48:10 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[HAR2009]]></category>
		<category><![CDATA[har2009]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=500</guid>
		<description><![CDATA[How did you get the network here in the middle of the field (10Gbps).  By The NOC team Internet was provided by XS4ALL, BIT and OpenTransit. There were direct peering connections with Akamai, Google and Giganews. First problem: how do you get from Vierhouten to Amsterdam? In Vierhouten you have several options: •    3KM fibers [...]]]></description>
			<content:encoded><![CDATA[<p>How did you get the network here in the middle of the field (10Gbps).  By <a title="The Noc Team" href="https://wiki.har2009.org/page/Team:Network" target="_blank">The NOC team</a></p>
<p>Internet was provided by XS4ALL, BIT and OpenTransit. There were direct peering connections with Akamai, Google and Giganews.</p>
<p>First problem: how do you get from Vierhouten to Amsterdam? In Vierhouten you have several options:<br />
•    3KM fibers to Nunspeet<br />
•    There are two fibers of KPN and UPC in Vierhouten</p>
<p><span id="more-500"></span>KPN provided a link from Amsterdam to Putten, Putten to Harderwijk, Harderwijk to Hunnen, Hunnen to Uddel, Uddel to Vierhouten. Last 650m was put there by the NOC team themselves.</p>
<p>Cables used:<br />
•    560m SMF<br />
•    3.5 KM MMF<br />
•    15KM Cat 5e<br />
•    5Km rope.</p>
<p>One of the biggest challenges: putting fiber in trees.</p>
<p>Network equipment needed:<br />
•    1 * Foundry MLX 8 – Core<br />
•    4 * Mach 4002 – Distribution<br />
•    44 * HP Procurve – Access</p>
<p>Dixie toilets acted as Datenklos because they can be locked and are watertight. A datenklos lock can be picked in less than 5 seconds.</p>
<p>The NOC team did not receive a single abuse call during the entire event.</p>
<p>Nice hacks during HAR2009:<br />
•    WPAD. Set via DynamicDNS to wpad.visitors.har2009.net and you will get a lot of traffic for his proxy server.<br />
•    One report of a MitM attack in the lounge</p>
<p>Wireless equipment:<br />
•    30 Cisco 1131 ap’s<br />
•    30 Cisco 1242 ap’s<br />
•    2 WLC 4404 controllers<br />
•    1 WCS Server<br />
•    1 Location appliance<br />
Total value 170,000 Euro’s</p>
<p>The Location appliance can be used to locate users. There were about 1500 unique users and a peak of 700 simultaneous users. There were quite a few rogue wireless access points.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2009/08/har-networking-overview-by-the-noc-team/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Slowloris and Nkiller2 vs. the Cisco CSS load balancer</title>
		<link>http://www.cupfighter.net/index.php/2009/06/slowloris-css/</link>
		<comments>http://www.cupfighter.net/index.php/2009/06/slowloris-css/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 20:55:52 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Load Balancer]]></category>
		<category><![CDATA[NKiller]]></category>
		<category><![CDATA[Schuberg Philis]]></category>
		<category><![CDATA[Slowloris]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=185</guid>
		<description><![CDATA[Today I spent most of my time analyzing the Slowloris and Nkiller2 denial of service (DoS) tools together with my colleague Gert Kremer. Slowloris (name after the slow moving primates is a httpd DoS tool written by RSnake of ha.ckers. It works by tying up the httpd worker processes by slowly sending more and more [...]]]></description>
			<content:encoded><![CDATA[<p>Today I spent most of my time analyzing the Slowloris and Nkiller2 denial of service (DoS) tools together with my colleague Gert Kremer.</p>
<p>Slowloris (name after the <a title="Wikipedia article" href="http://en.wikipedia.org/wiki/Slow_loris" target="_blank">slow moving primates</a> is a <a title="Original source of Slowloris" href="http://ha.ckers.org/slowloris/" target="_blank">httpd DoS tool written by RSnake of ha.ckers</a>. It works by tying up the httpd worker processes by slowly sending more and more headers of an httpd request.</p>
<p>Nkiller2 is a TCP/IP DoS attack tool which was published in <a title="Phrack magazine" href="http://www.phrack.org/issues.html?issue=66&amp;id=9#article" target="_blank">issue 66 of Phrack magazine</a>. It works by tying up httpd worker processes by requesting a file then stalling, mimicking the behavior of a client with full TCP/IP receive buffers.</p>
<p>Cisco CSS is a <a title="Cisco CSS" href="http://www.cisco.com/en/US/products/hw/contnetw/ps792/" target="_self">load balancer produced by Cisco</a>.</p>
<p>In nearly all of the infrastructures built by my employer Schuberg Philis, the web servers are located behind a load balancer. In most cases a Cisco CSS. Because some of our customers were worried, I set out together with my colleague Gert Kremer to see if having a CSS load balancer in front of the web server provides any protection.</p>
<p><strong>Slowloris</strong></p>
<p>First we just had to try and find out what Slowloris did with an unprotected Apache server. The first video shows what happens when you run slowloris against a webserver. The window on the top left shows the number of apache processes, the top right window shows the scoreboard. This shows what the http processes are actually doing. The bottom window shows the slowloris output.</p>
<p><strong>Slowloris vs Apache (No load balancer)</strong><br />
<p><a href="http://www.cupfighter.net/index.php/2009/06/slowloris-css/"><em>Click here to view the embedded video.</em></a></p></p>
<p>When slowloris is using 100 sockets, you can see 100 httpd workers in state “R”, meaning it is reading requests. The same is the case when running with 200 and 250 sockets. When running with 300 sockets the apache worker processes pool is exhausted and the web server can no longer service requests.</p>
<p><strong>Slowloris vs Apache behind a Cisco CSS load balancer</strong><br />
<p><a href="http://www.cupfighter.net/index.php/2009/06/slowloris-css/"><em>Click here to view the embedded video.</em></a></p></p>
<p>Slowloris is running against the webserver with 3000 sockets (should be more then enough). As you can see on the top two windows the load balancer does not forward any of the incomplete requests to the webserver. We have stress tested the loadbancer up to 10,000 sockets and it had no effect on the loadbancer.</p>
<p><strong>NKiller</strong></p>
<p><strong>Nkiller vs Apache (No load balancer)<br />
</strong><p><a href="http://www.cupfighter.net/index.php/2009/06/slowloris-css/"><em>Click here to view the embedded video.</em></a></p></p>
<p>In the video we see for windows. Top left and right show the number of apache processes and the apache dashboard. The middle window displays the NKiller output and the bottom window TCPdump.</p>
<p>When NKiller starts we see the it exhausts the httpd workers processes by putting them in a state where they are hanging while writing their reply back to the client.<br />
<strong>Nkiller vs Apache behind a CSS load balancer<br />
</strong><p><a href="http://www.cupfighter.net/index.php/2009/06/slowloris-css/"><em>Click here to view the embedded video.</em></a></p><strong><br />
</strong><em></em></p>
<p>When NKiller was used against a server protected by a Cisco CSS load balancer the packets received from the load balancer do not match the expections of the Nkiller tool and the tool crashed producing a segmentation fault.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2009/06/slowloris-css/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

