2 points · by jarrod_whaley · 9y ago · 2 comments
One of the problems with sanity-checking URLs is that, thanks to ICANN, almost any string can now be a valid domain. Given that "foo.bar" and "foo.bar.baz" may both be real, how can you tell when the latter is a spoof of the former? Furthermore, some organizations might actually create multiple domains that are subsets of each other, such as "foo.google" and "foo.google.com"; that means you can’t apply any simple expression without knowledge of the organizations in question. There is then no fast way to determine if a URL is suspicious, without the usual downsides of blacklisting versus whitelisting.
And that’s all before even considering Unicode in the equation. There are some Unicode symbols that look similar-enough or even identical to others, and heck even a DOT could be replaced by a look-alike dot (I suppose, unless the restricted Unicode ranges have excluded dot-like symbols). Any attempt to quickly scan a URL for potential scams is not just a matter of looking for particular names, it’s a matter of looking for a huge number of variants. You simply can’t expect a CA or anyone else to reliably determine if a URL “looks good” by itself.
Also, as I said in the post, indicating both encryption and identity via a single icon in browsers is mega-dumb.