<?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/"
   >
<channel>
    
    <title>blueblog - by Christian J. Dietrich - German ID card / nPA</title>
    <link>http://blog.cj2s.de/</link>
    <description>on malware, botnets and security by Christian J. Dietrich</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.6.2 - http://www.s9y.org/</generator>
    <pubDate>Wed, 30 Mar 2011 12:14:59 GMT</pubDate>

    <image>
        <url>http://blog.cj2s.de/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: blueblog - by Christian J. Dietrich - German ID card / nPA - on malware, botnets and security by Christian J. Dietrich</title>
        <link>http://blog.cj2s.de/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Kryptotag - Transport Layer Security with RSA-PSK</title>
    <link>http://blog.cj2s.de/archives/23-Kryptotag-Transport-Layer-Security-with-RSA-PSK.html</link>
            <category>German ID card / nPA</category>
    
    <comments>http://blog.cj2s.de/archives/23-Kryptotag-Transport-Layer-Security-with-RSA-PSK.html#comments</comments>
    <wfw:comment>http://blog.cj2s.de/wfwcomment.php?cid=23</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.cj2s.de/rss.php?version=2.0&amp;type=comments&amp;cid=23</wfw:commentRss>
    

    <author>nospam@example.com (Christian J. Dietrich)</author>
    <content:encoded>
    Last week, &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www1.hgi.rub.de/kryptotag/&#039;]);&quot;  href=&quot;http://www1.hgi.rub.de/kryptotag/&quot; target=&quot;_blank&quot;&gt;Kryptotag&lt;/a&gt; and &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www1.hgi.rub.de/spring/&#039;]);&quot;  href=&quot;http://www1.hgi.rub.de/spring/&quot; target=&quot;_blank&quot;&gt;SPRING&lt;/a&gt; took place at &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.hgi.rub.de/&#039;]);&quot;  href=&quot;http://www.hgi.rub.de/&quot; target=&quot;_blank&quot;&gt;HGI&lt;/a&gt; in Bochum. It turned out to be a very interesting event, although unfortunately, I could not stay very long. My talk dealt with how Transport Layer Security with RSA-secured Pre-Shared Keys is used in the eID Online Authentication of the new German ID card. I provided a short recap on the default RSA key exchange and the plain Pre-Shared Key variant before outlining the difference to the RSA-PSK variant. My slides are available &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.cj2s.de/2011-11-21%20CJD%20-%20TLS-RSA-PSK.pdf&#039;]);&quot;  href=&quot;http://www.cj2s.de/2011-11-21%20CJD%20-%20TLS-RSA-PSK.pdf&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Tue, 29 Mar 2011 21:35:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.cj2s.de/archives/23-guid.html</guid>
    
</item>
<item>
    <title>TLS-RSA-PSK Cipher Suites for OpenSSL</title>
    <link>http://blog.cj2s.de/archives/21-TLS-RSA-PSK-Cipher-Suites-for-OpenSSL.html</link>
            <category>German ID card / nPA</category>
    
    <comments>http://blog.cj2s.de/archives/21-TLS-RSA-PSK-Cipher-Suites-for-OpenSSL.html#comments</comments>
    <wfw:comment>http://blog.cj2s.de/wfwcomment.php?cid=21</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.cj2s.de/rss.php?version=2.0&amp;type=comments&amp;cid=21</wfw:commentRss>
    

    <author>nospam@example.com (Christian J. Dietrich)</author>
    <content:encoded>
    Since November 2010, the new German electronic ID card provides a facility to perform an online remote authentication of the ID card holder. This method is called eID online authentication and is defined in the &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.bsi.bund.de/cln_165/ContentBSI/Publikationen/TechnischeRichtlinien/tr03110/index_htm.html&#039;]);&quot;  href=&quot;https://www.bsi.bund.de/cln_165/ContentBSI/Publikationen/TechnischeRichtlinien/tr03110/index_htm.html&quot; target=&quot;_blank&quot;&gt;Technical Guideline TR-03110&lt;/a&gt; of the Federal Office for Information Security. As part of the eID online authentication, personal data can be transmitted from the electronic ID card to its counterpart, the eID server. All data transmitted between the eletronic ID card and the eID server is supposed to be subject to secure messaging.&lt;br /&gt;
