IDN and Pale Moon: know your browser.

For the more technical/geeky chat subjects!

Moderator: satrow

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 20058
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

IDN and Pale Moon: know your browser.

Postby Moonchild » Fri Apr 28, 2017 8:43 pm

Since there has been a lot of buzz lately about the age-old issue with IDNs (international-character domain names) spoofing well-known domains, people seem to be confused about what Pale Moon does to mitigate this. In short it comes down to knowing your browser and paying attention to what the browser indicates.

The address bar has a dedicated area where site identity information is displayed (the identity panel):
IDpanel.png
IDpanel.png (5.09 KiB) Viewed 2689 times

For normal (http) sites, this panel normally only displays the site's icon, and will blend in with the rest of the address bar.
For https sites, this panel is either blue or green, and displays the secure domain or the domain's verified owner, respectively.
blue.png
blue.png (1.94 KiB) Viewed 2689 times
green.png
green.png (1.87 KiB) Viewed 2689 times


If you are visiting a phishing site using an IDN to try and spoof the original domain, this identity panel, since 27.3.0, will clearly display the "raw" code of the IDN (also called "punycode", a domain starting with "xn--") instead of what the site is trying to spoof:
spoofed-epic.png
spoofed-epic.png (2.77 KiB) Viewed 2689 times


So, before you enter any login details, always, ALWAYS check the identity panel to see if the site is secure (padlock shown) and displaying the domain or owner you expect.
If you want more details, you can also click on the padlock.

For people who also want to have http sites (white) display the punycode if an IDN is visited, that is possible by going into about:config, and setting browser.identity.display_punycode to a value of 2. This is not the default, because http is used for display of public information, and phishing from an http site immediately falls short by not showing a secure connection. As such, doing this for http sites by default would in most cases simply be unnecessary to include, and annoying for anyone regularly visiting international-address websites.

I've chosen to approach the problem this way, because it will still allow you to enter international character domain names, while giving you the tools to verify that your visit is to the server you expect.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

joe04
Fanatic
Fanatic
Posts: 220
Joined: Mon Sep 28, 2015 4:38 pm
Location: US
Contact:

Re: IDN and Pale Moon: know your browser.

Postby joe04 » Sat Apr 29, 2017 3:47 am

Thanks for adding this, Moonchild. Pale Moon already had the best address bar, and now it's that much better.

FYI -- here's the link for the fake "epic.com" demo page in the above screenshot:
https://www.еріс.com/

User avatar
back2themoon
Astronaut
Astronaut
Posts: 919
Joined: Sun Aug 19, 2012 8:32 pm

Re: IDN and Pale Moon: know your browser.

Postby back2themoon » Sat Apr 29, 2017 4:25 pm

Good info and update, thanks.
Safe Mode / clean profile info: Menu/Help/Restart with Add-ons Disabled
Information to include when asking for support - How to apply user agent overrides

Windows 10 Pro - Pale Moon x64 - FossaMail x64 - Emsisoft Anti-Malware

khronosschoty
Hobby Astronomer
Hobby Astronomer
Posts: 16
Joined: Wed Nov 23, 2016 10:37 am

Re: IDN and Pale Moon: know your browser.

Postby khronosschoty » Sat Apr 29, 2017 6:52 pm

Nice update; thank you.


Return to “Technical chat”

Who is online

Users browsing this forum: No registered users and 4 guests