Domain hacks with unusual Unicode characters (2018)

(xn--69f31l4t57c0mag4b613h.xn--7uh4898msjaso)

28 points | by n_plus_1_acc 3 hours ago

12 comments

  • ihateaislop 2 minutes ago
    What hack you fucking retard? You just find this out?
  • basilikum 8 minutes ago
    Here is the URL encoded in base64 so HN does not break it:

    aHR0cHM6Ly/wn4WC8J2WjfCdkKTigpvhtZbwnZKTLuKTnPCdlaDwnZKD8J2Tsi/wn4aG8J+Gg/CfhbU=

  • n_plus_1_acc 3 hours ago
    Looks like HN broke the URL after submitting. Let's try again:

        https://ₛᵖ.ⓜ/
    
    Here is the backup link:

    https://shkspr.mobi/blog/2018/11/domain-hacks-with-unusual-u...

    • zenexer 2 hours ago
      That shows up as ₛᵖ.ⓜ, so a bunch of characters are missing.

      HN seems to encode it as punycode when it shouldn’t; it skipped normalization.

  • wodenokoto 12 minutes ago
    This has given me a lot of trouble with emails.

    I have a domain that contains Nordic characters and it is a crapshoot if the email client will accept and send.

    Meanwhile I have not encountered problems with http access.

  • debugnik 53 minutes ago
    Firefox doesn't even let me open the link, wow.
    • matheusmoreira 48 minutes ago
      Same here on Firefox mobile, link is not clickable.
    • extraextra 43 minutes ago
      Same, can't open on Firefox
  • huhtenberg 2 hours ago
    Tangentially related - 20+ years ago I managed to register a π domain under one of the primary TLDs.

    As in, the registration form was accepted and the fee was charged.

    Then, few days after they emailed to say that "due to technical difficulties" the registration can be registered and they have no choice but to unregister it.

    I was so close, damn amateurs.

    • waltbosz 2 hours ago
      My brother had a friend who tried to register fuck.com in the early days of the Internet, around 1994, and the registrar was confused and wanted to know why he wanted to register it. This was when the Internet was mostly universities and a .com cost $100 to register.
    • Tepix 1 hour ago
      I managed to register a one letter domain below a CC-tld, despite that country having a rule against it. Their signup form had two stages and the check was only on the first page... so all it took was changing a hidden form field.

      I had it for a while until they started charging a lot for it (it was Turkmenistan).

  • mmsc 2 hours ago
    On Firefox, hover-over of the link doesn't show the URL in the bottom left of the browser.
  • Aozora7 1 hour ago
    My favorite unicode character is zero width space. One of its funniest properties is that it's not a whitespace.

    Also, some programming languages treat it as a valid identifier.

    • TacticalCoder 7 minutes ago
      > My favorite unicode character is zero width space. One of its funniest properties is that it's not a whitespace.

      My editor is configured to never show any character (except the one and proper newline) at less than the full-width of a regular character (in the monospace font I'm using ofc).

      And if it's not a visible ASCII char, not only it's always shown at least at full-width, it's also shown as bold magenta on a black background. As the non visibe zero-width is empty, it shows as full-width on a black background.

      Sticks out like a sore thumb.

  • waltbosz 2 hours ago
    I click on the link on Android Firefox and nothing happens.
  • kccqzy 1 hour ago
    My browser refuses to open this link. It couldn’t find the server.
  • TacticalCoder 51 minutes ago
    Which of course Bruce Schneier predicted in 2000:

    https://www.schneier.com/crypto-gram/archives/2000/0715.html...

    "Unicode is just too complex to eve be secure"

    As to me I'm running my own DNS resolver (I use unbound) and everything goes through port 53 UDP (and AIUI technically 53 TCP should be allowed, but nothing will happen if you just block it), unencrypted. What then unbound does on the Internet, that's up to you: you can encrypt those requests...

    The nice thing with everything being in the clear, is that you can null route / NX DOMAIN every single domain that uses Unicode (punnycode) characters and you can even do that at the firewall level, by inspecting UDP packets.

    Of course you gotta be sure to really block DoH / DoT internally but it's all doable.

    I set that up years ago and I've been running like that since then without any issue.

    Just as entire countries's IP blocks do not exist in my world, domains using Unicode characters do not exist. And I really don't care about your feelings about it: I'm just explaining that technically it can be done to block them all and that the Internet keeps working just fine.

    Unicode really is just too complex to ever be secure. And those who don't understand that are part of the problem.

    • matheusmoreira 50 minutes ago
      Does this also allow you to work with DNS in a fully private/anonymized way?
  • ButlerianJihad 2 hours ago
    Now, please present a list of these to your grandmother, and ask her which ones are phishing, and which are legitimately from the government.

    Now, present the same list to an I.T. professional with the same questions. Perhaps make sure they are not carrying any weapons before you try.

    This is just one reason why visual inspection of URLs and "hover over this link" haven't been useful defenses for a long time.