{"id":338918,"date":"2017-04-21T03:43:22","date_gmt":"2017-04-20T19:43:22","guid":{"rendered":"http:\/\/techcrunch.com\/?p=1479479"},"modified":"2017-04-21T03:43:22","modified_gmt":"2017-04-20T19:43:22","slug":"this-phishing-technique-is-more-interesting-than-dangerous","status":"publish","type":"post","link":"https:\/\/people.utm.my\/asmawisham\/this-phishing-technique-is-more-interesting-than-dangerous\/","title":{"rendered":"This phishing technique is more interesting than dangerous"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2015\/01\/hackers.jpg?w=738\" class=\"\"\/><\/p>\n<p id=\"speakable-summary\">There\u2019s no shortage of ways adversaries will employ to get you to click through to a malicious website, some technical, some psychological. <a target=\"_blank\" href=\"https:\/\/hackaday.com\/2017\/04\/19\/you-think-you-cant-be-phished\/\" rel=\"noopener noreferrer\">This one<\/a> is interesting because it leverages a useful feature of browsers that you might have never thought about.<\/p>\n<p>Not all websites have names that can be written in the alphabet we that primarily English-speaking countries are familiar with. Why shouldn\u2019t Russian websites use Cyrillic characters, or Japanese ones use kanji? After all, Unicode, the standard for displaying text worldwide, supports all these languages.<\/p>\n<p> Unfortunately, it\u2019s not standard to allow all those characters in URIs, and some systems only allow standard ASCII ones.\u00a0 The workaround arrived at by web authorities was a system called \u201cPunycode\u201d that <a target=\"_blank\" href=\"https:\/\/www.w3.org\/International\/articles\/idn-and-iri\/\" rel=\"noopener noreferrer\">encodes international characters using ASCII notation<\/a>. Browsers will know a URI is using the system because it\u2019s always preceded by the characters \u201cxn--\u201c.<\/p>\n<p>The whole process is done without informing the user; so So \u201cJP\u7d0d\u8c46.\u4f8b.jp\u201d becomes \u201cxn--jp-cd2fp15c.xn--fsq.jp\u201d in transit, but you never see the unintelligible latter one, only the former, rendered in its intended language.<\/p>\n<p>That transparency, the fact that punycode doesn\u2019t announce it\u2019s being used, is the basis for the phishing attack. An attacker can use punycode to create URIs that look normal to the user but are actually totally different. <a target=\"_blank\" href=\"https:\/\/hackaday.com\/2017\/04\/19\/you-think-you-cant-be-phished\/\" rel=\"noopener noreferrer\">Pedro Umbolino over at Hack a day<\/a> showed how this is possible in a post that certainly had me fooled.<\/p>\n<p>Several browsers, including Firefox and Chrome, rendered the link in the first paragraph as what appeared to be apple.com, both inline and in the link preview. But when you click, it goes somewhere totally different.<\/p>\n<p>In fact, as you find out later in the paragraph or if you change the settings in your browser, the letters in apple.com are actually created by the punycode xn--80ak6aa92e.<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/affected.png\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1479501\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/affected.png?w=281&#038;h=150\" alt=\"\" width=\"281\" height=\"150\" srcset=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/affected.png 281w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/affected.png?w=150&#038;h=80 150w\" sizes=\"(max-width: 281px) 100vw, 281px\"\/><\/a>That forms something that looks like apple.com the way browsers render the text, but if you look at the URI in certain monotype fonts, it\u2019s clear there\u2019s a classic capital-\u201cI\u201d\/lowercase-\u201cL\u201d switcheroo, with a Cyrillic twist:<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/capitalapple.png\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1479512\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/capitalapple.png?w=190&#038;h=22\" alt=\"\" width=\"190\" height=\"22\" srcset=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/capitalapple.png 190w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/capitalapple.png?w=150&#038;h=17 150w\" sizes=\"(max-width: 190px) 100vw, 190px\"\/><\/a>Clever, right? A hacker could use this in an email or another link to lure even a normally attentive user who inspects suspicious links. As Umbolino shows (and this is a separate issue) the site you\u2019re tricked into visiting may even imitate the real site\u2019s HTTPS status, giving you that reassuring green lock next to the URI.<\/p>\n<h2>Yes Devin, but how do I fix it<\/h2>\n<p>Firefox and Chrome were the only browsers affected, really \u2014 it just had to to with the defaults they had for displaying punycode stuff. But Chrome 58 (just out) makes those addresses show the full punycode URI in the link preview, and Firefox has a setting that changes it. Just go to about:config, put \u201cpunycode\u201d in the search there, and toggle the setting that comes up to \u201ctrue.\u201d You\u2019ll see the xn-- punycode links from now on \u2014 but remember, most are legit! Just be aware of when you should expect one and when it could be shady.<\/p>\n<p>You learn something new every day! Well, sometimes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"510\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2015\/01\/hackers.jpg?w=680\" class=\"attachment-large size-large wp-post-image\" alt=\"\" srcset=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2015\/01\/hackers.jpg?w=680 680w, https:\/\/tctechcrunch2011.files.wordpress.com\/2015\/01\/hackers.jpg?w=150 150w, https:\/\/tctechcrunch2011.files.wordpress.com\/2015\/01\/hackers.jpg?w=300 300w, https:\/\/tctechcrunch2011.files.wordpress.com\/2015\/01\/hackers.jpg 750w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/>&nbsp;There&#8217;s no shortage of ways adversaries will employ to get you to click through to a malicious website, some technical, some psychological. This one is interesting because it leverages a useful feature of browsers that you might have never thought about. <a href=\"https:\/\/techcrunch.com\/2017\/04\/20\/this-phishing-technique-is-more-interesting-than-dangerous\/?ncid=rss\">Read More<\/a><\/p>\n<div class=\"feedflare\">\n<a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=SYM7LXIcClQ:MT3bkoARCUE:2mJPEYqXBVI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=2mJPEYqXBVI\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=SYM7LXIcClQ:MT3bkoARCUE:7Q72WNTAKBA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=7Q72WNTAKBA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=SYM7LXIcClQ:MT3bkoARCUE:yIl2AUoC8zA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=yIl2AUoC8zA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=SYM7LXIcClQ:MT3bkoARCUE:-BTjWOF_DHI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?i=SYM7LXIcClQ:MT3bkoARCUE:-BTjWOF_DHI\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=SYM7LXIcClQ:MT3bkoARCUE:D7DqB2pKExk\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?i=SYM7LXIcClQ:MT3bkoARCUE:D7DqB2pKExk\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=SYM7LXIcClQ:MT3bkoARCUE:qj6IDK7rITs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=qj6IDK7rITs\" border=\"0\"><\/img><\/a>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~r\/Techcrunch\/~4\/SYM7LXIcClQ\" height=\"1\" width=\"1\" alt=\"\"\/> <\/p>\n","protected":false},"author":5817,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[25],"tags":[59,66,26],"class_list":["post-338918","post","type-post","status-publish","format-standard","hentry","category-technology","tag-media","tag-techcrunch","tag-technology"],"_links":{"self":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/338918","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/users\/5817"}],"replies":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/comments?post=338918"}],"version-history":[{"count":0,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/338918\/revisions"}],"wp:attachment":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/media?parent=338918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/categories?post=338918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/tags?post=338918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}