<?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>Felix Baaken</title>
	<atom:link href="http://www.felixbaaken.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.felixbaaken.de</link>
	<description>LAMP-Entwicklung und studieren in München...</description>
	<lastBuildDate>Wed, 10 Mar 2010 10:25:12 +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>Best of CeBIT</title>
		<link>http://www.felixbaaken.de/best-of-cebit/</link>
		<comments>http://www.felixbaaken.de/best-of-cebit/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 17:46:54 +0000</pubDate>
		<dc:creator>fbaaken</dc:creator>
				<category><![CDATA[Beratung]]></category>
		<category><![CDATA[LAMP-Entwicklung]]></category>

		<guid isPermaLink="false">http://www.felixbaaken.de/?p=106</guid>
		<description><![CDATA[Am Samstag war ich auf der CeBIT 2010 in Hannover. Auch wenn Sie dieses Jahr etwas kleiner war als sonst, möchte ich ein paar der Innovationshighlights kurz vorstellen.<br/>]]></description>
			<content:encoded><![CDATA[<p>Am Samstag war ich auf der CeBIT 2010 in Hannover. Auch wenn Sie dieses Jahr etwas kleiner war als sonst, möchte ich ein paar der Innovationshighlights kurz vorstellen.<br/></p>
<p>&nbsp;</p>
<h2>SensFloor® Mat</h2>
<p>Das Bundesministerium für Bildung und Forschung hat, neben ein paar interessanten Projekten zur TeleMedizin, einem stark wachsenden Forschungsgebiet mit unzähligen (Interpretations-)Möglichkeiten, ein spannendes Projekt auf seinem Stand beherbergt: Die <a href="http://www.future-shape.de/sensfloor.html">SensFloor® Mat</a>, entwickelt von der Future-Shape GmbH. Grundsätzlich geht es darum, mit Hilfe eines in den Boden eingelassenen elektrischen Induktionssystems menschliche Körper wahrzunehmen, mit Anwendungen im medizinischen sowie im Sicherheitsbereich.</p>
<div id="attachment_110" class="wp-caption alignleft" style="width: 310px"><img class="size-full wp-image-110" title="sensfloor" src="http://www.felixbaaken.de/wp-content/uploads/sensfloor.png" alt="© Future-Shape GmbH" width="300" height="196" /><p class="wp-caption-text">© Future-Shape GmbH</p></div>
<p>Die quadratischen Teppichstücke werden mit einem Chip in der Mitte ausgeliefert, der 8 Schleifen pro ca. 250cm² verwaltet und, bei Änderungen in der induzierten Energie, ein Funksignal an einen Empfänger sendet. Das System ist in Teilen bereits marktreif, zu erwerben sind Fußmatten mit Netzteil und Empfängersteckdose inklusive LAN-Anschluss. Der Empfänger schaltet entweder eine Steckdose (Licht geht an, wenn eine Person die Füße auf die Matte vor dem bett stellt), oder ein Notrufsignal bzw. eine SMS (Person verlässt ihr Zimmer auf einer Krankenstation). Denkbar sind weiterhin die Überwachung von Personen, die von allein nicht mehr aufstehen können, da das System auch liegende Personen als solche erkennt.</p>
<p>&nbsp;</p>
<h2>Games@Large</h2>
<p>Ein internationales, sehr spannendes Forschungsprojekt stellt <a href="http://www.gamesatlarge.eu/">Games@Large</a> dar, oder kurz</p>
<div id="attachment_114" class="wp-caption alignright" style="width: 210px"><img class="size-full wp-image-114" title="gal" src="http://www.felixbaaken.de/wp-content/uploads/gal.png" alt="© ELIOS Lab / G@L" width="200" height="300" /><p class="wp-caption-text">© ELIOS Lab / G@L</p></div>
<p>G@L. Die Idee ist, dass man auch auf schwächeren Computersystemen Spiele mit Hilfe eines Servers spielen kann, der natürlich mit einer relativ hohen Bandbreite verbunden sein sollte. Der Server ist dann entweder nur für die Spielmechanik (bei Clients mit relativ starker Grafikkarte) oder zugleich für das Rendern zuständig, wenn der Client nur minimal ausgestattet ist.<br />
In diesem Fall muss er nur den Input entgegennehmen, dem Server schicken und auf gerenderte Szenen warten. Grundsätzlich lassen sich bereits alle DirectX-Spiele auf diese Art verwenden, limitiert nur von der zur Verfügung stehenden Bandbreite.</p>
<p>&nbsp;</p>
<h2>ChocoBRAIN</h2>
<p>Ein spannendes CRM-Projekt mit neuartigem Ansatz und innovativem Benutzerinterface soll auch technisch eher unbegabten Menschen die Möglichkeit eröffnen, Informationsangebote im Internet bereitzustellen. <a href="http://www.chocobrain.com/">ChocoBRAIN</a> verbindet auf einzigartige Weise Multimediaelemente und Textelemente miteinander und bietet so neue Möglichkeiten zur Benutzerinteraktion.</p>
<div id="attachment_120" class="wp-caption alignleft" style="width: 190px"><img class="size-full wp-image-120" title="chocobrain" src="http://www.felixbaaken.de/wp-content/uploads/chocobrain.png" alt="© chocoBRAIN GmbH" width="180" height="120" /><p class="wp-caption-text">© chocoBRAIN GmbH</p></div>
<p>Außerdem finden sich ein paar großartige programmiertechnische Ansätze. Einzig und allein das Design des Userinterface konnte mich noch nicht restlos überzeugen, aber das Projekt steckt auch noch in der Betaphase. Deshalb hier auch nur sehr vage Informationen, ich werde einen größeren Artikel veröffentlichen, wenn das Projekt endgültig live geht.</p>
<p>&nbsp;</p>
<h2>4YOU2</h2>
<p>Und zu guter Letzt war ich sehr angetan von einem Projekt von <a href="http://www.4-you-2.de">4YOU2</a>,unter der Leitung von Prof. Dr. Ralf Böse, eines Professors der FH Schmalkalden. Mittels einer unter einer transparenten Fläche angebrachten Kamera erkennt ein Tisch, welche 3D-Puzzleteile man auf ihm umherschiebt. Die Puzzleteile stellen kleine Gebäude dar, welche dann auf einem Bildschirm auf einer 3D-Spielfläche in Echtzeit ebenfalls verschoben werden. Auf diese spielerische Art sollen Museen mti neuen Lernmethoden Wissen vermitteln. Eine großartige Idee mit viel Potential &#8211; nicht nur im Bereich Lernsoftware! Außerdem hat mch das Projekt stark an den <a href="http://www.reactable.com/">Reactable</a> erinnert, mit dem ich bei einem Praktikum in Barcelona bereits eine Menge zu tun hatte.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.felixbaaken.de/best-of-cebit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code Injection via the PHP Data Stream Wrapper</title>
		<link>http://www.felixbaaken.de/code-injection-via-the-php-data-stream-wrapper/</link>
		<comments>http://www.felixbaaken.de/code-injection-via-the-php-data-stream-wrapper/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 14:20:47 +0000</pubDate>
		<dc:creator>fbaaken</dc:creator>
				<category><![CDATA[LAMP-Entwicklung]]></category>

		<guid isPermaLink="false">http://www.felixbaaken.de/?p=63</guid>
		<description><![CDATA[On a recent speech over at Mayflower Munich, I was told about an interesting new way to hack PHP web Apps developers should think about: Code injection via the PHP stream wrapper.
This way of injecting your own PHP code makes use of the data stream wrapper, feature which came in PHP 5.2 and which is [...]]]></description>
			<content:encoded><![CDATA[<p>On a recent speech over at <a href="http://mayflower.de/">Mayflower Munich</a>, I was told about an interesting new way to hack PHP web Apps developers should think about: <strong>Code injection via the PHP stream wrapper</strong>.</p>
<p>This way of injecting your own PHP code makes use of the <a href="http://www.php.net/manual/en/wrappers.data.php"><strong>data stream wrapper</strong></a>, feature which came in PHP 5.2 and which is a feature most developers will probably yet have to learn about. It is basically a way to give PHP a string which it then interprets as a file. Thus, it may contain PHP code. Here is a modified example of the PHP manual:</p>
<div class="codesnip-container" >
<div class="php codesnip" style="font-family:monospace;"><span class="kw2">&lt;?php</span> <span class="kw1">echo</span> <a href="http://www.php.net/file_get_contents"><span class="kw3">file_get_contents</span></a><span class="br0">&#40;</span><span class="st_h">&#8216;data://text/plain;base64,PD9waHAgZWNobyAnSGVsbG8gV29ybGQnID8+&#8217;</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="sy1">?&gt;</span></div>
</div>
<p><strong>Output:</strong></p>
<div class="codesnip-container" >Hello World!</div>
<p>This opens a whole new world of possibilities to attackers who try to inject their own PHP code into your site, even if you deny off-site inclusions with <a href="http://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen"><strong>allow_url_fopen</strong></a> and <a href="http://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-include"><strong>allow_url_include</strong></a> set to &#8216;0&#8242;.</p>
<p>Once the attacker has found a weak point in your code, say something like</p>
<div class="codesnip-container" >
<div class="php codesnip" style="font-family:monospace;"><span class="kw2">&lt;?php</span> <span class="kw1">include</span><span class="br0">&#40;</span><span class="re0">$_GET</span><span class="br0">&#91;</span><span class="st_h">&#8216;lang&#8217;</span><span class="br0">&#93;</span><span class="sy0">.</span><span class="st_h">&#8216;.php&#8217;</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="sy1">?&gt;</span></div>
</div>
<p>he can inject his own code. For that, he does not necessarily be able to include off-site files. One example: By taking the following string</p>
<div class="codesnip-container" >
<div class="php codesnip" style="font-family:monospace;"><span class="kw2">&lt;?php</span> <a href="http://www.php.net/passthru"><span class="kw3">passthru</span></a><span class="br0">&#40;</span><span class="re0">$_GET</span><span class="br0">&#91;</span><span class="st_h">&#8216;cmd&#8217;</span><span class="br0">&#93;</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="sy1">?&gt;</span></div>
</div>
<p>Which is in <strong>Base64 encoding</strong></p>
<div class="codesnip-container" >PD9waHAgcGFzc3RocnUoJF9HRVRbJ2NtZCddKTsgPz4=</div>
<p>he would be able to execute shell commands. Base64 is necessary at this point, as it bypasses the URL-enoding. So, the finished URL would look somethink like the following:</p>
<div class="codesnip-container" >http://www.example.com/?lang=data://text/plain;base64,PD9waHAgcGFzc3RocnUoJF9HRVRbJ2NtZCddKTsgPz4=%00&#038;cmd=df%20-h</div>
<p>which executes the UNIX-command</p>
<div class="codesnip-container" >df -h</div>
<p>The output would just be the free disk space, but as the hacker can now inject any code he like by just adding a GET parameter to his URL, which opens up a range of malicious possibilities <strong><em>without</em></strong> having to include files from a different site.</p>
<p>Why is that? As <a href="http://php.net/manual/en/function.include.php">include()</a> is not binary safe, the PHP interpreter takes the GET parameter &#8216;lang&#8217;, puts it into the include, which sees the string as a file (remember, we use the data stream wrapper basically simulating a file). After the null character (%00), PHP ignores the rest of the string. That makes the &#8216;.php&#8217; at the inclusion point disappear, effectively handing over the code the attacker injected via the &#8216;lang&#8217; parameter as a PHP file. In worst case scenarios, the attacker has now complete control over the system. Of course, he can execute shell commands only if PHP&#8217;s safe mode is disabled, but still, executing PHP commands gives a lot of opportunities as well.</p>
<p>Granted, the attack point was a bit easy in my example, as I wanted to keep it simple, but still, in standard software, security issues are found on a daily basis. If the software is not updated frequently, the attacker can take any known exploit to take over the system this way.</p>
<p>Again, we are left with the usual conclusions:</p>
<ul>
<li><strong>Keep your software up to date</strong></li>
<li><strong>Don&#8217;t trust any user input</strong></li>
<li><strong>Make you php.ini as safe as possible</strong></li>
</ul>
<p><a href="#respond">Comments and suggestions</a> appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.felixbaaken.de/code-injection-via-the-php-data-stream-wrapper/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ressortleiter für Informationstechnologie</title>
		<link>http://www.felixbaaken.de/ressortleiter-fur-it/</link>
		<comments>http://www.felixbaaken.de/ressortleiter-fur-it/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 16:30:14 +0000</pubDate>
		<dc:creator>fbaaken</dc:creator>
				<category><![CDATA[Beratung]]></category>
		<category><![CDATA[Academy Consult]]></category>

		<guid isPermaLink="false">http://www.felixbaaken.de/?p=23</guid>
		<description><![CDATA[Dass neben der Verantwortung auch eine Menge Aufgaben auf mich zu kommen werden, versteht sich von selbst. Mit einigen erfahrenen Leuten werden wir zunächst die Migration auf ein neues Intranet zum Abschluss bringen. Danach habe ich mir vorgenommen, für eine nachhaltigere IT-Strategie zu sorgen.]]></description>
			<content:encoded><![CDATA[<p>Am Freitagabend, am Galaabend zur 10 Jahresfeier von <a href="http://www.academyconsult.de">Academy Consult München e.V.</a>, wurde mir offiziell und feierlich der Ressortleiterposten für Informationstechnologie übergeben. Damit bin ich jetzt Teamleiter von 15 Mitgliedern und Anwärtern und verantwortlich für die IT-Strategie.</p>
<p>Dass neben der Verantwortung auch eine Menge Aufgaben auf mich zu kommen werden, versteht sich von selbst. Mit einigen erfahrenen Leuten werden wir zunächst die Migration auf ein neues Intranet zum Abschluss bringen. Danach habe ich mir vorgenommen, für eine nachhaltigere IT-Strategie zu sorgen. Dazu gehört insbesondere</p>
<ul>
<li><strong>Transparenz</strong> auch nach außen</li>
<li><strong>Dokumentation</strong></li>
<li><strong>Ausfallsicherheit </strong>durch Redundanz und Virtualisierung sowie</li>
<li>das <strong>Anlernen</strong> neuer Mitglieder</li>
</ul>
<p>Ziel ist, dass Extremfälle abgedeckt werden (Kompletter Serverausfall: Wiederherstellung in &lt; 3 Stunden, Dokumentation so umfangreich, dass sich neue Mitglieder innerhalb von einer Woche komplett in das neue System einarbeiten können.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.felixbaaken.de/ressortleiter-fur-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