&lt;br /&gt;
As the eID online authentication is specifically tailored to be used in web applications, the secure messaging channel between the eID card and the eID server is mapped to the Security Assertion Markup Language (SAML) and uses several &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/tools.ietf.org/pdf/rfc5246.pdf&#039;]);&quot;  href=&quot;http://tools.ietf.org/pdf/rfc5246.pdf&quot; target=&quot;_blank&quot;&gt;TLS&lt;/a&gt; channels (&lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/tools.ietf.org/pdf/rfc5246.pdf&#039;]);&quot;  href=&quot;http://tools.ietf.org/pdf/rfc5246.pdf&quot; target=&quot;_blank&quot;&gt;Transport Layer Security, RFC 5246&lt;/a&gt;). In order to prevent man-in-the-middle attacks, the TLS channels are intertwined with the Terminal Authentication. This binding is realized by two aspects, one of them being the fact that special cipher suites are used which combine X.509 certificate based peer authentication with pre-shared keys. These cipher suites are termed &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/tools.ietf.org/pdf/rfc4279.pdf&#039;]);&quot;  href=&quot;http://tools.ietf.org/pdf/rfc4279.pdf&quot; target=&quot;_blank&quot;&gt;TLS-RSA-PSK and defined in RFC 4279&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I implemented one of the &lt;a href=&quot;http://blog.cj2s.de/openssl-1.0.0c.tls-rsa-psk.tar&quot; target=&quot;_blank&quot;&gt;TLS-RSA-PSK cipher suites as a patch&lt;/a&gt; to &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.openssl.org&#039;]);&quot;  href=&quot;http://www.openssl.org&quot; target=&quot;_blank&quot;&gt;openssl-1.0.0c&lt;/a&gt;. &lt;strong&gt;This patch is EXPERIMENTAL.&lt;/strong&gt; Apply it like so:&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
tar xvzf openssl-1.0.0c.tar.gz&lt;br /&gt;
cd openssl-1.0.0c&lt;br /&gt;
patch -p1 -i ../openssl-1.0.0c.tls-rsa-psk.patch&lt;br /&gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;strong&gt;IMPORTANT NOTE: This patch is provided &quot;as is&quot;. See LICENSE.txt for details.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Testing TLS-RSA-PSK&lt;/strong&gt;&lt;br /&gt;
You can test locally whether your openssl with TLS-RSA-PSK works as follows. Make sure that you actually call the currently generated openssl binary (in the apps directory):&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
# launching the server&lt;br /&gt;
openssl s_server \&lt;br /&gt;
    -psk c033f52671c61c8128f7f8a40be88038bcf2b07a6eb3095c36e3759f0cf40837 \&lt;br /&gt;
    -key privkey.pem \&lt;br /&gt;
    -cipher RSA-PSK-AES256-CBC-SHA \&lt;br /&gt;
    -debug -state&lt;br /&gt;
&lt;br /&gt;
# launch the client&lt;br /&gt;
openssl s_client -connect localhost:4433 \&lt;br /&gt;
    -psk c033f52671c61c8128f7f8a40be88038bcf2b07a6eb3095c36e3759f0cf40837 \&lt;br /&gt;
    -cipher RSA-PSK-AES256-CBC-SHA \&lt;br /&gt;
    -debug -state&lt;br /&gt;
&lt;/pre&gt;&lt;br /&gt;
You should then be able to pass data back and forth between the server and the client. Additionally, I have provided transscripts of what it looks like if it works. There is a &lt;a href=&quot;http://blog.cj2s.de/server.RSAPSK.log&quot; target=&quot;_blank&quot;&gt;server log&lt;/a&gt; and a &lt;a href=&quot;http://blog.cj2s.de/client.RSAPSK.log&quot; target=&quot;_blank&quot;&gt;client log&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Fri, 25 Feb 2011 19:38:20 +0100</pubDate>
    <guid isPermaLink="false">http://blog.cj2s.de/archives/21-guid.html</guid>
    
