<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: Q&amp;A: What do NFC NDEF Signature records bring?</title>
	<atom:link href="http://javacard.vetilles.com/2011/02/07/qa-what-do-nfc-ndef-signature-records-bring/feed/" rel="self" type="application/rss+xml" />
	<link>http://javacard.vetilles.com/2011/02/07/qa-what-do-nfc-ndef-signature-records-bring/</link>
	<description>A weblog on Java Card, security, and other things personal</description>
	<lastBuildDate>Thu, 18 May 2017 07:26:32 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.32</generator>
	<item>
		<title>By: What is the purpose of NFC NDEF Signature Records? &#124;</title>
		<link>http://javacard.vetilles.com/2011/02/07/qa-what-do-nfc-ndef-signature-records-bring/#comment-5125</link>
		<dc:creator><![CDATA[What is the purpose of NFC NDEF Signature Records? &#124;]]></dc:creator>
		<pubDate>Wed, 16 Jul 2014 12:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://javacard.vetilles.com/?p=696#comment-5125</guid>
		<description><![CDATA[[...] was posted a few years agoÂ by EricÂ VÃ©tillardÂ in this blog [...]]]></description>
		<content:encoded><![CDATA[<p>[&#8230;] was posted a few years agoÂ by EricÂ VÃ©tillardÂ in this blog [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Roland</title>
		<link>http://javacard.vetilles.com/2011/02/07/qa-what-do-nfc-ndef-signature-records-bring/#comment-4342</link>
		<dc:creator><![CDATA[Michael Roland]]></dc:creator>
		<pubDate>Fri, 25 Feb 2011 16:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://javacard.vetilles.com/?p=696#comment-4342</guid>
		<description><![CDATA[Hallo Eric,

taking a closer look at the NDEF Signature RTD it even gets worse.

But first the good news ;-) Assuming a phone only trusts signed records, the scenario you mentioned will likely only work with something like a plain URI record (as a standalone record). As soon as you try cloning/tag replacement with a Smart Poster record, you will also clone the textual description associated with the URI. Therefore, the user will immediately see that something is wrong. I.e. if the text mentions some sight in Paris, while the user and the touched tag are in Nice.

Still, there is several severe problems with the Signature RTD. We have published two papers on this (&quot;Digital Signature Records for the NFC Data Exchange Format&quot;, M. Roland, J. Langer; &quot;Security Vulnerabilities of the NDEF Signature Record Type&quot;, M. Roland, J. Langer, J. Scharinger). Essentially, the weaknesses we identified can be summarized to this:

For one, the signature record brings a false sense of integrity and authenticity to signed NDEF data. As the signature is only applied to the payload and to certain parts of an NDEF record&#039;s header fields, the signed NDEF messages are prone to data modification. Specifically the &quot;Type Name Field&quot; is not signed and, therefore, the semantics of a record can be changed without voiding the signature. Specific attack scenarios would be record hiding (where you hide a certain record by setting the Type Name Field to &quot;Unknown&quot;) and record composition (where multiple signed NDEF messages are combined to a new NDEF message with new semantics).

Secondly, the Signature RTD only defines the record and not the environment for signing. There is still no definition on how signed and unsigned records should be handled on devices. As soon as signatures for NDEF are useable, it is certainly necessary to drastically reduce the user experience with unsigned content (e.g. warning screens, etc.) Actually, to protect the user, this should happen even now!

Moreover, the Signature RTD makes no assumptions on the certification infrastructure. As a result, before the signature record can be used for generic structures like the Smart Poster, it is necessary to define who we trust (i.e. it is necessary to define global certificate authorities) and what a certificate guarantees (i.e. the binding between a certificate and certain record types, certain URIs, ...)

A third problem is storage. We have two possibilites to store signatures and certificates with a signature record. One is refering these fields through URIs/URLs. The other is direct inclusion into the signature record.

The first method (reference by URL) leads to a severe privacy issue and also opens up for further weaknesses. This is due to the fact that even though we verify a signature, prior to verification we have to download data from an unprotected(!) URL.

The second method has a disadvantage which was presented by Tony Rosati (RIM) at the NFC Congress this week (&quot;Elliptic Curve Certificates and Signatures for NFC Digital Signature Records&quot;): The signature algorithms specified by the Signature RTD cause both the signatures and the certificate chains to be quite extensive in terms of data. Therefore, signed NDEF data will not fit onto cheap NFC tags (i.e. type 1 &amp; 2 tags).

So, to summarize this, there is still a lot of work to be done before useful signatures can be implemented.

Best regards,
Michael]]></description>
		<content:encoded><![CDATA[<p>Hallo Eric,</p>
<p>taking a closer look at the NDEF Signature RTD it even gets worse.</p>
<p>But first the good news <img src="http://javacard.vetilles.com/wp-includes/images/smilies/icon_wink.gif" alt=";-)" class="wp-smiley" /> Assuming a phone only trusts signed records, the scenario you mentioned will likely only work with something like a plain URI record (as a standalone record). As soon as you try cloning/tag replacement with a Smart Poster record, you will also clone the textual description associated with the URI. Therefore, the user will immediately see that something is wrong. I.e. if the text mentions some sight in Paris, while the user and the touched tag are in Nice.</p>
<p>Still, there is several severe problems with the Signature RTD. We have published two papers on this (&#8220;Digital Signature Records for the NFC Data Exchange Format&#8221;, M. Roland, J. Langer; &#8220;Security Vulnerabilities of the NDEF Signature Record Type&#8221;, M. Roland, J. Langer, J. Scharinger). Essentially, the weaknesses we identified can be summarized to this:</p>
<p>For one, the signature record brings a false sense of integrity and authenticity to signed NDEF data. As the signature is only applied to the payload and to certain parts of an NDEF record&#8217;s header fields, the signed NDEF messages are prone to data modification. Specifically the &#8220;Type Name Field&#8221; is not signed and, therefore, the semantics of a record can be changed without voiding the signature. Specific attack scenarios would be record hiding (where you hide a certain record by setting the Type Name Field to &#8220;Unknown&#8221;) and record composition (where multiple signed NDEF messages are combined to a new NDEF message with new semantics).</p>
<p>Secondly, the Signature RTD only defines the record and not the environment for signing. There is still no definition on how signed and unsigned records should be handled on devices. As soon as signatures for NDEF are useable, it is certainly necessary to drastically reduce the user experience with unsigned content (e.g. warning screens, etc.) Actually, to protect the user, this should happen even now!</p>
<p>Moreover, the Signature RTD makes no assumptions on the certification infrastructure. As a result, before the signature record can be used for generic structures like the Smart Poster, it is necessary to define who we trust (i.e. it is necessary to define global certificate authorities) and what a certificate guarantees (i.e. the binding between a certificate and certain record types, certain URIs, &#8230;)</p>
<p>A third problem is storage. We have two possibilites to store signatures and certificates with a signature record. One is refering these fields through URIs/URLs. The other is direct inclusion into the signature record.</p>
<p>The first method (reference by URL) leads to a severe privacy issue and also opens up for further weaknesses. This is due to the fact that even though we verify a signature, prior to verification we have to download data from an unprotected(!) URL.</p>
<p>The second method has a disadvantage which was presented by Tony Rosati (RIM) at the NFC Congress this week (&#8220;Elliptic Curve Certificates and Signatures for NFC Digital Signature Records&#8221;): The signature algorithms specified by the Signature RTD cause both the signatures and the certificate chains to be quite extensive in terms of data. Therefore, signed NDEF data will not fit onto cheap NFC tags (i.e. type 1 &amp; 2 tags).</p>
<p>So, to summarize this, there is still a lot of work to be done before useful signatures can be implemented.</p>
<p>Best regards,<br />
Michael</p>
]]></content:encoded>
	</item>
</channel>
</rss>
