The web Who owns a link 4 min read
Where does that link really go?
An email says “Your PayPal account is on hold” and the button goes to https://paypal.com.secure-login.net/account. At a glance, it looks like PayPal.
-
Read the address backwards
The host is everything between
https://and the first single slash. It’s owned from the right: whoever registerssecure-login.netcan put any words to its left, includingpaypal.com.So read it the way your browser does. Find the first single slash, step left past the ending (
.net), and the word you land on is the owner:secure-login.net. Everything further left is decoration.Start at the slash and step left. Everything before the registered name is decoration the owner chose. In short The owner is the name just left of the ending. Everything else is theirs to fill in.
-
How genuine links read
https://accounts.google.com/signin: the ending is.com, the owner isgoogle.accountsis a subdomain Google chose.www.linkedin.comworks the same way; nearly every site has awww.Some endings have two parts, like
.co.ukor.com.au, so step past both.www.amazon.co.ukis Amazon.In short Subdomains on the left are fine, as long as the owner is who you expect.
-
The tricks attackers use
Borrowed names in the middle: in
www.amazon.co.uk.order-help.com, the real ending is.comat the far right, so the owner isorder-help.com. A glued hyphen:netflix.com-billing.infois owned bycom-billing.info, because the dot after “com” never comes.The @ trick: in
https://google.com@evil.io/login, everything before the@is a username your browser skips. The link goes toevil.io.In short Always find the ending at the far right, and ignore anything before an @.
What reading can’t catch
Use the rule on https://www.pаypal.com/signin and you get paypal.com. But the second letter is a Cyrillic “а”: it looks identical, but it’s a different character, so this is a different name that someone else registered.
Many browsers show these mixed-alphabet names in their xn-- form, but not all, and not every app. The rule finds whose name is on the link; it can’t check the letters. For sites that matter, type the address yourself or use a bookmark.
Keep this
Find the first single slash. Step left past the ending. The word you land on is the owner.
It tells you whose name is on the link. It can't prove the letters are the ones you think. For sites that matter, type the address yourself or use a bookmark.- Owner
- The name just left of the ending, such as secure-login.net.
- Decoration
- Anything further left, or before an @, is chosen by that owner.
- Limit
- The rule can't tell look-alike letters apart.
Questions worth carrying
The padlock said “Secure”. So what does a padlock actually promise?
Only that the connection to that site is encrypted. It says nothing about who runs the site. Phishing sites get padlocks too.
On a phone the address bar hides most of the link. How do you check it there?
Long-press the link to see the full address before opening it, or tap the address bar after opening to show it in full.
A QR code hides the link completely. How do you check one before you open it?
Most phone cameras show the link before opening it. Read that preview with the same rule, and don't open it if the owner is wrong.
Why do real companies send emails with links like t.co/x8Fk2 that hide the owner?
For tracking clicks and keeping links short. It also trains people to click links they can't check, which is why it's worth going to the site directly instead.