</item>
<item>
    <title>neuer Personalausweis (nPA) - analysis of remaining risks</title>
    <link>http://blog.cj2s.de/archives/18-neuer-Personalausweis-nPA-analysis-of-remaining-risks.html</link>
            <category>German ID card / nPA</category>
    
    <comments>http://blog.cj2s.de/archives/18-neuer-Personalausweis-nPA-analysis-of-remaining-risks.html#comments</comments>
    <wfw:comment>http://blog.cj2s.de/wfwcomment.php?cid=18</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.cj2s.de/rss.php?version=2.0&amp;type=comments&amp;cid=18</wfw:commentRss>
    

    <author>nospam@example.com (Christian J. Dietrich)</author>
    <content:encoded>
    As posted before, we have done an analysis of the remaining risks of the new German ID card (neuer Personalausweis, nPA) conducted by the &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.bmi.bund.de/cln_174/SharedDocs/Pressemitteilungen/DE/2010/mitMarginalspalte/10/npa.html&#039;]);&quot;  href=&quot;http://www.bmi.bund.de/cln_174/SharedDocs/Pressemitteilungen/DE/2010/mitMarginalspalte/10/npa.html&quot; target=&quot;_blank&quot;&gt;German Federal Ministry of the Interior (Bundesinnenministerium)&lt;/a&gt;. In mid October 2010, we published &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.internet-sicherheit.de/fileadmin/docs/elektronischer-personalausweis/Studie-Restrisiken%20eID-Funktion%20nPA%20AusweisApp.2010.pdf&#039;]);&quot;  href=&quot;http://www.internet-sicherheit.de/fileadmin/docs/elektronischer-personalausweis/Studie-Restrisiken%20eID-Funktion%20nPA%20AusweisApp.2010.pdf&quot; target=&quot;_blank&quot;&gt;the summary of our study&lt;/a&gt;, presenting the &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.internet-sicherheit.de/aktuelles/mitteilungen/nachricht/nachricht-detail/restrisiken-der-eid-funktion-des-neuen-personalaus/&#039;]);&quot;  href=&quot;http://www.internet-sicherheit.de/aktuelles/mitteilungen/nachricht/nachricht-detail/restrisiken-der-eid-funktion-des-neuen-personalaus/&quot; target=&quot;_blank&quot;&gt;key findings of the remaining risks (in German)&lt;/a&gt; when using the eID functionality via the Internet. &lt;br /&gt;
&lt;br /&gt;
As the summary is only available in German, I will try to sum up the key findings in English here. First of all, we have to state that we analyzed the eID functionality only (neither the sovereign identification with biometry etc. nor the signature function). Thus, you may compare the target of the eID function to what usually is achieved using username and password authentication today. However, the eID function has mutual authentication builtin. This is one of the biggest advantages compared to &quot;classic&quot; username/password authentication where the server side is - if at all - only authenticated by its SSL/TLS certificate (ever heard of phishing?). Furthermore, the nPA requires a secret PIN before it can be used which effectively turns it into a two-factor-authentication mechanism. Thus, the security level of the eID function can be regarded much higher than classic username/password authentication.&lt;br /&gt;
&lt;br /&gt;
There is always two faces of the same coin, so what ARE the remaining risks? We found that the card reader category B (Basisleser) poses a certain threat: Malware on the user&#039;s computer may - under certain circumstances - misuse the eID function of an nPA. As the secret PIN must be entered via the computer&#039;s keyboard when using Cat-B card readers, a keylogger may easily catch the PIN. Note that this only works with Cat-B card readers, not with the higher class card readers Cat-S (Standardleser) or Cat-K (Komfortleser). For more details, see our &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.internet-sicherheit.de/fileadmin/docs/elektronischer-personalausweis/Studie-Restrisiken%20eID-Funktion%20nPA%20AusweisApp.2010.pdf&#039;]);&quot;  href=&quot;http://www.internet-sicherheit.de/fileadmin/docs/elektronischer-personalausweis/Studie-Restrisiken%20eID-Funktion%20nPA%20AusweisApp.2010.pdf&quot; target=&quot;_blank&quot;&gt;summary&lt;/a&gt;. A &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.ccepa.de/public/kartenleser.htm&#039;]);&quot;  href=&quot;http://www.ccepa.de/public/kartenleser.htm&quot; target=&quot;_blank&quot;&gt;list of certified card readers&lt;/a&gt; is available online. 
    </content:encoded>

    <pubDate>Tue, 02 Nov 2010 22:22:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.cj2s.de/archives/18-guid.html</guid>
    
