<?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; Felix Lindner</title>
	<atom:link href="http://www.cupfighter.net/index.php/tag/felix-lindner/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>DefCon: Blitzableiter &#8211; The release</title>
		<link>http://www.cupfighter.net/index.php/2010/08/defcon-blitzableiter/</link>
		<comments>http://www.cupfighter.net/index.php/2010/08/defcon-blitzableiter/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 08:16:51 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Defcon]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Blitzableiter]]></category>
		<category><![CDATA[DefCon18]]></category>
		<category><![CDATA[Felix Lindner]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[FX]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1139</guid>
		<description><![CDATA[This talk is a follow up of Felix&#8217; talk at Black Hat Europe which I blogged about earlier here (http://www.cupfighter.net/index.php/2010/04/blackhateu-fx/) marking the release of the tool BlitzAbleiter. One of the new point highlighted is that his work is not just of interest to normal users that are running flash content, but also to corporations that [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 190px"><a href="http://www.flickr.com/photos/27231112@N07/2992753114/"><img title="GLOBAL BATTLE - KIDS TO SAVE THE WORLD SERIES (Explore #4)" src="http://farm4.static.flickr.com/3029/2992753114_0e89915ccd_m.jpg" alt="" width="180" height="240" /></a><p class="wp-caption-text">GLOBAL BATTLE - KIDS TO SAVE THE WORLD SERIES (Explore #4) a CC, non-commercial, no derived works image from JOHN CORVERA&#39;s flickr photostream</p></div>
<p>This talk is a follow up of Felix&#8217; talk at Black Hat Europe which I blogged about earlier here (<a href="../index.php/2010/04/blackhateu-fx/">http://www.cupfighter.net/index.php/2010/04/blackhateu-fx/</a>) marking the release of the tool BlitzAbleiter.</p>
<p>One of the new point highlighted is that his work is not just of interest to normal users that are running flash content, but also to corporations that serve pre-compiled flash advertisements that they do not want to be infected with malware or other unwanted behaviour.<br />
For the release of Blitzableiter Felix has chosen to integrate with NoScript. If you have the latest version of NoScript, you allready have BlitzAbleiter.<br />
Next Felix actually demoed BlitzAbleiter by using it to stop some in the wild Flash exploits.</p>
<p>I managed to speak to Felix in a more informal setting later and he pointed out that there are two major differences between BlitzAbleiter as presented in Barcelona and the current version. BlitzAbleiter now support both the version 1 and version 2 Flash virtual machines. Besides that the code quality of the tool is now at such a level that it is actually a usable tool that can be released to the public.</p>
<p>The name BlitzAbleiter is the German word for lightning rod, because it has the potential to turn harfull Flash into harmless tunder.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2010/08/defcon-blitzableiter/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>
		<item>
		<title>Blackhat talk: Router exploitation by Felix &#8220;FX&#8221; Lindner</title>
		<link>http://www.cupfighter.net/index.php/2009/07/blackhat-talk-router-exploitation-by-felix-fx-lindner/</link>
		<comments>http://www.cupfighter.net/index.php/2009/07/blackhat-talk-router-exploitation-by-felix-fx-lindner/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 01:19:13 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Blackhat]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Felix Lindner]]></category>
		<category><![CDATA[FX]]></category>
		<category><![CDATA[Router]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=391</guid>
		<description><![CDATA[I arrived late, but talk hadn&#8217;t started unfortunately it did mean standing room only. FX had a cool feature in his presentation; every slide was accompanied by a BlackHat-O-Meter. Works like the base and acid scale. Corporate suite-and-tie types should stay with slides that have the meter all the way on the top, CISSP should [...]]]></description>
			<content:encoded><![CDATA[<p>I arrived late, but talk hadn&#8217;t started unfortunately it did mean standing room only.</p>
<p>FX had a cool feature in his presentation; every slide was accompanied by a BlackHat-O-Meter. Works like the base and acid scale. Corporate suite-and-tie types should stay with slides that have the meter all the way on the top, CISSP should be able to grasp the details of slides that are ranked somewhere in the middle, real Hackers could also grasp bottom of the scale slides.</p>
<p>FX&#8217;s first words are comforting, there is not so much real world router ownage going on. Mis-configuration, insider attacks, etc. are much more common.</p>
<p>However, infrastructures are what you want to own, so why don&#8217;t we see this more often? Because practical exploits are hard.</p>
<p><span id="more-391"></span>There are not much vulnerabilities in routers. In 2008 only 14 vulnerabilities where published for Cisco IOS. Juniper only reported a memory leak and a OpenSSL issue. Nothing was disclosed by Nortel Networks.</p>
<p>Because of the mindset of the people that report these issues, vulnerabilities are often classified as functional issues; e.g. &#8220;malformed packet crashes router&#8221;</p>
<p>Why are routers often not vulnerable?</p>
<ul>
<li>Most routers don&#8217;t run network services. If they do, find a new network administrator.</li>
<li>Those functionalities exposed are pretty secure or too simple to be vulnerable. FX: &#8220;RIP is so simple Cisco can&#8217;t even fuck it up&#8221;</li>
<li>However if you are in the same multicast domain, the router is in trouble.</li>
<li>&#8220;You should not accept any routing information from unknown hosts.&#8221;</li>
<li>Routers are rarely used as clients.</li>
</ul>
<p>However, the landscape changes:</p>
<ul>
<li>IP v6</li>
<li>VoIP</li>
<li>Lawfull interception</li>
<li>SSL VPN</li>
<li>Web service routing</li>
<li>XML-PI</li>
<li>Web Service Management</li>
</ul>
<p>All these servers either make the router inspect and manipulate packets (ipv6 has per router headers) or let services run on routers.</p>
<p>Luckily adoption is still slow. Network admins don&#8217;t want application level functionality on their devices.</p>
<p><span style="text-decoration: underline;"><strong>Router Transit vulnerabilities</strong></span></p>
<p>This is the hackers dream: A vulnerability that gets triggered as and when a packet gets forwarded. However this is hard because routers try to avoid inspecting traffic because it takes CPU cycles. Some traffic must however be inspected like IPv6 and Source Routed packets.</p>
<p>Exploiting a Juniper router is easier then exploiting a Cisco IOS device, because Junos is basically FreeBSD. Exploiting a Cisco Service card is also easier because they also run Linux.</p>
<p>Easy ones: Unix based routers (e.g. ADSL routers, Junipers)</p>
<p>The Hard One: Cisco IOS because it is a single large binary program (ELF) running directly on the main CPU.</p>
<p>Accoording to the Cisco COC website, there are current 272722 different IOS images all with a different memory layout. This makes reliable exploitation very hard. Cisco&#8217;s chaotic build process causes more memory entropy then ASLR.</p>
<p>FX showed that using various techniques you can actually execute code on a router using the Rommon router bios code that is still loaded on the router from when it booted up. Rommon is aways loaded in the same location and there are far less versions of Rommon. Plus, nobody ever updates it. Unfortunatly you can only guess the rommon version and not remotely fingerprint it.</p>
<p>So back to the drawing board. Analysis of newer IOS binaries shows that there are similarities between IOS versions so the same exploit might be possible with IOS. Currently the pro’s and con’s of using IOS vs. Rommon are:</p>
<p>Rommon: 30% change of success, cannot be fingerprinted</p>
<p>IOS: approx 15% change of success, can be fingerprinted</p>
<p>But you also need to get away with exploiting a router and inserting shell code without stopping the router. This is hard because the single binary image does not have a pre-emptive scheduler an the memory layout is unknown.</p>
<p>FX showed techniques for this as well, which will involve a second stage loader. This is however still work in progress.</p>
<p>Protection: So what can we do against it?</p>
<ul>
<li>Prevent the router from receiving traffic</li>
<li>Protect protocol update.</li>
<li>Don&#8217;t run stuff on routers.</li>
<li>Monitor service modules independently.</li>
<li>Use RANCID to monitor configuration changes</li>
<li>Configure Core Dumping (http://cir.recurity-labs.com wiki)</li>
<li>Complain to Cisco and other vendors about stable upgrade paths.</li>
</ul>
<p>It is scary to think that the best protection we have against Cisco attacks is the security through obscurity created by Cisco&#8217;s hampered build process.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2009/07/blackhat-talk-router-exploitation-by-felix-fx-lindner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

