Sub topic 4
Phishing by Email, Text, and Phone
The working model
Prerequisites: you should understand basic online banking, card payments, email, text messages, and web browsers. You should also know that a payment app or bank transfer may be difficult to reverse.
Phishing is a scam that uses a message or conversation to trick you into revealing information, opening a harmful link, or sending money. The message may arrive by email, text message, or phone call. The channel changes, but the basic sequence is usually the same:
- The scammer creates a believable identity.
- The scammer presents a problem or opportunity.
- The scammer adds pressure to reduce careful thinking.
- The scammer asks for a secret, login, payment, or action.
- The scammer uses the result to steal money or take over an account.
Email phishing often uses fake delivery notices, account warnings, invoices, or password-reset messages. Text-message phishing, also called smishing, commonly claims that a package, bank account, toll payment, or subscription needs attention. Phone phishing, also called vishing, uses a live caller or recorded message.
Recognizing the three channels
| Channel | Common claim | Typical request |
|---|---|---|
| Your account or invoice needs attention | Click a link or open an attachment | |
| Text message | A delivery or payment failed | Tap a link or reply with information |
| Phone call | Fraud was detected on your account | Read a code or move money |
A message can contain correct personal details and still be fraudulent. Scammers may obtain names, addresses, or the last four digits of an account from public records or previous data leaks.
Caller ID and display names are not proof of identity. Scammers can spoof caller ID or make an email appear to come from a familiar organization. A real organization may contact you, but you should still verify the request independently.
Red flags and common errors
Watch for:
- Urgent demands to act immediately
- Threats of arrest, account closure, or financial loss
- Requests for passwords, one-time codes, or full card numbers
- Instructions to move money to a “safe” account
- Links with shortened, misspelled, or unexpected domains
- Attachments you did not expect
- Requests to keep the conversation secret
- A caller who will not let you hang up and call back
A one-time code is not harmless. It is often the final step in logging in or changing an account. If you read it to a caller, the caller may complete the takeover while speaking with you.
Check a link’s real host name rather than trusting the words displayed in the message:
from urllib.parse import urlparse
def is_official_link(url: str, official_domain: str) -> bool:
"""Return True only if the host is the official domain or a subdomain."""
host = (urlparse(url).hostname or "").lower()
return host == official_domain or host.endswith("." + official_domain)
print(is_official_link("https://www.example-bank.com/login", "example-bank.com"))
print(is_official_link("https://example-bank.com.login-verify.net/", "example-bank.com"))
print(is_official_link("https://[email protected]/", "example-bank.com"))The output is True, False, False. A trusted name at the beginning of a longer domain, or before an @ sign, does not make the host trustworthy. This check is only a learning aid. Use your bank’s official app or type its known web address instead of relying on a message link.
Verify before acting
Do not reply to the suspicious message. Do not use its phone number or link. Open the official app, type the organization’s known address, or use a trusted statement to find contact information. Ask whether the alleged problem exists.
For an unexpected attachment, confirm the sender through a separate channel before opening it. For a payment request, verify the recipient, amount, and purpose using a contact method you found yourself.
Exercise
Your bank sends a text saying your account will close in ten minutes unless you click a link and confirm a one-time code. What should you do?
Show answer
Do not click, reply, or share the code. Open the bank’s official app or call the number on your card to check the account. Report the message as phishing.