4.2 Exercise 1: Identify the Password Attack

🎯 How This Works

Each scenario describes a real-world incident. Before you answer, type a short prediction in the purple box — your best guess based on the observed behavior. Then answer the multiple-choice question and check your reasoning against the feedback.

Why predict first? It forces you to commit to a hypothesis before the options frame your thinking. This is exactly the mental habit AP Cyber MCQs reward.

✎ Guided Practice — 5 Scenarios
Scenario 1 of 5 Aceshack runs a sign-in portal for the drop-in workstation in its office. Overnight the portal log records one failed sign-in attempt against each of 214 different usernames — every attempt using the same password, Aceshack2026 — from four source addresses over seven hours. Account lockout triggers after five failed attempts on an account within fifteen minutes; it never triggered, and two accounts signed in successfully. Which attack does this log describe?
Predict First One password everywhere, one attempt per account. What is the attacker deliberately staying under?
Scenario 2 of 5 A backup copy of Aceshack’s account database is stolen. Each row holds a username, a random per-user salt stored in the clear, and the salted hash of the password. The attacker never contacts Aceshack again: they run a cracking tool on their own hardware, hashing candidate passwords with each user’s salt and comparing the results. An Aceshack administrator proposes tightening account lockout from five failed attempts to three. Which statement about that proposal is BEST?
Predict First Where is each guess actually being submitted — and who gets to count it?
Scenario 3 of 5 — Spot the Error in the Setup Ticket An Aceshack support technician files this ticket after setting up the drop-in workstation. Which statement in it is INCORRECT and should be flagged for revision?
ACESHACK TICKET #2214 — DROP-IN WORKSTATION SETUP
Device: DROP-IN-WS-03 (shared, used by remote staff for the day)
Finding 1: The local administrator account still uses the vendor
           default password that shipped with the imaging tool.
Finding 2: The sign-in portal stores each password as a hash with
           a unique random salt, kept in the same row as the hash.
ASSESSMENT: Finding 2 is a defect. A salt is a secret, so storing
           it beside the hash cancels its protection entirely.
RECOMMENDATION: Change the default password, set a minimum
           password length, and enable account lockout.
Predict First Which line is wrong — and what SHOULD it say?
Scenario 4 of 5 — Multi-Select (Which statements are TRUE?) To sign in to the drop-in workstation, an Aceshack remote worker types a password and then approves a push notification on the phone the company issued to them. Consider the statements below about this setup. Select ALL that are TRUE. There is no partial credit — the whole set must be right.
Predict First Without looking at the options, label each of the two steps: knowledge, possession, or inherence.
Scenario 5 of 5 — Terminology Recall Fill in each blank with the correct authentication term.
Predict First Say the three terms aloud first. Which one names a stored value, which one names an attack, and which one names a lookup structure?

1. A random value stored with each password hash, so that two users who choose the same password still end up with different hashes, is called a .

2. An attack that replays username-and-password pairs stolen from one site against a different site is called credential .

3. A precomputed list of candidate passwords with their matching hashes, searched to reverse a stolen hash, is called a table.

0 / 5 Scenarios correct — review any incorrect answers above, then move on to Exercise 2.
📚 Pattern to Remember

Password-attack items are decided by two questions you can ask before you read the options. How many accounts, and how many guesses per account? — that separates brute force from password spraying from credential stuffing. Where is the guessing happening? — on a live portal, where lockout and rate limits bite, or offline against a stolen hash file, where only password length and a slow hashing algorithm slow the attacker down. Terminology items reward the same discipline: a salt is a stored value, stuffing is an attack, and a rainbow table is a lookup structure.

AP Cybersecurity · Unit 4 · Lesson 4.2 · Exercise 1
LessonExercise 1LabQuiz

Get in Touch

Whether you're a student, parent, or teacher — I'd love to hear from you.

Just want free AP CS resources?

Enter your email below and check the subscribe box — no message needed. Students get daily practice questions and study tips. Teachers get curriculum resources and teaching strategies.

Typically responds within 24 hours

Message Sent!

Thanks for reaching out. I'll get back to you within 24 hours.

🏫 Welcome, fellow educator!

I offer curriculum resources, practice materials, and study guides designed for AP CS teachers. Let me know what you're looking for — whether it's classroom materials, a guest speaker, or Teachers Pay Teachers resources.

Email

[email protected]

📚

Courses

AP CSA, CSP, & Cybersecurity

Response Time

Within 24 hours

Prefer email? Reach me directly at [email protected]