3 / 6 · Intermediate
Spotting phishing
In the address example.com.account-check.example, the site that actually owns the page is account-check.example; the example.com at the front is only a label its owner chose.
Jump to the 10 practice questionsYou will learn
- Spot the signs of a phishing message
- Read who owns a link from its host name
- Check through another route and report
Before this: Two-step sign-in
1Explain
A parcel text the courier never sent
Here is a made-up text of a familiar kind: "Your parcel could not be delivered because the address is incomplete. Update it within 24 hours", followed by a short link. If you are waiting for a delivery, your thumb is already on the link. That is phishing: a message designed to make you open a harmful attachment, click a link to a fake site, or hand over personal or financial details. It arrives by email, by text message (often called smishing), by messaging app and by phone.
2Problem
A warning sign
Which detail in a message is a warning sign?
Hint
Pressure to act now.
Solution
Answer: "Your account will be closed in 24 hours"
Urgent threats are the first sign on CISA's list. Logos and names are easy to copy.
3Explain
The signs in that one short text
CISA lists the common signs, and the parcel text has most of them. Urgent or emotional language, with a threat of trouble if you do not act now. A request for personal or financial information. An untrusted shortened link. A sender address or link that is slightly wrong, with a letter swapped or an extra word added. One old sign no longer works, though. Phishing used to be easy to spot by its poor spelling and grammar, but CISA notes that in the age of AI some messages now have perfect grammar and spelling.
4Problem
A sign that no longer works
Which is no longer a reliable sign of phishing, according to CISA?
Hint
AI writes clean text.
Solution
Answer: Poor spelling and grammar
AI tools now produce messages with perfect grammar.
5Problem
The parcel text
A text says your parcel is held and links to a payment page. Best response?
Hint
Open the courier yourself.
Solution
Answer: Check in the courier's app or site you open yourself
Go to the service yourself instead of using the link.
6Explain
Reading a link from the right
Before you tap a link, look at the host name: the part after https:// and before the first single slash. Read it from the right. In these examples the last two parts (or three, for addresses like .co.kr) name the organisation that controls it. Everything to their left is a label that organisation chose. Some sites use longer public endings, so counting parts is only a first check. So login.example.com belongs to example.com, but example.com.account-check.example belongs to account-check.example.
The host name is read from the right. The organisation that owns this page is account-check.example.
7Explore
Host names in code
The first line is the host name, the second its last two parts, the organisation that controls it in these examples.
const link = "https://example.com.account-check.example/verify";
const host = new URL(link).hostname;
console.log(host);
console.log(host.split(".").slice(-2).join("."));example.com.account-check.example
account-check.example8Problem
Which host is example.com?
Which host belongs to example.com?
Hint
Read from the right.
Solution
Answer: login.example.com
Read from the right: login.example.com ends in .example.com.
9Problem
Who owns this page?
Hint
The last two parts of the host name.
Solution
Answer: secure-pay.example
The controlling domain here is secure-pay.example. The example.com text is on its left as a subdomain label; familiar words there do not make the page belong to example.com.
10Practice
Print the host names
Print only the host name of each link, one per line.
example.com
example.com.account-check.example
login.example.comconst links = [
'https://example.com/login',
'https://example.com.account-check.example/verify',
'https://login.example.com/account',
];
for (const link of links) {
console.log(link); // change: print only the host name, using new URL(link).hostname
}
Hint
new URL(link).hostname.
A solution
const links = [
'https://example.com/login',
'https://example.com.account-check.example/verify',
'https://login.example.com/account',
];
for (const link of links) {
console.log(new URL(link).hostname);
}
11Practice
A strict owner check
belongsTo should be true only for example.com itself or a host ending in .example.com. Fix it so it prints true, false, true, false.
true
false
true
falsefunction belongsTo(host) {
return host.includes('example.com'); // too loose: fix it
}
console.log(belongsTo('example.com'));
console.log(belongsTo('example.com.account-check.example'));
console.log(belongsTo('login.example.com'));
console.log(belongsTo('myexample.com'));
Hint
Note the dot in front of .example.com.
A solution
function belongsTo(host) {
return host === 'example.com' || host.endsWith('.example.com');
}
console.log(belongsTo('example.com'));
console.log(belongsTo('example.com.account-check.example'));
console.log(belongsTo('login.example.com'));
console.log(belongsTo('myexample.com'));
12Explain
Check through another route, then report
CISA gives three tips: recognise, resist and delete, and the signs above are the first. Resist means you do not click links or open attachments in a message you are unsure of, and you do not reply, not even to an "unsubscribe" link. If the message claims to be from a company you use, open its app or type its address yourself and check there. If it claims to be from someone you know, call them on the number you already have. Then delete the message, after reporting it with the "report spam" or "report phishing" option in your email or messaging app.
13Problem
Unsubscribe
Should you click "unsubscribe" in a suspicious message?
Hint
It is just another link.
Solution
Answer: No, just delete it
CISA: do not reply or click any link, including unsubscribe.
14Problem
A friend's account
A message from a friend's account asks you to buy gift cards urgently. What do you do?
Hint
Use a channel the sender does not control.
Solution
Answer: Call the friend on the number you already have
Call the number you already have for the friend. If the account was taken over, replying in the same conversation would ask the attacker to confirm their own story.
15Problem
Where a link goes
How can you see where a link goes on a phone without opening it?
Hint
A long press shows the address.
Solution
Answer: Press and hold the link
A long press shows the full address.
16Problem
Passkeys and fake pages
Why does a passkey protect you from a fake login page?
Hint
Made for one site only.
Solution
Answer: It only works on the site it was made for
The browser offers it only to the real domain.
17Explain
Calls that ask for money or codes
Phone calls follow the same pattern. A caller says they are from your bank, a delivery company, the police or a prosecutor's office and tells you your account is involved in a crime. They ask you to move money, install an app or read out a code. Real institutions do not ask for that over the phone. Hang up, look up the official number yourself and call back. Never install an app or a remote-control program because a caller told you to.
18Problem
The KISA number
Which number does KISA run for hacking, spam and personal information problems in Korea?
Hint
Three digits.
Solution
Answer: 118
Dial 118 with no area code; it is free.
19Explain
Common mistakes
"The message is well written, so it must be genuine."
CISA warns that in the age of AI phishing can have perfect grammar and spelling. Judge a message by what it asks you to do: hurry, pay, log in, share details.
"The address starts with the company's name, so it is the company's site."
The owner is at the right-hand end of the host name. example.com.account-check.example belongs to account-check.example; the example.com at the front is only a label.
"Tapping unsubscribe will make the messages stop."
In a suspicious message the unsubscribe link is just another link. CISA's advice is not to reply or click anything in it, unsubscribe included: report it and delete it.
"It came from a friend's account, so it is safe."
An account can be taken over, and a "new number" message needs no account at all. Check through a channel the sender does not control, such as a call to the number you already have.
20
Summary
- Phishing pushes you to act fast: urgency, requests for data, odd links.
- Perfect grammar is no longer a sign of safety.
- Read the host name from the right to find the real owner.
- Go to the service yourself; report and delete the message.