</item>
<item>
    <title>Can keyloggers reveal secret PIN of the new German ID card &quot;neuer Personalausweis&quot; (nPA)?</title>
    <link>http://blog.cj2s.de/archives/17-Can-keyloggers-reveal-secret-PIN-of-the-new-German-ID-card-neuer-Personalausweis-nPA.html</link>
            <category>German ID card / nPA</category>
    
    <comments>http://blog.cj2s.de/archives/17-Can-keyloggers-reveal-secret-PIN-of-the-new-German-ID-card-neuer-Personalausweis-nPA.html#comments</comments>
    <wfw:comment>http://blog.cj2s.de/wfwcomment.php?cid=17</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.cj2s.de/rss.php?version=2.0&amp;type=comments&amp;cid=17</wfw:commentRss>
    

    <author>nospam@example.com (Christian J. Dietrich)</author>
    <content:encoded>
    On 24th of August, the German TV program ARD plusminus announced that in cooperation with Chaos Computer Club, security flaws were found in the Online Authentication functionality of the new German ID card to be issued in November 2010. This caught some media attention and people now wonder: what is the impact? &lt;br /&gt;
&lt;br /&gt;
First of all, let me clarify some aspects on the usage of the new German ID card (nPA). The nPA combines 3 distinct functionalities in one card. First, the sovereign function of the ID card, i.e. the authentication of a person in question is what people know from the current ID card. The nPA contains biometrics features in form of fingerprints to support this and only the sovereign function. Second, the online authentication serves as a means to communicate personal data from the chip to a service provider. This makes it possible to open a bank account or register a vehicle online, without the need for additional offline authentication. The third functionality is optional and provides digital signatures according to the German Signaturgesetz.&lt;br /&gt;
&lt;br /&gt;
The security flaw referenced above targets the online authentication function in combination with a specific card reader of class CAT-B according to &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Publikationen/TechnischeRichtlinien/TR03119/BSI-TR-03119_V1_pdf.pdf?__blob=publicationFile&#039;]);&quot;  href=&quot;https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Publikationen/TechnischeRichtlinien/TR03119/BSI-TR-03119_V1_pdf.pdf?__blob=publicationFile&quot; target=&quot;_blank&quot;&gt;BSI TR 03119&lt;/a&gt;, the standard document for categories of card readers for the nPA. Due to the fact that the user has to enter the secret PIN via the computer keyboard when using CAT-B card readers, malware such as keylogging trojans can intercept the PIN. We found this in experiments ourselves. Knowing the PIN, the trojan might then remote control the nPA (which must be on or near the card reader) and perform an online authentication in the background, possibly without the user&#039;s notice. However, the personal data that is transmitted as part of the online authentication is not subject to interception. &lt;br /&gt;
&lt;br /&gt;
Possible means to prevent this kind of flaw is to use a card reader of higher categories, such as Cat-S or Cat-K (according to &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Publikationen/TechnischeRichtlinien/TR03119/BSI-TR-03119_V1_pdf.pdf?__blob=publicationFile&#039;]);&quot;  href=&quot;https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Publikationen/TechnischeRichtlinien/TR03119/BSI-TR-03119_V1_pdf.pdf?__blob=publicationFile&quot; target=&quot;_blank&quot;&gt;BSI TR 03119&lt;/a&gt;). Those card readers have a pinpad to enter the PIN and keyloggers on the host computer do not interfere with these pinpads. Furthermore, even Cat-B card readers might be provided with visual or aural indicators that tell the user whenever an online authentication starts. &lt;br /&gt;
&lt;br /&gt;
For more information on the German ID card, see my &lt;a href=&quot;http://blog.cj2s.de/categories/5-German-ID-card-nPA&quot; target=&quot;_blank&quot;&gt;blog category&lt;/a&gt;. For news and statements in German, see also &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.internet-sicherheit.de&#039;]);&quot;  href=&quot;https://www.internet-sicherheit.de&quot; target=&quot;_blank&quot;&gt;https://www.internet-sicherheit.de&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Thu, 26 Aug 2010 09:50:08 +0200</pubDate>
    <guid isPermaLink="false">http://blog.cj2s.de/archives/17-guid.html</guid>
    
</item>
<item>
    <title>Published my Master Thesis: eID Online Authentication mit dem neuen elektronischen Personalausweis nPA</title>
    <link>http://blog.cj2s.de/archives/14-Published-my-Master-Thesis-eID-Online-Authentication-mit-dem-neuen-elektronischen-Personalausweis-nPA.html</link>
            <category>German ID card / nPA</category>
    
    <comments>http://blog.cj2s.de/archives/14-Published-my-Master-Thesis-eID-Online-Authentication-mit-dem-neuen-elektronischen-Personalausweis-nPA.html#comments</comments>
    <wfw:comment>http://blog.cj2s.de/wfwcomment.php?cid=14</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.cj2s.de/rss.php?version=2.0&amp;type=comments&amp;cid=14</wfw:commentRss>
    

    <author>nospam@example.com (Christian J. Dietrich)</author>
    <content:encoded>
    On popular demand, I published my (German) Master Thesis titled &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.internet-sicherheit.de/forschung/publikationen/dokumente-2010/dokument-detail/online-authentisierung-mit-dem-elektronischen-personalausweis-epanpa/&#039;]);&quot;  href=&quot;http://www.internet-sicherheit.de/forschung/publikationen/dokumente-2010/dokument-detail/online-authentisierung-mit-dem-elektronischen-personalausweis-epanpa/&quot; target=&quot;_blank&quot;&gt;&#039;eID Online Authentisierung mit dem neuen elektronischen Personalausweis nPA&#039;&lt;/a&gt;. It deals with the electronic identification functionality which will be implemented in the new German ID card that will be issued from November 1st, 2010 onwards. As the thesis was conducted by the &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.bmi.bund.de&#039;]);&quot;  href=&quot;http://www.bmi.bund.de&quot; target=&quot;_blank&quot;&gt;German Ministry of the Interior&lt;/a&gt;, parts of it are still classified and thus not included in the public version of the thesis. However, it should give fairly detailed insights into the overall technology, major algorithms used as well as security contexts. Below you will find a summary of the thesis (unfortunately only in German). Please note that the thesis was written in 2008, thus some technical guidelines, especially concerning &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.internet-sicherheit.de/service/glossar/eintrag/eintrag-detail/extended-access-control/&#039;]);&quot;  href=&quot;http://www.internet-sicherheit.de/service/glossar/eintrag/eintrag-detail/extended-access-control/&quot; target=&quot;_blank&quot;&gt;EAC&lt;/a&gt;, have changed since then (some changes even due to my thesis&#039; results).&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Zusammenfassung/Summary&lt;/strong&gt;&lt;br /&gt;
Zunächst soll diese Master Thesis die Notwendigkeit und die Vergleichbarkeit des Sicherheitsniveaus zwischen dem physikalischen und dem &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.internet-sicherheit.de/service/glossar/eintrag/eintrag-detail/elektronischer-personalausweis/&#039;]);&quot;  href=&quot;http://www.internet-sicherheit.de/service/glossar/eintrag/eintrag-detail/elektronischer-personalausweis/&quot; target=&quot;_blank&quot;&gt;elektronischen Ausweisdokument&lt;/a&gt; aufzeigen. Darüber hinaus soll eine Implementierung der Authentisierungsfunktion bzw. Online-Authentisierung des nPA für die Anwendung über das Internet – die erste ihrer Art – ihre Machbarkeit demonstrieren. Im Rahmen der Arbeit werden also sowohl die notwendigen Komponenten aller teilnehmenden Parteien (eID Authentication Server, &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.internet-sicherheit.de/service/glossar/eintrag/eintrag-detail/buergerclient/&#039;]);&quot;  href=&quot;http://www.internet-sicherheit.de/service/glossar/eintrag/eintrag-detail/buergerclient/&quot; target=&quot;_blank&quot;&gt;Bürgerclient&lt;/a&gt; etc.) vorgestellt, die für eine Realisierung benötigt werden als auch tatsächliche Implementierungen dieser Komponenten beschrieben und gefertigt. Der Ablauf der Online-Authentisierung soll zusätzlich aus der Perspektive des Anwenders dokumentiert werden. Hierbei sind wichtige Schritte detailliert zu beschreiben. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Notwendigkeit eines elektronischen Personalausweises&lt;/strong&gt;&lt;br /&gt;
Grundsätzlich wird in diesem Kontext die Frage nach der Notwendigkeit eines neuen, elektronischen Personalausweises aufgeworfen. Es läge nahe, die Notwendigkeit mit mangelnder Fälschungssicherheit des bisherigen Personalausweises zu begründen. Betrachtet man dies jedoch im Detail, so ist keine mangelnde Fälschungssicherheit feststellbar. Im Gegenteil – die deutschen Ausweisdokumente, also sowohl der Reisepass als auch der Personalausweis gehören weltweit zu den am schwersten fälschbaren Dokumenten.&lt;br /&gt;
Betrachtet man jedoch die Möglichkeiten, die derzeit für eine Identifikation und eine Authentisierung anhand von Ausweisdokumenten über das Internet zur Verfügung stehen, so wird klar, dass hier keine sichere Lösung existiert. Der elektronische Personalausweis soll diese Lücke mit Hilfe der sog. Authentisierungsfunktion nun schließen und eine sichere Authentisierung über das Internet ermöglichen.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Die Online-Authentisierung des nPA&lt;/strong&gt;&lt;br /&gt;
Die Authentisierungsfunktion ermöglicht eine sichere Übertragung von Daten, die auf dem Ausweis gespeichert sind an einen Dritten. Während die Identifikation mit Hilfe von biometrischen Merkmalen (und somit auch der Zugriff auf diese) lediglich für den hoheitlichen Anwendungsbereich vorgesehen ist, soll die Authentisierungsfunktion sowohl für eBusiness als auch eGovernment verfügbar sein. Spezielle Teilfunktionen der Authentisierungsfunktion sind die Altersverifikation sowie ein sektorspezifischer Identifikator. Die Altersverifikation kann als Jugendschutzfunktion eingesetzt werden und der sektorspezifische Identifikator bietet ein eindeutiges Benutzerkennzeichen.&lt;br /&gt;
Mit Hilfe der Authentisierungsfunktion können also auf sichere Art und Weise, Attribute an einen Dienstanbieter übermittelt werden. Die Bezeichnung Attribute umfasst dabei nicht notwendigerweise ausschließlich explizite personenbezogene Angaben wie Vor- und Nachname, sondern auch relative Aussagen, wie z.B. &quot;die Person ist älter als 18 Jahre&quot;. Im Rahmen der Registierung in einem Webshop ist vorstellbar, dass anstelle der manuellen Eingabe der personenbezogenen Daten, z.B. der volle Name und die Adresse, diese mit der Authentisierungsfunktion aus dem nPA ausgelesen werden. Der Dienstanbieter hat dann die Gewissheit, dass die Daten authentisch und integer sind.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Implementierung der Online-Authentisierung&lt;/strong&gt;&lt;br /&gt;
Die Authentisierungsfunktion baut auf dem erweiterten Zugriffsschutzmechanismus Extended Access Control (EAC) auf. Das vom Bundesamt für Sicherheit in der Informationstechnik (BSI) spezifizierte Verfahren EAC sichert die Authentizität und Integrität der Daten sowohl in gespeicherter Form als auch während der Übertragung. Es besteht aus den 3 Protokollen &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.internet-sicherheit.de/service/glossar/eintrag/eintrag-detail/password-authenticated-connection-establishment-pace/&#039;]);&quot;  href=&quot;http://www.internet-sicherheit.de/service/glossar/eintrag/eintrag-detail/password-authenticated-connection-establishment-pace/&quot; target=&quot;_blank&quot;&gt;Password Authenticated Connection Establishment (PACE)&lt;/a&gt;, &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.internet-sicherheit.de/service/glossar/eintrag/eintrag-detail/terminal-authentication/&#039;]);&quot;  href=&quot;http://www.internet-sicherheit.de/service/glossar/eintrag/eintrag-detail/terminal-authentication/&quot; target=&quot;_blank&quot;&gt;Terminal Authentication&lt;/a&gt; und &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.internet-sicherheit.de/service/glossar/eintrag/eintrag-detail/chip-authentication/&#039;]);&quot;  href=&quot;http://www.internet-sicherheit.de/service/glossar/eintrag/eintrag-detail/chip-authentication/&quot; target=&quot;_blank&quot;&gt;Chip Authentication&lt;/a&gt;. Kernbestandteile von Extended Access Control sind symmetrische und asymmetrische (Elliptische-Kurven-)Kryptographie, eine globale Public Key Infrastruktur sowie die Verwendung von abstreitbaren Challenge-Response-Verfahren.&lt;br /&gt;
&lt;br /&gt;
PACE ist ein Verfahren zur Freischaltung des Chips durch ein Lesegerät. Mit Hilfe einer sechsstelligen PIN, die als Passwort fungiert, wird einem Lesegerät der Zugriff auf den Funkkanal zu einem Chip, z.B. dem nPA, gestattet. Aus kryptographischer Perspektive handelt es sich dabei um eine verschlüsselte Diffie-Hellman-Schlüsseleinigung. Im Rahmen der sog. Terminal Authentication prüft der Chip mit Hilfe eines Challenge-Response-Verfahrens die Zugriffsberechtigungen des Lesegeräts (Terminal). Die Chip Authentication ist ein Verfahren, das genutzt wird, um die Authentizität des Chips zu prüfen. Hierbei werden implizit die Daten, die ein Chip liefert authentisiert. Aus kryptographischer Sicht handelt es sich um eine Diffie-Hellman-Schlüsseleinigung mit statischem Chip-Schlüssel. Nach Abschluss der Chip Authentication ist ein verschlüsselter Ende-zu-Ende-Kanal etabliert.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Berechtigungszertifikat oder Terminal Certificate&lt;/strong&gt;&lt;br /&gt;
Das Terminal Certificate ist ein wichtiger Bestandteil der Authentisierung zwischen nPA und EAS. Es enthält neben dem öffentlichen Schlüssel des EAS die Berechtigung des EAS. Die Berechtigung gibt an, welche Felder des nPA durch den EAS ausgelesen werden dürfen. Das Terminal Certificate muss durch einen gültigen Document Verifier signiert worden sein. Auf diese Weise kann ein nPA sicherstellen, dass nur die Inhalte der Datenfelder an den EAS gesendet werden müssen, für die der EAS auch tatsächlich authentifiziert ist. Im Rahmen der Terminal Authentication wird dem Benutzer ein Dialog angezeigt, der die Kenndaten des Terminal Certificate visualisiert. Dieser Dialog zeigt den Zertifikatsinhaber, die Gültigkeit des Zertifikats, die Zugriffsberechtigungen auf die auszulesenden Attribute, einen Verweis auf die zuständige Datenschutzaufsichtsbehörde sowie den Verwendungszweck.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Schwachstellen und Angriffe&lt;/strong&gt;&lt;br /&gt;
Angriffe auf die Online-Authentisierung des nPA, bei denen Kernkomponenten durch bösartige Instanzen ausgetauscht werden scheitern in der Regel. Da eine beidseitige Authentikation in den Endpunkten stattfindet, kann eine bösartige Komponenten entlarvt werden und das Auslesen der Daten aus dem nPA scheitert. Auch ein Angriff auf die Transportverschlüsselung und -integrität wird üblicherweise erfolglos verlaufen, da hier stabile Kryptographie – wie z.B. AES und Elliptische-Kurven-Kryptographie (ECDSA und ECDH) – zum Einsatz kommt. &lt;br /&gt;
Verbleibende Ansatzpunkte für Angriffe sind&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
&lt;li&gt;die Verifikation des Terminal Certificate durch den nPA&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;Man in the Middle Angriffe   sowie&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;das An-/Abwählen von Attributen im Dialog des Berechtigungszertifikats.&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
Die Verifikation des Terminal Certificate erfolgt im nPA. Der nPA hat eine logische Uhr, die anhand von erfolgreichen Verifikationen in der Vergangenheit synchronisiert wird. Je seltener ein nPA benutzt wird (konkreter: erfolgreich authentisiert), umso größer die Abweichung der logischen Uhr des nPA von der Realzeit. Sobald das Schlüsselmaterial eines vormals legitimen EAS sowie ein in Bezug auf die Realzeit abgelaufenes Terminal Certificate für einen Angreifer verfügbar wird, könnte ein nPA mit hoher Abweichung seiner logischen Uhr den Zugriff eventuell fälschlicherweise zulassen. Auch die Abfrage von Sperrlisten kann nicht verlässlich implementiert werden, da Socket-Operationen Teil des Betriebssystems des Clients und nicht des nPA sind. In der Konsequenz könnte der Gültigkeitszeitraum von Terminal Certificates sehr kurz ausfallen, z.B. lediglich 24 Stunden. Sobald Missbrauch festgestellt wird, kann auf diese Weise durch eine Verhinderung der Neuausstellung eines Zertifikats reagiert werden. Trotzdem gilt: Je häufiger ein nPA zur Authentisierung genutzt wird (und je geringer damit die Abweichung von Realzeit und logischer Uhr sind), umso geringer ist das Erfolgsrisiko für einen solchen Angriff. Beschreibungen zu den restlichen Ansatzpunkten sind ebenfalls Teil der Master Thesis.&lt;br /&gt;
&lt;br /&gt;
See the &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.internet-sicherheit.de/forschung/publikationen/dokumente-2010/dokument-detail/online-authentisierung-mit-dem-elektronischen-personalausweis-epanpa/&#039;]);&quot;  href=&quot;http://www.internet-sicherheit.de/forschung/publikationen/dokumente-2010/dokument-detail/online-authentisierung-mit-dem-elektronischen-personalausweis-epanpa/&quot; target=&quot;_blank&quot;&gt;full thesis&lt;/a&gt; for details. 
    </content:encoded>

    <pubDate>Sat, 19 Jun 2010 13:53:36 +0200</pubDate>
    <guid isPermaLink="false">http://blog.cj2s.de/archives/14-guid.html</guid>
    
</item>
<item>
    <title>new German ID card - Der neue elektronische Personalausweis</title>
    <link>http://blog.cj2s.de/archives/10-new-German-ID-card-Der-neue-elektronische-Personalausweis.html</link>
            <category>German ID card / nPA</category>
    
    <comments>http://blog.cj2s.de/archives/10-new-German-ID-card-Der-neue-elektronische-Personalausweis.html#comments</comments>
    <wfw:comment>http://blog.cj2s.de/wfwcomment.php?cid=10</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.cj2s.de/rss.php?version=2.0&amp;type=comments&amp;cid=10</wfw:commentRss>
    

    <author>nospam@example.com (Christian J. Dietrich)</author>
    <content:encoded>
    The German government decided to renew the German ID card, not to be confused with the German passport that got renewed in 2007. Thus we (Germans) will all get an electronic ID card, called ePA or nPA, beginning in November 2010. Among other things, the ID card is smaller (so-called ID 1 format, like a driver&#039;s license), it has an electronic smart-card like chip that can be read wireless and, hey, after all it looks much more funky (see the pics below). &lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;serendipity_image_link&quot; title=&quot;neuer Personalausweis (vorne)&quot; href=&#039;http://blog.cj2s.de/uploads/npa_vorne.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/npa_vorne.jpg&#039;,&#039;Zoom&#039;,&#039;height=337,width=521,top=364,left=587,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:13 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;450&quot; height=&quot;286&quot;  src=&quot;http://blog.cj2s.de/uploads/npa_vorne.serendipityThumb.jpg&quot; title=&quot;neuer Personalausweis (vorne)&quot; alt=&quot;neuer Personalausweis (vorne)&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;serendipity_image_link&quot; title=&quot;neuer Personalausweis (hinten)&quot; href=&#039;http://blog.cj2s.de/uploads/npa_hinten.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/npa_hinten.jpg&#039;,&#039;Zoom&#039;,&#039;height=338,width=521,top=363.5,left=587,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:14 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;450&quot; height=&quot;287&quot;  src=&quot;http://blog.cj2s.de/uploads/npa_hinten.serendipityThumb.jpg&quot; title=&quot;neuer Personalausweis (hinten)&quot; alt=&quot;neuer Personalausweis (hinten)&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Basically, the ID card will show all the personal attributes that are printed on the current ID card, but they can be read with appropriate terminals, too. Before the data can be read, the terminal and the ID card perform mutual authentication using protocols such as PACE, Terminal Authentication and Chip Authentication. These protocols are part of &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.bsi.bund.de/cln_183/ContentBSI/Publikationen/TechnischeRichtlinien/tr03110/index_htm.html&#039;]);&quot;  href=&quot;https://www.bsi.bund.de/cln_183/ContentBSI/Publikationen/TechnischeRichtlinien/tr03110/index_htm.html&quot; target=&quot;_blank&quot;&gt;Extended Access Control (EAC)&lt;/a&gt;, a new standard by the German BSI to securely read machine-readable travel documents. Whenever personal attributes shall be read, an end-to-end encrypted channel is established between the ID card and the eID server. Thus, the data cannot be intercepted. In theory. They say. &lt;br /&gt;
&lt;br /&gt;
OK, joking aside, to be serious, as far as I can tell, Extended Access Control with its protocols PACE, Terminal and Chip Authentication are, from an IT security perspective, really strong means to build-up a secure channel. We have put together some more information on our &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.internet-sicherheit.de/forschung/aktuelle-forschungsprojekte/elektronischer-personalausweis/&#039;]);&quot;  href=&quot;http://www.internet-sicherheit.de/forschung/aktuelle-forschungsprojekte/elektronischer-personalausweis/&quot; target=&quot;_blank&quot;&gt;institute website (in German only)&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Wed, 17 Feb 2010 21:36:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.cj2s.de/archives/10-guid.html</guid>
    
</item>

</channel>
</rss>