<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Thomas Jaehnel</title>
    <link rel="alternate" type="text/html" href="http://thomasjaehnel.com/blog/" />
    <link rel="self" type="application/atom+xml" href="http://thomasjaehnel.com/blog/atom.xml" />
    <id>tag:thomasjaehnel.com,2008-11-02:/blog//2</id>
    <updated>2010-07-20T15:51:18Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 4.21-en</generator>

<entry>
    <title>DKIM in amavisd-new and postfix</title>
    <link rel="alternate" type="text/html" href="http://thomasjaehnel.com/blog/2010/07/dkim-amavid-new-postfix.html" />
    <id>tag:thomasjaehnel.com,2010:/blog//2.122</id>

    <published>2010-07-19T19:00:00Z</published>
    <updated>2010-07-20T15:51:18Z</updated>

    <summary>As most of you know, email is an inherently insecure protocol. Basically, you&apos;re sending around text files with a certain format and you have to trust the servers that are forwarding the email, that they wont modify the content or...</summary>
    <author>
        <name>Thomas Jaehnel</name>
        
    </author>
    
        <category term="HowTo" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="amavis" label="amavis" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="debian" label="debian" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="dkim" label="dkim" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="email" label="email" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="lenny" label="lenny" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mailserver" label="mailserver" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="postfix" label="postfix" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="uniteddomains" label="united-domains" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://thomasjaehnel.com/blog/">
        <![CDATA[<p>As most of you know, email is an inherently insecure protocol. Basically, you're sending around text files with a certain format and you have to trust the servers that are forwarding the email, that they wont modify the content or lie about who they are.</p>

<p>One of the big issues here is, that anybody can claim to be sending email from bill.gates@microsoft.com and whoever receives the email has to believe it.</p>

<p><a href="http://www.dkim.org/"><span class="caps">DKIM</span></a> adds a certain level of protecting. What it does is, it gives the owner of the <span class="caps">DNS </span>record of a domain the possibility to provide a cryptographic public key to anyone who cares to validate the signature. The sending mailserver holds a copy of the corresponding private key and signs every outgoing message with that key. Every recipient can the check weather the signature is correct by checking the published public key.</p>

<p>A lot of the big players like gmail, etc. have added support for <span class="caps">DKIM </span>signatures in their infrastructure.</p>

<p>I have also implemented <span class="caps">DKIM </span>(along with <a href="http://en.wikipedia.org/wiki/Sender_Policy_Framework"><span class="caps">SPF</span></a>) on my mail server.</p>

<p>Following are the basic steps necessary to implement <span class="caps">DKIM</span>:</p>


<ol>
<li>create a crypto key-pair</li>
<li>setup a separate path in your mailer for outgoing mail</li>
<li>configure mailer to sign outgoing messages</li>
<li>publish the public key through <span class="caps">DNS</span></li>
</ol>



<p>The best howto I came across is <a href="http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim">this</a></p>

<p>The most important part is to set postfix to tag mails as incoming or outgoing by using the </p>

<pre><code>smtpd_sender_restrictions = 
    check_sender_access regexp:/etc/postfix/tag_as_originating.re
    ...
    check_sender_access regexp:/etc/postfix/tag_as_foreign.re</code></pre>

<p>part in main.cf.</p>

<p>The rest of the setup happens in amavis by adding an additional policy in amavis:</p>

<pre><code>$inet_socket_port = [10024,10026];  # listen on two ports
$enable_dkim_signing = 1;  # loads DKIM signing code
dkim_key('DOMAIN_NAME, 'dk1', '/path/to/keyfile');
$interface_policy{'10026'} = 'ORIGINATING';
$policy_bank{'ORIGINATING'} = {  # mail originating from our users
    originating =&gt; 1,  # indicates client is ours, allows signing
};</code></pre>

<p>The only remaining thing to do is publish the public key. My domains are managed by <a href="http://united-domain.de/">united domains</a>. To get this working you have to create a subdomain and set the <span class="caps">TXT </span>record for this subdomain called dk1._domainkey.homemadecode.de (the dk1 part has to be the same as the identifier provided in the amavisd config above).</p>]]>
        
    </content>
</entry>

<entry>
    <title>.de DNS root server failure</title>
    <link rel="alternate" type="text/html" href="http://thomasjaehnel.com/blog/2010/05/de-dns-root-server-failure.html" />
    <id>tag:thomasjaehnel.com,2010:/blog//2.120</id>

    <published>2010-05-12T12:29:28Z</published>
    <updated>2010-05-12T12:31:17Z</updated>

    <summary>Currently the German DNS root servers have a problem. DENIC is apparently working on it. In the meantime homemadecode.de and its mail services are not available. I&apos;m sorry for the inconvenience....</summary>
    <author>
        <name>Thomas Jaehnel</name>
        
    </author>
    
        <category term="news" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="denic" label="DENIC" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="dns" label="DNS" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="failure" label="failure" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://thomasjaehnel.com/blog/">
        <![CDATA[<p>Currently the German <span class="caps">DNS </span>root servers have a problem. <span class="caps">DENIC </span>is apparently working on it. In the meantime homemadecode.de and its mail services are not available. I'm sorry for the inconvenience. </p>]]>
        
    </content>
</entry>

<entry>
    <title>LDAP groups not showing up (immediately)</title>
    <link rel="alternate" type="text/html" href="http://thomasjaehnel.com/blog/2010/04/ldap-groups-not-showing-up-immediately.html" />
    <id>tag:thomasjaehnel.com,2010:/blog//2.118</id>

    <published>2010-04-12T08:28:17Z</published>
    <updated>2010-04-12T08:33:38Z</updated>

    <summary>Background: I use LDAP as a user storage for my unix machines holding all relevant user and group data in the directory. When I add a user to a group, only LDAP is changed. Since I just stumbled across this...</summary>
    <author>
        <name>Thomas Jaehnel</name>
        
    </author>
    
        <category term="HowTo" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="ldap" label="ldap" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="nscd" label="nscd" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="pam" label="pam" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sysadmin" label="sysadmin" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="unix" label="unix" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://thomasjaehnel.com/blog/">
        <![CDATA[<p>Background: I use <span class="caps">LDAP </span>as a user storage for my unix machines holding all relevant user and group data in the directory. When I add a user to a group, only <span class="caps">LDAP </span>is changed.</p>

<p>Since I just stumbled across this issue and have been wondering what's wrong, here is a short reminder for next time:</p>

<p>Whenever you update groups in <span class="caps">LDAP </span>when using <span class="caps">LDAP </span>for users and groups you have to flush the nscd cache to see the new groups immediately. Use </p>

<pre><code>nscd -i &lt;tablename&gt;</code></pre>

<p>to do this.</p>]]>
        
    </content>
</entry>

<entry>
    <title>pushing routes via DHCP</title>
    <link rel="alternate" type="text/html" href="http://thomasjaehnel.com/blog/2010/01/pushing-routes-via-dhcp.html" />
    <id>tag:thomasjaehnel.com,2010:/blog//2.114</id>

    <published>2010-01-15T18:02:15Z</published>
    <updated>2010-01-15T18:36:00Z</updated>

    <summary>Since I came across this problem now several times in my home office network as well as at the office, I finally found a viable solution to this issue. The Problem When you have a network consisting of several subnets...</summary>
    <author>
        <name>Thomas Jaehnel</name>
        
    </author>
    
        <category term="HowTo" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="dhcp" label="dhcp" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="routing" label="routing" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="unix" label="unix" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="windows" label="windows" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://thomasjaehnel.com/blog/">
        <![CDATA[<p>Since I came across this problem now several times in my home office network as well as at the office, I finally found a viable solution to this issue.</p>

<p><big>The Problem</big><br />
When you have a network consisting of several subnets and routers at each of the boundaries looking something like this:</p>

<p><span class="caps">INET </span>&lt;-&gt; router A &lt;-&gt; subnet1 &lt;-&gt; router B &lt;-&gt; subnet2</p>

<p>The issue here is, that clients in subnet1 ideally should know about both routers to reach all networks. By default they only receive one of them as a default gateway. Of course one could set a static route on each client by using some sort of logon script but a more elegant way is to use <a href="http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol"><span class="caps">DHCP</span></a> for this purpose.</p>

<p><big>Solution</big><br />
After some research I finally figured out how to do this. You need to use a feature <em>classless static route</em><sup class="footnote"><a href="http://thomasjaehnel.com/blog/2010/01/pushing-routes-via-dhcp.html#fn1">1</a></sup> which is of course documented in the corresponding <a href="http://www.ietf.org/rfc/rfc3442.txt"><span class="caps">RFC3442</span></a> (but hardly anywhere else). This option is supported by Windows 2k, <span class="caps">XP, </span>and upwards.</p>

<p>So to get dhcpd to serve this new option I did some further googling and came across this <a href="http://scott.yang.id.au/2003/04/getting-stuck-with-dhcpd/">post</a> with a solution for dhcpd3 by John Robinson:</p>

<pre><code># MS routes: adds extras to supplement routers option
option ms-classless-static-routes code 249 = array of integer 8;</code></pre>

<pre><code># RFC3442 routes: overrides routers option
option rfc3442-classless-static-routes code 121 = array of integer 8;</code></pre>

<pre><code>option routers 172.22.0.1;
option ms-classless-static-routes 24, 172, 22, 99, 172, 22, 0, 1 ;
option rfc3442-classless-static-routes 24, 172, 22, 99, 172, 22, 
0, 1, 0, 172, 22, 0, 1 ;</code></pre>

<p>The first two lines define the new commands to point to the corresponding option codes. These have to be in the global section. The rest of the lines can be specific to any of the other section if desired. The format for the information passed to the options is encoded in the following format:</p>

<p>If you want to supply a static route as follows: 192.168.1.0/24 (equivalent to netmask of 255.255.255.0) with a gateway of 192.168.1.1 you write the address as follows:</p>

<pre><code>option ms-classless-static-routes 24, 192, 168, 1, 192, 168, 1, 1;</code></pre>

<p>As also mentioned in the original post, it is required to supply the default gateway if using classless static routing. In the above example, this is done by the appended route </p>

<pre><code>0, 1, 0, 172, 22, 0, 1 ;</code></pre>

<p>equivalent to a default gateway of 172.22.0.1.</p>

<p>I hope this post will help some people running into the same kind of issues that I came across. Any thoughts welcome.</p>

<p class="footnote" id="fn1"><sup>1</sup> The option code is 121, grep for that in the <span class="caps">RFC </span>for further information</p>]]>
        
    </content>
</entry>

<entry>
    <title>Attacks on browser-based content sniffing</title>
    <link rel="alternate" type="text/html" href="http://thomasjaehnel.com/blog/2009/11/attacks-based-on-content-sniffing.html" />
    <id>tag:thomasjaehnel.com,2009:/blog//2.106</id>

    <published>2009-11-09T19:00:00Z</published>
    <updated>2009-11-10T08:51:38Z</updated>

    <summary>While working on a project I came across the very interesting topic of attacks abusing MIME sniffing in browsers. Obviously this isn&apos;t really new but I just didn&apos;t have any practical use for it, so I never dove into the...</summary>
    <author>
        <name>Thomas Jaehnel</name>
        
    </author>
    
        <category term="IT Security" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="hacking" label="hacking" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mimesniffing" label="mimesniffing" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="security" label="security" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="xss" label="XSS" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://thomasjaehnel.com/blog/">
        <![CDATA[<p>While working on a project I came across the very interesting topic of attacks abusing <span class="caps">MIME </span>sniffing in browsers. Obviously this isn't really new but I just didn't have any practical use for it, so I never dove into the details until now. For future reference I decided to write a comprehensive blog post about it here.</p>

<p><em><span class="caps">MIME</span> Sniffing</em> is a technique implemented by IE &gt;= 4.0 allowing the browser to dynamically guess the content type of downloaded files. Basically the browser analyzes the magic bytes of any downloaded file and decides whether to trust the server's transmitted content type or use its own guess. What IE does is, if there is a mismatch between the content type of the server and the one defined by the magic bytes, then it uses its own content type guess. The problem arises once a website allows users to upload content which is then published on the web server. If an attacker manipulates the content in a way to be accepted by the web app and rendered as <span class="caps">HTML </span>by the browser, it is possible to inject code in e.g. an image file and make the victim execute it by viewing said image. For more details read heise online on the topic here<sup class="footnote"><a href="http://thomasjaehnel.com/blog/2009/11/attacks-based-on-content-sniffing.html#fn3">3</a></sup></p>

<p><big><strong>Quick test for web applications</strong></big><br />
To quickly assess whether an application is vulnerable to this type of attack, check if the following criteria are fulfilled:</p>


<ol>
<li>The application allows uploads</li>
<li>The application does no post-processing on the uploaded content</li>
<li>The content is downloadable throught the application</li>
<li>The content is not checked for <span class="caps">MIME </span>type mismatches</li>
</ol>



<p>Try uploading the following <a href="http://homemadecode.de/security_logo_string.jpg"><span class="caps">PNG </span>file</a> which pretends to be a <span class="caps">JPG </span>(pay close attention when downloading the file, some browsers such as FF might append a .PNG at the end, remove this) to the site in question. If a subsequent download of the file returns the exact same file with a content type of <span class="caps">JPEG, </span>the app is vulnerable. Opening the file in IE will render an alert box on the screen.</p>

<p><strong>For this to work, you need to direct the browser to the file itself, having it loaded from an image tag inside an <span class="caps">HTML </span>page e.g. is not enough</strong></p>

<p><em>Sidenote:</em> IE 8 is no longer vulnerable to the image based attack<sup class="footnote"><a href="http://thomasjaehnel.com/blog/2009/11/attacks-based-on-content-sniffing.html#fn2">2</a></sup>.</p>

<p>The same attack also works in <span class="caps">PDF</span>s and other types of files. So if the app doesn't allow images but other content to be uploaded, it still needs to be evaluated if such attacks are possible.</p>

<p><big><strong>How to protect your web app</strong></big><br />
There are several means of protecting you application from these type of attacks.</p>

<p>If dealing with images, use something like the <em>Image Magick</em> tools to resize or recompress the uploaded images prior to serving them. Any of these operations will remove the attack code<sup class="footnote"><a href="http://thomasjaehnel.com/blog/2009/11/attacks-based-on-content-sniffing.html#fn5">5</a></sup>.</p>

<p>Microsoft also introduced several <span class="caps">HTTP </span>headers to disable content sniffing in IE 8<sup class="footnote"><a href="http://thomasjaehnel.com/blog/2009/11/attacks-based-on-content-sniffing.html#fn2">2</a></sup>:</p>

<p>To force the browser to trust the servers content type, use the following additional <span class="caps">HTTP </span>header: </p>

<pre><code>X-Content-Type-Options: nosniff</code></pre>

<p>Additionally, it is also a good idea to use Wikipedia's approach as a 2nd line of defense. Use a separate (sub)domain to host your user-uploaded content. With this approach you ensure, that none of the scripts that might potentially be included in the content, are executed in the context of your web application and therefore don't have access to session cookies, etc.</p>

<p><big><strong>Background</strong></big></p>

<p>For further background on this type of attack I recommend the paper<sup class="footnote"><a href="http://thomasjaehnel.com/blog/2009/11/attacks-based-on-content-sniffing.html#fn1">1</a></sup> by Barth et al of <span class="caps">UCS</span> Berkeley providing details of the inner workings of <span class="caps">MIME </span>sniffing.</p>

<p>Another interesting angle comes into play, once an attacker has control over the server itself. Jose Nazario over at arbor networks blog is describing a phishing attack also based on abusing the <span class="caps">MIME </span>sniffing<sup class="footnote"><a href="http://thomasjaehnel.com/blog/2009/11/attacks-based-on-content-sniffing.html#fn4">4</a></sup>.</p>

<p class="footnote" id="fn1"><sup>1</sup> <a href="http://www.adambarth.com/papers/2009/barth-caballero-song.pdf">Secure Content Snifﬁng for Web Browsers, or How to Stop Papers from Reviewing Themselves</a> by Barth et al. of <span class="caps">UCS</span> Berkeley</p>

<p class="footnote" id="fn2"><sup>2</sup> <a href="http://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx"><span class="caps">IE8 </span>security, Part V</a> <span class="caps">IEB</span>log, Microsoft</p>

<p class="footnote" id="fn3"><sup>3</sup> <a href="http://www.h-online.com/security/Risky-MIME-sniffing-in-Internet-Explorer--/features/112589">Risky <span class="caps">MIME </span>sniffing in IE</a> heise online</p>

<p class="footnote" id="fn4"><sup>4</sup> <a href="http://asert.arbornetworks.com/2009/03/mime-sniffing-and-phishing/"><span class="caps">MIME </span>sniffing and phishing</a> arbor networks security blog</p>

<p class="footnote" id="fn5"><sup>5</sup> Watch out for new attack vectors based on buffer overflows in Image Magick, though.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Studie zu Web Application Firewalls veröffentlicht</title>
    <link rel="alternate" type="text/html" href="http://thomasjaehnel.com/blog/2009/07/studie-zu-web-application-firewalls-veroffentlicht.html" />
    <id>tag:thomasjaehnel.com,2009:/blog//2.102</id>

    <published>2009-07-09T21:46:13Z</published>
    <updated>2009-07-09T21:56:25Z</updated>

    <summary>Basierend auf meiner Diplomarbeit veröffentlicht die OPTIMAbit GmbH heute eine Studie über Web Application Firewall: München, 09. Juli 2009. Die OPTIMAbit GmbH, Beratungsunternehmen mit Sitz in München und führender Experte zum Thema Anwendungssicherheit, hat eine Studie zu Web Application Firewalls...</summary>
    <author>
        <name>Thomas Jaehnel</name>
        
    </author>
    
        <category term="IT Security" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="firewall" label="firewall" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="security" label="security" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="study" label="study" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="waf" label="WAF" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://thomasjaehnel.com/blog/">
        <![CDATA[<p>Basierend auf meiner Diplomarbeit veröffentlicht die <a href="http://optimabit.com/de/optima/news"><span class="caps">OPTIMA</span>bit GmbH</a> heute eine <strong>Studie</strong> über <em>Web Application Firewall</em>:</p>

<blockquote><p>München, 09. Juli 2009. Die <span class="caps">OPTIMA</span>bit GmbH, Beratungsunternehmen mit Sitz in München und führender Experte zum Thema Anwendungssicherheit, hat eine Studie zu Web Application Firewalls (WAFs) veröffentlicht. Komplett unabhängig werden mehrere Hersteller von <span class="caps">WAF</span>s sowie deren Lösungen betrachtet und vorgestellt. Ziel soll es sein, Wissenslücken zu schließen und interessierten Unternehmen theoretisches Wissen und praktische Einblicke anhand von Beispielen zu geben.</p></blockquote>

<p>Weitere Informationen direkt bei <a href="http://optimabit.com/de/optima/news"><span class="caps">OPTIMA</span>bit</a></p>]]>
        
    </content>
</entry>

<entry>
    <title>25C3 Day 1</title>
    <link rel="alternate" type="text/html" href="http://thomasjaehnel.com/blog/2008/12/25c3-day-1.html" />
    <id>tag:thomasjaehnel.com,2008:/blog//2.91</id>

    <published>2008-12-28T01:07:33Z</published>
    <updated>2008-12-28T12:39:02Z</updated>

    <summary>I am currently in Berlin attending the 25th Chaos Communication Congress or 25C3 for short, which is an annual event hosted by the Chaos Computer Club germany&apos;s non profit hacker organization. In contrast to the two other conferences mentioned in...</summary>
    <author>
        <name>Thomas Jaehnel</name>
        
    </author>
    
        <category term="conference" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="25c3" label="25c3" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ccc" label="ccc" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="conference" label="conference" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="hacking" label="hacking" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="security" label="security" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://thomasjaehnel.com/blog/">
        <![CDATA[<p>I am currently in <strong>Berlin attending the 25th Chaos Communication Congress</strong> or <a href="http://events.ccc.de/congress/2008">25C3</a> for short, which is an annual event hosted by the <a href="http://www.ccc.de/">Chaos Computer Club</a> germany's non profit hacker organization.</p>

<p>In contrast to the two other conferences mentioned in this blog so far, the crowd is really different. It looks a lot more like your local universities <span class="caps">LAN </span>party but I really like the tight integration of political activism and IT Security. The <strong><span class="caps">NOC</span></strong> is doing a pretty good job in having a decent network connection via <span class="caps">WLAN </span>for something like 1500 hardcore users and disregarding a few hickups it actually works (see <a href="http://www.techcrunch.com/2008/12/13/swisscomm-tries-to-deflect-criticism-of-le-web-internet-failure/">Swisscom Failure</a> at LeWeb).</p>

<p>Some of the talks clearly lack struckture and a good speaker but generally it had been an interesting first day. If you want to follow the 2nd day here is a link to <a href="http://events.ccc.de/congress/2008/wiki/Streaming">Livestream</a> plus there's also a recording to download <a href="http://events.ccc.de/congress/2008/wiki/Streaming">here</a>  - <em>I haven't tested how well they work</em>.</p>

<p>The keynote presentation by <em>John Gilmore</em> of <a href="http://www.eff.org/"><span class="caps">EFF</span></a> raised some interesting points but lacked structure and Mr Gilmore seemed a little unprepared at times not sure what to say next.</p>

<p>I did not see a point at all in Sandro's talk on <em>The Trust Situation</em>. It didn't present anything new to the audience at hand and the way it was presented was not focused enough to capture the attention of anyone not knowing the details of the issues discussed. A 20 min introduction to decision theory was just not neccessary.</p>

<p>Steve Murdoch's talk on how to hack <span class="caps">PIN </span>entry devices was quite good in illustrating the point that an attacker always goes for the weakest link in a chain first. While a lot of measures were taken by the payment card industry and the manufacturers of these devices, to protect the encryption keys for the uplink communication, they failed to keep attackers from eavesdropping on the communication between the smart card chip and the terminal and therefore allowing access to unencrypted <span class="caps">PIN</span>s plus all the other banking details transmitted by the chip.</p>

<p>The most insightful talk today for me was a presentation by the <a href="http://www.iphone-dev.org/">iPhone Dev Team</a> - the ones bringing you the pawnage tools - on the inner workings of the security measures on iPhones to protect the system from unauthorized tampering. The first part of the presentation was really good and to the point and I learned a lot here. The second part was a total disaster from a presentation point of few.</p>

<p>Jacob Applebaum presented the well-known cold-boot attacks in a very intelligent, well-rounded presentation called <em>Advanced memory forensics: The Cold Boot Attacks</em>. It was really entertaining and informative, although I had already read enough about the topic before. He also announced a much more interesting talk <a href="http://events.ccc.de/congress/2008/Fahrplan/events/3023.en.html">Making the theoretical possible</a> on day 4, which I will sadly miss but am sure to watch as a video clip.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Le Web 08</title>
    <link rel="alternate" type="text/html" href="http://thomasjaehnel.com/blog/2008/12/le-web-08.html" />
    <id>tag:thomasjaehnel.com,2008:/blog//2.24</id>

    <published>2008-12-02T22:34:23Z</published>
    <updated>2008-12-02T23:01:58Z</updated>

    <summary> Even though I&apos;m currently covered with work all the way up to my neck, I will be attending Le Web &apos;08 conference in Paris next week. After listening to some of last years speakers I was convinced that this...</summary>
    <author>
        <name>Thomas Jaehnel</name>
        
    </author>
    
        <category term="conference" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="conference" label="conference" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="leweb" label="leweb" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="leweb08" label="leweb08" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="paris" label="paris" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="social" label="social" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://thomasjaehnel.com/blog/">
        <![CDATA[<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="webbanner-leweb08.jpg" src="http://thomasjaehnel.com/blog/webbanner-leweb08.jpg" width="950" height="221" class="mt-image-center" style="text-align: center; display: block; margin: 0 auto 20px;" /></span></p>

<p>Even though I'm currently covered with work all the way up to my neck, I will be attending <a href="http://www.lewebparis.com/">Le Web '08</a> conference in Paris next week. After listening to some of last years speakers I was convinced that this promises to be a very inspirational and exciting event.</p>

<p>I'm looking forward to meeting a lot of interesting people there and to embrace this opportunity to think about new ideas.</p>

<p>Anyone else going? Please leave a comment or ping me, so we can meet.</p>

<p>Below is a video about the conference program and the speakers.</p>

<p><embed src="http://blip.tv/play/sm7Ph12GwSQ" type="application/x-shockwave-flash" width="400" height="300" allowscriptaccess="always" allowfullscreen="true"></embed> </p>


<p>[ This trip on <a href="http://dplr.it/guest/510bfc340638759ebc69">dopplr</a> ]</p>]]>
        
    </content>
</entry>

<entry>
    <title>WPA crack</title>
    <link rel="alternate" type="text/html" href="http://thomasjaehnel.com/blog/2008/11/wpa-crack.html" />
    <id>tag:thomasjaehnel.com,2008:/blog//2.8</id>

    <published>2008-11-08T11:46:49Z</published>
    <updated>2008-11-08T12:01:05Z</updated>

    <summary>In case someone has missed the news: There is a weakness discovered in the TKIP protocol rendering WPA protected WiFi networks vulnerable to individual packet decryption. Some details from the ars technica article: With the Tews/Beck method, an attacker sniffs...</summary>
    <author>
        <name>Thomas Jaehnel</name>
        
    </author>
    
        <category term="IT Security" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="security" label="security" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vulnerability" label="vulnerability" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="wpa" label="WPA" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://thomasjaehnel.com/blog/">
        <![CDATA[<p>In case someone has missed the news: There is a weakness <a href="http://arstechnica.com/articles/paedia/wpa-cracked.ars">discovered</a> in the <span class="caps">TKIP </span>protocol rendering <span class="caps">WPA </span>protected WiFi networks vulnerable to individual packet decryption. Some details from the ars technica article:</p>

<blockquote><p>With the Tews/Beck method, an attacker sniffs a packet, makes minor modifications to affect the checksum, and checks the results by sending the packet back to the access point. "It's not a key recovery attack," Tews said, "It just allows you to do the decryption of individual packets." This approach works only with short packets, but could allow <span class="caps">ARP </span>(Address Resolution Protocol) poisoning and possibly <span class="caps">DNS </span>(Domain Name Service) spoofing or poisoning. </p></blockquote>

<p>To make a long story short, <a href="http://lifehacker.com/5079721/how-to-protect-your-wi+fi-network-from-the-wpa-hack">protect</a> yourself by not using <span class="caps">TKIP </span>but switching to <span class="caps">AES </span>to encrypt keys.</p>

<p>On a side note: It seems that Apple's airport extreme uses <span class="caps">TKIP </span>in <span class="caps">WPA</span>/WPA2 mode and relies on <span class="caps">AES </span>in <span class="caps">WPA2 </span>only mode.</p>]]>
        
    </content>
</entry>

<entry>
    <title>WJAX Session Web App Firewalls</title>
    <link rel="alternate" type="text/html" href="http://thomasjaehnel.com/blog/2008/11/wjax-session-web-app-firewalls.html" />
    <id>tag:thomasjaehnel.com,2008:/blog//2.7</id>

    <published>2008-11-06T12:02:01Z</published>
    <updated>2008-11-28T12:33:09Z</updated>

    <summary>I have just finished a talk on Web Application Firewalls at this years WJAX conference in Munich. Here&apos;s an abstract of the contents of the speech: A number of open source and commercial Web Application Firewalls (WAF) promise &quot;all around&quot;...</summary>
    <author>
        <name>Thomas Jaehnel</name>
        
    </author>
    
        <category term="conference" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="conference" label="conference" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="security" label="security" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="waf" label="WAF" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="wjax" label="WJAX" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://thomasjaehnel.com/blog/">
        <![CDATA[<p>I have just finished a talk on <a href="http://it-republik.de/jaxenter/wjax/tracks/?tid=1002">Web Application Firewalls</a> at this years <a href="http://it-republik.de/jaxenter/wjax/"><span class="caps">WJAX</span></a> conference in Munich.</p>

<p>Here's an abstract of the contents of the speech:</p>

<blockquote><p><br />
A number of open source and commercial Web Application Firewalls (WAF) promise "all around" protection, freeing developers from the burden of dealing with security, while increasing the overall security level. This session presents the results of a study, clarifies where it makes sense to deploy a <span class="caps">WAF </span>and how to use it. Further topics are performance evaluations, details about rulesets, automatic learning features as well as maintenance and what level of interaction with developers is required.</p></blockquote>

<p>The audience was particularly interested in the practical aspects of the study and comparison between different product vendors and on how the tests were executed.</p>

<p>The study covers the following products:</p>


<ul>
<li>BigIP by <a href="http://www.f5.com/">F5 Networks</a></li>
<li>NetScaler by <a href="http://www.citrix.de/">Citrix</a></li>
<li><a href="http://www.modsecurity.org/">mod_security</a> (open source)</li>
<li>hyperguard by <a href="http://www.artofdefence.com/">art of defence</a></li>
<li>rWeb by <a href="http://www.denyall.com/">deny all</a></li>
</ul>



<p><a href="http://www.optimabit.com/"><span class="caps">OPTIMA</span>bit</a> will make the extended results of the study available to its customers by the end of the year.</p>

<p>For further information please contact me directly or refer to Bruce Sams of optima.<br />
Thanks again to all vendors for supporting the study by supplying test machines and/or licenses.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Vulnerabilities in Confluence</title>
    <link rel="alternate" type="text/html" href="http://thomasjaehnel.com/blog/2008/11/vulnerabilities-in-confluence.html" />
    <id>tag:thomasjaehnel.com,2008:/blog//2.6</id>

    <published>2008-11-02T18:55:17Z</published>
    <updated>2008-11-02T19:09:26Z</updated>

    <summary>Working on a penetration test for a large insurance company in cooperation with OPTIMAbit I discovered several critical security issues in a professional WIKI product called Confluence that is sold by Atlassian to corporate customers. The vendor offers an open...</summary>
    <author>
        <name>Thomas Jaehnel</name>
        
    </author>
    
        <category term="IT Security" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="confluence" label="confluence" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="security" label="security" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vulnerability" label="vulnerability" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="xss" label="XSS" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://thomasjaehnel.com/blog/">
        <![CDATA[<p>Working on a penetration test for a large insurance company in cooperation with <a href="http://optimabit.com/"><span class="caps">OPTIMA</span>bit</a> I discovered several <strong>critical security issues</strong> in a professional <span class="caps">WIKI </span>product called <a href="http://www.atlassian.com/software/confluence/">Confluence</a> that is sold by Atlassian to corporate customers.</p>

<p>The vendor offers an open ticket system to directly report security issues to development. Vendor response was very quick and a new release of the product fixing all reported vulnerabilities was issued within 1 month of reporting.</p>

<p>The reported vulnerabilities included several <a href="http://www.owasp.org/index.php/XSS">Cross Site Scripting</a> and one critical privilege escalation issue. For further information please refer to Atlassian's <a href="http://confluence.atlassian.com/display/DOC/Confluence+Security+Advisory+2008-10-14">security advisory</a>.</p>

<p>I also want to thank Atlassian for giving proper credits for helping them solve these issues.</p>]]>
        
    </content>
</entry>

<entry>
    <title>New professional blog</title>
    <link rel="alternate" type="text/html" href="http://thomasjaehnel.com/blog/2008/11/new-professional-blog.html" />
    <id>tag:thomasjaehnel.com,2008:/blog//2.4</id>

    <published>2008-11-02T17:51:29Z</published>
    <updated>2008-11-02T18:25:19Z</updated>

    <summary> I have just finished setting up movable type 4 to host my new professional blog. The design is currently just the default template due to a lack of time but will be updated in the near future. MT4 offers...</summary>
    <author>
        <name>Thomas Jaehnel</name>
        
    </author>
    
        <category term="news" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="blog" label="blog" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="development" label="development" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="engineering" label="engineering" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="professional" label="professional" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="software" label="software" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://thomasjaehnel.com/blog/">
        <![CDATA[<p> I have just finished setting up movable type 4 to host my new professional blog. The design is currently just the default template due to a lack of time but will be updated in the near future.</p>

<p><span class="caps">MT4 </span>offers some new nifty things like <a href="http://seesmic.com/">seesmic</a> video comments and activity streams, which allow integration of web 2.0 profiles into this blog.</p>

<p>I will be experimenting with these features in the near future as well.</p>

<p>For now, all that matters is getting the content out.</p>

<p>The purpose of this website is to document news revolving around my professional life as an IT consultant and software engineer. I hope you will enjoy the upcoming posts.</p>]]>
        
    </content>
</entry>

</feed>
