Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 4 min read

Why Your Eyes Can't Spot a Fake Web Address, and What Can

For anyone who taps links from QR codes, texts or emails, and has ever felt sure they'd know a fake when they saw one. Look at these two addresses: apple.com and apple.com. They look the same. On some screens, one of t

For anyone who taps links from QR codes, texts or emails, and has ever felt sure they'd know a fake when they saw one.

Look at these two addresses: apple.com and apple.com.

They look the same. On some screens, one of them could be a completely different website.

That isn't a riddle. It's how letters work on computers. In this piece I'll explain the trick in plain words, say why trying harder to spot it doesn't help, and give you a habit that takes about five seconds.

Some letters have identical twins

The Latin alphabet, the one you're reading now, has a cousin: Cyrillic, used for Russian, Ukrainian, Bulgarian and others. A few letters in each look exactly the same. The a, e, o, p and c have twins.

To you they're one letter. A computer doesn't see shapes. It sees a number for each character, and the Cyrillic a has a different number from the Latin a.

So an address made from Cyrillic twins is a different address. It belongs to whoever registered it. It just wears the same face.

In 2017 a security researcher showed this with the most famous name he could pick. He registered a version of apple.com built from Cyrillic letters, and popular browsers showed it in the address bar as plain apple.com. The browser makers fixed how they display these names soon after. The lesson stayed.

Your eyes read shapes. Software reads the actual letters. Against look-alikes, only one of them can win.

Why looking harder doesn't help

We're told to check the link before we click. Good advice for typos like amaz0n with a zero. Useless against a perfect twin.

This is the part I find honest and a bit humbling. As a developer I've lost whole afternoons to a bug that came down to one wrong invisible character. I was staring right at it. My eyes kept telling me everything was fine, because the eye is built to see meaning, not codes.

That's a feature most of the time. You read wrods with mixed-up letters without slowing down. But the same shortcut that makes reading fast makes this trick work.

So the fix isn't to become a better proofreader. It's to hand the reading to something that doesn't take shortcuts.

Where the old trick still lives

To be fair to browsers: they got much stricter after 2017. Desktop Chrome or Firefox will usually show a mixed-alphabet name in its raw form, which starts with xn--, instead of the pretty version.

But a lot of links don't arrive in an address bar anymore. They arrive on:

  1. A QR sticker on a parking meter, a menu or a poster
  2. A text message saying your parcel is waiting
  3. An email button where the real address is hidden behind a label

In each of these you see a link before your browser does, and often you don't see the real address at all. A QR code is the extreme case. It's a square of dots. You can't read it, so you just tap and trust.

Look-alike letters are only one of these tricks, too. Others are just as sneaky. A link can put a trusted name before an @ sign, and everything before the @ gets ignored. A shortener can hide where you'll really land. Or the code may not open a web page at all.

A five-second habit

Here's what I do, and what I've started telling family members:

  1. See the real address before opening. Don't tap straight through from a QR code. Use a scanner that shows you the address first.
  2. Read the end, not the start. The part right before .com (or .md, .de, .co.uk) is the owner. Anything in front of it can be decoration.
  3. If something feels off, go around it. Don't use the link. Type the company's name into your browser yourself, or open their official app.
  4. For anything with money or passwords, never trust a sticker. Parking, payments and logins get typed in by you, not scanned from a wall.

That's it. It doesn't need tech skills, just a small pause between seeing and tapping.

Let the phone do the squinting

This problem is exactly why I built QR & Barcode Scanner, an Android app. When you scan a code, it shows the real address in plain words before anything opens. It also checks the address on the phone for tricks it can see: look-alike letters from another alphabet, a decoy name before the @, short links that hide the destination, and links that aren't web pages at all.

I want to be clear about what it isn't. It's not an antivirus, and it doesn't check what's on the page. It reads the address carefully, which is the part our eyes are bad at. The check runs on the phone, nothing is uploaded, and you don't need an account. It's free, with optional in-app purchases. If you want to try it: https://qrscanner.mediapronet.com

Recap

Some letters from different alphabets look exactly alike, so two addresses can look identical and still be different sites. Looking harder won't save you, because your eyes read meaning and the trick hides in the codes. Pause, look at the real address, and let software do the reading.

Trust your eyes for faces. Trust software for letters.

Honestly, what's the last thing you were sure you read right, and hadn't?

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.