Sub topic 1
How scams and fraud work
Prerequisites
This chapter assumes basic familiarity with online banking, card payments, email, text messages, web browsers, bank transfers, and payment apps.
Scams and fraud are related
A scam is a deliberate deception designed to make someone send money, reveal information, or give access to an account. A fraud is broader. It includes any intentional deception or unauthorized use that causes financial loss. A stolen card number, a forged document, and a fake investment offer can all be fraud.
The difference often involves how the loss happens:
- In a scam, the victim is manipulated into taking an action. For example, the victim sends a payment to a person pretending to be a bank employee.
- In other fraud, the criminal may act without the victim's approval. For example, someone uses stolen card details to make purchases.
Scammers usually profit in one or more of three ways:
- They obtain money directly through a payment, transfer, gift card, cryptocurrency transaction, or cash delivery.
- They collect personal or financial information and sell it or use it for identity theft.
- They gain access to an account, device, or email inbox and use that access to steal money or target other people.
The working model of a scam
Most scams follow a simple sequence:
- Targeting: The scammer finds a person, often through a public profile, leaked data, a marketplace listing, or a random message.
- Contact: The scammer uses email, text, phone calls, social media, dating services, or a fake website.
- Trust building: The scammer claims to represent a trusted organization or develops a personal relationship.
- Pressure: The scammer creates urgency, fear, secrecy, or an attractive opportunity.
- Action: The victim sends money, shares a one-time code, clicks a link, installs software, or provides identity documents.
- Extraction: The scammer moves the money, takes over an account, or repeats the request with a new reason.
The victim may have authorized the payment, but authorization obtained through deception does not make the transaction safe or easy to recover. Payment providers may treat it differently from an unauthorized card transaction.
A link can look official without being official
A web address must be checked by its actual host name. Text placed before the real domain does not prove ownership. A name before an @ sign is also not the host.
from urllib.parse import urlparse
def is_official_link(url: str, official_domain: str) -> bool:
"""Return True only if the link's host is the official domain or one of its subdomains."""
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
FalseThis check is useful, but it is not a complete safety test. A legitimate-looking domain can still host a compromised page, and a scammer can use a different contact method to create pressure.
Exercise
Exercise
Why can a payment be difficult to recover even when the victim made it personally?
Show answer
The victim may have authorized the transaction after deception, so the provider may not classify it as an unauthorized transaction with automatic protection.