Back to homeAP® Computer Science Principles · AP Computer Science Principles · Change subject
Start for free
AP CSP · AP® Computer Science Principles
Digital security · Digital threats

Scams and attacks on people

An attacker doesn't always need to break into a program: all they need is for you to hand over your data or your money. Phishing and social engineering use urgency, fear or trust to get it.

What phishing is and how to recognize it

Example of a phishing email with three warning signs: a sender imitating a bank, an urgent and threatening subject line, and a button asking for a final action. Email received From: support@banc0-secure.com Subject: URGENT, your account will be blocked Verify account 1 sender imitating 2 urgency and threat 3 final request three ingredients almost always present: impersonation + urgency/fear + a final request (click, details or payment)
Practice★☆☆Not started
Explain what phishing is and what a phishing message almost always asks for in the end, regardless of the story it tells.

Explain what phishing is and what a phishing message almost always asks for in the end, regardless of the story it tells.

Solve
Practice★☆☆Not started
You receive this text message: 'Your package could not be delivered. Pay $\$0.99…

You receive this text message: 'Your package could not be delivered. Pay $\$0.99$ customs fees here: envios-aduana.info'. Point out at least two details in the message that should make you suspicious and explain what would probably happen if you paid.

Solve
Practice★☆☆Not started
The figure shows an email impersonating a bank, with three warning signs already highlighted and one more element marked with a question mark. Explain why each of the…

The figure shows an email impersonating a bank, with three warning signs already highlighted and one more element marked with a question mark.

From: soporte@banc0-seguridad.com Subject: URGENT, your account will be blocked Dear customer: We have detected unusual activity. Verify your details in less than 24 h. Verify my account sender impersonating the bank urgency and threat in the subject line generic greeting ?

Explain why each of the three marked signs reveals the fraud and what you should check regarding the element marked with ? before clicking anything.

Solve

Spam versus phishing

Practice★☆☆Not started
Write a made-up example of a phishing message aimed at teenagers (on any topic you like: concerts, games, scholarships) and highlight in your own text the three traps…

Write a made-up example of a phishing message aimed at teenagers (on any topic you like: concerts, games, scholarships) and highlight in your own text the three traps you placed to trick the reader.

Solve
Practice★☆☆Not started
In a technical support chat, an 'agent' asks for your password 'to verify your identity'. Explain why no legitimate service ever asks for your password via chat, email,…

In a technical support chat, an 'agent' asks for your password 'to verify your identity'. Explain why no legitimate service ever asks for your password via chat, email, or phone, and write the response you would give.

Solve

Why they imitate well-known brands and how to spot a fake link

Two ways to see the real address of a link: on a computer, with the cursor over it without clicking, it appears in the bottom bar; on a cell phone, with a finger pressed on it, a preview appears. In both cases banc0-secure.com is shown. Computer: cursor over it Phone: press and hold Access your bank banc0-secure.com Access your bank preview banc0-secure.com the real address appears below preview of the real address
Practice★☆☆Not started
Why do phishing messages almost always imitate well-known brands (banks, delivery companies, streaming services)? Explain what the attacker achieves by disguising…

Why do phishing messages almost always imitate well-known brands (banks, delivery companies, streaming services)? Explain what the attacker achieves by disguising themselves as a brand people already trust.

Solve
Practice★★★Not started
Observe these four links received in a text message: 1. https://union-bank.security-access.com/login 2. https://www.unionbank.com/personal 3.…

Observe these four links received in a text message:

  1. https://union-bank.security-access.com/login

  2. https://www.unionbank.com/personal

  3. https://www.uni0nbank.com/access

  4. https://bit.ly/3xK9LqP (shortened link whose hidden real destination is http://unionbank.login.ru)

  1. a) Break down the structure of link 1 (protocol, subdomain, main domain, and path) and demonstrate which real server the victim would connect to if they click on it.
  2. b) Explain the exact technical procedure to check the real destination of link 4 without opening it, both in a desktop browser and on a cell phone.
  3. c) Justify why link 3 is an example of 'typosquatting' and what added risk it poses on cell phone screens with condensed fonts.
Solve

Social engineering: playing on trust, not on code

A real account and its clone with the same photo and almost the same username; the clone sends a message asking for money urgently. real account Emma Brooks @emma_brooks copy cloned account Emma Brooks @emma__brooks one extra underscore $ asks for money “urgent” same photo and name, with one detail changed
Practice★☆☆Not started
Explain what a cloned account on a social network is, how one is created (same photo, name with an extra dot or hyphen), and two signs that reveal it is not your…

Explain what a cloned account on a social network is, how one is created (same photo, name with an extra dot or hyphen), and two signs that reveal it is not your friend's original account.

Solve
Practice★★☆Not started
An account with the name and photo of your cousin writes to you asking for urgent money due to a problem. Explain what checks you would carry out before responding and…

An account with the name and photo of your cousin writes to you asking for urgent money due to a problem. Explain what checks you would carry out before responding and why the name and photo of an account do not guarantee who is behind it.

Solve
Practice★★☆Not started
Define what social engineering is and apply it to this case: someone calls your home posing as a technician from the internet service provider and asks you to install a…

Define what social engineering is and apply it to this case: someone calls your home posing as a technician from the internet service provider and asks you to install a program "to fix the connection." Point out what persuasion techniques they use and how your family should act.

Solve
Practice★★☆Not started
Your mother receives a message: 'Mom, I lost my phone, this is my new number. I need you to make an urgent bank transfer to me'. Explain the 'child in distress' tactic,…

