<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" 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/"><channel><title>I'm not a Klingon (&lt;span style="font-family:pIqaD,code2000"&gt; &lt;/span&gt;) : eMail Address Internationalization</title><link>http://blogs.msdn.com/shawnste/archive/tags/eMail+Address+Internationalization/default.aspx</link><description>Tags: eMail Address Internationalization</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>The FUD of IDN and Homographs</title><link>http://blogs.msdn.com/shawnste/archive/2009/11/23/the-fud-of-idn-and-homographs.aspx</link><pubDate>Tue, 24 Nov 2009 00:13:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9927640</guid><dc:creator>shawnste</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/shawnste/comments/9927640.aspx</comments><wfw:commentRss>http://blogs.msdn.com/shawnste/commentrss.aspx?PostID=9927640</wfw:commentRss><description>&lt;P&gt;I was pointed to this article &lt;A href="http://www.microsofttranslator.com/BV.aspx?ref=Internal&amp;amp;a=http%3a%2f%2fwww.bortzmeyer.org%2fidn-et-phishing.html"&gt;http://www.microsofttranslator.com/BV.aspx?ref=Internal&amp;amp;a=http%3a%2f%2fwww.bortzmeyer.org%2fidn-et-phishing.html&lt;/A&gt;&amp;nbsp;about IDN and homographs, which points out that most of the fear around IDN and phishing is unfounded.&amp;nbsp; Seemed like a good reference (thanks, Mark), so I'm forwarding.&amp;nbsp; (For some reason Mark used a different translation engine though).&lt;/P&gt;
&lt;P&gt;Cross-tagged with EAI since the same concerns about homographs and phishing apply to email.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9927640" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/shawnste/archive/tags/IDN+_2800_Internationalized+Domain+Names_2900_/default.aspx">IDN (Internationalized Domain Names)</category><category domain="http://blogs.msdn.com/shawnste/archive/tags/eMail+Address+Internationalization/default.aspx">eMail Address Internationalization</category></item><item><title>Oversimplification of EAI/IMA (International eMail Addresses)</title><link>http://blogs.msdn.com/shawnste/archive/2009/08/18/oversimplification-of-eai-ima-international-email-addresses.aspx</link><pubDate>Wed, 19 Aug 2009 00:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9874662</guid><dc:creator>shawnste</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/shawnste/comments/9874662.aspx</comments><wfw:commentRss>http://blogs.msdn.com/shawnste/commentrss.aspx?PostID=9874662</wfw:commentRss><description>&lt;P&gt;A couple months ago I blogged about EAI &lt;A href="http://blogs.msdn.com/shawnste/archive/2009/06/04/email-address-internationalization-internationalized-email-addresses-eai-ima.aspx" mce_href="http://blogs.msdn.com/shawnste/archive/2009/06/04/email-address-internationalization-internationalized-email-addresses-eai-ima.aspx"&gt;Email Address Internationalization/Internationalized Email Addresses (EAI/IMA)&lt;/A&gt;&amp;nbsp;and felt like blogging again.&lt;/P&gt;
&lt;P&gt;China's been very interested in non-ASCII email addresses for some time, and is working hard to adopt the EAI standard.&amp;nbsp; I've heard a target of November 2009 for that standard.&amp;nbsp; &lt;A href="http://www.china.org.cn/china/sci_tech/2008-09/27/content_16544162.htm"&gt;http://www.china.org.cn/china/sci_tech/2008-09/27/content_16544162.htm&lt;/A&gt;&amp;nbsp;briefly addresses EAI.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Oversimplification of EAI&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The basic concept of EAI is "just" to use UTF-8 for email.&amp;nbsp; Most software can comply just by allowing Unicode in their email addresses.&amp;nbsp;&amp;nbsp;Using UTF-8 is&amp;nbsp;reasonably straight forward, and most of the details are just around compatibility with existing mail standards.&amp;nbsp; The IETF working group has a page at &lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;A href="http://www.ietf.org/dyn/wg/charter/eai-charter.html"&gt;http://www.ietf.org/dyn/wg/charter/eai-charter.html&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;STRONG&gt;Local Part of the Email Address&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;The local part of an email address is the user account part.&amp;nbsp; Often times servers allow it to be case-insensitive, however it can also be case-sensitive.&amp;nbsp; Similarly EAI allows the servers to define any mappings of the local part that are appropriate for that organization.&amp;nbsp; Some may choose to do case mapping similar to existing case-insensitive servers.&amp;nbsp; A different mapping, like Turkish behavior for i and I is possible.&amp;nbsp; Another option would be to perform normalization like NFC or NFKC on the name.&amp;nbsp; Width mapping and aliases are possible.&amp;nbsp; Just like now, clients would just use the names given and let the recipient's mail server figure it out.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;STRONG&gt;Domain Part&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;EAI allows Unicode (UTF-8) for the entire address, so special mapping isn't necessary.&amp;nbsp; Of course if the domain doesn't have a valid registration, eg: isn't valid IDN, then it won't work, but that's not really an email protocol issue.&amp;nbsp; EAI uses UTF-8 instead of "punycode" for domain names.&amp;nbsp; Punycode only happens when "downgrading."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;STRONG&gt;Negotiation&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;Mostly, "just using UTF-8" is pretty simple, but for backward compatibility, EAI aware servers and clients will need to negotiate their protocols.&amp;nbsp; For SMTP, the UTF8SMTP does this.&amp;nbsp; EAI aware servers can exchange the UTF8SMTP extension and agree to communicate in UTF-8.&amp;nbsp; If the server doesn't provide that flag, then the client's have to use a different mechanism.&amp;nbsp; The other protocols have similar handshaking.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;STRONG&gt;Downgrading&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;All email clients and servers aren't going to instantly become Unicode aware, so there is a downgrading concept for compatibility.&amp;nbsp; Downgrade is the area with the most churn in the experimental standards, but the basic concept remains the same.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;If you have an EAI aware server and you try to talk to an unaware system, you'll need to fallback to the legacy protocols and encoding mechanisms.&amp;nbsp; Effectively this means that EAI accounts will need an ASCII alias so that if an EAI mail fails, it can be resent using the ASCII alias and MIME encodings.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;To a legacy recipient, such a mail would appear as any other legacy email, and replies would go to the sender's ASCII alias.&amp;nbsp; The receiving server would need to recognize that the ASCII and Unicode EAI aliases were for the same account and route the mail appropriately.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;There was some discussion of providing additional data that allows reconstructing a downgraded mail, but most of those techniques seem to break at least some legacy clients and have additional problems.&amp;nbsp; My feeling is also that if a client knows how to reconstruct a downgraded mail, it also knows EAI anyway, so likely the mail would never be downgraded, so the additional complexity is unnecessary.&amp;nbsp; I think it's likely that the initial standards will only specify minimal downgrading and not the ability to reconstruct a downgraded message.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;STRONG&gt;Status&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'MS Mincho'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;Of course the IETF RFCs are still experimental and China hasn't published their standards yet, but my oversimplification probably won't change much in the final version.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9874662" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/shawnste/archive/tags/IDN+_2800_Internationalized+Domain+Names_2900_/default.aspx">IDN (Internationalized Domain Names)</category><category domain="http://blogs.msdn.com/shawnste/archive/tags/eMail+Address+Internationalization/default.aspx">eMail Address Internationalization</category></item><item><title>Unicode, IDN (IDNA), EAI (IMA) and Homograph Security</title><link>http://blogs.msdn.com/shawnste/archive/2009/07/07/unicode-idn-idna-eai-ima-and-homograph-security.aspx</link><pubDate>Tue, 07 Jul 2009 22:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9823241</guid><dc:creator>shawnste</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/shawnste/comments/9823241.aspx</comments><wfw:commentRss>http://blogs.msdn.com/shawnste/commentrss.aspx?PostID=9823241</wfw:commentRss><description>&lt;P&gt;I wrote about IDN &amp;amp; Security before &lt;A href="http://blogs.msdn.com/shawnste/archive/2005/03/03/384692.aspx"&gt;http://blogs.msdn.com/shawnste/archive/2005/03/03/384692.aspx&lt;/A&gt; but thought I'd share some of my more&amp;nbsp;updated views about security of URLs/IDN/Unicode/Email addresses.&lt;/P&gt;
&lt;P&gt;People haven't really bothered much with DNS&amp;nbsp;or character based&amp;nbsp;security when it was limited to ASCII.&amp;nbsp; I'm not sure if this because&amp;nbsp;people just&amp;nbsp;didn't think about it, or if they thought there wasn't a problem or whatever.&amp;nbsp; What security attacks happen have been regarded more as "oh, that's curious" rather than a real concern.&amp;nbsp; Basically there seems to be a presumption that a script, like&amp;nbsp;the ASCII subset of Latin,&amp;nbsp;are inherintly secure.&amp;nbsp; Therefore it would seem reasonable that if ASCII Latin can be secure, then other scripts, or mixed script environments have homographs, then those scenarios must be insecure and are therefore broken.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Latin and ASCII aren't Secure&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The problem with that logic is that it's flawed.&amp;nbsp; Homographs exist in Latin/ASCII, however &lt;A href="http://rnicrosoft.com/"&gt;http://rnicrosoft.com&lt;/A&gt; tends to be regarded as "quaint and amusing" rather than a security problem.&amp;nbsp; (There used to be a web page there, dunno what happened).&amp;nbsp; Similarly g00gle or MlCROSOFT or whatnot can all happen in ASCII.&amp;nbsp; Some things can be done to ASCII to limit the risk, such as choosing fonts or making things lowercase, but that's not always possible.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Strings are Typed and Read by Humans&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Even if the scripts themselves are perfect, the strings we use with the scripts are not.&amp;nbsp; For example, users have to type them in, and they may or may not use upper or lower case (in cased scripts).&amp;nbsp; I heard one computer expert indicate that users should just figure out how to enter URLs in lower case, in Unicode Normalization Form C.&amp;nbsp; (Instead of addressing the problem we should educate all the users).&amp;nbsp; I wish he were joking.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Depending on the context, there are things you can do to ASCII only strings that can confuse users.&amp;nbsp; For example &lt;A href="http://microsoft.secure.com/"&gt;http://microsoft.secure.com&lt;/A&gt; isn't going to necessarily go to a Microsoft site.&amp;nbsp; &lt;A href="http://secure.com/microsoft.com"&gt;http://secure.com/microsoft.com&lt;/A&gt; is a similar trick.&lt;/P&gt;
&lt;P mce_keep="true"&gt;DNS isn't the only subject of these problems.&amp;nbsp; I get mail all the time in the form &lt;A href="mailto:company@mail-servicing.com"&gt;company@mail-servicing.com&lt;/A&gt; where "company" is a legitimate company and "mail-servicing" is the people they've contracted to send their bulk mail.&amp;nbsp; So it's impossible for me to determine if that's actually a good address for the company.&amp;nbsp; Even worse is when the mail contains a link.&amp;nbsp; "Provide feedback about your recent warrenty support to&amp;nbsp;&lt;A href="http://feedback-surveys.com/OEMsupport"&gt;http://feedback-surveys.com/OEMsupport&lt;/A&gt;"&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Strings aren't Even Strings&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Sometimes what we click on isn't even related to where we end up going.&amp;nbsp; We've all seen phishing attacks that are look like &lt;A href="http://207.46.232.182/" mce_href="http://207.46.232.182"&gt;mybank.com&lt;/A&gt; but go to an IP address that no one can tell if it's real or not.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Strings aren't Always Specific&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;In some environments strings often aren't even very specific.&amp;nbsp; I'm pretty certain that if I want a live.com account that I won't get shawn or shawns or even shawnsteele.&amp;nbsp; Instead I'll be shawn7935 or something.&amp;nbsp; There's another Shawn here at work that gets some of my mail from simple typos, let alone malicious intent.&amp;nbsp; There's a pretty good chance that&amp;nbsp;Fred8374&amp;nbsp;could pass himself off as Fred8347 if he really wanted to.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;We've even&amp;nbsp;been trained that strings&amp;nbsp;don't even have to be close.&amp;nbsp;&amp;nbsp;If I buy something on eBay from "JoesBestStuff", it takes some faith for me to pay SallySewing7@live.com (apologies if those are real accounts).&amp;nbsp; I've been quite amused at the varation betwee "seller's name" and the email sometimes.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Even when we expect them to be the same, there are many spellings for some words.&amp;nbsp; "Mohammed" is often transliterated differently to Latin.&amp;nbsp; Unless you deal with one quite often, you're likely to assume most spellings are the same.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Globalization of Strings&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Now we've figured out that strings aren't secure, and we'll get tricked even if they were secure.&amp;nbsp; How does that change in a global environment, such as with IDNA or EAI/IMA strings?&amp;nbsp; Not much.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Sticking to Latin, you suddenly gain a bunch of look-alikes (homographs) by allowing non-ASCII values.&amp;nbsp; Strings like mícrosoft, mïcrosoft and mıcrosoft are all “close enough” to be convused, particularly at a quick glance, even more so if the user is conditioned to expect the "real" string.&amp;nbsp; E.g:&amp;nbsp; "Important security update for windows, go download it from Mícrosoft.com"&amp;nbsp; We're already expecting to see microsoft, so the few different pixels are easily missed.&lt;/P&gt;
&lt;P mce_keep="true"&gt;For other scripts the problem can be much more severe.&amp;nbsp; Complex scripts can have simliar appearing strings, and many include numerous characters.&amp;nbsp; Chinese for example has enough characters available that it can be fairly easy in some cases to find a rare character that is similar in appearance to a common character which people have been preconditioned to expect.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;"I Solved Homographs"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;This leads to a&amp;nbsp;typical problem for developers, particularly "Western" Latin-script based developers.&amp;nbsp; We tend to expect that if we solve script mixing so that we can't mix up Cyrillic and Latin, that we've solved the homograph problem.&amp;nbsp; Instead, we've barely scratched the surface and effectively buried our heads in the sand.&lt;/P&gt;
&lt;P mce_keep="true"&gt;In some cases the "solution" can be worse than the problem.&amp;nbsp; For example, some browsers decide that I don't understand Cyrillic since my user locale is en-US (or Klingon), and then prints out punycode.&amp;nbsp; That's mildly useful to me as a warning, however it does the same thing for Chinese.&amp;nbsp; It's very unlikely that I'm going to confuse Chinese with Latin, but I'll get Punycode in the address bar anyawy.&amp;nbsp; Now I have no chance of finding out what the actual URL is supposed to look like.&amp;nbsp; Punycode is all gibberish, but I could probably decipher a Chinese glyph enough to see if it looked similar to what I expected.&amp;nbsp; With any punicode strings, I don't even need homographs to confuse me, any Chinese would look the same.&amp;nbsp; For that matter I could be expecting Chinese, but it could actually be Japanese or Korean, or Cyrillic for that matter.&amp;nbsp; I'm not trying to say that the browsers' approach is "wrong", just that&amp;nbsp;while this approach&amp;nbsp;may address some problems,&amp;nbsp;it can also cause new ones.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Most of the "solutions" to Homographs that I've seen are similar in my opinion.&amp;nbsp; They may address a specific issue, but don't solve the entire problem globally.&amp;nbsp; I also think some approaches are unnecessarily limiting.&amp;nbsp; Mitigations that reduce the surface area for an attack are useful, however developers should recognize the limitations of those approaches and make sure they aren't spending tons of effort "shutting the window, but leaving the front door wide open."&amp;nbsp; That only provides a false sense of security, which can be far worse than the original problem.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Comprehensive Solutions&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;So instead of thinking that strings like URLs are inherintly secure somehow if they're ASCII, and focusing on the differences from ASCII, like Cyrillic homographs, we should rather assume that ANY URL might not take us to a place we want to go.&amp;nbsp; Even an ASCII one.&lt;/P&gt;
&lt;P mce_keep="true"&gt;A much better solution to URL security is one that addresses the entire system rather than focusing on Homographs.&amp;nbsp; IE, for example, detects malicious web sites (I don't know exactly how it works, but I gather there's blacklisting and bad&amp;nbsp;behavior detection, kinda like virus checking for web sites).&amp;nbsp; This is far more effective than preventing mixed scripts, and has the advantage of working with ASCII only URLs.&amp;nbsp; It also does a good job against homographs, pretty much making the punicode-in-the-address-bar irrelevent.&amp;nbsp; It also works with many forms of attack, even non-obvious ones.&amp;nbsp; &lt;/P&gt;
&lt;P mce_keep="true"&gt;My opinion is that if you do a "good job" of detecting any phishing/spoofing type web site, even ASCII-only, then the need for Homograph detection is much reduced.&amp;nbsp; And if you can't do that, then the attackers will merely add an extra label or something to get around your homograph detection.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Mitigation by Protocol&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;For things like IDN, it is interesting to consider how the protocol itself approaches security.&amp;nbsp; Some things are "obvious" as not being interesting for a name.&amp;nbsp; Compatibility characters, control characters, etc. could somewhat readily be excluded.&amp;nbsp; Some things are generally considered technically "obvious" to some users, but may frustrate others.&amp;nbsp; It is generally considered that lower casing the DNS name causes less confusing (can't mix up lower case l with capital I), but I doubt that AAA.com prefers lower casing.&amp;nbsp; Similarly IDNA2003 allows unicode "symbols,"&amp;nbsp;which are widely regarded as being useless, particularly since they're hard to type, but I suspect that someone would like I♥NY.&amp;nbsp; So there's a gray area that gets a bit confusing.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Consideration for other protocols is similar.&amp;nbsp; EAI (email) is interesting because it basically defers "correctness" to the registrar (whoever runs the mail server).&amp;nbsp; IDN provides some restriction by protocol and more at the registrar level.&lt;/P&gt;
&lt;P mce_keep="true"&gt;One problem with restricting valid characters at the protocol level is that it works OK in a small set, but once you get to a global audiance the rules get very complicated.&amp;nbsp; Domain names allowed (most) English names when they were restricted to ASCII, but German and French had difficulties.&amp;nbsp; With IDN additional languages are supported, but perhaps the needs of an English registrar and a German one differ.&amp;nbsp; A complete set of rules applicable world-wide for all strings in all languages may not be possible (eg: turkish i), but even if they were, they would be very complex and difficult to implement for every application adopting a protocol.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Mitigation by Registrar&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Restriction at the registrar can be more effective, though perhaps less consistent.&amp;nbsp; A registrar could be like a domain name registrar, but for these purposes you could also think of the person that assigns user accounts at a business, or&amp;nbsp;email address registration from your ISP.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Registrars can restrict languages to those used in the country they support.&amp;nbsp; They can bundle or block&amp;nbsp;homographs or alternate spellings (like Traditional and Simplified Chinese spellings of the same word.)&amp;nbsp; In a business they could have certain rules. &amp;nbsp;First name, last initial, or first initial, last name is common for user accounts in many companies, at least until they get too many employees).&lt;/P&gt;
&lt;P mce_keep="true"&gt;IDN has some restrictions by protocol, but allows much tighter restriction at the registrar level.&amp;nbsp; Ironically, a label at a lower level could then have different "rules" than at the higher level.&amp;nbsp; EAI allows the local part to be determined entirely by the provider/registrar rather than the protocol.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Rules at the "registrar" level can still be very complex for a complete set of rules, however cases with conceptual differences can still be adopted as applicable for the registrar's environment, whereas a protocol level rule has to either be too flexible, or disallow one registrar's legitimate scenario.&amp;nbsp; Rules at the registrar level can also be adjusted more readily than at the protocol level.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Mitigation by Application&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;An application can also decide to be more comprehensive than the protocol.&amp;nbsp; An application may also have more information,&amp;nbsp;such as blacklists or user settings.&amp;nbsp; They can make choices for some users like "they only read English, so don't bother with Cyrillic then," and a different choice for a different user.&amp;nbsp; Applications can also potentially be grayer in their behavior.&amp;nbsp; Instead of "allowing" and "disallowing" strings, they can say "gee, I'm not so sure, you really want to do this?", or flag it and continue.&amp;nbsp; They can also be dynamic, such as when you add a sender to a junk mail filter.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;IDN vs EAI/IMA vs Unicode&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Pretty much this entire "strings aren't secure"&amp;nbsp;concept applies to any Unicode (or for that matter any other code page) string.&amp;nbsp; That could be an IDN domain name, an EAI mail address, a user account name, etc.&amp;nbsp; Some environments may be more ameniable to certain solutions than others, but the types of attacks that impact a Unicode&amp;nbsp;IDN label could also succeed with the local (user name) part of a Unicode&amp;nbsp;EAI&amp;nbsp;email address.&amp;nbsp; The general concepts are portable.&lt;/P&gt;
&lt;P mce_keep="true"&gt;I used IDN heavily as an example, but the same things happen to EAI addresses, user account names, logon credentials, etc.&amp;nbsp; Anything that uses Unicode, or strings, needs to realize that strings can't be expected to be inherintly "secure."&lt;/P&gt;
&lt;P mce_keep="true"&gt;There's more info on some thinking about Unicode Security in Unicode TR#39 &lt;A href="http://www.unicode.org/draft/reports/tr39/tr39.html"&gt;http://www.unicode.org/draft/reports/tr39/tr39.html&lt;/A&gt;.&amp;nbsp; TR39 addresses the appropriate use of Unicode characters and homographs, but this is at best a mitigation of the more general security concerns of identifier strings.&amp;nbsp; Phishing and spoofing would still happen even in plain ASCII.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Hope this was helpful, or at least interesting,&lt;/P&gt;
&lt;P mce_keep="true"&gt;Shawn&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9823241" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/shawnste/archive/tags/IDN+_2800_Internationalized+Domain+Names_2900_/default.aspx">IDN (Internationalized Domain Names)</category><category domain="http://blogs.msdn.com/shawnste/archive/tags/Unicode+and+Code+Pages_2F00_Encodings/default.aspx">Unicode and Code Pages/Encodings</category><category domain="http://blogs.msdn.com/shawnste/archive/tags/eMail+Address+Internationalization/default.aspx">eMail Address Internationalization</category></item><item><title>Email Address Internationalization / Internationalized eMail Addresses (EAI/IMA)</title><link>http://blogs.msdn.com/shawnste/archive/2009/06/04/email-address-internationalization-internationalized-email-addresses-eai-ima.aspx</link><pubDate>Fri, 05 Jun 2009 03:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9700586</guid><dc:creator>shawnste</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/shawnste/comments/9700586.aspx</comments><wfw:commentRss>http://blogs.msdn.com/shawnste/commentrss.aspx?PostID=9700586</wfw:commentRss><description>&lt;P&gt;With the &lt;A href="http://blogs.msdn.com/shawnste/archive/tags/IDN+_2800_Internationalized+Domain+Names_2900_/default.aspx" mce_href="http://blogs.msdn.com/shawnste/archive/tags/IDN+_2800_Internationalized+Domain+Names_2900_/default.aspx"&gt;IDN&lt;/A&gt;&amp;nbsp;work for Internationalized Domain Names using characters beyond ASCII, it is only natural to tackle the problem of Internationalized Internet eMail.&lt;/P&gt;
&lt;P&gt;Some smart people have been working on an IETF working group to figure out how non-ASCII email would work, and I encourage people to take a look: &lt;A href="http://www.ietf.org/html.charters/eai-charter.html"&gt;http://www.ietf.org/html.charters/eai-charter.html&lt;/A&gt;.&amp;nbsp; That page has the charter, a list of drafts and RFCs that have already been produced, and links to the IMA working group mailing list.&lt;/P&gt;
&lt;P&gt;Assuming you're an ASCII/Latin character user, imagine having to type all your URL's in Chinese, or Cyrillic (or if you know those, imagine typing everything in Klingon, eg: &lt;SPAN style="FONT-FAMILY: pIqaD, Code2000; FONT-SIZE: 11pt"&gt; &lt;/SPAN&gt;)&amp;nbsp; In many cultures, that's what it's like to use the web.&amp;nbsp; Some users may not be literate in Latin letters, or may have to do a lot of hunt-n-pecking.&amp;nbsp; EAI should help address that problem.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How EAI/IMA Works&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The basic idea of the EAI working group is to stick email in UTF-8 instead of ASCII.&amp;nbsp; UTF-8 works pretty well in many systems, and many mailers already handle 8 bit encodings, so this is a pretty "simple" solution.&amp;nbsp; Unfortunately email touches a lot of places, so there're a lot of protocols that need updates (eg: STMP, POP, mailto:, etc.)&amp;nbsp; Additionally everyone knows that UTF-8 email can't happen instantly, so there needs to be a system for existing servers to talk to UTF-8 aware ones, which leads to a few more RFCs.&lt;/P&gt;
&lt;P&gt;UTF8SMTP allows the servers to make decisions about the "local" part of the email address, which allows for groups to fit their own needs.&amp;nbsp; The backwards compatibility means that users also need ASCII addresses, as they do today.&amp;nbsp; The server would alias from one address to another so mail to &lt;SPAN style="FONT-FAMILY: pIqaD, Code2000; FONT-SIZE: 11pt"&gt;&lt;/SPAN&gt;@microsoft.com could map to my normal mailbox, and I'd only have one mail.&amp;nbsp; Unfortunately that simple concept means that places that didn't have to worry about aliasing before may now have to consider aliases and fallback addresses.&amp;nbsp; Contact lists may need to have both forms, etc.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Current Status of EAI/IMA&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Currently there are several experimental RFCs, and several people&amp;nbsp;have&amp;nbsp;created&amp;nbsp;interoperating systems that work with each other to demonstrate the feasibility of UTF8SMTP.&amp;nbsp;&amp;nbsp; The next step is to move towards a standards track process, which could happen "reasonably quickly".&amp;nbsp; I'm optimistic that the standards will move quickly, but sometimes these things take a while.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;So Who's Gonna Use It?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;There are a lot of markets where ASCII doesn't work very well for various reasons.&amp;nbsp; Even when people have ASCII aliases, it may seem artificial, and there may be a desire for an email that reflects them or their country.&amp;nbsp; There are many ISPs in countries like Korea, China, &amp;amp; Japan that are very eager to be able to send email in a native script.&amp;nbsp; Some governments like Russia and China are weighing in on the importance of being able to send mail and use the Internet&amp;nbsp;in their script.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What's&amp;nbsp;IMA Mean To Me As&amp;nbsp;a Software Developer?&lt;/STRONG&gt;&amp;nbsp;(who cares?)&lt;/P&gt;
&lt;P&gt;If you are a developer, then you may run into IMA addresses.&amp;nbsp; Even if your app doesn't explicitly deal with mail, there may be a place for email to sneak into your app.&amp;nbsp; For example, IDN and domain names don't really have much to do with Word or PowerPoint, yet they often show up in documents and presentations.&amp;nbsp; I could imagine an author address in metadata, such as a photographer contact in a photo's metadata.&amp;nbsp; Many apps probably will run into IMA addresses whether they realize it or not.&lt;/P&gt;
&lt;P&gt;Anyway, I have been thinking about this space for a while and thought I'd share my observations.&amp;nbsp; It's worth considering what impact IMA will have on your application (while you're at it, how's IDN behave?)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;-Shawn&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9700586" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/shawnste/archive/tags/IDN+_2800_Internationalized+Domain+Names_2900_/default.aspx">IDN (Internationalized Domain Names)</category><category domain="http://blogs.msdn.com/shawnste/archive/tags/eMail+Address+Internationalization/default.aspx">eMail Address Internationalization</category></item></channel></rss>