<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">
<channel>
    <title>Hanno's blog - Code</title>
    <link>http://www.hboeck.de/</link>
    <description></description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.3 - http://www.s9y.org/</generator>
    <pubDate>Tue, 25 May 2010 12:25:25 GMT</pubDate>

    <image>
        <url>http://www.hboeck.de/templates/hanno/img/s9y_banner_small.png</url>
        <title>RSS: Hanno's blog - Code - </title>
        <link>http://www.hboeck.de/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Secure RSA padding: RSA-PSS</title>
    <link>http://www.hboeck.de/archives/737-Secure-RSA-padding-RSA-PSS.html</link>
            <category>Code</category>
            <category>Cryptography</category>
            <category>English</category>
            <category>Linux</category>
            <category>Security</category>
    
    <comments>http://www.hboeck.de/archives/737-Secure-RSA-padding-RSA-PSS.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=737</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=737</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    I got selected for this years &lt;a href=&quot;http://socghop.appspot.com/gsoc/student_project/show/google/gsoc2010/mozilla/t127230761333&quot;&gt;Google Summer of Code with a project for the implementation of RSA-PSS&lt;/a&gt; in the nss library. RSA-PSS will also be the topic of my diploma thesis, so I thought I&#039;d write some lines about it.&lt;br /&gt;
