Security and privacyExhibit 9
How do you spot a fake website?
Ignore how it looks and read the address. Phishing sites copy a real page perfectly, so the only reliable clue is the URL: read the site’s name from the end, just before the first single slash. The name just before the ending, like paypal.com, is who really owns the page. Better still, let apassword manager or passkey check it for you.
Try it: spot the fake URL
Twelve addresses. For each one, decide: Real or Fake? Then see the part that decides who owns it. To keep everyone safe, the fakes use made-up names, most ending in .example, an ending reserved for examples that nobody can register. Real scams use .com and every other ending, so judge the name, not the ending.
Round 1 of 12
Score 0
We put a padlock on every address, because most fake sites have one too. The real addresses are the companies’ genuine sign-in and home pages; the explanations read each one with the same rule the video teaches.
Paste or type a link. It’s read right here in your browser: nothing is visited, sent or stored.
This checker only tells you who owns an address, not whether they’re honest. It uses a small built-in list of two-part endings (like co.uk, com.au and github.io), a simplified version of the Public Suffix List that browsers use, so rare endings may be read as one part.
Watch: how hackers make fake websites look real
Lookalike names, letters that aren’t letters, the padlock myth and the free tool that isn’t fooled, in under 5 minutes.
The video loads from YouTube only when you press play. Watch on YouTube
Why do fake websites look so real?
Because looks prove nothing. A web page is just code that a server sends to your browser: the text, the logo, the layout, the login box. Anyone can save that code, so a criminal can copy a bank’s login page with ease, and ready-madephishing kits do the copying for them. The colours, the fonts, even the little “secure” badges can be pixel perfect.
There is exactly one thing a fake site can’t copy: the real address. Only the owner of paypal.com can put a page at paypal.com. So that’s where attackers put all their effort, into making the address look right at a glance. Once you know their handful of tricks, you can read past them.
How do you read a URL to see who owns a website?
Here’s the rule from the video, and it beats every trick on this page: read the site’s name from the end, starting just before the first single slash. (The double slash after https: doesn’t count.) The name just before the ending, like paypal.com, is who really owns the page. This part is called the registrable domain.
Everything to the left of it is decoration that the owner can choose freely. Whoever owns paypal.com can createwww.paypal.com or login.paypal.com. But whoever owns account-check.example can just as easily create paypal.com.account-check.example, and it has nothing to do with PayPal. Reading from the start is exactly what the attacker wants you to do.
Two details trip people up. First, some endings have two parts: .co.uk, .com.au and similar work like .com, so the owner of www.bbc.co.uk is bbc.co.uk. Second, some hosting services let anyone make a site under their name, like github.io, so the owner of yourname.github.io is whoever made it, not GitHub. Browsers keep track of both using a shared list called the Public Suffix List, started by Mozilla and now maintained as a community resource.
| Address | Who owns it | Why |
|---|---|---|
https://www.paypal.com/signin | paypal.com | Real PayPal. “www.” is a subdomain PayPal chose. |
https://paypal.com.account-check.example/signin | account-check.example | Not PayPal. “paypal.com” here is just decoration on the left. |
https://www.bbc.co.uk/news | bbc.co.uk | “.co.uk” is a two-part ending, so the owner is one name further left. |
https://www.paypal.com@login-verify.example/ | login-verify.example | Everything before “@” is treated as a username. The site is after it. |
https://yourname.github.io/ | yourname.github.io | github.io is a hosting service: the owner is whoever made “yourname”. |
The “@” example works because the official URL rules treat anything before an “@” as a username. Our read-from-the-end rule still catches it.
What lookalike tricks do fake websites use?
The simplest trick is a lookalike name. Replace an “m” with an “r” and an “n”, and at a glance it still reads as “microsoft”. Swap the letter “o” for a zero. Add a hyphen and a reassuring word, like “secure” or “login”. Or put the brand at the front, so the address starts with “paypal.com” and then just keeps going. Here are the patterns side by side (all with made-up names, so none of them is a real scam site).
| Trick | Example | Why it fools you | How to catch it |
|---|---|---|---|
| Swapped letters | rnicrosoft | “r” and “n” side by side look like “m” | Read the owner part slowly, letter by letter |
| Number for a letter | amaz0n | A zero passes for an “o” | Same: read the owner part slowly |
| Hyphen and a reassuring word | secure-netflix-billing | Sounds official | A hyphen joins words into one new name, owned by someone else |
| Brand at the front | paypal.com.account-check | The address starts with the real name | Read from the end, not the start |
| Username before “@” | paypal.com@login-verify | The real name comes first | The site is whatever comes after the “@” |
| Letters from another alphabet | аррӏе.com | Looks exactly like apple.com | Shows up as “xn--” in the raw address; a password manager won’t fill in |
Notice that every trick works on the start of the address or on a quick glance. None of them survives reading the owner part slowly, from the end. On a small phone screen, where long addresses get cut off, that takes more effort, which is one more reason to let software do the checking (more on that below).
What is a homograph attack, and what does xn-- mean?
This is the sneaky one. Web addresses aren’t limited to English letters. To support every language they can useUnicode, and some alphabets contain letters that look identical to ours. The Cyrillic “а” and the Latin “a” are different characters with the same shape. A fake address built from letters like that is called a homograph attack.
Behind the scenes, a name with non-English characters is stored in a plain-letters code called Punycode, and it always starts with xn--. So the German name münchen.de is reallyxn--mnchen-3ya.de. That’s perfectly normal for sites in other languages. The danger is when the readable version is designed to impersonate an English brand.
In January 2017, researcher Xudong Zheng reported exactly that to Chrome and Firefox, and in April 2017 he revealed it publicly: a name spelled entirely in Cyrillic, xn--80ak6aa92e.com, which Chrome and Firefox displayed as apple.com. Five letters, exactly the right shape, and not one of them the real letter. Browsers already refused to show the readable form when a name mixed letters from different alphabets, but a name made entirely from one foreign alphabet slipped through. Chrome changed its rules (the fix shipped in Chrome 58), so names like that now appear as the raw xn-- code instead. Zheng also pointed Firefox users to a setting, network.IDN_show_punycodein about:config, that always shows the raw code.
Try аррӏе.com in the checker above: it shows the Cyrillic letters one by one, with their Unicode numbers.
Does the padlock mean a website is safe?
No, and this is the most common myth of all. The padlock means the site uses HTTPS: your connection to that server is encrypted, so nobody on the network in between can read or change what you send. It proves you’re talking to that address. It doesn’t prove the people behind the address are honest.
Anyone who controls a domain can get a certificate for it, often free, in minutes. Services like Let’s Encrypt issue “domain-validated” certificates automatically; they check only that you control the domain, not who you are. So the criminals behind account-check.example can get a padlock just as easily as PayPal can.
Attackers noticed long ago. By the end of 2019, about three quarters of phishing sites (74%) already used HTTPS. In 2023, Google said nearly all phishing sites use it, and that in its research only11% of people correctly understood what the padlock meant. So in September 2023, Chrome (version 117) replaced the padlock with a neutral settings icon.
Can a fake website get past two-factor authentication?
Some can. Instead of a copy, a more advanced fake sits in the middle. Everything you type is passed on to the real website instantly, and the real website’s replies are passed back to you. You log in, you even type the code from your text message, and it all works, because it really is happening on the real site, just through the attacker. At the end, the attacker keeps the “you’re logged in” cookie that the real site handed over, and can use it in their own browser.
Security teams call this adversary-in-the-middle (AiTM) phishing. In 2022 Microsoft reported one campaign like this that had attempted to target more than 10,000 organisations since September 2021. That’s why one-time codes alone aren’t enough. Microsoft’s own advice is to use “phish-resistant” sign-in methods based on the FIDO standards, which is what passkeys are.
How do fake websites find you?
They rarely wait for you to find them. They arrive as a link in a text about a parcel, anemail about a locked account, a QR code on a poster, or even a search ad. The message always pushes urgency (pay now, verify today, your account will be closed) so you tap before you think. In 2025 alone, the Anti-Phishing Working Group recorded 3.8 million phishing attacks.
Some fake pages even cover their tracks. Basic phishing kits can send you on to the real website after you’ve typed in your details, so the whole thing feels like a glitch: you log in again, it works, and you never suspect a thing.
What’s the best way to protect yourself from fake websites?
Reading URLs is a great skill, but people get tired, rushed and fooled. These defences don’t:
- Use a password manager, even the one built into your browser. It fills in your password only on the site you saved it for, so a Cyrillic letter or an extra word can’t fool it. If it doesn’t offer to fill in, stop and look at the address. (The UK’s National Cyber Security Centre says saving passwords in your browser is fine on your own devices, but not on shared ones.)
- Use passkeys where you can. A passkey is tied to the real site, so it simply won’t work on a fake one, however perfect it looks. This is also what stops the middleman sites above.
- Go there yourself. For anything important, like your bank, email or tax account, type the address yourself or use a bookmark, instead of tapping a link in a message.
- Read from the end whenever you do follow a link: find the first single slash, look just before it, and ask whether that name is who you expected.
What should you do if you typed your password into a fake site?
Act quickly, and don’t use any link from the message. Go to the real site by typing its address or using a bookmark, and change the password there. If you used the same password anywhere else, change it on those sites too. Sign out of other sessions if the site offers it, and switch on a passkey or two-step sign-in. If you entered card or bank details, call your bank using the number on your card.
Frequently asked questions
How can I tell if a website is fake?
Don’t judge the look: a fake can copy a real page pixel for pixel. Judge the address. Read the site’s name from the end, starting just before the first single slash. The name just before the ending, like paypal.com, is who really owns the page; everything in front of it is decoration the owner can choose freely.
Does the padlock mean a website is safe?
No. The padlock (HTTPS) means your connection to that server is encrypted. It proves you reached that address, not that the people behind it are honest. Anyone who controls a domain can get a certificate, often free. By the end of 2019 about three quarters of phishing sites used HTTPS, and in September 2023 Chrome replaced the padlock with a neutral settings icon.
What does xn-- mean in a web address?
It means the name contains characters outside plain English letters, stored in a code called Punycode. That’s normal for sites in other languages, but it’s also how lookalike letters from other alphabets hide. In 2017 researcher Xudong Zheng showed a name spelled entirely in Cyrillic that Chrome and Firefox displayed as apple.com; behind the scenes it was xn--80ak6aa92e.com.
Can a fake website steal my two-factor code?
Yes. Some fake sites sit in the middle, passing everything you type to the real site and its replies back to you, so even a one-time code from a text message works for the attacker. In 2022 Microsoft reported one such campaign that had attempted to target more than 10,000 organisations. Passkeys and password managers resist this because they check the real address.
What is the best protection against fake websites?
A password manager, even the one built into your browser: it fills in your password only on the site you saved it for, so a lookalike letter can’t fool it. If it doesn’t offer to fill in, stop and look. Better still, use passkeys where you can, since they’re tied to the real site. For anything important, type the address yourself or use a bookmark.
Sources
- Xudong Zheng: Phishing with Unicode domains (April 2017)
- RFC 3492: Punycode
- WHATWG URL Standard and the Public Suffix List
- RFC 2606: reserved names such as .example and .test
- APWG Phishing Activity Trends Report, Q4 2019 (PhishLabs data on HTTPS)
- Chromium Blog: an update on the lock icon (May 2023)
- Let’s Encrypt: how it works
- Microsoft Security Blog: From cookie theft to BEC (July 2022)
- APWG year in review: 2025 phishing trends
- ZeroFox: phishing kit victim workflow
- NCSC: password managers
- FIDO Alliance: passkeys
Last updated
Keep exploring

How does tap to pay work?
Tap a card, record the message, and try to replay it.
How do 2FA codes work without internet?
Watch a real six-digit code being made, byte by byte, from a secret and the clock.
How does Google search so fast?
Search real books two ways and watch the timer.See all the exhibitsSubscribe on YouTube (opens in a new tab)