Your mother receives a message: 'Mom, I lost my phone, this is my new number. I need you to make an urgent bank transfer to me'. Explain the 'child in distress' tactic, what check would instantly expose the scam, and what family rule (for example, an agreed code word) you would propose.

Solve

Fake prize draws, tampered QR codes and other bait

Fake prize draw: a mobile shows the notice “you have won a phone”, asks for name, address and ID number, and a hooded attacker keeps that data to sell or use. The attacker wants your name, address and ID. Prize! Claim “you have won a phone” ID asks for name, address, ID $ $ that data is sold or used
Practice★★☆Not started
An email announces that you have won a cell phone in a prize drawing you do not remember entering; to "send it to you," they ask for your full name, address, and a photo…

An email announces that you have won a cell phone in a prize drawing you do not remember entering; to "send it to you," they ask for your full name, address, and a photo of your ID card. Analyze what data they are trying to obtain, what it could be used for later, and what you should do with that email.

Solve
Practice★★☆Not started
In a paid parking area in your town, the official sign has a QR code to pay, but someone has stuck a sticker with another code over it, as shown in the figure. Explain…

In a paid parking area in your town, the official sign has a QR code to pay, but someone has stuck a sticker with another code over it, as shown in the figure.

P Paid parking zone ?

Explain the risk of paying by scanning the code marked with ?, how you would check which is the official payment system, and what secure alternative exists to pay without using that code.

Solve
Practice★★☆Not started
An influencer announces a 'giveaway' of headphones: to enter, you must follow several accounts, fill out a form with your details, and pay the 'shipping fees'. Analyze…

An influencer announces a 'giveaway' of headphones: to enter, you must follow several accounts, fill out a form with your details, and pay the 'shipping fees'. Analyze what three different objectives the organizer achieves with each requirement and why the prize probably does not exist.

Solve

Viral scams and permission traps

Practice★★★Not started
In a school messaging group, the following message sent by a classmate goes viral: "They are giving away brand-name sneakers for their anniversary! Go to…

In a school messaging group, the following message sent by a classmate goes viral: "They are giving away brand-name sneakers for their anniversary! Go to www.marca-promocion.com/regalo, answer 3 questions, and forward this to 5 groups to get your coupon". The website asks to authorize browser notifications and install a configuration profile on the cell phone to "validate the coupon".

  1. a) Explain the social engineering mechanism that the attacker exploits so that the victims themselves organically distribute the fraud without having their accounts compromised.
  2. b) Technically predict what risks a user takes by agreeing to install an unknown configuration profile on their cell phone.
  3. c) Design a list of 3 technical filtering guidelines that any user should apply before forwarding a link received in a group, assessing the URL, incentives, and requested permissions.
Solve

Variants of the scam and why nobody is immune

An attacker impersonating an organization contacts the victim through three channels: email (phishing), a text message with a link (smishing) and a voice call (vishing). attacker phishing smishing vishing (email) (SMS) (call)

Summary

Practice★★☆Not started
Compare the ultimate goal of three scams: bank phishing, a fake giveaway asking for a photo of a driver's license, and a cloned account asking your relatives for money.…

Compare the ultimate goal of three scams: bank phishing, a fake giveaway asking for a photo of a driver's license, and a cloned account asking your relatives for money. What does each attempt to achieve, and what do all three have in common in their initial contact phase?

Solve

Spoofing, fake bosses and stolen one-time codes

Practice★★☆Not started
You receive an email that appears to have been sent from your own address: it claims to have recorded you with your webcam and demands money to avoid spreading the…

You receive an email that appears to have been sent from your own address: it claims to have recorded you with your webcam and demands money to avoid spreading the video. Explain how it is possible to spoof an email sender, why this scam relies on fear and embarrassment, and what you should, and should not, do upon receiving it.

Solve
Practice★★★Not started
In a company, the finance department receives this email: "Hello, Carlos. I'm in a meeting with clients and an unforeseen payment to a key supplier for 4,850.00 dollars…

In a company, the finance department receives this email: "Hello, Carlos. I'm in a meeting with clients and an unforeseen payment to a key supplier for 4,850.00 dollars has come up. Transfer it before 14:00 to this IBAN; I'll attach the invoice later. Don't call me because I can't answer the phone. Regards, Marta (Director)". The email comes from 'marta.directora@empresa-pagos.es' instead of 'marta@empresa.es'. Despite having up-to-date antivirus software on the computer, Carlos makes the payment.

  1. a) Technically justify why no client-side antivirus could block this attack.
  2. b) Design an administrative and technical payment authorization protocol (using out-of-band verification or two-factor authentication) that makes this scam unfeasible, ensuring that Carlos does not rely solely on his intuition.
Solve
Practice★★★Not started
Analyze the following timeline of a security incident: 10:15 h: The victim receives a text message from their bank ("ALERT: Unauthorized charge of 250.00 dollars. If you…

Analyze the following timeline of a security incident:

  • 10:15 h: The victim receives a text message from their bank ("ALERT: Unauthorized charge of 250.00 dollars. If you do not recognize it, cancel it urgently at https://banco.atencion-fraude.com").

  • 10:17 h: They access the link (with an HTTPS padlock and a design identical to the real one) and enter their ID number and password.

  • 10:19 h: The website asks them to enter a one-time code that they just received by text message to "cancel the fraudulent transaction".

  1. a) Technically interpret what the attacker is doing between 10:17 h and 10:19 h in the real bank's systems using the data that the victim enters into the fake website.
  2. b) Justify why the presence of the HTTPS padlock in no way guarantees that the website belongs to the legitimate bank.
  3. c) Design the immediate contingency plan (3 actions ordered by priority) that the victim must execute if they realize the deception right at 10:20 h.
Solve
See all the exercises in this section