&lt;br /&gt;
RSA is, as you may probably know, the most widely used public key cryptography algorithm. It can be used for signing and encryption, RSA-PSS is about signing (something similar, RSA-OAEP, exists for encryption, but that&#039;s not my main topic).&lt;br /&gt;
&lt;br /&gt;
The formula for the RSA-algorithm is &lt;b&gt;S = M^k mod N&lt;/b&gt; (S is the signature, M the input, k the private key and N some big prime number). One important thing is that M is not the Message itself, but some encoding of the message. A simple way of doing this encoding is using a hash-function, for example SHA256. This is basically how old standards (like PKCS #1 1.5) worked. While no attacks exist against this scheme, it&#039;s believed that this can be improved. One reason is that while the RSA-function accepts an input of size N (which is the same length as the keysize, for example 2048/4096 bit), hash-functions usually produce much smaller inputs (something like 160/256 bit).&lt;br /&gt;
&lt;br /&gt;
An improved scheme for that is the &lt;a href=&quot;http://www.rsa.com/rsalabs/node.asp?id=2005&quot;&gt;Probabilistic Signature Scheme (PSS)&lt;/a&gt;, (&lt;a href=&quot;http://www.cs.ucdavis.edu/~rogaway/papers/exact.html&quot;&gt;Bellare/Rogaway 1996/1998&lt;/a&gt;). PSS is &quot;provable secure&quot;. It does not mean that the outcoming algorithm is &quot;provable secure&quot; (that&#039;s impossible with today&#039;s math), but that the outcome is as secure as the input algorithm RSA and the used hash function (so-called &quot;random oracle model&quot;). A standard for PSS-encryption is PKCS #1 2.1 (republished as &lt;a href=&quot;http://tools.ietf.org/html/rfc3447&quot;&gt;RFC 3447&lt;/a&gt;) So PSS in general is a good idea as a security measure, but as there is no real pressure to implement it, it&#039;s still not used very much. Just an example, the new DNSSEC ressource records &lt;a href=&quot;http://tools.ietf.org/html/rfc5702&quot;&gt;just published last year still use the old PKCS #1 1.5 standard&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
For SSL/TLS, standards to use PSS exist (&lt;a href=&quot;http://tools.ietf.org/html/rfc4055&quot;&gt;RFC 4055&lt;/a&gt;, &lt;a href=&quot;http://tools.ietf.org/html/rfc5756&quot;&gt;RFC 5756&lt;/a&gt;), but implementation is widely lacking. Just recently, &lt;a href=&quot;http://rt.openssl.org/Ticket/Display.html?id=1951&quot;&gt;openssl got support for PSS verification&lt;/a&gt;. The only implementation of signature creation I&#039;m aware of is the java-library &lt;a href=&quot;http://www.bouncycastle.org/&quot;&gt;bouncycastle&lt;/a&gt; (yes, this forced me to write some lines of java code).&lt;br /&gt;
&lt;br /&gt;
The nss library is used by the Mozilla products (Firefox, Thunderbird), so an implementation there is crucial for a more widespread use of PSS. 
    </content:encoded>

    <pubDate>Fri, 14 May 2010 23:22:43 +0200</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/737-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>cryptography</category>
<category>gsoc</category>
<category>nss</category>
<category>pss</category>
<category>rsa</category>
<category>rsapss</category>
<category>security</category>
<category>ssl</category>
<category>tls</category>

</item>
<item>
    <title>Easterhegg in Munich</title>
    <link>http://www.hboeck.de/archives/734-Easterhegg-in-Munich.html</link>
            <category>Code</category>
            <category>Computer culture</category>
            <category>Copyright</category>
            <category>Ecology</category>
            <category>English</category>
            <category>Politics</category>
            <category>Security</category>
    
    <comments>http://www.hboeck.de/archives/734-Easterhegg-in-Munich.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=734</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=734</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    &lt;a class=&quot;serendipity_image_link&quot;  href=&#039;http://www.hboeck.de/uploads/easterhegg.jpg&#039;&gt;&lt;!-- s9ymdb:271 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;300&quot; height=&quot;225&quot;  src=&quot;http://www.hboeck.de/uploads/easterhegg.serendipityThumb.jpg&quot;  alt=&quot;EH-Badge und Tasse&quot; /&gt;&lt;/a&gt;I visited this year&#039;s &lt;a href=&quot;http://eh2010.muc.ccc.de/&quot;&gt;easterhegg&lt;/a&gt; in Munich. The easterhegg is an event by the chaos computer club.&lt;br /&gt;
&lt;br /&gt;
I held a talk expressing some thoughts I had in mind for quite a long time about free licenses. The conclusion is mainly that I think it very often may make more sense to use public domain &quot;licensing&quot; instead of free licenses with restrictions. The slides can be &lt;a href=&quot;http://int21.de/slides/slides_publicdomain.odp&quot;&gt;downloaded here&lt;/a&gt; (video recording &lt;a href=&quot;ftp://ftp.ccc.de/events/eh2010/mp4_1024x576/EH2010-3762-de-publicdomain.mp4&quot;&gt;here in high quality / 1024x576&lt;/a&gt; and &lt;a href=&quot;ftp://ftp.ccc.de/events/eh2010/mp4_640x360/EH2010-3762-de-publicdomain.mp4&quot;&gt;here in lower quality / 640x360&lt;/a&gt;). Talk was in german, but the slides are english. I plan to write down a longer text about the subject, but I don&#039;t know when I&#039;ll find time for that.&lt;br /&gt;
&lt;br /&gt;
I also had a 5 minute lightning-talk about RSA-PSS and RSA-OAEP, &lt;a href=&quot;http://int21.de/slides/slides_rsapss_5min.odp&quot;&gt;slides are here&lt;/a&gt; (german). I will probably write my diploma thesis about PSS, so you may read more about that here in the future.&lt;br /&gt;
&lt;br /&gt;
From the other talks, I want to mention one because I think it&#039;s a very interesting project about an important topic: The &lt;a href=&quot;http://mysmartgrid.de/&quot;&gt;mySmartGrid&lt;/a&gt; project is working on an opensource based solution for local smart grids. It&#039;s a research project by Frauenhofer ITWM Kaiserslautern and it sounds very promising. Smart grids will almost definitely come within the next years and if people stick to the solutions provided by big energy companies, this will most likely be a big thread to privacy and will most probably prefer old centralized electricity generation. 
    </content:encoded>

    <pubDate>Mon, 05 Apr 2010 20:58:57 +0200</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/734-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>ccc</category>
<category>copyright</category>
<category>easterhegg</category>
<category>licenses</category>
<category>mysmartgrid</category>
<category>publicdomain</category>
<category>rsa</category>
<category>rsaoaep</category>
<category>rsapss</category>

</item>
<item>
    <title>Free and open source developers meeting (FOSDEM)</title>
    <link>http://www.hboeck.de/archives/732-Free-and-open-source-developers-meeting-FOSDEM.html</link>
            <category>Code</category>
            <category>Computer culture</category>
            <category>Copyright</category>
            <category>English</category>
            <category>Gentoo</category>
            <category>Life</category>
            <category>Linux</category>
    
    <comments>http://www.hboeck.de/archives/732-Free-and-open-source-developers-meeting-FOSDEM.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=732</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=732</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    &lt;!-- s9ymdb:270 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;300&quot; height=&quot;225&quot;  src=&quot;http://www.hboeck.de/uploads/fosdem2010.jpg&quot;  alt=&quot;FOSDEM talk&quot; /&gt;After reading a lot about interesting stuff happening at this years &lt;a href=&quot;http://www.fosdem.org/&quot;&gt;FOSDEM&lt;/a&gt;, I decided very short term to go there. The FOSDEM in Brussels is probably one of the biggest (if not the biggest at all) meetings of free software developers. Unlike similar events (like several Linuxtag-events in Germany), it&#039;s focus is mainly on developers, so the talks are more high level.&lt;br /&gt;
&lt;br /&gt;
My impressions from FOSDEM so far: There are much more people compared when I was here a few years ago, so it seems the number of free software developers is inceasing (which is great). The interest focus seems to be to extend free software to other areas. Embedded devices, the BIOS, open hardware (lot&#039;s of interest in 3D-printers).&lt;br /&gt;
&lt;br /&gt;
Yesterday morning, there was a quite interesting talk by &lt;a href=&quot;http://www.cl.cam.ac.uk/~rnc1/&quot;&gt;Richard Clayton&lt;/a&gt; about Phishing, Scam etc. with lots of statistics and info about the supposed business models behind it. Afterwards I had a nice chat with some developers from &lt;a href=&quot;http://openinkpot.org/&quot;&gt;OpenInkpot&lt;/a&gt;. There was a big interest in the &lt;a href=&quot;http://www.coreboot.org/&quot;&gt;Coreboot&lt;/a&gt;-talk, so I (and many others) just didn&#039;t get in because it was full.&lt;br /&gt;
&lt;br /&gt;
Later Gentoo-developer &lt;a href=&quot;http://blogs.gentoo.org/betelgeuse&quot;&gt;Petteri Räty&lt;/a&gt; gave a talk about &quot;How to be a good upstream&quot; and I&#039;d suggest every free software developer to have a look on that (I&#039;ll put the link here later).&lt;br /&gt;
&lt;br /&gt;
I&#039;ve just attended a rather interesting talk about 3D-printers like &lt;a href=&quot;http://reprap.org/&quot;&gt;RepRap&lt;/a&gt; and &lt;a href=&quot;http://makerbot.com/&quot;&gt;MakerBot&lt;/a&gt;.&lt;img src=&quot;http://vg04.met.vgwort.de/na/458b95b832d64331b78253f847821853&quot; width=&quot;1&quot; height=&quot;1&quot; alt=&quot;&quot;/&gt; 
    </content:encoded>

    <pubDate>Sun, 07 Feb 2010 10:34:05 +0100</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/732-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>fosdem fosdem2010 freesoftware linux reprap makerb</category>

</item>
<item>
    <title>Videos aus ARD Mediathek herunterladen</title>
    <link>http://www.hboeck.de/archives/724-Videos-aus-ARD-Mediathek-herunterladen.html</link>
            <category>Code</category>
            <category>Computer culture</category>
            <category>Linux</category>
    
    <comments>http://www.hboeck.de/archives/724-Videos-aus-ARD-Mediathek-herunterladen.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=724</wfw:comment>

    <slash:comments>9</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=724</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    Ich stand heute vor dem Problem, ein Video aus der ARD-Mediathek herunterladen zu wollen. Die gibt es meistens nur noch als Flash und ohne Download-Link.&lt;br /&gt;
&lt;br /&gt;
Die Videos werden über RTMP übertragen, was ein Flash-eigenes Videostreaming-Protokoll ist. Im gulli-Forum fand ich eine &lt;a href=&quot;http://board.gulli.com/thread/1251646-videos-von-webseiten-runterladen-sammelthread-alle-fragen-hier-rein/28/#682&quot;&gt;Anleitung&lt;/a&gt;. Ich habe darauf basierend ein kleines Skript &lt;a href=&quot;http://www.int21.de/ardget/&quot;&gt;ardget&lt;/a&gt; geschrieben, mit dem man das bequem erledigen kann. Aufzurufen einfach über&lt;br /&gt;
&lt;b&gt;ardget &quot;[URL der Mediathek]&quot;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Die Anführungszeichen sind notwendig, weil die URLs &amp;amp;-Zeichen enthalten, die sonst von der Shell fehlinterpretiert werden. Da die Videos teilweise mit Javascript-URLs verlinkt sind, filtere ich das auch entsprechend, man kann also den kompletten javascript: beginnenden Link übergeben. Benötigt wird entweder &lt;a href=&quot;http://savannah.nongnu.org/projects/flvstreamer/&quot;&gt;flvstreamer&lt;/a&gt; oder &lt;a href=&quot;http://rtmpdump.mplayerhq.hu/&quot;&gt;rtmpdump&lt;/a&gt;, sollte ansonsten in jeder gängigen Unix-Shell funktionieren. 
    </content:encoded>

    <pubDate>Fri, 08 Jan 2010 22:39:56 +0100</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/724-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>ard</category>
<category>ardget</category>
<category>download</category>
<category>flvstreamer</category>
<category>mediathek</category>
<category>rtmp</category>
<category>rtmpdump</category>
<category>video</category>

</item>
<item>
    <title>Study research project about session cookies, SSL and session hijacking</title>
    <link>http://www.hboeck.de/archives/681-Study-research-project-about-session-cookies,-SSL-and-session-hijacking.html</link>
            <category>Code</category>
            <category>English</category>
            <category>Security</category>
    
    <comments>http://www.hboeck.de/archives/681-Study-research-project-about-session-cookies,-SSL-and-session-hijacking.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=681</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=681</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    In the last weeks, I made a study research project at the &lt;a href=&quot;http://iaks-www.ira.uka.de/eiss/&quot;&gt;EISS at the University of Karlsruhe&lt;/a&gt;. The subject was »Session Cookies and SSL«, investigating the problems that arise when  trying to secure a web application with HTTPS and using session cookies.&lt;br /&gt;
&lt;br /&gt;
I already wrote about this in the past, presenting vulnerabilities in various web applications.&lt;br /&gt;
&lt;br /&gt;
One of the notable results is probably that ebay has just no measurements against those issues at all, so it&#039;s pretty trivial to hijack a session (and use that to do bids and even change the address of the hijacked account).&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://www.hboeck.de/uploads/ssl-cookies.pdf&#039;&gt;Download »Session Cookies and SSL« (PDF, 317 KB)&lt;!-- s9ymdb:243 --&gt;&lt;/a&gt; 
    </content:encoded>

    <pubDate>Tue, 13 Jan 2009 23:38:10 +0100</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/681-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>http</category>
<category>https</category>
<category>security</category>
<category>ssl</category>
<category>websecurity</category>

</item>
<item>
    <title>A critique on the FSFE campaign on PDF readers</title>
    <link>http://www.hboeck.de/archives/672-A-critique-on-the-FSFE-campaign-on-PDF-readers.html</link>
            <category>Code</category>
            <category>Copyright</category>
            <category>Linux</category>
    
    <comments>http://www.hboeck.de/archives/672-A-critique-on-the-FSFE-campaign-on-PDF-readers.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=672</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=672</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    &lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://www.hboeck.de/uploads/pdf-evince.png&#039;&gt;&lt;!-- s9ymdb:233 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;291&quot; height=&quot;300&quot; style=&quot;float: right; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://www.hboeck.de/uploads/pdf-evince.serendipityThumb.png&quot; alt=&quot;Broken rendering in evince&quot; /&gt;&lt;/a&gt;The Free Software Foundation Europe has recently started a &lt;a href=&quot;http://pdfreaders.org/&quot;&gt;campaign promoting free PDF readers&lt;/a&gt;. The idea is to replace the tons of »Get Adobe Reader to view the PDF«-Buttons with ones that don&#039;t promote a proprietary product for viewing PDFs. On the page, they list a couple of free PDF readers for various operating systems.&lt;br /&gt;
&lt;br /&gt;
While I fully support the intention of this campaign, I think there&#039;s a big strategic misconception. As a small sample, let&#039;s take &lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://www.hboeck.de/uploads/plakat_lug.pdf&#039;&gt;this PDF (an old advertisement for a Linux installation party)&lt;/a&gt;. It&#039;s created with Scribus, based on a transparent SVG tux image I got from Wikipedia. On the right, you can see the PDF rendered with Evince (one of the three Linux-based solutions listed there). The others (kpdf and okular), although based on the same poppler-libarary, show a different rendering, though it&#039;s not better.&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://www.hboeck.de/uploads/sumatra-pdf-1.png&#039;&gt;&lt;!-- s9ymdb:234 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;217&quot; height=&quot;300&quot; style=&quot;float:left;border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://www.hboeck.de/uploads/sumatra-pdf-1.serendipityThumb.png&quot; alt=&quot;First try on SumatraPDF&quot; /&gt;&lt;/a&gt;Loading the same PDF in the only listed Windows program SumatraPDF (which will, sad but true, probably the one most people will look for) gives an even more interesting result (see on the left). Though, after resizing the window, it changes it&#039;s opinion and renders the PDF, although still broken as you can see on the right (results may be false as I only tried it in WINE).&lt;br /&gt;
&lt;br /&gt;
Continuing with the problems, SumatraPDF is unable to fill in PDF forms. Luckily today Linux-based PDF readers are able to do that, though one of the listed programs (kpdf) is not.&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://www.hboeck.de/uploads/sumatra-pdf-2.png&#039;&gt;&lt;!-- s9ymdb:235 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;223&quot; height=&quot;300&quot; style=&quot;float: right; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://www.hboeck.de/uploads/sumatra-pdf-2.serendipityThumb.png&quot; alt=&quot;Second try on SumatraPDF&quot; /&gt;&lt;/a&gt;In fact, those are no reasons not to start a campaign for free PDF readers. But it should start with a completely different focus, like »we have some coders wanting to improve free PDF readers, send us your wrong rendered PDFs« or something like that. And then start improving the free PDF readers. And then promote them. Doing it the other way round with a »there is no problem, just take a free PDF reader« message and then giving them ones with grave problems is just lying to people. There&#039;s a good reason why for example the &lt;a href=&quot;http://docs.scribus.net/index.php?lang=en&amp;amp;page=pdfexport1&quot;&gt;Scribus project promotes the Adobe Reader&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Oh, and before you ask, yes, I have reported the bug about the misrendered transparency &lt;a href=&quot;http://bugs.freedesktop.org/show_bug.cgi?id=8474&quot;&gt;a long time ago&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Sat, 13 Dec 2008 13:35:40 +0100</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/672-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>adobe</category>
<category>evince</category>
<category>freesoftware</category>
<category>fsfe</category>
<category>kpdf</category>
<category>okular</category>
<category>pdf</category>
<category>poppler</category>
<category>sumatrapdf</category>

</item>
<item>
    <title>Fuzzing is easy</title>
    <link>http://www.hboeck.de/archives/651-Fuzzing-is-easy.html</link>
            <category>Code</category>
            <category>English</category>
            <category>Linux</category>
            <category>Security</category>
    
    <comments>http://www.hboeck.de/archives/651-Fuzzing-is-easy.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=651</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=651</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    I recently played around with the possibilities of fuzzing. It&#039;s a simple way to find bugs in applications.&lt;br /&gt;
&lt;br /&gt;
What you do: You have some application that parses some kind of file format. You create lots (thousands) of files which have small errors. The simplest approach is to just change random bits. If the app crashes, you&#039;ve found a bug, it&#039;s quite likely that it&#039;s a security relevant one. This is especially crucial for apps like mail scanners (antivirus), but pretty much works for every app that parses foreign input. It works especially well on uncommon file formats, because their code is often not well maintained.&lt;br /&gt;
&lt;br /&gt;
My fuzzing tool of choice is &lt;a href=&quot;http://libcaca.zoy.org/wiki/zzuf&quot;&gt;zzuf&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I am impressed and a bit shocked how easy it is to find crashers and potential overflows in common, security relevant applications. My last discovery was a &lt;a href=&quot;http://int21.de/cve/CVE-2008-1389-clamav-chd.html&quot;&gt;crasher in the chm parser of clamav&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Sun, 07 Sep 2008 19:17:46 +0200</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/651-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>clamav</category>
<category>fuzzing</category>
<category>security</category>
<category>zzuf</category>

</item>
<item>
    <title>GPN7 and surveillance cameras in OpenStreetMap</title>
    <link>http://www.hboeck.de/archives/637-GPN7-and-surveillance-cameras-in-OpenStreetMap.html</link>
            <category>Code</category>
            <category>Computer culture</category>
            <category>English</category>
            <category>Politics</category>
    
    <comments>http://www.hboeck.de/archives/637-GPN7-and-surveillance-cameras-in-OpenStreetMap.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=637</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=637</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    &lt;!-- s9ymdb:209 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;300&quot; height=&quot;233&quot; style=&quot;float: right; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://www.hboeck.de/uploads/cologne-cctv.png&quot; alt=&quot;Surveillance cameras in cologne&quot; /&gt;It&#039;s the second day on the &lt;a href=&quot;http://entropia.de/wiki/GPN7&quot;&gt;GPN7&lt;/a&gt; (a local hacker event from the Chaos Computer Club Karlsruhe / Entropia).&lt;br /&gt;
&lt;br /&gt;
Yesterday evening I hacked together a map based on openstreetmap showing surveillance cameras:&lt;br /&gt;
&lt;a href=&quot;http://osm-cctv.hboeck.de/&quot;&gt;http://osm-cctv.hboeck.de/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
As a basis, we could use some &lt;a href=&quot;http://koeln.ccc.de/ablage/cctv/cams.xml&quot;&gt;data provided by the chaos computer club cologne&lt;/a&gt;. I&#039;m working on an importer to get that into the openstreetmap database. Will probably happen within the next days.&lt;br /&gt;
&lt;br /&gt;
All cameras tagged with man_made=surveillance in germany.osm are already imported into the overlay. I&#039;ll keep a wiki-page up-to-date at:&lt;br /&gt;
&lt;a href=&quot;http://wiki.openstreetmap.org/index.php/User:Hanno/CCTV&quot;&gt;http://wiki.openstreetmap.org/index.php/User:Hanno/CCTV&lt;/a&gt; 
    </content:encoded>

    <pubDate>Sat, 05 Jul 2008 15:01:04 +0200</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/637-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>c4</category>
<category>ccc</category>
<category>cctv</category>
<category>datenschutz</category>
<category>entropia</category>
<category>gpn</category>
<category>gpn7</category>
<category>openstreetmap</category>
<category>privacy</category>
<category>surveillance</category>
<category>überwachung</category>
<category>überwachungskameras</category>

</item>
<item>
    <title>Linux on a Wii</title>
    <link>http://www.hboeck.de/archives/634-Linux-on-a-Wii.html</link>
            <category>Code</category>
            <category>Computer culture</category>
            <category>English</category>
            <category>Gentoo</category>
            <category>Linux</category>
    
    <comments>http://www.hboeck.de/archives/634-Linux-on-a-Wii.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=634</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=634</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    &lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://www.hboeck.de/uploads/wiilinux.jpg&#039;&gt;&lt;!-- s9ymdb:206 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;300&quot; height=&quot;225&quot; style=&quot;float: right; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://www.hboeck.de/uploads/wiilinux.serendipityThumb.jpg&quot; alt=&quot;Linux on Wii&quot; /&gt;&lt;/a&gt;Today I played around a bit with the stuff done by the Wii homebrew/hacking community, which is far more advanced than I had expected.&lt;br /&gt;
&lt;br /&gt;
I had the game Twilight Princess borrowed by a friend. For those who don&#039;t know, using this game you can run homebrew software on the Wii without the need of a modchip.&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://www.hboeck.de/uploads/homebrew.jpg&#039;&gt;&lt;!-- s9ymdb:205 --&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;300&quot; height=&quot;225&quot; style=&quot;float: left; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://www.hboeck.de/uploads/homebrew.serendipityThumb.jpg&quot; alt=&quot;Wii Homebrew Channel&quot; /&gt;&lt;/a&gt;The way this works is that first you install a modified savegame for Twilight Princess, afterwards you can install the Homebrew Channel. The Homebrew Channel will stay in the main Wii Menu and you&#039;ll be able to run various stuff from there. While looking around the various webpages covering the topic, I found that &lt;a href=&quot;http://wiibrew.org/&quot;&gt;wiibrew.org&lt;/a&gt; is a good place to find documentation and links to the appropriate projects. So look there for the details.&lt;br /&gt;
&lt;br /&gt;
The gc-linux project (originally porting linux to the gamecube) has a simple Linux image available.&lt;br /&gt;
&lt;br /&gt;
A warning: Nintendo released a new firmware that stops this method to work, so if you wanna have fun, don&#039;t update your Wii. And the obvious warning: Everything you do is at your own risk.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update:&lt;/b&gt; Seems the Firmware update &lt;a href=&quot;http://kotaku.com/5018176/twilight-princess-hack-fix-ie-wii-33-now-hacked&quot;&gt;is no longer a problem&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Tue, 17 Jun 2008 23:52:47 +0200</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/634-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>console</category>
<category>freesoftware</category>
<category>homebrew</category>
<category>linux</category>
<category>wii</category>
<category>wiibrew</category>

</item>
<item>
    <title>Hash-collissions in real world scenarios</title>
    <link>http://www.hboeck.de/archives/617-Hash-collissions-in-real-world-scenarios.html</link>
            <category>Code</category>
            <category>Cryptography</category>
            <category>English</category>
            <category>Security</category>
    
    <comments>http://www.hboeck.de/archives/617-Hash-collissions-in-real-world-scenarios.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=617</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=617</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    I just read &lt;a href=&quot;http://www.heise.de/newsticker/Details-zur-Wordpress-Luecke-veroeffentlicht--/meldung/107172&quot;&gt;an article about the recent wordpress vulnerability&lt;/a&gt; (if you&#039;re running wordpress, please update to 2.5.1 NOW), one point raised my attention: The attack uses MD5-collisions.&lt;br /&gt;
&lt;br /&gt;
I wrote some articles about hash collisions a while back. Short introduction: A cryptographic hash-function is a function where you can put in any data and you&#039;ll get a unique, fixed-size value. »unique« in this case scenario means that it&#039;s very hard to calculate two different strings matching to the same hash value. If you can do that, the function should be considered broken.&lt;br /&gt;
&lt;br /&gt;
The MD5 function got broken some years back (2004) and it&#039;s more or less a question of time when the same will happen to SHA1. There have been scientific results claiming that an attacker with enough money could easily create a supercomputer able to create collisions on SHA1. The evil thing is: Due to the design of both functions, if you have one collision, you can create many more easily.&lt;br /&gt;
&lt;br /&gt;
Although those facts are well known, SHA1 is still widely used (just have a look at your SSL connections or at the way the PGP web of trust works) and MD5 isn&#039;t dead either. The fact that a well-known piece of software got issues depending on hash collisions should raise attention. Pretty much all security considerations on cryptographic protocols rely on the collision resistance of hash functions.&lt;br /&gt;
&lt;br /&gt;
The NIST plans to define new hash functions &lt;a href=&quot;http://csrc.nist.gov/groups/ST/hash/&quot;&gt;until 2012&lt;/a&gt;, until then it&#039;s probably a safe choice to stick with SHA256 or SHA512. 
    </content:encoded>

    <pubDate>Tue, 29 Apr 2008 21:44:47 +0200</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/617-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>cryptography</category>
<category>hash</category>
<category>md5</category>
<category>nist</category>
<category>security</category>
<category>sha1</category>
<category>sha256</category>
<category>sha512</category>
<category>wordpress</category>

</item>
<item>
    <title>Manually decrypting S/MIME mails</title>
    <link>http://www.hboeck.de/archives/592-Manually-decrypting-SMIME-mails.html</link>
            <category>Code</category>
            <category>Cryptography</category>
            <category>English</category>
            <category>Linux</category>
            <category>Security</category>
    
    <comments>http://www.hboeck.de/archives/592-Manually-decrypting-SMIME-mails.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=592</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=592</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    I recently took the new CAcert assurer test. Afterwards, one has to send a S/MIME-signed mail to get a PDF-certificate.&lt;br /&gt;
&lt;br /&gt;
Having the same problem &lt;a href=&quot;http://bwurst.org/archives/163-CAcert.org-Assurer-Test.html&quot;&gt;like Bernd&lt;/a&gt;, the answer came in an RC2-encrypted S/MIME-mail. I&#039;m using kmail, kmail uses gpgsm for S/MIME and that doesn&#039;t support RC2.&lt;br /&gt;
&lt;br /&gt;
While this opens some obvious questions (Why is anyone in the world still using RC2? Why is anyone using S/MIME at all?), I was able to circumvent that without the hassle of installing thunderbird (which was Bernd&#039;s solution).&lt;br /&gt;
&lt;br /&gt;
openssl supports RC2 and can handle S/MIME. And this did the trick:&lt;br /&gt;
&lt;pre&gt;openssl smime -decrypt -in [full mail] -inkey sslclientcert.key&lt;/pre&gt;&lt;br /&gt;
It needed the full mail, which took me a while, because I first tried to only decrypt the attachment. 
    </content:encoded>

    <pubDate>Tue, 26 Feb 2008 21:05:46 +0100</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/592-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>cacert</category>
<category>cryptography</category>
<category>email</category>
<category>english</category>
<category>openssl</category>
<category>rc2</category>
<category>security</category>
<category>smime</category>
<category>ssl</category>

</item>
<item>
    <title>Some XSS issues in Serendipity found</title>
    <link>http://www.hboeck.de/archives/572-Some-XSS-issues-in-Serendipity-found.html</link>
            <category>Code</category>
            <category>Security</category>
    
    <comments>http://www.hboeck.de/archives/572-Some-XSS-issues-in-Serendipity-found.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=572</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=572</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    I recently stepped upon some XSS issues in Serendipity.&lt;br /&gt;
&lt;br /&gt;
The first is in the remoterss-plugin, which can be used to display the content of an RSS feed in the sidebar of a blog. It didn&#039;t escape links, so JavaScript-Code could be injected by malicious RSS feeds. This plugin is shipped with the base version of S9Y. They&#039;ve released 1.2.1 this weekend which has the fix.&lt;br /&gt;
If you&#039;re using the remoterss plugin, you should upgrade to 1.2.1 as soon as possible. This issue is named &lt;a href=&quot;http://www.int21.de/cve/CVE-2007-6205-s9y.html&quot;&gt;CVE-2007-6205&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The other one is in the external mycalendar-plugin. It also allows unescaped content inside links. This wouldn&#039;t be a real issue, as this form should only be accessible by the blog administrator. But the form had no CSRF (Cross-Site-Request-Forgery) protection, so an attacker could trigger this form and thus inject javascript on the blog-page. This has been fixed within version 0.13 of the plugin, so if you&#039;re using it, please upgrade. CVE-2007-6390 now assigned.&lt;br /&gt;
&lt;br /&gt;
Beside I&#039;d like to note that I got fast replies to my reports and the s9y devs fixed them quite quickly. Thanks for that! 
    </content:encoded>

    <pubDate>Mon, 10 Dec 2007 14:48:13 +0100</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/572-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>blog</category>
<category>s9y</category>
<category>security</category>
<category>serendipity</category>
<category>websecurity</category>
<category>xss</category>

</item>
<item>
    <title>https with multiple certs on one IP</title>
    <link>http://www.hboeck.de/archives/556-https-with-multiple-certs-on-one-IP.html</link>
            <category>Code</category>
            <category>English</category>
            <category>Linux</category>
            <category>Security</category>
    
    <comments>http://www.hboeck.de/archives/556-https-with-multiple-certs-on-one-IP.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=556</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=556</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    A big problem with web security in the past was that it was impossible to have https-hosts with more than one certificate per IP. This is due to the protocol design of https, which needs to establish an ssl-connection with the certificate before the hostname is transferred.&lt;br /&gt;
&lt;br /&gt;
There is a solution though, called Server Name Indication (SNI) and part of TLS. Strange enough, client compatibility isn&#039;t that much of a problem. Firefox, Opera and IE already support it in their current versions, konqueror will with kde4, I&#039;ve no information when it&#039;ll hit safari. Oh, and I haven&#039;t testet w3m, lynx, links and wget yet, but if you want, feel free to add your experiences to the comments :-)&lt;br /&gt;
&lt;br /&gt;
The problem was that until some weeks ago, openssl didn&#039;t support SNI, apachen mod_ssl didn&#039;t, lighttpd didn&#039;t. Only GnuTLS, but mod_gnutls is considered unstable by it&#039;s authors. With OpenSSL 0.9.8f, TLS Extensions and with them SNI landet in openssl, apache still &lt;a href=&quot;http://issues.apache.org/bugzilla/show_bug.cgi?id=34607&quot;&gt;needs patches&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
We&#039;ve now implemented SNI on schokokeks.org, which you can test:&lt;br /&gt;
&lt;a href=&quot;https://www.schokokeks.org/&quot;&gt;https://www.schokokeks.org/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.hboeck.de/&quot;&gt;https://www.hboeck.de/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.fabian-fingerle.de/&quot;&gt;https://www.fabian-fingerle.de/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If your browser supports SNI, you should see different certificates, all on the same IP. All certs are cacert-signed, they also have a &lt;a href=&quot;http://wiki.cacert.org/wiki/VhostTaskForce&quot;&gt;Wiki page from the VhostTaskForce&lt;/a&gt; for SNI and alternative solutions. 
    </content:encoded>

    <pubDate>Wed, 24 Oct 2007 23:25:25 +0200</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/556-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>apache</category>
<category>https</category>
<category>openssl</category>
<category>security</category>
<category>sni</category>
<category>ssl</category>
<category>tls</category>
<category>websecurity</category>

</item>
<item>
    <title>freewvs released</title>
    <link>http://www.hboeck.de/archives/553-freewvs-released.html</link>
            <category>Code</category>
            <category>English</category>
            <category>Linux</category>
            <category>Security</category>
    
    <comments>http://www.hboeck.de/archives/553-freewvs-released.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=553</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=553</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    One of the biggest threats in computer security today are web applications. There&#039;s a vast number of issues found in popular web apps, mostly cross site scripting, cross site request forgery and sql injection. For a long time I had the idea of a tool scanning through webroots and looking for popular web applications, comparing them with a database of their latest security issues. In the past weeks, I finaly managed to get some code done.&lt;br /&gt;
&lt;br /&gt;
It&#039;s a quite simple python-script (don&#039;t cry about the source quality, I haven&#039;t done real coding for ages), together with a database of some popular applications. I&#039;m looking forward to hear feedback. The usage is simple, just do something like this:&lt;br /&gt;
&lt;b&gt;freewvs /home/joe/websites/foo /home/guest/websites/bar&lt;/b&gt;&lt;br /&gt;
Typical output looks like this:&lt;br /&gt;
&lt;i&gt;WebsiteBaker 2.4.3 (2.6.5) CVE-2007-0527 /home/hanno/freewvs/test/websitebaker&lt;br /&gt;
Drupal 5.1 (5.3) CVE-2007-5416 /home/hanno/freewvs/test/drupal&lt;br /&gt;
PhpWebGallery 1.5.1 () CVE-2007-5012 /home/hanno/freewvs/test/phpwebgallery&lt;/i&gt;&lt;br /&gt;
Mostly self explaining. The found app at the beginning, the version where the issue was fixed in brackets, the CVE-ID (or some other vulnerability id, in doubt an URL) and the path.&lt;br /&gt;
&lt;br /&gt;
The biggest work to do is probably to get more applications added to the database and to keep the database updated. It&#039;s format is pretty self-explaining, so I&#039;m waiting for your patches.&lt;br /&gt;
&lt;br /&gt;
Get it here: &lt;a href=&quot;http://source.schokokeks.org/freewvs/&quot;&gt;http://source.schokokeks.org/freewvs/&lt;/a&gt; 
    </content:encoded>

    <pubDate>Thu, 18 Oct 2007 19:04:43 +0200</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/553-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>code</category>
<category>csrf</category>
<category>freesoftware</category>
<category>freewvs</category>
<category>security</category>
<category>web</category>
<category>xss</category>

</item>
<item>
    <title>Free documentary about free software</title>
    <link>http://www.hboeck.de/archives/548-Free-documentary-about-free-software.html</link>
            <category>Code</category>
            <category>Copyright</category>
            <category>English</category>
            <category>Gentoo</category>
            <category>Linux</category>
            <category>Movies</category>
            <category>Politics</category>
    
    <comments>http://www.hboeck.de/archives/548-Free-documentary-about-free-software.html#comments</comments>
    <wfw:comment>http://www.hboeck.de/wfwcomment.php?cid=548</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://www.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=548</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    Today I found a note about the movie &lt;a href=&quot;http://www.archive.org/details/The-Codebreakers&quot;&gt;The Codebreakers&lt;/a&gt;. It&#039;s a free-licensed (cc-by-sa) documentary about free software in development countries.&lt;br /&gt;
&lt;br /&gt;
It brings up different examples about successful usage of free software in different parts of the world. Worth watching. 
    </content:encoded>

    <pubDate>Mon, 15 Oct 2007 02:14:06 +0200</pubDate>
    <guid isPermaLink="false">http://www.hboeck.de/archives/548-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><category>creativecommons</category>
<category>developingworld</category>
<category>freeculture</category>
<category>freesoftware</category>
<category>linux</category>
<category>movie</category>

</item>

</channel>
</rss>